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

Build failure: udev-rules on latest nixpkgs-unstable #370915

Closed
slotThe opened this issue Jan 4, 2025 · 4 comments
Closed

Build failure: udev-rules on latest nixpkgs-unstable #370915

slotThe opened this issue Jan 4, 2025 · 4 comments
Labels
0.kind: build failure A package fails to build

Comments

@slotThe
Copy link
Member

slotThe commented Jan 4, 2025

Starting from 41d38a5aa5629562a424717665f3349c5fc1f27a (#367733), my configuration fails to build udev-rules, since apparently cat can't be found:

Checking that all programs called by absolute paths in udev rules exist... FAIL
/usr/bin/cat is called in udev rules but is not executable or does not exist

Build log

Build Log
Adding rules for package /nix/store/s8fjba985rz791wwhgybfris4y3x1yly-mdadm-4.3
Copying /nix/store/s8fjba985rz791wwhgybfris4y3x1yly-mdadm-4.3/lib/udev/rules.d/01-md-raid-creating.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/01-md-raid-creating.rules
Copying /nix/store/s8fjba985rz791wwhgybfris4y3x1yly-mdadm-4.3/lib/udev/rules.d/63-md-raid-arrays.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/63-md-raid-arrays.rules
Copying /nix/store/s8fjba985rz791wwhgybfris4y3x1yly-mdadm-4.3/lib/udev/rules.d/64-md-raid-assembly.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/64-md-raid-assembly.rules
Copying /nix/store/s8fjba985rz791wwhgybfris4y3x1yly-mdadm-4.3/lib/udev/rules.d/69-md-clustered-confirm-device.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/69-md-clustered-confirm-device.rules
Adding rules for package /nix/store/iivsc2vg77qyjaravxxp23xni4igpvmk-ipv6-privacy-extensions.rules
Copying /nix/store/iivsc2vg77qyjaravxxp23xni4igpvmk-ipv6-privacy-extensions.rules/etc/udev/rules.d/98-ipv6-privacy-extensions.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/98-ipv6-privacy-extensions.rules
Adding rules for package /nix/store/ckl47w38za6d1jhnq1lpbwkvv02qllrz-ipv6-privacy-extensions.rules
Copying /nix/store/ckl47w38za6d1jhnq1lpbwkvv02qllrz-ipv6-privacy-extensions.rules/etc/udev/rules.d/99-ipv6-privacy-extensions.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/99-ipv6-privacy-extensions.rules
Adding rules for package /nix/store/f50x4fcqnsigzh0337mf1bcgs5b35456-lvm2-2.03.28
Copying /nix/store/f50x4fcqnsigzh0337mf1bcgs5b35456-lvm2-2.03.28/lib/udev/rules.d/10-dm.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/10-dm.rules
Copying /nix/store/f50x4fcqnsigzh0337mf1bcgs5b35456-lvm2-2.03.28/lib/udev/rules.d/11-dm-lvm.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/11-dm-lvm.rules
Copying /nix/store/f50x4fcqnsigzh0337mf1bcgs5b35456-lvm2-2.03.28/lib/udev/rules.d/13-dm-disk.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/13-dm-disk.rules
Copying /nix/store/f50x4fcqnsigzh0337mf1bcgs5b35456-lvm2-2.03.28/lib/udev/rules.d/69-dm-lvm.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/69-dm-lvm.rules
Copying /nix/store/f50x4fcqnsigzh0337mf1bcgs5b35456-lvm2-2.03.28/lib/udev/rules.d/95-dm-notify.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/95-dm-notify.rules
Adding rules for package /nix/store/bnwaclx4n243fid9qa9rh63y2g8zqsrq-bcache-tools-1.0.8
Copying /nix/store/bnwaclx4n243fid9qa9rh63y2g8zqsrq-bcache-tools-1.0.8/lib/udev/rules.d/69-bcache.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/69-bcache.rules
Adding rules for package /nix/store/pbrslrpmqk37xp01f78z2f3xi45p7hdw-networkmanager-1.48.10
Copying /nix/store/pbrslrpmqk37xp01f78z2f3xi45p7hdw-networkmanager-1.48.10/lib/udev/rules.d/84-nm-drivers.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/84-nm-drivers.rules
Copying /nix/store/pbrslrpmqk37xp01f78z2f3xi45p7hdw-networkmanager-1.48.10/lib/udev/rules.d/85-nm-unmanaged.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/85-nm-unmanaged.rules
Copying /nix/store/pbrslrpmqk37xp01f78z2f3xi45p7hdw-networkmanager-1.48.10/lib/udev/rules.d/90-nm-thunderbolt.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/90-nm-thunderbolt.rules
Adding rules for package /nix/store/6m35hi3fd46x4jik620vbgww17gzhv24-wpa_supplicant-2.11
Adding rules for package /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-broadmobi-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-broadmobi-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-cinterion-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-cinterion-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-dell-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-dell-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-dlink-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-dlink-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-ericsson-mbm.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-ericsson-mbm.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-fibocom-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-fibocom-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-foxconn-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-foxconn-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-gosuncn-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-gosuncn-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-haier-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-haier-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-huawei-net-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-huawei-net-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-linktop-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-linktop-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-longcheer-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-longcheer-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-mtk-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-mtk-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-nokia-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-nokia-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-qcom-soc.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-qcom-soc.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-quectel-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-quectel-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-sierra.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-sierra.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-simtech-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-simtech-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-telit-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-telit-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-tplink-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-tplink-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-ublox-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-ublox-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-x22x-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-x22x-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/77-mm-zte-port-types.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/77-mm-zte-port-types.rules
Copying /nix/store/p9idbwsdf3446qyzy9qj15zmil4s2f6p-modemmanager-1.22.0/lib/udev/rules.d/80-mm-candidate.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/80-mm-candidate.rules
Adding rules for package /nix/store/wjwy8dz04p1yaarnhvs6z9y22zf4a087-extra-udev-rules
Copying /nix/store/wjwy8dz04p1yaarnhvs6z9y22zf4a087-extra-udev-rules/etc/udev/rules.d/99-local.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/99-local.rules
Adding rules for package /nix/store/i6xvq9ml1akqldpn23vzi5h1h1msy086-extra-hwdb-file
Adding rules for package /nix/store/582l910lsmji6by9vsi8fhwpsx6dzfjs-tlp-1.7.0
Copying /nix/store/582l910lsmji6by9vsi8fhwpsx6dzfjs-tlp-1.7.0/lib/udev/rules.d/85-tlp-rdw.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/85-tlp-rdw.rules
Copying /nix/store/582l910lsmji6by9vsi8fhwpsx6dzfjs-tlp-1.7.0/lib/udev/rules.d/85-tlp.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/85-tlp.rules
Adding rules for package /nix/store/mq95vqqs3qmmzwqsa6b5fhcjh8df2v9i-libinput-1.26.2
Copying /nix/store/mq95vqqs3qmmzwqsa6b5fhcjh8df2v9i-libinput-1.26.2/lib/udev/rules.d/80-libinput-device-groups.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/80-libinput-device-groups.rules
Copying /nix/store/mq95vqqs3qmmzwqsa6b5fhcjh8df2v9i-libinput-1.26.2/lib/udev/rules.d/90-libinput-fuzz-override.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/90-libinput-fuzz-override.rules
Adding rules for package /nix/store/sa21kggks0qd0lkjj6r4nqjv6b4lsrq1-bluez-5.79
Copying /nix/store/sa21kggks0qd0lkjj6r4nqjv6b4lsrq1-bluez-5.79/lib/udev/rules.d/97-hid2hci.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/97-hid2hci.rules
Adding rules for package /nix/store/q86i1zcwf08lwly8mw7d6iphl7gr1yqm-pipewire-1.2.7
Copying /nix/store/q86i1zcwf08lwly8mw7d6iphl7gr1yqm-pipewire-1.2.7/lib/udev/rules.d/90-pipewire-alsa.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/90-pipewire-alsa.rules
Adding rules for package /nix/store/gds41dg08wzz044n97c9dwzjjch70p3n-alsa-utils-1.2.13
Copying /nix/store/gds41dg08wzz044n97c9dwzjjch70p3n-alsa-utils-1.2.13/lib/udev/rules.d/90-alsa-restore.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/90-alsa-restore.rules
Adding rules for package /nix/store/gv5gijzdj3gzmyawksrymnb94z6h7y42-steam-devices-udev-rules-1.0.0.61-unstable-2024-05-22
Copying /nix/store/gv5gijzdj3gzmyawksrymnb94z6h7y42-steam-devices-udev-rules-1.0.0.61-unstable-2024-05-22/lib/udev/rules.d/60-steam-input.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/60-steam-input.rules
Copying /nix/store/gv5gijzdj3gzmyawksrymnb94z6h7y42-steam-devices-udev-rules-1.0.0.61-unstable-2024-05-22/lib/udev/rules.d/60-steam-vr.rules to /nix/store/6nl5l1rd1lgn1wv3isw2klf4mrpnynrs-udev-rules/60-steam-vr.rules
Checking that all programs called by relative paths in udev rules exist in /nix/store/lji0hh2w2rv6q9mal3vpxbg413d57vfd-systemd-256.8/lib/udev... OK
Checking that all programs called by absolute paths in udev rules exist... FAIL
/usr/bin/cat is called in udev rules but is not executable or does not exist

Metadata

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.68, NixOS, 25.05 (Warbler), 25.05.20241231.564162a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Lix, like Nix) 2.92.0-dev-pre20241206-2a9e560
System type: x86_64-linux
Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
Features: gc, signed-caches
System configuration file: /etc/nix/nix.conf
User configuration files: /home/slot/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/slot/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/slot/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/slot/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf
Store directory: /nix/store
State directory: /nix/var/nix
Data directory: /nix/store/rip4rq4jaj7gkn36v6wggz4azhh42vlq-lix-2.92.0-dev-pre20241206-2a9e560/share`
 - nixpkgs: `/nix/store/sv0avwqkq8badivqp8jg3zdxqh9rxixd-source`

Notify maintainers

No one in maintainers, so pinging @ck3d because of #367733

@slotThe slotThe added the 0.kind: build failure A package fails to build label Jan 4, 2025
@ck3d
Copy link
Contributor

ck3d commented Jan 4, 2025

I created a PR which fixes the path to /usr/bin/cat, but I did not test if the udev rule checker passes. Could test the PR?

@ck3d
Copy link
Contributor

ck3d commented Jan 4, 2025

I tested the PR successfully by adding alsa-utils to NixOS option services.udev.package.

@cmm
Copy link
Member

cmm commented Jan 4, 2025

There is a(n arguably) more general and future-proof fix here: #370740

@slotThe
Copy link
Member Author

slotThe commented Jan 6, 2025

Closed by #370740

@slotThe slotThe closed this as completed Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants