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

Mark patchelf version 0.18.0 broken #746

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

jakirkham
Copy link
Member

@jakirkham jakirkham commented Jun 30, 2023

Fixes conda-forge/conda-smithy#1737

This version of patchelf regularly corrupts libraries it is patching. Upstream is aware of the issue, but it is not yet fixed. Suggesting we mark these broken to avoid further issues in packages that wind up broken because of patchelf.

xref: NixOS/patchelf#492


Guidelines for marking packages as broken:

  • We prefer to patch the repo data (see here)
    instead of marking packages as broken. This alternative workflow makes environments more reproducible.
  • Packages with requirements/metadata that are too strict but otherwise work are
    not technically broken and should not be marked as such.
  • Packages with missing metadata can be marked as broken on a temporary basis
    but should be patched in the repo data and be marked unbroken later.
  • In some cases where the number of users of a package is small or it is used by
    the maintainers only, we can allow packages to be marked broken more liberally.
  • We (conda-forge/core) try to make a decision on these requests within 24 hours.

What will happen when a package is marked broken?

  • Our bots will add the broken label to the package. The main label will remain on the package and this is normal.
  • Our bots will rebuild our repodata patches to remove this package from the repodata.
  • In a few hours after the anaconda.org CDN picks up the new patches, you will no longer be able to install the package from the main channel.

Checklist:

  • I want to mark a package as broken (or not broken):

    • Make sure your package is in the right spot (broken/* for adding the
      broken label, not_broken/* for removing the broken label, or token_reset/*
      for token resets)
    • Added a description of the problem with the package in the PR description.
    • Pinged the team for the package for their input.
  • I want to archive a feedstock:

    • Pinged the team for that feedstock for their input.
    • Make sure you have opened an issue on the feedstock explaining why it was archived.
    • Linked that issue in this PR description.
    • Added links to any other relevant issues/PRs in the PR description.

This version of `patchelf` regularly corrupts libraries it is patching.
Upstream is aware of the issue, but it is not yet fixed. Suggesting we
mark these broken to avoid further issues in packages that wind up
broken because of `patchelf`.
@jakirkham jakirkham requested a review from a team as a code owner June 30, 2023 09:42
@jakirkham
Copy link
Member Author

cc @conda-forge/patchelf @conda-forge/core

@beckermr beckermr merged commit 38c278a into conda-forge:main Jun 30, 2023
@jakirkham jakirkham deleted the mark_patchelf_18_broken branch June 30, 2023 10:21
@jakirkham
Copy link
Member Author

Thanks Matt! 🙏

mattiasbus added a commit to hostmobility/mobility-poky-platform that referenced this pull request Jul 14, 2023
Updating due to a segmentation fault in mkfs.ext4 caused by the patchelf in ubuntu 18.04.

Freescale/meta-freescale#1593
NixOS/patchelf#492 (comment)
conda-forge/admin-requests#746
mattiasbus added a commit to hostmobility/mobility-poky-platform that referenced this pull request Jul 14, 2023
Updating due to a segmentation fault in mkfs.ext4 caused by the patchelf in ubuntu 18.04.

Freescale/meta-freescale#1593
NixOS/patchelf#492 (comment)
conda-forge/admin-requests#746
RikardO-HM added a commit to hostmobility/hostmobility-bsp-platform that referenced this pull request Aug 21, 2023
Updating due to a segmentation fault in mkfs.ext4 caused by the patchelf in ubuntu 18.04.

Freescale/meta-freescale#1593
NixOS/patchelf#492 (comment)
conda-forge/admin-requests#746

orginal patch:
hostmobility/mobility-poky-platform@a8ebd86
RikardO-HM pushed a commit to hostmobility/mobility-poky-platform that referenced this pull request Jan 3, 2024
Updating due to a segmentation fault in mkfs.ext4 caused by the patchelf in ubuntu 18.04.

Freescale/meta-freescale#1593
NixOS/patchelf#492 (comment)
conda-forge/admin-requests#746
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.

Pin patchelf at 0.17.2 for now to avoid corrupting DSOs?
2 participants