[Nix-dev] patchelf barf

Armijn Hemel armijn at uulug.nl
Sat Dec 4 02:30:29 CET 2004


hi,

before I totally go nuts. In NixOS I'm patchelfing a whole lot of files,
but for some unclear reason it fails, even though everything went fine.
I saw some strange patchelf warnings and I was wondering if they might
be the cause of it: as in, patchelf barfs, find expression fails, whole
build fails.

patching ELF file
`/nix/store/b0946214307543120a93072bf411d008-glibc/sbin/ldconfig'
no dynamic section, so no RPATH to shrink
d832122160780bcccb33d10febb9a479-patchelf: patchelf.c:354: patchElf:
Assertion `phdrs[0].p_type == 6' failed.
/nix/store/ed68de59f4f42796f519206e857d400e-findutils/bin/find:
/nix/store/d832122160780bcccb33d10febb9a479-patchelf terminated by
signal 6
patching ELF file
`/nix/store/b0946214307543120a93072bf411d008-glibc/sbin/sln'
no dynamic section, so no RPATH to shrink
d832122160780bcccb33d10febb9a479-patchelf: patchelf.c:354: patchElf:
Assertion `phdrs[0].p_type == 6' failed.

Both files, ldconfig and sln, are static binaries.

armijn

-- 
 ---------------------------------------------------------------------------
  armijn at uulug.nl | http://www.uulug.nl/ | UULug: Utrecht Linux Users Group
 ---------------------------------------------------------------------------



More information about the nix-dev mailing list