Skip to content

Updated dependencies (3.24.x) - #1929

Merged
larsewi merged 6 commits into
3.24.xfrom
update-dependencies-action-3.24.x-1758803086
Sep 29, 2025
Merged

Updated dependencies (3.24.x)#1929
larsewi merged 6 commits into
3.24.xfrom
update-dependencies-action-3.24.x-1758803086

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated dependency updates for the 3.24.x branch

This is the error we got:
```
00:01:07 xmlIO.c: In function 'xmlIOErr':
00:01:07 xmlIO.c:502:9: error: duplicate case value
00:01:07          case ENOTEMPTY: code = XML_IO_ENOTEMPTY; break;
00:01:07          ^~~~
00:01:07 xmlIO.c:439:9: error: previously used here
00:01:07          case EEXIST: code = XML_IO_EEXIST; break;
00:01:07          ^~~~
```

It appears that the `ENOTEMPTY` & `EEXITS` are defined as the same
value. Defining `_LINUX_SOURCE_COMPAT` should give them unique values.

```C
/*
 * AIX returns EEXIST where 4.3BSD used ENOTEMPTY;
 * but, the standards insist on unique errno values for each errno.
 * A unique value is reserved for users that want to code case
 * statements for systems that return either EEXIST or ENOTEMPTY.
 */
```

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 794e1fd)
@larsewi

larsewi commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

@cf-bottom Jenkins with exotics please :)

@cfengine cfengine deleted a comment from cf-bottom Sep 26, 2025
@cfengine cfengine deleted a comment from cf-bottom Sep 26, 2025
@cf-bottom

Copy link
Copy Markdown

The was an issue with the GCC `__attribute__((deprecated))` syntax in
the macro definition of `XML_DEPRECATED`. The problem was that older GCC
versions don't accept a string message argument in the deprecated
attribute.

See https://gcc.gnu.org/gcc-4.5/changes.html

Cherry-pick with minor modifications.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 4713578)
@larsewi
larsewi force-pushed the update-dependencies-action-3.24.x-1758803086 branch from 84d3e44 to d97d2c9 Compare September 29, 2025 08:53
@larsewi

larsewi commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

Rebuild HPUX and RedHat 6 (no tests)
Build Status

@larsewi
larsewi merged commit edff8e7 into 3.24.x Sep 29, 2025
3 of 4 checks passed
@larsewi
larsewi deleted the update-dependencies-action-3.24.x-1758803086 branch September 29, 2025 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants