Broken deps in rawhide (coreutils)

Miroslav Suchy msuchy at
Tue Oct 21 17:23:29 UTC 2014

Today I got report that there are failed builds in Copr for rawhide 
chroots. [1]

After investigation I find that coreutils are installed too late, so 
they are not available to previous postcripts:

   Installing : crypto-policies-20140905-1.git4649b7d.fc22.noarch 
/usr/bin/update-crypto-policies: line 39: cat: command not found
/usr/bin/update-crypto-policies: line 43: cat: command not found
Couldn't read current profile
warning: %post(crypto-policies-20140905-1.git4649b7d.fc22.noarch) 
scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package 
   Installing : libblkid-2.25.1-1.fc22.x86_64 
/var/tmp/rpm-tmp.yCcv5b: line 4: mkdir: command not found
   Installing : pam-1.1.8-18.fc22.x86_64 
/var/tmp/rpm-tmp.4J2sJD: line 3: /usr/bin/install: No such file or directory
warning: %post(pam-1.1.8-18.fc22.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package pam-1.1.8-18.fc22.x86_64
   Installing : coreutils-8.23-4.fc22.x86_64 

This is just small sample, there is much more errors.
And it is not just coreutils (but that produce most errors). E.g. I seen 
errors caused by ordering of libXft too:

   Installing : pango-1.36.8-1.fc22.x86_64 
/usr/bin/pango-querymodules-64: error while loading shared libraries: cannot open shared object file: No such file or directory
   Installing : libXft-2.3.2-2.fc22.x86_64 

And there may be even more examples. You can try it yourself by:
rm -rf /var/lib/mock/fedora-rawhide-x86_64/root/*
/usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ 
--releasever rawhide install @buildsys-build --setopt=tsflags=nocontexts 

Few days ago it seemed to work. Does somebody have idea what changed 
recently? Is is because of some change in rpm, yum, something else?
Why it work in koji [2]?
Why is pam installed before coreutils even when pam have
Requires(post): coreutils, /sbin/ldconfig



More information about the devel mailing list