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

libredirect: fix build with clang 16 #243558

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Conversation

reckenrode
Copy link
Contributor

Description of changes
  • Preferentially use the stdenv clang if it is new enough to produce arm64e binaries; and
  • Fix incompatible function pointer conversions (results in an error with clang 16).
Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • 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/)
  • 23.11 Release Notes (or backporting 23.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.

* Preferentially use the stdenv clang if it is new enough to produce
  arm64e binaries; and
* Fix incompatible function pointer conversions (results in an error
  with clang 16).
@tjni
Copy link
Contributor

tjni commented Jul 15, 2023

This LGTM based on observing the code and some fiddling around locally. I unfortunately can't test this end-to-end on my aarch64-darwin machine, because the libredirect that I build doesn't work (either on master or staging-next), perhaps because I'm on Ventura. If you're curious, the error is:

ld: warning: object file /private/tmp/nix-build-libredirect-0.drv-0/libredirect-a669ca/libredirect-arm64e.o was built with an incompatible arm64e ABI compiler
installing
install: creating directory '/nix/store/i581add8b5bpq77xh7fggasahsv0a546-libredirect-0'
install: creating directory '/nix/store/i581add8b5bpq77xh7fggasahsv0a546-libredirect-0/lib'
'libredirect.dylib' -> '/nix/store/i581add8b5bpq77xh7fggasahsv0a546-libredirect-0/lib/libredirect.dylib'
post-installation fixup
checking for references to /private/tmp/nix-build-libredirect-0.drv-0/ in /nix/store/i581add8b5bpq77xh7fggasahsv0a546-libredirect-0...
patching script interpreter paths in /nix/store/i581add8b5bpq77xh7fggasahsv0a546-libredirect-0
checking for references to /private/tmp/nix-build-libredirect-0.drv-0/ in /nix/store/sjwwfashb117ja91b5y7b96amb0dnjb6-libredirect-0-hook...
patching script interpreter paths in /nix/store/sjwwfashb117ja91b5y7b96amb0dnjb6-libredirect-0-hook
running install tests
dyld[21261]: terminating because inserted dylib '/nix/store/i581add8b5bpq77xh7fggasahsv0a546-libredirect-0/lib/libredirect.dylib' could not be loaded: tried: '/nix/store/i581add8b5bpq77xh7fggasahsv0a546-libredirect-0/lib/libredirect.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64,arm64e', need ''))
dyld[21261]: tried: '/nix/store/i581add8b5bpq77xh7fggasahsv0a546-libredirect-0/lib/libredirect.dylib' (fat file, but missing compatible architecture (have 'x86_64,arm64,arm64e', need ''))
Assertion failed: (system(TESTPATH) == 0), function test_system, file test.c, line 41.
/nix/store/rjbx6izmqnczdb457glllns8asdal4kn-stdenv-darwin/setup: line 1610: 21258 Abort trap: 6           ( source "$hook/nix-support/setup-hook"; NIX_REDIRECTS="/foo/bar/test=/nix/store/n2qigpad2qj3fqnjq86ldlwzjy5fcy0i-coreutils-9.3/bin/true:/bar/baz=$(mktemp -d)" ./test )

Copy link
Contributor

@tjni tjni left a comment

Choose a reason for hiding this comment

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

LGTM if we change the branch to staging due to the number of rebuilds.

@tjni
Copy link
Contributor

tjni commented Jul 15, 2023

Whoa, that error only happens with SIP disabled.

@reckenrode reckenrode changed the base branch from master to staging July 15, 2023 12:46
@reckenrode
Copy link
Contributor Author

Result of nixpkgs-review pr 243558 run on aarch64-darwin 1

119 packages marked as broken and skipped:
  • almanah
  • btrbk
  • cloud-init
  • cloud-init.dist
  • datalad
  • datalad.dist
  • diffoscope
  • diffoscope.dist
  • diffoscope.man
  • dvc
  • dvc-with-remotes
  • dvc-with-remotes.dist
  • dvc.dist
  • forgejo
  • forgejo.data
  • gcr_4
  • gcr_4.bin
  • gcr_4.dev
  • gcr_4.devdoc
  • gitea
  • gitea.data
  • gnome-recipes
  • gnome.gnome-music
  • gnome.gvfs
  • grilo-plugins
  • guardian-agent
  • krunner-pass
  • manilaclient
  • manilaclient.dist
  • matrix-synapse
  • matrix-synapse-plugins.matrix-synapse-ldap3
  • matrix-synapse-plugins.matrix-synapse-ldap3.dist
  • matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
  • matrix-synapse-plugins.matrix-synapse-mjolnir-antispam.dist
  • matrix-synapse-plugins.matrix-synapse-shared-secret-auth
  • matrix-synapse-plugins.matrix-synapse-shared-secret-auth.dist
  • matrix-synapse.dist
  • mautrix-facebook
  • mautrix-facebook.dist
  • mojave-gtk-theme
  • nixops
  • nixops.dist
  • onboard
  • onboard.dist
  • openssh_gssapi
  • pass-wayland
  • pwndbg
  • pykms
  • python310Packages.clustershell
  • python310Packages.clustershell.dist
  • python310Packages.dvclive
  • python310Packages.dvclive.dist
  • python310Packages.fenics
  • python310Packages.fenics.dist
  • python310Packages.heudiconv
  • python310Packages.heudiconv.dist
  • python310Packages.homeassistant-pyozw
  • python310Packages.homeassistant-pyozw.dist
  • python310Packages.journalwatch
  • python310Packages.journalwatch.dist
  • python310Packages.optuna
  • python310Packages.optuna.dist
  • python310Packages.oslo-concurrency
  • python310Packages.oslo-concurrency.dist
  • python310Packages.oslo-db
  • python310Packages.oslo-db.dist
  • python310Packages.oslo-log
  • python310Packages.oslo-log.dist
  • python310Packages.python-manilaclient
  • python310Packages.python-manilaclient.dist
  • python310Packages.subunit2sql
  • python310Packages.subunit2sql.dist
  • python310Packages.systemd
  • python310Packages.systemd.dist
  • python310Packages.tempest
  • python310Packages.tempest.dist
  • python311Packages.clustershell
  • python311Packages.clustershell.dist
  • python311Packages.dvclive
  • python311Packages.dvclive.dist
  • python311Packages.fenics
  • python311Packages.fenics.dist
  • python311Packages.heudiconv
  • python311Packages.heudiconv.dist
  • python311Packages.homeassistant-pyozw
  • python311Packages.homeassistant-pyozw.dist
  • python311Packages.journalwatch
  • python311Packages.journalwatch.dist
  • python311Packages.oslo-concurrency
  • python311Packages.oslo-concurrency.dist
  • python311Packages.oslo-db
  • python311Packages.oslo-db.dist
  • python311Packages.oslo-log
  • python311Packages.oslo-log.dist
  • python311Packages.python-manilaclient
  • python311Packages.python-manilaclient.dist
  • python311Packages.subunit2sql
  • python311Packages.subunit2sql.dist
  • python311Packages.systemd
  • python311Packages.systemd.dist
  • python311Packages.tempest
  • python311Packages.tempest.dist
  • qemu_full
  • qemu_xen
  • qemu_xen_4_15
  • rex
  • sanoid
  • ssh-askpass-fullscreen
  • sshlatex
  • surf
  • telepresence
  • telepresence.dist
  • tightvnc
  • vimix-gtk-themes
  • waagent
  • waagent.dist
  • whitesur-gtk-theme
  • xyce-parallel
  • xyce-parallel.doc
38 packages failed to build:
  • emborg (python310Packages.emborg)
  • emborg.dist (python310Packages.emborg.dist)
  • passExtensions.pass-import
  • passExtensions.pass-import.dist
  • python310Packages.angrcli
  • python310Packages.angrcli.dist
  • python310Packages.ansible-kernel
  • python310Packages.ansible-kernel.dist
  • python310Packages.ansible-runner
  • python310Packages.ansible-runner.dist
  • python310Packages.dvc-ssh
  • python310Packages.dvc-ssh.dist
  • python310Packages.gpaw
  • python310Packages.gpaw.dist
  • python310Packages.sshfs
  • python310Packages.sshfs.dist
  • python311Packages.angrcli
  • python311Packages.angrcli.dist
  • python311Packages.ansible-kernel
  • python311Packages.ansible-kernel.dist
  • python311Packages.ansible-runner
  • python311Packages.ansible-runner.dist
  • python311Packages.dvc-ssh
  • python311Packages.dvc-ssh.dist
  • python311Packages.emborg
  • python311Packages.emborg.dist
  • python311Packages.gpaw
  • python311Packages.gpaw.dist
  • python311Packages.osc-lib
  • python311Packages.osc-lib.dist
  • python311Packages.python-heatclient
  • python311Packages.python-heatclient.dist
  • python311Packages.python-ironicclient
  • python311Packages.python-ironicclient.dist
  • python311Packages.python-openstackclient
  • python311Packages.python-openstackclient.dist
  • python311Packages.sshfs
  • python311Packages.sshfs.dist
207 packages built:
  • adenum
  • assh
  • autossh
  • backintime (backintime-qt)
  • backintime-common
  • borgbackup
  • borgbackup.dist
  • borgbackup.doc
  • borgbackup.man
  • bosh-cli
  • buildkite-agent
  • copier
  • copier.dist
  • diskrsync
  • evolution-data-server (gnome.evolution-data-server)
  • evolution-data-server-gtk4
  • evolution-data-server-gtk4.dev
  • evolution-data-server.dev (gnome.evolution-data-server.dev)
  • flexget
  • flexget.dist
  • folks
  • folks.dev
  • folks.devdoc
  • gcr
  • gcr.dev
  • gcr.devdoc
  • git-annex (haskellPackages.git-annex)
  • git-annex.doc (haskellPackages.git-annex.doc)
  • git-credential-manager
  • git-doc (git-doc.doc ,gitFull.doc)
  • gitRepo (git-repo)
  • gitFull
  • glanceclient (python310Packages.python-glanceclient)
  • glanceclient.dist (python310Packages.python-glanceclient.dist)
  • gnome-online-accounts
  • gnome-online-accounts.dev
  • gnome.gnome-calendar
  • gnudatalanguage
  • gogs
  • gvfs
  • ham (perl536Packages.ham)
  • heatclient (python310Packages.python-heatclient)
  • heatclient.dist (python310Packages.python-heatclient.dist)
  • hercules-ci-agent
  • hercules-ci-agent.data
  • hound
  • hss
  • ironicclient (python310Packages.python-ironicclient)
  • ironicclient.dist (python310Packages.python-ironicclient.dist)
  • k3sup
  • keychain
  • libredirect
  • libredirect.hook
  • morph
  • morph.lib
  • mosh
  • mpich
  • neuron-full (python310Packages.neuronpy)
  • neuron-mpi
  • nix-simple-deploy
  • openssh
  • openssh_hpn
  • openstackclient (python310Packages.python-openstackclient)
  • openstackclient.dist (python310Packages.python-openstackclient.dist)
  • pass (pass-nodmenu)
  • pdsh
  • perl534Packages.NetSCP
  • perl534Packages.NetSCP.devdoc
  • perl534Packages.NetSFTPForeign
  • perl534Packages.NetSFTPForeign.devdoc
  • perl534Packages.NetSSH
  • perl534Packages.NetSSH.devdoc
  • perl534Packages.ham
  • perl536Packages.NetSCP
  • perl536Packages.NetSCP.devdoc
  • perl536Packages.NetSFTPForeign
  • perl536Packages.NetSFTPForeign.devdoc
  • perl536Packages.NetSSH
  • perl536Packages.NetSSH.devdoc
  • pssh
  • pssh.dist
  • pwntools (python310Packages.pwntools)
  • pwntools.dist (python310Packages.pwntools.dist)
  • python310Packages.aioasuswrt
  • python310Packages.aioasuswrt.dist
  • python310Packages.angr
  • python310Packages.angr.dist
  • python310Packages.angrop
  • python310Packages.angrop.dist
  • python310Packages.asyncssh
  • python310Packages.asyncssh.dist
  • python310Packages.baselines
  • python310Packages.baselines.dist
  • python310Packages.dask-mpi
  • python310Packages.dask-mpi.dist
  • python310Packages.deploykit
  • python310Packages.deploykit.dist
  • python310Packages.fipy
  • python310Packages.fipy.dist
  • python310Packages.git-annex-adapter
  • python310Packages.git-annex-adapter.dist
  • python310Packages.h5py-mpi
  • python310Packages.h5py-mpi.dist
  • python310Packages.habitipy
  • python310Packages.habitipy.dist
  • python310Packages.keystoneauth1
  • python310Packages.keystoneauth1.dist
  • python310Packages.mpi4py
  • python310Packages.mpi4py.dist
  • python310Packages.openstacksdk
  • python310Packages.openstacksdk.dist
  • python310Packages.osc-lib
  • python310Packages.osc-lib.dist
  • python310Packages.oslo-serialization
  • python310Packages.oslo-serialization.dist
  • python310Packages.oslo-utils
  • python310Packages.oslo-utils.dist
  • python310Packages.plumbum
  • python310Packages.plumbum.dist
  • python310Packages.pymilter
  • python310Packages.pymilter.dist
  • python310Packages.pyprecice
  • python310Packages.pyprecice.dist
  • python310Packages.python-cinderclient
  • python310Packages.python-cinderclient.dist
  • python310Packages.python-keystoneclient
  • python310Packages.python-keystoneclient.dist
  • python310Packages.python-novaclient
  • python310Packages.python-novaclient.dist
  • swiftclient (python310Packages.python-swiftclient)
  • swiftclient.dist (python310Packages.python-swiftclient.dist)
  • python310Packages.rpyc
  • python310Packages.rpyc.dist
  • python310Packages.scmrepo
  • python310Packages.scmrepo.dist
  • python310Packages.sfepy
  • python310Packages.sfepy.dist
  • python310Packages.swift
  • python310Packages.swift.dist
  • python311Packages.aioasuswrt
  • python311Packages.aioasuswrt.dist
  • python311Packages.angr
  • python311Packages.angr.dist
  • python311Packages.angrop
  • python311Packages.angrop.dist
  • python311Packages.asyncssh
  • python311Packages.asyncssh.dist
  • python311Packages.dask-mpi
  • python311Packages.dask-mpi.dist
  • python311Packages.deploykit
  • python311Packages.deploykit.dist
  • python311Packages.fipy
  • python311Packages.fipy.dist
  • python311Packages.git-annex-adapter
  • python311Packages.git-annex-adapter.dist
  • python311Packages.h5py-mpi
  • python311Packages.h5py-mpi.dist
  • python311Packages.habitipy
  • python311Packages.habitipy.dist
  • python311Packages.keystoneauth1
  • python311Packages.keystoneauth1.dist
  • python311Packages.mpi4py
  • python311Packages.mpi4py.dist
  • python311Packages.neuronpy
  • python311Packages.openstacksdk
  • python311Packages.openstacksdk.dist
  • python311Packages.oslo-serialization
  • python311Packages.oslo-serialization.dist
  • python311Packages.oslo-utils
  • python311Packages.oslo-utils.dist
  • python311Packages.plumbum
  • python311Packages.plumbum.dist
  • python311Packages.pwntools
  • python311Packages.pwntools.dist
  • python311Packages.pymilter
  • python311Packages.pymilter.dist
  • python311Packages.pyprecice
  • python311Packages.pyprecice.dist
  • python311Packages.python-cinderclient
  • python311Packages.python-cinderclient.dist
  • python311Packages.python-glanceclient
  • python311Packages.python-glanceclient.dist
  • python311Packages.python-keystoneclient
  • python311Packages.python-keystoneclient.dist
  • python311Packages.python-novaclient
  • python311Packages.python-novaclient.dist
  • python311Packages.python-swiftclient
  • python311Packages.python-swiftclient.dist
  • python311Packages.rpyc
  • python311Packages.rpyc.dist
  • python311Packages.scmrepo
  • python311Packages.scmrepo.dist
  • python311Packages.swift
  • python311Packages.swift.dist
  • qtpass
  • radicle-cli
  • rdocker
  • rset
  • scalapack
  • spf-engine
  • spf-engine.dist
  • ssh-copy-id
  • ssh-ident
  • sshuttle
  • sshuttle.dist
  • xxh
  • xxh.dist

@reckenrode
Copy link
Contributor Author

I retargeted to staging because of the number of Linux rebuilds.

@reckenrode
Copy link
Contributor Author

Whoa, that error only happens with SIP disabled.

Does it also happen without the patch? That is a weird error.

@reckenrode
Copy link
Contributor Author

Result of nixpkgs-review pr 243558 run on x86_64-darwin 1

119 packages marked as broken and skipped:
  • almanah
  • btrbk
  • buildbot
  • buildbot-full
  • buildbot-ui
  • buildbot.dist
  • cloud-init
  • cloud-init.dist
  • datalad
  • datalad.dist
  • dvc
  • dvc-with-remotes
  • dvc-with-remotes.dist
  • dvc.dist
  • forgejo
  • forgejo.data
  • gcr_4
  • gcr_4.bin
  • gcr_4.dev
  • gcr_4.devdoc
  • gitea
  • gitea.data
  • gnome-recipes
  • gnome.gnome-music
  • gnome.gvfs
  • grilo-plugins
  • guardian-agent
  • krunner-pass
  • manilaclient
  • manilaclient.dist
  • matrix-synapse
  • matrix-synapse-plugins.matrix-synapse-ldap3
  • matrix-synapse-plugins.matrix-synapse-ldap3.dist
  • matrix-synapse-plugins.matrix-synapse-mjolnir-antispam
  • matrix-synapse-plugins.matrix-synapse-mjolnir-antispam.dist
  • matrix-synapse-plugins.matrix-synapse-shared-secret-auth
  • matrix-synapse-plugins.matrix-synapse-shared-secret-auth.dist
  • matrix-synapse.dist
  • mautrix-facebook
  • mautrix-facebook.dist
  • mojave-gtk-theme
  • nixops
  • nixops.dist
  • onboard
  • onboard.dist
  • openssh_gssapi
  • pass-wayland
  • pykms
  • python310Packages.clustershell
  • python310Packages.clustershell.dist
  • python310Packages.dvclive
  • python310Packages.dvclive.dist
  • python310Packages.fenics
  • python310Packages.fenics.dist
  • python310Packages.heudiconv
  • python310Packages.heudiconv.dist
  • python310Packages.homeassistant-pyozw
  • python310Packages.homeassistant-pyozw.dist
  • python310Packages.journalwatch
  • python310Packages.journalwatch.dist
  • python310Packages.optuna
  • python310Packages.optuna.dist
  • python310Packages.oslo-concurrency
  • python310Packages.oslo-concurrency.dist
  • python310Packages.oslo-db
  • python310Packages.oslo-db.dist
  • python310Packages.oslo-log
  • python310Packages.oslo-log.dist
  • python310Packages.python-manilaclient
  • python310Packages.python-manilaclient.dist
  • python310Packages.subunit2sql
  • python310Packages.subunit2sql.dist
  • python310Packages.systemd
  • python310Packages.systemd.dist
  • python310Packages.tempest
  • python310Packages.tempest.dist
  • python311Packages.clustershell
  • python311Packages.clustershell.dist
  • python311Packages.dvclive
  • python311Packages.dvclive.dist
  • python311Packages.fenics
  • python311Packages.fenics.dist
  • python311Packages.heudiconv
  • python311Packages.heudiconv.dist
  • python311Packages.homeassistant-pyozw
  • python311Packages.homeassistant-pyozw.dist
  • python311Packages.journalwatch
  • python311Packages.journalwatch.dist
  • python311Packages.oslo-concurrency
  • python311Packages.oslo-concurrency.dist
  • python311Packages.oslo-db
  • python311Packages.oslo-db.dist
  • python311Packages.oslo-log
  • python311Packages.oslo-log.dist
  • python311Packages.python-manilaclient
  • python311Packages.python-manilaclient.dist
  • python311Packages.subunit2sql
  • python311Packages.subunit2sql.dist
  • python311Packages.systemd
  • python311Packages.systemd.dist
  • python311Packages.tempest
  • python311Packages.tempest.dist
  • qemu_full
  • qemu_xen
  • qemu_xen_4_15
  • rex
  • sanoid
  • ssh-askpass-fullscreen
  • sshlatex
  • surf
  • telepresence
  • telepresence.dist
  • tightvnc
  • vimix-gtk-themes
  • waagent
  • waagent.dist
  • whitesur-gtk-theme
  • xyce-parallel
  • xyce-parallel.doc
47 packages failed to build:
  • borgbackup
  • borgbackup.dist
  • borgbackup.doc
  • borgbackup.man
  • diffoscope
  • diffoscope.dist
  • diffoscope.man
  • emborg (python310Packages.emborg)
  • emborg.dist (python310Packages.emborg.dist)
  • heatclient (python310Packages.python-heatclient)
  • heatclient.dist (python310Packages.python-heatclient.dist)
  • ironicclient (python310Packages.python-ironicclient)
  • ironicclient.dist (python310Packages.python-ironicclient.dist)
  • openstackclient (python310Packages.python-openstackclient)
  • openstackclient.dist (python310Packages.python-openstackclient.dist)
  • passExtensions.pass-import
  • passExtensions.pass-import.dist
  • python310Packages.ansible-kernel
  • python310Packages.ansible-kernel.dist
  • python310Packages.ansible-runner
  • python310Packages.ansible-runner.dist
  • python310Packages.dvc-ssh
  • python310Packages.dvc-ssh.dist
  • python310Packages.habitipy
  • python310Packages.habitipy.dist
  • python310Packages.osc-lib
  • python310Packages.osc-lib.dist
  • python310Packages.sshfs
  • python310Packages.sshfs.dist
  • python311Packages.ansible-kernel
  • python311Packages.ansible-kernel.dist
  • python311Packages.ansible-runner
  • python311Packages.ansible-runner.dist
  • python311Packages.dvc-ssh
  • python311Packages.dvc-ssh.dist
  • python311Packages.emborg
  • python311Packages.emborg.dist
  • python311Packages.osc-lib
  • python311Packages.osc-lib.dist
  • python311Packages.python-heatclient
  • python311Packages.python-heatclient.dist
  • python311Packages.python-ironicclient
  • python311Packages.python-ironicclient.dist
  • python311Packages.python-openstackclient
  • python311Packages.python-openstackclient.dist
  • python311Packages.sshfs
  • python311Packages.sshfs.dist
197 packages built:
  • adenum
  • assh
  • autossh
  • backintime (backintime-qt)
  • backintime-common
  • bosh-cli
  • buildkite-agent
  • copier
  • copier.dist
  • diskrsync
  • evolution-data-server (gnome.evolution-data-server)
  • evolution-data-server-gtk4
  • evolution-data-server-gtk4.dev
  • evolution-data-server.dev (gnome.evolution-data-server.dev)
  • flexget
  • flexget.dist
  • folks
  • folks.dev
  • folks.devdoc
  • gcr
  • gcr.dev
  • gcr.devdoc
  • git-annex (haskellPackages.git-annex)
  • git-annex.doc (haskellPackages.git-annex.doc)
  • git-credential-manager
  • git-doc (git-doc.doc ,gitFull.doc)
  • gitRepo (git-repo)
  • gitFull
  • glanceclient (python310Packages.python-glanceclient)
  • glanceclient.dist (python310Packages.python-glanceclient.dist)
  • gnome-online-accounts
  • gnome-online-accounts.dev
  • gnome.gnome-calendar
  • gnudatalanguage
  • gogs
  • gvfs
  • ham (perl536Packages.ham)
  • hercules-ci-agent
  • hercules-ci-agent.data
  • hound
  • hss
  • k3sup
  • keychain
  • libredirect
  • libredirect.hook
  • morph
  • morph.lib
  • mosh
  • mpich
  • neuron-full (python310Packages.neuronpy)
  • neuron-mpi
  • nix-simple-deploy
  • openssh
  • openssh_hpn
  • pass (pass-nodmenu)
  • pdsh
  • perl534Packages.NetSCP
  • perl534Packages.NetSCP.devdoc
  • perl534Packages.NetSFTPForeign
  • perl534Packages.NetSFTPForeign.devdoc
  • perl534Packages.NetSSH
  • perl534Packages.NetSSH.devdoc
  • perl534Packages.ham
  • perl536Packages.NetSCP
  • perl536Packages.NetSCP.devdoc
  • perl536Packages.NetSFTPForeign
  • perl536Packages.NetSFTPForeign.devdoc
  • perl536Packages.NetSSH
  • perl536Packages.NetSSH.devdoc
  • pssh
  • pssh.dist
  • pwndbg
  • pwntools (python310Packages.pwntools)
  • pwntools.dist (python310Packages.pwntools.dist)
  • python310Packages.aioasuswrt
  • python310Packages.aioasuswrt.dist
  • python310Packages.angr
  • python310Packages.angr.dist
  • python310Packages.angrcli
  • python310Packages.angrcli.dist
  • python310Packages.angrop
  • python310Packages.angrop.dist
  • python310Packages.asyncssh
  • python310Packages.asyncssh.dist
  • python310Packages.baselines
  • python310Packages.baselines.dist
  • python310Packages.dask-mpi
  • python310Packages.dask-mpi.dist
  • python310Packages.deploykit
  • python310Packages.deploykit.dist
  • python310Packages.fipy
  • python310Packages.fipy.dist
  • python310Packages.git-annex-adapter
  • python310Packages.git-annex-adapter.dist
  • python310Packages.h5py-mpi
  • python310Packages.h5py-mpi.dist
  • python310Packages.keystoneauth1
  • python310Packages.keystoneauth1.dist
  • python310Packages.mpi4py
  • python310Packages.mpi4py.dist
  • python310Packages.openstacksdk
  • python310Packages.openstacksdk.dist
  • python310Packages.oslo-serialization
  • python310Packages.oslo-serialization.dist
  • python310Packages.oslo-utils
  • python310Packages.oslo-utils.dist
  • python310Packages.plumbum
  • python310Packages.plumbum.dist
  • python310Packages.pymilter
  • python310Packages.pymilter.dist
  • python310Packages.pyprecice
  • python310Packages.pyprecice.dist
  • python310Packages.python-cinderclient
  • python310Packages.python-cinderclient.dist
  • python310Packages.python-keystoneclient
  • python310Packages.python-keystoneclient.dist
  • python310Packages.python-novaclient
  • python310Packages.python-novaclient.dist
  • swiftclient (python310Packages.python-swiftclient)
  • swiftclient.dist (python310Packages.python-swiftclient.dist)
  • python310Packages.rpyc
  • python310Packages.rpyc.dist
  • python310Packages.scmrepo
  • python310Packages.scmrepo.dist
  • python310Packages.sfepy
  • python310Packages.sfepy.dist
  • python310Packages.swift
  • python310Packages.swift.dist
  • python311Packages.aioasuswrt
  • python311Packages.aioasuswrt.dist
  • python311Packages.angr
  • python311Packages.angr.dist
  • python311Packages.angrcli
  • python311Packages.angrcli.dist
  • python311Packages.angrop
  • python311Packages.angrop.dist
  • python311Packages.asyncssh
  • python311Packages.asyncssh.dist
  • python311Packages.dask-mpi
  • python311Packages.dask-mpi.dist
  • python311Packages.deploykit
  • python311Packages.deploykit.dist
  • python311Packages.fipy
  • python311Packages.fipy.dist
  • python311Packages.git-annex-adapter
  • python311Packages.git-annex-adapter.dist
  • python311Packages.h5py-mpi
  • python311Packages.h5py-mpi.dist
  • python311Packages.habitipy
  • python311Packages.habitipy.dist
  • python311Packages.keystoneauth1
  • python311Packages.keystoneauth1.dist
  • python311Packages.mpi4py
  • python311Packages.mpi4py.dist
  • python311Packages.neuronpy
  • python311Packages.openstacksdk
  • python311Packages.openstacksdk.dist
  • python311Packages.oslo-serialization
  • python311Packages.oslo-serialization.dist
  • python311Packages.oslo-utils
  • python311Packages.oslo-utils.dist
  • python311Packages.plumbum
  • python311Packages.plumbum.dist
  • python311Packages.pwntools
  • python311Packages.pwntools.dist
  • python311Packages.pymilter
  • python311Packages.pymilter.dist
  • python311Packages.pyprecice
  • python311Packages.pyprecice.dist
  • python311Packages.python-cinderclient
  • python311Packages.python-cinderclient.dist
  • python311Packages.python-glanceclient
  • python311Packages.python-glanceclient.dist
  • python311Packages.python-keystoneclient
  • python311Packages.python-keystoneclient.dist
  • python311Packages.python-novaclient
  • python311Packages.python-novaclient.dist
  • python311Packages.python-swiftclient
  • python311Packages.python-swiftclient.dist
  • python311Packages.rpyc
  • python311Packages.rpyc.dist
  • python311Packages.scmrepo
  • python311Packages.scmrepo.dist
  • python311Packages.swift
  • python311Packages.swift.dist
  • qtpass
  • radicle-cli
  • rdocker
  • rset
  • spf-engine
  • spf-engine.dist
  • ssh-copy-id
  • ssh-ident
  • sshuttle
  • sshuttle.dist
  • xxh
  • xxh.dist

@reckenrode
Copy link
Contributor Author

Checking some of the failures against master on aarch64-darwin:

  • emborg fails to build;
  • passExtensions.pass-import builds (also seems to build on this branch now, so maybe a transient issue);
  • python3Packages.angrcli fails to build;
  • python3Packages.ansible-kernel fails to build due to python3Packages.maxminddb;
  • python3Packages.ansible-runner fails to build due to python3Packages.maxminddb;
  • python3Packages.dvc-ssh fails to build due to python3Packages.sshfs;
  • python3Packages.gpaw fails to build;
  • python3Packages.sshfs fails to build (possibly due to sandboxing);
  • python311Packages.osc-lib fails to build;
  • python311Packages.python-heatclient fails to build due to python311Packages.osc-lib;
  • python311Packages.python-ironicclient fails to build due to python311Packages.osc-lib; and
  • python311Packages.python-openstackclient fails to build due to python311Packages.osc-lib.

@reckenrode
Copy link
Contributor Author

For x86_64-darwin, borgbackup and diffoscope are failing due to e2fsprogs. That failure should be fixed in staging with the stdenv rework and CF updates.

@tjni
Copy link
Contributor

tjni commented Jul 15, 2023

Whoa, that error only happens with SIP disabled.

Does it also happen without the patch? That is a weird error.

Yeah, it happens without the patch too. Something to worry about for another day.

@reckenrode
Copy link
Contributor Author

Yeah, it happens without the patch too. Something to worry about for another day.

That means it’s not a regression. 🤓

@@ -139,7 +139,7 @@ WRAPPER_DEF(open64)

WRAPPER(int, openat)(int dirfd, const char * path, int flags, ...)
{
int (*openat_real) (int, const char *, int, mode_t) = LOOKUP_REAL(openat);
int (*openat_real) (int, const char *, int, ...) = LOOKUP_REAL(openat);
Copy link
Member

Choose a reason for hiding this comment

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

Eh, I expect someone was looking at Linux docs instead of POSIX. I'm prone to doing that mistake, too.

@vcunat vcunat merged commit 13dd8ab into NixOS:staging Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants