I'm having trouble building bluez on a CentOS 7.9 builder.
Turns out that the test-mesh-crypto test depends on the following Linux
kernel configuration items:
CONFIG_CRYPTO_[USER|USER_API|USER_API_AEAD|USER_API_HASH|AES|CCM|AEAD|CMAC]
and will fail if run wih an incompatible kernel with the following error
message:
...
IVindex = 12345678
NetworkNonce = 00800000011201000012345678
00800000011201000012345678 => PASS
PrivacyRandom = 000000000012345678b5e5bfdacbaf6c
000000000012345678fffd034b50057e => FAIL
FAIL unit/test-mesh-crypto (exit status: 1)
I found the same bug reported on Gentoo https://bugs.gentoo.org/704190.
Their fix is to only run the test if the kernel options are available,
which we don't want to do for build reproducibility.
Instead we just want to skip the test unconditionally. As it's simpler
to completely override the test instead of patching the build system, we
opt for doing just that.
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/bluez/versions.
These checks were done:
- built on NixOS
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetoothctl passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btmon passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/rctest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/l2test had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/l2ping had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bccmd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluemoon passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hex2hcd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/mpris-proxy passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btattach passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bdaddr passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/avinfo had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/avtest passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/scotest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/amptest had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hwdb passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hcieventmask had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hcisecfilter passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btinfo passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btconfig passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btsnoop passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btproxy passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btiotest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bneptest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/mcaptest passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/cltest had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/oobtest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/advtest passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/seq2bseq passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/nokfw passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/rtlfw passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/create-image passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/eddystone passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/ibeacon passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btgatt-client passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btgatt-server passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/test-runner passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/check-selftest had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/gatt-service had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/btmgmt passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obex-client-tool passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obex-server-tool passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetooth-player passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obexctl passed the binary check.
- Warning: no invocation of /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/hid2hci had a zero exit code or showed the expected version
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/bluetoothd passed the binary check.
- /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50/bin/obexd passed the binary check.
- 36 of 47 passed binary check by having a zero exit code.
- 19 of 47 passed binary check by having the new version present in output.
- found 5.50 with grep in /nix/store/sdf6cl55n4fp0iq5q9ky6n56inpsln2x-bluez-5.50
- directory tree listing: https://gist.github.com/d81fb1f39a7430f91d1e576b1eb599e7
- du listing: https://gist.github.com/7555f6b1dcd34da7c9731a6de05e553b