On 10/05/2015 08:42 PM, Cole Robinson wrote: > On 10/05/2015 04:46 AM, Miroslav Suchý wrote: >> Dne 30.9.2015 v 00:17 Cole Robinson napsal(a): >>> I'm hitting scriplet errors when trying to build f23 qemu in mock on an up to >>> date f23 host. Example: >>> >>> $ mock --root fedora-23-x86_64 --init >>> ... >>> $ mock --root fedora-23-x86_64 --rebuild qemu-2.4.0-4.fc23.src.rpm >>> ... >>> >>> Transaction Summary >>> ================================================================================ >>> Install 48 Packages (+596 Dependent packages) >>> >>> Total size: 396 M >>> Installed size: 1.1 G >>> Downloading packages: >>> Running transaction check >>> Running transaction test >>> Transaction test succeeded >>> Running transaction (shutdown inhibited) >>> error: %prein(texlive-base-4:2014-13.20140525_r34255.fc23.noarch) scriptlet >>> failed, exit status 126 >>> Error in PREIN scriptlet in rpm package >>> 4:texlive-base-2014-13.20140525_r34255.fc23.noarch >>> Installing : 2:libpng-1.6.17-2.fc23.x86_64 2/644 >>> error: texlive-base-4:2014-13.20140525_r34255.fc23.noarch: install failed >>> warning: %post(libpng-2:1.6.17-2.fc23.x86_64) scriptlet failed, exit status 126 >>> Non-fatal POSTIN scriptlet failure in rpm package 2:libpng-1.6.17-2.fc23.x86_64 >>> Installing : freetype-2.6.0-3.fc23.x86_64 3/644 >>> warning: %post(freetype-2.6.0-3.fc23.x86_64) scriptlet failed, exit status 126 >>> Non-fatal POSTIN scriptlet failure in rpm package freetype-2.6.0-3.fc23.x86_64 >>> Installing : xorg-x11-proto-devel-7.7-16.fc23.noarch >> >> >> libpng just call ldconfig >> texlive-base just remove one directory and return true >> There is hardly something to fail. >> >> I strongly suspect SELinux. It does not happen on my workstation (with SELinux disabled) and it does not happen on >> freshly installed F22 machine with SELinux on. >> >> Do you have something in audit.log? >> >> > > My machine has had selinux=permissive the entire time. No AVCs in audit.log > anyways. > > Also another data point: qemu 'fedpkg mockbuild' reproduces this issue in a > fresh f23 VM install as well. > Experimented some more. If I edit /etc/mock/site-defaults.cfg and add config_opts['yum_command'] = '/usr/bin/yum-deprecated' My builds start working again. So I filed a bug: https://bugzilla.redhat.com/show_bug.cgi?id=1269675 - Cole -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct