Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Unstable (26.05)
Steps to reproduce
Unable to build nor run the nix-cached version of rhash on AMD Phenom(tm) II X6 1045T Processor
Steps to reproduce, run
$ nix-build /nix/store/hy5mljpx02khhq7kl62vb60y1mggg5ha-rhash-1.4.6.drv --substituters ''
or
$ nix-build "<nixpkgs>" -A rhash --substituters ''
on a system with an AMD Phenom(tm) II X6 1045T Processor
Can Hydra reproduce this build failure?
No, Hydra cannot reproduce this build failure.
Link to Hydra build job
No response
Relevant log output
error: Cannot build '/nix/store/hy5mljpx02khhq7kl62vb60y1mggg5ha-rhash-1.4.6.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/fv55biiqmn8hm56p9jjbmw8dfi0j4ai2-rhash-1.4.6
Last 25 log lines:
> expected: "Everything OK"
> 16. test checking w/o filename: Illegal instruction (core dumped)
> Failed
> obtained: "Nothing to verify"
> expected: "Everything OK"
> 17. test checking embedded crc: Ok
> 18. test checking recursively: Ok
> 19. test wrong sums detection: Illegal instruction (core dumped)
> Ok
> 20. test missig files: Ok
> 21. test unverified files: Ok
> 22. test update: Ok
> 23. test *accept options: Ok
> 24. test ignoring of log files: Ok
> 25. test creating torrent file: Illegal instruction (core dumped)
> Failed
> obtained: ""
> expected: "29f7e9ef0f41954225990c513cac954058721dd2 test1K.data"
> rm: cannot remove 'test1K.data.torrent': No such file or directory
> 26. test exit code: Illegal instruction (core dumped)
> Failed Subtest #5
> obtained: "132"
> expected: "0"
> Failed 38 checks
> make: *** [Makefile:140: test-full] Error 1
For full logs, run:
nix-store -l /nix/store/hy5mljpx02khhq7kl62vb60y1mggg5ha-rhash-1.4.6.drvAdditional context
$ sudo dmesg -T | tail
[Wed May 13 11:16:56 2026] traps: rhash[55863] trap invalid opcode ip:7ffff7f982ed sp:7fffffffd368 error:0 in librhash.so.1.4.6[162ed,7ffff7f85000+1b000]
[Wed May 13 11:16:56 2026] traps: rhash[55875] trap invalid opcode ip:7ffff7f93e17 sp:7fffffffd2d8 error:0 in librhash.so.1.4.6[11e17,7ffff7f85000+1b000]
[Wed May 13 11:16:56 2026] traps: rhash[55884] trap invalid opcode ip:7ffff7f93e17 sp:7fffffffd2d8 error:0 in librhash.so.1.4.6[11e17,7ffff7f85000+1b000]
[Wed May 13 11:16:56 2026] traps: rhash[55893] trap invalid opcode ip:7ffff7f9432b sp:7fffffffd2a8 error:0 in librhash.so.1.4.6[1232b,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55904] trap invalid opcode ip:7ffff7f9432b sp:7fffffffd2a8 error:0 in librhash.so.1.4.6[1232b,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55913] trap invalid opcode ip:7ffff7f8d382 sp:7fffffffd298 error:0 in librhash.so.1.4.6[b382,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55940] trap invalid opcode ip:7ffff7f9af8c sp:7fffffffd2b8 error:0 in librhash.so.1.4.6[18f8c,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55952] trap invalid opcode ip:7ffff7f9af8c sp:7fffffffd2b8 error:0 in librhash.so.1.4.6[18f8c,7ffff7f85000+1b000]
[Wed May 13 11:16:57 2026] traps: rhash[55963] trap invalid opcode ip:7ffff7f8aae8 sp:7fffffffd220 error:0 in librhash.so.1.4.6[8ae8,7ffff7f85000+1b000]
[Wed May 13 11:16:58 2026] traps: rhash[55980] trap invalid opcode ip:7ffff7f982ed sp:7fffffffd378 error:0 in librhash.so.1.4.6[162ed,7ffff7f85000+1b000]
$ lscpu | grep "Model name\|Flags"
Model name: AMD Phenom(tm) II X6 1045T Processor
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni monitor cx16 popcnt lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr cpb hw_pstate vmmcall npt lbrv svm_lock nrip_save pausefilterNote that cmake-4.1.2 depends on rhash, and many things depend on cmake.
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.18.26, NixOS, 26.05 (Yarara), 26.05.20260430.15f4ee4 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.6 - channels(roconnor):
"" - channels(root):
"nixos" - nixpkgs:
/nix/store/8ywvn5k9zc12c40rql9q8x1vpjg6dfnf-nixos/nixos
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by Michael Wang
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
[-]Build failure: rash-1.4.6[/-][+]Build failure: rhash-1.4.6[/+]roconnor commentedon May 13, 2026
@ttuegel @LnL7
rhashhas no maintainer and this issue is affectingcmake, so I'm notifying thecmakemaintainers in lieu.roconnor commentedon May 22, 2026
Offending instructions:
pinsrd,pextrq,pabsb, etc.roconnor commentedon May 22, 2026
Possibly fixed by rhash/RHash@61dd85b
roconnor commentedon May 22, 2026
This did not fix it.
roconnor commentedon May 22, 2026
See same issue in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113938
rhash: disable compile-time SHA-NI for x86_64 compatibility
rhash: disable compile-time SHA-NI for x86_64 compatibility