RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Import /usr/lib/rpm/check-buildroot from cvs.rpm.org?

From: Dmitry V. Levin <ldv@altlinux.org>
Date: Mon 16 Jul 2007 - 23:21:46 CEST
Message-ID: <20070716212146.GA18396@basalt.office.altlinux.org>
On Mon, Jul 16, 2007 at 11:05:32PM +0200, Robert Scheck wrote:
> On Mon, 16 Jul 2007, Robert Scheck wrote:
> > Opinions, comments?
> 
> Ah just noticed the following when using /usr/lib/rpm/check-buildroot and
> rebuilding rpm 4.5-0.4:
> 
> + /usr/lib/rpm/check-buildroot
> /var/tmp/rpm-root/usr/lib/librpmio.la:dependency_libs='
> -L/var/tmp/rpm-root/usr/lib -L/usr/lib /usr/lib/libbeecrypt.la
> /usr/lib/libneon.la -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5
> -lk5crypto -lcom_err -lresolv /usr/lib/libexpat.la -lm
> -L/usr/src/rpm/BUILD/rpm-4.5/zlib -lz -lrt -lpthread -lbz2 -ldl'
[...]
> Found '/var/tmp/rpm-root' in installed files; aborting

Checks like this /usr/lib/rpm/check-buildroot are very vendor specific.
In ALT, brp-%{_vendor} calls such validator scripts since rpm-3.x.

> Shouldn't we rip out the BuildRoot from the *.la files, when we're keeping
> them (you know, Fedora kills them all if possible somehow)?!

libtool installed files should not contain %buildroot, but if they do, it
usually signals about more severe build error.


-- 
ldv


  • application/pgp-signature attachment: stored
Received on Mon Jul 16 23:21:48 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.