16 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Courier-0.47 RPMB...
FromSent OnAttachments
Fedora List SubscriberNov 15, 2004 8:56 am 
ScottNov 15, 2004 5:19 pm 
John MillerNov 16, 2004 8:33 am 
Sam VarshavchikNov 16, 2004 3:51 pm 
ScottNov 16, 2004 4:48 pm 
John MillerNov 16, 2004 10:56 pm 
Jerry AmundsonNov 17, 2004 8:09 am 
Sam VarshavchikNov 17, 2004 3:18 pm 
Pierre OssmanNov 18, 2004 12:38 am 
Fedora List SubscriberNov 22, 2004 4:59 am 
Zenon PanoussisJan 7, 2005 2:05 pm 
Sam VarshavchikJan 7, 2005 4:22 pm 
Zenon PanoussisJan 7, 2005 6:32 pm 
Sam VarshavchikJan 7, 2005 6:46 pm 
Zenon PanoussisJan 8, 2005 2:51 pm 
Zenon PanoussisApr 7, 2005 8:55 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Courier-0.47 RPMBuild errorActions...
From:Fedora List Subscriber (fed@bluewise.co.za)
Date:Nov 22, 2004 4:59:01 am
List:net.sourceforge.lists.courier-users

Heya Sam.

Please help with this one. I'm a total n00b to Linux programming and might get some of the terminology/logic wrong every now and then (ps where can I read up more about it):

1. I modded courier.spec by adding the following:

touch $RPM_BUILD_ROOT/rootfile root=.. while [ ! -r $RPM_BUILD_ROOT/usr/lib/courier/bin/${root}/rootfile ] ; do root=${root}/.. done

for f in dotlock maildirmake maildrop makedat reformail reformime mimegpg deliverquota do %{__ln_sf} /usr/lib/courier/bin/$f $RPM_BUILD_ROOT/usr/local/bin/$f done

for f in makeuserdb pw2userdb userdb userdbpw vchkpw2userdb do %{__ln_sf} /usr/lib/courier/sbin/$f $RPM_BUILD_ROOT/usr/local/bin/$f done

2. This seemed to count dirs upstream in increments of one, but exited with the error 'no job control' without indicating where in the process there was 'no job control'. After changing a typo and rpmbuilding again it reported the error 'file maildirmake already exists'. I don't know if the typo changed things or if the previous rpm rebuild and 'ln -sf' had changed anything for the next rpm build.

3. Actually ran the ./configure; make; make install sequence without the --with-redhat switch and it installed it!

4. Thought while on a good thing to try rpmbuild again, and bam!.. the rpm was built!

Sequentially it seems as if the courier.spec mod had forced the required symlinks which allowed it to compile without the --with-redhat switch, and since it had installed by running the ./configure; make; make install sequence, allowed rpmbuild to build an rpm.

Which leads me to question if it is a broken RPMBuild or something in the Courier compile process. The rpm-build-4.3.1-0.3.1 patch didn't work so I rolled back to 4.3.1-0.3

Has someone reported the RPM breaking? If not/so, how/where would I be able to report it/look it up/follow it up?

If this builds the required RPM, can I accept this built RPM as acceptable and impliment it?

Thanks again for your help.

Stu@

On Thu, 2004-11-18 at 01:18, Sam Varshavchik wrote:

Jerry Amundson writes:

Did I miss something here? I've been building rpm's on FC2 since day 1 with out issue...

The issue is a clean install of FC2. Building RPMs will work as long as a (not too) older version of Courier is already installed.

On a clean system, it'll break.