failure of rpm build

Love lha at stacken.kth.se
Fri Sep 22 03:46:32 CEST 2000


Faheem Mitha <faheem at email.unc.edu> writes:

> On 20 Sep 2000, Love wrote:
> 
> Hi Love,
> 
> (Is this your first or last name?)

Its my first name. I was named after a swedish author, see [1].
 
> > > #mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
> > > mkdir -p $RPM_BUILD_ROOT/sbin/init.d
> > > cp xfs/linux/bin/arla $RPM_BUILD_ROOT/sbin/init.d/arla
> > > chmod 555 $RPM_BUILD_ROOT/sbin/init.d/arla
> > > 
> > > (it originally installed $RPM_BUILD_ROOT/etc/rc.d/init.d  in
> > > $RPM_BUILD_ROOT/etc/rc.d/init.d). Otherwise, I have left it
> > > untouched. 
> > 
> > Ok, I just removed that since the Makefile now does that instead (fixed it
> > just).
> 
> Um, what did you remove? There was no problem here.

Well, it was done in two places, and I removed it where it didn't belong.
 
> > Oh, that is some lossage from me. I didn't use DESTDIR as I'm supposed to
> > use. Have fixed that now.
> 
> Can you tell me what you changed?

The install target always installed without adding $DESTDIR before all
install-paths. DESTDIR is used when you want to install something in a
diffrent root then / (for example when crosscompiling or building
packages). I made it use the DESTDIR.
 
> > If you don't want to build it as root, you'll need some more magic that I
> > don't know how to write to make rpm ignore the owner of the file and use
> > root instead.
> 
> If I understand you correctly, this is not a problem, since I can set the
> owners/permissions of the files in the %files secion of the spec file
> using %defattr and %attr.

Ok, I've added that.
 
> Does this mean I am the first person to ever try to build an arla rpm as a
> user? 

Yeah, I just built it as root when I was working with Linux. It was simpler
that way.
 
> Thank you for the fast response. Are you the person who is currently
> maintaining arla, or is there a group of you?

We are a group of people (me, Assar, and Magnus) that maintain arla.

There is a bunch of people that help us find bugs, fix my bad spelling, and
to write the german README. Many diffrent people have helped writing small
tools like pts, fs, bos, klog, aklog, token.

Love

[1]
http://www.britannica.com/bcom/eb/article/0/0,5716,5950+1+5870,00.html?query=love%20almqvist





More information about the Arla-drinkers mailing list