RPM Community Forums

Mailing List Message of <rpm-users>

Re: RPM5 on FreeBSD: hto* functions

From: devzero2000 <pinto.elia@gmail.com>
Date: Tue 28 Jun 2011 - 15:10:48 CEST
Message-ID: <BANLkTi=AN9MNqDhhoc02OxPuT_FkVEt-2g@mail.gmail.com>
On Sat, Jun 25, 2011 at 10:39 AM, Anders F Björklund <afb@rpm5.org> wrote:

> Miller, Vincent (Rick) wrote:
>
> > I'm compiling RPM 5.3.11 on FreeBSD 8.2-RELEASE and encountered an error
> that is more fundamental than previous errors.  dbconvert.c  makes calls to
> various hto*() functions, which are not defined in FreeBSD's libc.
>
> See http://rpm5.org/cvs/chngview?cn=16081 for patch, you can backport that
> to the rpm-5_3 branch.
>
> > Why is the compiler unable to reference the bswap32 definition in
> sys/endian.h?  Is there a way to force this or is this a sign that
> installing RPM5 onto FreeBSD will be more of a pain than I had initially
> anticipated?
>
> Maybe the dbconvert.c #define for bswap32 is colliding with it ? RPM5
> should install on FreeBSD...
>
>
> That is: HEAD should be working, I don't think anyone has backported to
> 5.3.x or 5.4.x due to lack of interest... Most "users" are on 5.0 - 5.2,
>

Your patch was now merged  in rpm 5.3.x and rpm 5.4.x.

Best Regards

Elia
Received on Tue Jun 28 15:40:59 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.