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

Workaround GCC issue to fix FTBFS with abseil-cpp and reverse deps #34108

Closed
wants to merge 19 commits into from

Commits on Oct 23, 2024

  1. protobuf/3.28.3 package update

    Signed-off-by: wolfi-bot <[email protected]>
    wolfi-bot authored and mamccorm committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    b6c5da1 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. libreoffice-24.8/24.8.3.2 package update

    Signed-off-by: wolfi-bot <[email protected]>
    wolfi-bot authored and mamccorm committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    914c0db View commit details
    Browse the repository at this point in the history
  2. nodejs-23/23.2.0 package update

    Signed-off-by: wolfi-bot <[email protected]>
    wolfi-bot committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    d27fc19 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. abseil-cpp: Add GCC spec file to workaround GCC bug

    abseil-cpp and packages that use it began to FTBFS after the introduction of
    openssf-compiler-options, specifically its addition of the
    -fno-delete-null-pointer-checks flag. This is believed to be a GCC bug:
      https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71962
    
    Unfortunately it isn't possible to "undo" this flag by appending the
    inverse flag (-fdelete-null-pointer-checks). So here we introduce a
    new spec file for abseil-cpp builds that will filter out the
    problematic flag from the openssf spec file. Fixes wolfi-dev#34075.
    
    This commit uses the spec file to build abseil-cpp itself, and
    ships it in the abseil-cpp-dev apk so abseil-cpp's reverse
    dependencies can be updated to use it.
    
    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    2d27ccd View commit details
    Browse the repository at this point in the history
  2. grpc-1.66: Use GCC spec file from abseil-cpp-dev

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    625e78a View commit details
    Browse the repository at this point in the history
  3. grpc-1.67: Use GCC spec file from abseil-cpp-dev

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    0210934 View commit details
    Browse the repository at this point in the history
  4. grpc-1.67: Restore python3 build-dep

    `python3` is explicitly called in the pipeline so we should have an
    explicit dependency on it. This was causing us to FTBFS until recently,
    when we inherited `python3` as a transitive dependency of `cython-0`.
    
    Fixes: bb98184 ("make grpc-1.67 multi-version python. (wolfi-dev#31676)")
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    4876b4c View commit details
    Browse the repository at this point in the history
  5. grpc-1.67: Depend on py3-supported-cython instead of cpython

    Without py3.13-cython, the build will fail once we add python3.13
    support with errors like:
    
      src/python/grpcio/grpc/_cython/cygrpc.cpp: In function 'void __Pyx_init_assertions_enabled()':
      src/python/grpcio/grpc/_cython/cygrpc.cpp:6399:39: error: '_PyInterpreterState_GetConfig' was not declared in this scope; did you mean 'PyInterpreterState_GetID'?
       6399 |     __pyx_assertions_enabled_flag = ! _PyInterpreterState_GetConfig(__Pyx_PyThreadState_Current->interp)->optimization_level;
            |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            |                                       PyInterpreterState_GetID
    
    cython-0 and py3.12-cython currently contain overlapping files, so
    we can't have both installed. grpc-1.67 builds fine w/o cython-0,
    so let's just drop it.
    
    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    8237d15 View commit details
    Browse the repository at this point in the history
  6. grpc-1.67: Add python 3.13 support

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    ed293f8 View commit details
    Browse the repository at this point in the history
  7. grpc-1.67: bump epoch

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    7a16575 View commit details
    Browse the repository at this point in the history
  8. libreoffice-24.8: Use GCC spec file from abseil-cpp-dev

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    6d346d7 View commit details
    Browse the repository at this point in the history
  9. nodejs-22: Use GCC spec file from abseil-cpp-dev

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    fdc1c57 View commit details
    Browse the repository at this point in the history
  10. nodejs-23: Use GCC spec file from abseil-cpp-dev

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    372f9ff View commit details
    Browse the repository at this point in the history
  11. protobuf: Use GCC spec file from abseil-cpp-dev

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    7f38d5a View commit details
    Browse the repository at this point in the history
  12. protobuf-c: Use GCC spec file from abseil-cpp-dev

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    9193802 View commit details
    Browse the repository at this point in the history
  13. re2: Use GCC spec file from abseil-cpp-dev

    Signed-off-by: dann frazier <[email protected]>
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    7e21503 View commit details
    Browse the repository at this point in the history
  14. Merge remote-tracking branch 'origin/wolfictl-2da6807a-40cc-448d-92e9…

    …-a76e44afd37f' into workaround-grpc-1.67-ftbfs
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    f827e41 View commit details
    Browse the repository at this point in the history
  15. Merge remote-tracking branch 'origin/wolfictl-2c56cd18-0971-444a-9668…

    …-7384bab47a79' into workaround-grpc-1.67-ftbfs
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    41cd950 View commit details
    Browse the repository at this point in the history
  16. Merge remote-tracking branch 'origin/wolfictl-945c953b-7756-4275-a0ae…

    …-df7dd068f105' into workaround-grpc-1.67-ftbfs
    dannf committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    a438335 View commit details
    Browse the repository at this point in the history