RPM Community Forums

Mailing List Message of <rpm-devel>

Re: HEAD is broken

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Fri 07 Mar 2008 - 13:37:56 CET
Message-ID: <20080307123756.GA95710@engelschall.com>
On Fri, Mar 07, 2008, Anders F Björklund wrote:

> Ralf S. Engelschall wrote:
>
>>> ../rpmio/.libs/librpmio.a(iosm.o): In function `iosmMapAttrs':
>>> /u/rse/prj/rpm/src/rpm/rpmio/iosm.c:948: undefined reference to
>>> `headerIsEntry'
>>> /u/rse/prj/rpm/src/rpm/rpmio/iosm.c:962: undefined reference to
>>> `headerIsEntry'
>>> collect2: ld returned 1 exit status
>>
>> Ah, I see: this occured only for me because the headerIsEntry() call is
>> under RPM_VENDOR_OPENPKG. Ok, but what is the solution here?
>
> Maybe the iosm needs a new explicit "use-runtime-owner-group" option,
> than have rpmio call out to the rpmdb function to check for a SRPM ?
>
> Like the --no-same-owner option in tar (or some other bad analogue).
> But what I meant was that maybe it should be made into more generic ?

Ok, but the problem is that the "use-runtime-owner-group" should be
really just be done for SRPMs. For binary RPMs this would be silly. So,
I think I still have to be able to _detect_ in the code whether it is a
source or binary RPM. The remaining question just is: how can this be
done (now) if headerIsEntry() should be no longer used?

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Fri Mar 7 13:41:28 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.