From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020626 Description of problem: rebuilding mkinitrd-3.4.16-1.src.rpm failed with error messages Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.rpmbuild --rebuild mkinitrd-3.4.16-1.src.rpm 2.stopped with error messages 3. Actual Results: Error messages: + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip + /usr/lib/rpm/redhat/brp-strip-comment-note Processing files: mkinitrd-3.4.16-1 error: File not found: /var/tmp/mkinitrd-root/sbin/nash error: File not found by glob: /var/tmp/mkinitrd-root/usr/share/man/man8/nash.8* PreReq: dev Requires: e2fsprogs /bin/sh fileutils grep mount gzip tar /sbin/insmod.static /sbin/losetup mktemp >= 1.5-5 findutils lvm filesystem >= 2.1.0 RPM build errors: InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 897da07a File not found: /var/tmp/mkinitrd-root/sbin/nash File not found by glob: /var/tmp/mkinitrd-root/usr/share/man/man8/nash.8* Additional info: /etc/rpmrc: --- buildarchtranslate:i686: i686 optflags: i686 -O6 -march=i686 --- related packages: rpm-4.1-0.51 gcc-3.1-9
Please attach a full log of the build -- I need to see why nash is failing to build. The most likely cause is that the "dietlibc" package is not installed.
Yes you're right - I installed dietlibc and the error is gone now. Maybe make dietlibc as one of the BuildRequires?
It's only required on x86 platforms and there isn't any good way to encode that in RPM.