Hi!
Are you building the rpm's as root? I never do that.
On Mon, Jan 05, 2004 at 10:05:37AM -0500, Dimitrie O. Paun wrote:
On December 22, 2003 05:37 pm, Michael Stefaniuc wrote:
* Build the mingw and mingw-binutils rpm's (rpmbuild --rebuild $SRPM) and install them.
mingw-binutils builds and installs no problem (I'm running RH9), but mingw fails building at this stage, like so:
- /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/mingw-3.0
0 blocks find: /var/tmp/mingw-3.0-1-buildroot/usr/lib/debug: No such file or directory
- /usr/lib/rpm/brp-compress
- /usr/lib/rpm/brp-strip
- /usr/lib/rpm/brp-strip-static-archive
I get this: find: /scr/rpm/INSTALL/mingw-3.0-1-buildroot/usr/lib/debug: No such file or directory + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /bin/true + /usr/lib/rpm/redhat/brp-strip-static-archive /bin/true + /usr/lib/rpm/redhat/brp-strip-comment-note /bin/true /usr/bin/objdump Processing files: mingw-3.0-1
Do you have something in your .rpmmacros and/or .rpmrc that messes with brp-strip? Cause the spec file has this: # This keeps brp-strip from fucking up our nonnative binaries %define __strip /bin/true
which works for me.
strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/stTpXuAW/dt.o: Invalid operation strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/stjCc8Q1/dt.o: Invalid operation strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/stGnVJ3r/gmon.o: Invalid operation strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/stbPILFr/_libm_dummy.o: Invalid operation strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/sts3afYa/CRTglob.o: Invalid operation strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/st2KP6Vc/fwide.o: Invalid operation strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/st1n49AX/dt.o: Invalid operation strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/stZVDYaX/dt.o: Invalid operation strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/stKecJA5/dt.o: Invalid operation ...[more like these]... strip: /var/tmp/mingw-3.0-1-buildroot/usr/mingw/lib/stB4vLfp/dt.o: Invalid operation error: Bad exit status from /var/tmp/rpm-tmp.47410 (%install)
This is the error.
RPM build errors: user hpa does not exist - using root group eng does not exist - using root user hpa does not exist - using root group eng does not exist - using root user hpa does not exist - using root group eng does not exist - using root user hpa does not exist - using root group eng does not exist - using root user hpa does not exist - using root group eng does not exist - using root user hpa does not exist - using root group eng does not exist - using root
This should be only warnings and they are comming from the installation of the srpm (check with rpm -ivh mingw-3.0-1.src.rpm) and are harmless.
Bad exit status from /var/tmp/rpm-tmp.47410 (%install)
bye michael