Bugs item #972583, was opened at 2004-06-14 14:48 Message generated for change (Comment added) made by jerrygd You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100259&aid=972583&group_id=259
Category: packaging Group: v3.2.0 Status: Open Resolution: None Priority: 5 Submitted By: Ole H. Nielsen (ohnielse) Assigned to: dann frazier (dannf) Summary: rpmbuild fails on Redhat RHEL 3.0 Initial Comment: I'm using the v3.3.2 source from CVS. When doing "rpmbuild -ba systemimager.spec" (with "%define ver 3.3.2" in the .spec file) on a Redhat RHEL 3.0 system, the build process runs fine until the very end where some errors are printed: Processing files: systemimager-i386boot-standard-3.3.2-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/systemimager-3.3.2-root error: Installed (but unpackaged) file(s) found: /usr/bin/mkbootmedia /usr/lib/systemimager/perl/BootMedia/BootMedia.pm /usr/lib/systemimager/perl/BootMedia/MediaLib.pm /usr/lib/systemimager/perl/BootMedia/alpha.pm /usr/lib/systemimager/perl/BootMedia/i386.pm RPM build errors: Installed (but unpackaged) file(s) found: /usr/bin/mkbootmedia /usr/lib/systemimager/perl/BootMedia/BootMedia.pm /usr/lib/systemimager/perl/BootMedia/MediaLib.pm /usr/lib/systemimager/perl/BootMedia/alpha.pm /usr/lib/systemimager/perl/BootMedia/i386.pm --- It seems that rules for including these files should be added at the very end of the .spec file: %files %{_build_arch}boot-%{_boot_flavor} %defattr(-, root, root) %dir %prefix/share/systemimager/boot/%{_build_arch} %prefix/share/systemimager/boot/%{_build_arch}/* ---------------------------------------------------------------------- >Comment By: Jerry DeLapp (jerrygd) Date: 2004-06-19 04:39 Message: Logged In: YES user_id=512778 Subject files are omitted from 3.2.0 RPMs as well. I'm suprised they got installed in your build since they're not installed by the top level Makefile and they don't get installed when I build on a RH9 system. ---------------------------------------------------------------------- Comment By: Ole H. Nielsen (ohnielse) Date: 2004-06-17 13:02 Message: Logged In: YES user_id=27232 We've solved this problem, assuming that the orphaned files belong to the systemimager-i386boot-standard-* RPM. At the end of systemimager.spec we added these lines: %{_bindir}/mkbootmedia %{_libdir}/%{name}/perl/BootMedia/* Now the RPMs build correctly on RHEL 3.0. Additional note: It is suggested that a clean-up of the .spec file would replace: 1. All occurrences of /tmp by the RPM variable %{_tmppath} 2. All occurrences of /tmp/%{name}-%{ver}-root by the RPM variable $RPM_BUILD_ROOT I've attached our version of systemimager.spec. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100259&aid=972583&group_id=259 ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Sisuite-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-devel