-
Notifications
You must be signed in to change notification settings - Fork 37
Updated dependencies (3.21.x) #1931
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)
Contributor
|
@cf-bottom Jenkins with exotics please :) |
|
Sure, I triggered a build: (with exotics) Jenkins: https://ci.cfengine.com/job/pr-pipeline/12741/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-12741/ |
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)
55bec6f to
9ac22d8
Compare
Contributor
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)
Contributor
larsewi
approved these changes
Sep 29, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Automated dependency updates for the 3.21.x branch