Skip to content

pkgs/stdenv/linux: add powerpc64-unknown-linux-gnuabielfv1 bootstrap-files#423133

Merged
Mic92 merged 2 commits intoNixOS:masterfrom
OPNA2608:add/bootstrapFiles-powerpc64-elfv1
Sep 8, 2025
Merged

pkgs/stdenv/linux: add powerpc64-unknown-linux-gnuabielfv1 bootstrap-files#423133
Mic92 merged 2 commits intoNixOS:masterfrom
OPNA2608:add/bootstrapFiles-powerpc64-elfv1

Conversation

@OPNA2608
Copy link
Contributor

@OPNA2608 OPNA2608 commented Jul 7, 2025

Reminder to reviewers: This needs someone with upload permissions to tarballs.nixos.org!

If you lack these permissions, then please don't just merge this PR. These links require manual actions from someone with appropriate permissions to work, otherwise they're just 404s.


sha256sum of files to be uploaded:

$ sha256sum /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/*
3a78c550c44d1661aed0415233df65a19d37071ea1b42c9389fb4204ed5e9d03 /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/bootstrap-tools.tar.xz
bb59673eca4833389d52ced4e9357900f19e3a574988b290c9a1f151b243a8fb /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/busybox

Suggested commands to upload files to 'tarballs.nixos.org':

$ nix-store --realize /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1
$ aws s3 cp --recursive --acl public-read /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/ s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08
$ aws s3 cp --recursive s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08 ./
$ sha256sum bootstrap-tools.tar.xz busybox
$ sha256sum /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/*

With #421280, building up to the stdenv on the platform works.
Getting that PR merged and into master might take abit longer: I'm exchanging mails with the gnulib people to properly fix some compatibility issues, which will likely result in a patch that we can unconditionally apply across multiple packages, so the PR will prolly end up going through staging.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • powerpc64-linux (ELFv1)
    • 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/)
  • Nixpkgs 25.11 Release Notes (or backporting 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 25.05 NixOS Release notes)
    • (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, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

OPNA2608 added 2 commits July 7, 2025 09:30
…files

sha256sum of files to be uploaded:

$ sha256sum /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/*
3a78c550c44d1661aed0415233df65a19d37071ea1b42c9389fb4204ed5e9d03  /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/bootstrap-tools.tar.xz
bb59673eca4833389d52ced4e9357900f19e3a574988b290c9a1f151b243a8fb  /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/busybox

Suggested commands to upload files to 'tarballs.nixos.org':

    $ nix-store --realize /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1
    $ aws s3 cp --recursive --acl public-read /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/ s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08
    $ aws s3 cp --recursive s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08 ./
    $ sha256sum bootstrap-tools.tar.xz busybox
    $ sha256sum /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/*
@nixpkgs-ci nixpkgs-ci bot added the 6.topic: stdenv Standard environment label Jul 7, 2025
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jul 7, 2025
@OPNA2608
Copy link
Contributor Author

OPNA2608 commented Jul 9, 2025

puna@HC ~/D/nixpkgs (master)> nix-build --no-out-link . --arg localSystem '(import ./lib).systems.examples.ppc64-elfv1' -A stdenv
/nix/store/2iaf0ah2c1mz2yhz4zwxr7dj5w7n4i56-stdenv-linux
puna@HC ~/D/nixpkgs (master)> nix-build --no-out-link . --arg localSystem '(import ./lib).systems.examples.ppc64-elfv1' -A hello
/nix/store/f8c1s9nw47nq90133jdi10jmmqi2w2ga-hello-2.12.2
puna@HC ~/D/nixpkgs (master)> /nix/store/f8c1s9nw47nq90133jdi10jmmqi2w2ga-hello-2.12.2/bin/hello 
Hello, world!

These seem to work fine.

@OPNA2608 OPNA2608 marked this pull request as ready for review July 9, 2025 05:30
@Aleksanaa Aleksanaa requested a review from Mic92 July 23, 2025 17:46
@emilazy emilazy mentioned this pull request Sep 7, 2025
13 tasks
@Mic92
Copy link
Member

Mic92 commented Sep 8, 2025

Done.

~/git/nixos-infra/terraform stagingHydra-aarch64 ⇡
nix-shell-env % aws s3 cp --recursive --acl public-read /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/ s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08
upload: ../../../../../nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/busybox to s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08/busybox
upload: ../../../../../nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/bootstrap-tools.tar.xz to s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08/bootstrap-tools.tar.xz

~/git/nixos-infra/terraform stagingHydra-aarch64 ⇡ 6s
nix-shell-env % aws s3 cp --recursive s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08 ./
download: s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08/busybox to ./busybox
download: s3://nixpkgs-tarballs/stdenv/powerpc64-unknown-linux-gnuabielfv1/2ba17da62f2813a5b779ec2b13abe96baec8ea08/bootstrap-tools.tar.xz to ./bootstrap-tools.tar.xz

~/git/nixos-infra/terraform stagingHydra-aarch64 ⇡
nix-shell-env % sha256sum bootstrap-tools.tar.xz busybox
3a78c550c44d1661aed0415233df65a19d37071ea1b42c9389fb4204ed5e9d03 bootstrap-tools.tar.xz
bb59673eca4833389d52ced4e9357900f19e3a574988b290c9a1f151b243a8fb busybox

~/git/nixos-infra/terraform stagingHydra-aarch64 ⇡
nix-shell-env % sha256sum /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/*
3a78c550c44d1661aed0415233df65a19d37071ea1b42c9389fb4204ed5e9d03 /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/bootstrap-tools.tar.xz
bb59673eca4833389d52ced4e9357900f19e3a574988b290c9a1f151b243a8fb /nix/store/b8zndw2p8f82hn23a3ilkmfc6v26yian-stdenv-bootstrap-tools-powerpc64-unknown-linux-gnuabielfv1/on-server/busybox

@Mic92 Mic92 merged commit 186b12b into NixOS:master Sep 8, 2025
35 checks passed
@github-project-automation github-project-automation bot moved this to Done in Stdenv Sep 8, 2025
@OPNA2608
Copy link
Contributor Author

OPNA2608 commented Sep 8, 2025

Many thanks! 💚

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: stdenv Standard environment 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants