Skip to content
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

libxml2: Add version 2.13.4, fixes a few CVE issues #25322

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gsantner
Copy link
Contributor

@gsantner gsantner commented Sep 19, 2024

Summary

Changes to recipe: libxml2

Motivation

Stay up to date with somewhat recent releases of upstream, fix CVE issues. Update to latest patch version.

See also: https://gitlab.gnome.org/GNOME/libxml2/-/releases

Details

Version bump


@conan-center-bot

This comment has been minimized.

@gsantner gsantner changed the title libxml2: Add version 2.13.4, fixes a few CVE issues libxml2: Add version 2.12.9, fixes a few CVE issues Sep 19, 2024
@conan-center-bot conan-center-bot added Bump version PR bumping version without recipe modifications and removed Failed labels Sep 19, 2024
@conan-center-bot

This comment has been minimized.

@ErniGH
Copy link
Contributor

ErniGH commented Sep 19, 2024

Hey @gsantner , thanks a lot for your contribution, but wouldn’t it be better to use the latest version 2.13.4 if the goal is to stay up to date?

@ErniGH ErniGH self-assigned this Sep 19, 2024
@gsantner
Copy link
Contributor Author

gsantner commented Sep 19, 2024

@ErniGH
libxml2 does patch releases for multiple versions, this one is the latest one from the 2.12 series.

My PR initially contained the 2.13 one, but Conan fails to build with that. Having a no-new-features version available is fine too, even with knowing that 2.13 could break some other recipes in turn.

If somebody with more sophisticated Conan recipe knowledge wants to take a look fine too, but I myself suggest only the version bumps when noticing.

@uilianries
Copy link
Member

@gsantner Thank you for your PR. Checking the previous build log on Windows:

https://c3i.jfrog.io/c3i/misc-v2/logs/pr/25322/1-windows-msvc/libxml2/2.13.4//6211ea34ed7b04dcc66f5ff3bdfd60394f228be5-build.txt

It failed because mem-debug is no longer available.

Could you please revert your latest commit and getting back 2.13 instead. Then, update the recipe with the follow change:

def config_options(self):
    ...
    if Version(self.version) >= "2.13.0":
        self.options.rm_safe("mem-debug")

Regards!

@gsantner
Copy link
Contributor Author

gsantner commented Sep 20, 2024

@uilianries
Thanks for your reply! I added your suggestion, squashed and force pushed the branch. So only updated 2.13 one is in the commit list now.

Let's see what the CI says 😄

@gsantner
Copy link
Contributor Author

It failed again. pdb files not created but tried to copy?

@conan-center-bot conan-center-bot added Failed and removed Bump version PR bumping version without recipe modifications labels Sep 20, 2024
@conan-center-bot

This comment has been minimized.

@gsantner gsantner changed the title libxml2: Add version 2.12.9, fixes a few CVE issues libxml2: Add version 2.13.4, fixes a few CVE issues Sep 20, 2024
@conan-center-bot

This comment has been minimized.

@uilianries
Copy link
Member

It failed again. pdb files not created but tried to copy?

@gsantner It seems like it's missing some symbols. I'll take a look by Monday. Thank you again!

@gsantner
Copy link
Contributor Author

Thanks for help!

@AbrilRBS
Copy link
Member

@uilianries @gsantner the issue was a missing bcrypt dependency in the new version, see https://gitlab.gnome.org/GNOME/libxml2/-/blob/2.13/win32/Makefile.msvc?ref_type=heads#L84

Copy link
Member

@AbrilRBS AbrilRBS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 6 (44033ee511c1f3c9256305a90268116f4cd41661):

  • libxml2/2.12.7:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.13.4:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.12.5:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.11.7:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.11.8:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.9.14:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.12.6:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.11.4:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.12.4:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.11.6:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.12.3:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.9.12:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.10.4:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.9.10:
    Built 20 packages out of 22 (All logs)

  • libxml2/2.10.3:
    Built 20 packages out of 22 (All logs)


Conan v2 pipeline ✔️

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 6 (44033ee511c1f3c9256305a90268116f4cd41661):

  • libxml2/2.12.6:
    All packages built successfully! (All logs)

  • libxml2/2.12.4:
    All packages built successfully! (All logs)

  • libxml2/2.11.6:
    All packages built successfully! (All logs)

  • libxml2/2.13.4:
    All packages built successfully! (All logs)

  • libxml2/2.12.7:
    All packages built successfully! (All logs)

  • libxml2/2.9.14:
    All packages built successfully! (All logs)

  • libxml2/2.11.7:
    All packages built successfully! (All logs)

  • libxml2/2.10.4:
    All packages built successfully! (All logs)

  • libxml2/2.9.12:
    All packages built successfully! (All logs)

  • libxml2/2.9.10:
    All packages built successfully! (All logs)

  • libxml2/2.12.5:
    All packages built successfully! (All logs)

  • libxml2/2.12.3:
    All packages built successfully! (All logs)

  • libxml2/2.11.8:
    All packages built successfully! (All logs)

  • libxml2/2.10.3:
    All packages built successfully! (All logs)

  • libxml2/2.11.4:
    All packages built successfully! (All logs)

@AbrilRBS AbrilRBS self-assigned this Sep 21, 2024
@uilianries
Copy link
Member

@AbrilRBS Thank you so much!!

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice addition pointing the origin of bcrypt as dependency.

@AbrilRBS AbrilRBS self-requested a review September 21, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants