Broken deps in rawhide (coreutils)

Miroslav Suchy msuchy at redhat.com
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 
                                               136/239
/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 
crypto-policies-20140905-1.git4649b7d.fc22.noarch
...
   Installing : libblkid-2.25.1-1.fc22.x86_64 
                                               138/239
/var/tmp/rpm-tmp.yCcv5b: line 4: mkdir: command not found
...
   Installing : pam-1.1.8-18.fc22.x86_64 
                                               143/239
/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 
                                               144/239

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 
                                               133/239
/usr/bin/pango-querymodules-64: error while loading shared libraries: 
libXft.so.2: cannot open shared object file: No such file or directory
   Installing : libXft-2.3.2-2.fc22.x86_64 
                                               134/239

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 
--nogpgcheck

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
?

Mirek


[1] 
http://copr-be.cloud.fedoraproject.org/results/jwboyer/kernel-playground/fedora-rawhide-x86_64/kernel-3.18.0-0.rc1.git0.1.playground.fc22/root.log
[2] 
https://kojipkgs.fedoraproject.org//packages/kernel/3.18.0/0.rc1.git0.1.fc22/data/logs/i686/root.log


More information about the devel mailing list