Skip to content

ruby-grpc: gcc-14 fixes - #367783

Merged
yu-re-ka merged 2 commits into
NixOS:masterfrom
paparodeo:ruby-fixes
Dec 25, 2024
Merged

yu-re-ka merged 2 commits into
NixOS:masterfrom
paparodeo:ruby-fixes

Conversation

@paparodeo

@paparodeo paparodeo commented Dec 24, 2024 •

Copy link
Copy Markdown
Contributor

https://boringssl.googlesource.com/boringssl/+/c70190368c7040c37c1d655f0690bcde2b109a0d

add -Wno-error=incompatible-pointer-types to NIX_CFLAGS_COMPILE and remove the other flags as NIX_CFLAGS_COMPILE were getting clobbered since 7121ef6 (2021)

gitlab builds after this change but nixosTests.gitlab still times out

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added the 6.topic: ruby A dynamic, open source programming language with a focus on simplicity and productivity. label Dec 24, 2024
@paparodeo paparodeo mentioned this pull request Dec 24, 2024
2 of 13 tasks
@paparodeo

Copy link
Copy Markdown
Contributor Author

@ofborg build gitlab

@github-actions github-actions Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Dec 24, 2024
@ofborg
ofborg Bot requested a review from tylerjl December 24, 2024 13:49
@ofborg ofborg Bot added the 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. label Dec 24, 2024
@yu-re-ka
yu-re-ka merged commit 45b0aee into NixOS:master Dec 25, 2024
@paparodeo
paparodeo deleted the ruby-fixes branch December 25, 2024 09:50
@andersk

andersk commented Dec 28, 2024

Copy link
Copy Markdown
Contributor

This patch was already upstreamed in v1.65.0-pre1~90; attempting to apply it again after that causes errors.

$ NIXPKGS_ALLOW_UNFREE=1 nix build -f . vagrant 
error: builder for '/nix/store/f6dvxxlbsnrl0c0b2v0ha8v6kj68b3kn-ruby3.3-grpc-1.68.1.drv' failed with exit code 1;
       last 9 log lines:
       > Running phase: unpackPhase
       > Unpacked gem: '/build/container/w7ra8z0kxy1n24vybyfbap1pclk7s8ih-grpc-1.68.1'
       > Running phase: patchPhase
       > applying patch /nix/store/m1mccpgnr5901sdrf764a9zmchy8pcac-gcc-14-fixes.patch
       > patching file third_party/boringssl-with-bazel/src/crypto/internal.h
       > Reversed (or previously applied) patch detected!  Assume -R? [n]
       > Apply anyway? [n]
       > Skipping patch.
       > 2 out of 2 hunks ignored -- saving rejects to file third_party/boringssl-with-bazel/src/crypto/internal.h.rej
       For full logs, run 'nix-store -l /nix/store/f6dvxxlbsnrl0c0b2v0ha8v6kj68b3kn-ruby3.3-grpc-1.68.1.drv'.
error: 1 dependencies of derivation '/nix/store/2ic36mlzgvl67qcia33gylb52wbkhcc3-vagrant-2.4.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5bdmiki4k26c6m1gbl48bh871f7m7b8f-vagrant-2.4.3.drv' failed to build

@Sigmanificient Sigmanificient mentioned this pull request Mar 8, 2025
27 of 28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: ruby A dynamic, open source programming language with a focus on simplicity and productivity. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants