This is a discussion on [courier-users] Re: Double-checking install scenario. within the Courier-Imap forums, part of the Mail Servers and Related category; Sam Varshavchik <mrsam@courier-mta.com> writes: > Lloyd Zusman writes: > >> Checking for unpackaged file(...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Sam Varshavchik <mrsam@courier-mta.com> writes:
> Lloyd Zusman writes: > >> Checking for unpackaged file(s): /usr/lib/rpm/check-files >> /var/tmp/courier-0.49.0.20050405-1.9-buildroot >> error: Installed (but unpackaged) file(s) found: >> /usr/lib/courier/share/courierwebadmin/admin-34fax.html >> /usr/lib/courier/share/courierwebadmin/admin-34fax.pl >> /usr/lib/courier/share/courierwebadmin/admin-35fax.html >> /usr/lib/courier/share/courierwebadmin/admin-35fax.pl >> RPM build errors: >> Installed (but unpackaged) file(s) found: >> /usr/lib/courier/share/courierwebadmin/admin-34fax.html >> /usr/lib/courier/share/courierwebadmin/admin-34fax.pl >> /usr/lib/courier/share/courierwebadmin/admin-35fax.html >> /usr/lib/courier/share/courierwebadmin/admin-35fax.pl >> In step 1, I did an "rpmbuild -ta AUTHLIB-TARBALL". I did this >> as user "courier". >> In step 2, I went to ~/rpm/RPMS/i386 and did an rpm install of the rpms >> that step 1 built for courier-authlib, courier-authlib-devel, and >> courier-authlib-userdb. I did this as user "root". >> In step 3, I did an "rpmbuild -ta COURIER-TARBALL". I did this as user >> "courier". >> What did I do wrong? > > These files should go into the -fax subpackage. These files were > installed but for some reason the specfile did not package them. > > Although it might be worthwhile to investigate the real problem, you > probably don't care for the optional fax subpackage, so it'll be faster > to just to ignore it. > > Move the tarball into rpm/SOURCES. Extract courier.spec from the > tarball and move it into rpm/SPECS. Edit the courier.spec file in the > SOURCES directory, replace > > %define _unpackaged_files_terminate_build 1 > > with > > %define _unpackaged_files_terminate_build 0 > > Then run 'rpmbuild -ba courier.spec'. Got it. I think I figured out the real problem, also: I actually didn't do an "rpmbuild -ta TARBALL", but rather, an "rpmbuild -ba SPECFILE" (I forgot that I had done this when I wrote my previous message). In that file, I had set the '_without_fax' macro to '1' because I didn't want the fax stuff. That caused the real problem. Now I have a workaround for it with _unpackaged_files_terminate_build set to 0, as you have suggested. Thanks! -- Lloyd Zusman ljz@asfast.com God bless you. ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ courier-users mailing list courier-users@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users |