Skip to content

Updated dependencies (3.21.x) - #1931

Merged
larsewi merged 5 commits into
3.21.xfrom
update-dependencies-action-3.21.x-1758803094
Sep 29, 2025
Merged

Updated dependencies (3.21.x)#1931
larsewi merged 5 commits into
3.21.xfrom
update-dependencies-action-3.21.x-1758803094

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated dependency updates for the 3.21.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
@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

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.21.x-1758803094 branch from 55bec6f to 9ac22d8 Compare September 26, 2025 12:14
@larsewi

larsewi commented Sep 26, 2025

Copy link
Copy Markdown
Contributor

Rebuild HP-UX & RedHat 6 (no tests):
Build Status

The patch tool on PATH just outputs:
```
Hmm...  I can't seem to find a patch in there anywhere.
```

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

larsewi commented Sep 29, 2025

Copy link
Copy Markdown
Contributor

HP-UX only:
Build Status

@larsewi
larsewi merged commit 774274a into 3.21.x Sep 29, 2025
2 of 3 checks passed
@larsewi
larsewi deleted the update-dependencies-action-3.21.x-1758803094 branch September 29, 2025 12:05
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