W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

Re: w3c-libwww-5.2.8-3.src.rpm build crashed on SuSE 5.3

From: Steinar Bang <sb@metis.no>
Date: 02 Aug 1999 11:38:18 +0200
To: www-lib@w3.org
Message-ID: <whk8re34l1.fsf@viffer.oslo.metis.no>
>>>>> Steinar Bang <sb@metis.no>:

>>>>> Steinar Bang <sb@metis.no>:
> [snip!]
>> I have a SuSE linux 5.3 system (libc5 based).  

>> To avoid the work of creating my own RPM I thought I would give the
>> source RPM for RedHat 6.0
>> http://www.w3.org/Library/Distribution/SRPMS/w3c-libwww-5.2.8-3.src.rpm
>> a shot.

> I bit the bullet and installed g++-2.7.2.1 and tried an rpm --build.
> It crashed with the following message:
> ...
> + DOCDIR=/var/tmp/%name-root//usr/doc/packages/w3c-libwww-devel
> + DOCDIR=/var/tmp/%name-root//usr/doc/packages/w3c-libwww-apps
> + exit 0
> Binary Packaging: w3c-libwww-5.2.8-3
> File must begin with "/": %defattr(-,root,root)
> Build failed.

What I did to fix this was to remove all lines containing "%defattr"
in 
        /usr/src/packages/SPECS/w3c-libwww.spec
and do an
        rpm -ba w3c-libwww.spec
in the SPECS directory.

The "%defattr" directive is new from RPM 2.5.x on.  SuSE 5.3 uses RPM
2.4.12. 
Received on Monday, 2 August 1999 05:38:22 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:17 UTC