[Rpm-maint] rpmbuild error with 4.4.2.2 (but not 4.4.2)

Panu Matilainen pmatilai at redhat.com
Tue Nov 27 12:18:52 UTC 2007


On Mon, 26 Nov 2007, Joachim Worringen wrote:

> Greetings,
>
> we are building RPMs from an autotools-based source tree being installed via 
> plain "make install". This works fine with rpmbuild up to 4.4.2 (RHEL5), but 
> fails with Fedora Core 8, which has rpmbuild version 4.4.2.2(-3.fc8 and 
> -7.fc8) installed. The log says:
> "
> + cd /tmp/DISRPMROOT_282/BUILD/Dolphin-3.3.0
> + /usr/lib/rpm/check-buildroot
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> "
>
> Is there a problem with the libs being in lib64, not in lib? But as I said, 
> this works fine with rpm 4.4.2 and before.

It's not rpm version issue per se, no version of rpm executes 
check-buildroot by default. My guess: on F8 you've set up your rpmbuild 
environment with 'rpmdev-setuptree' which sticks some extra checks into 
your ~/.rpmmacros.

The actual problem of files in buildroot referring to buildroot almost 
certainly exists on RHEL5 too, you're just not seeing it because of rpm 
configuration difference.

 	- Panu -



More information about the Rpm-maint mailing list