Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120814165324.GA21565@albatros>
Date: Tue, 14 Aug 2012 20:53:24 +0400
From: Vasily Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: rpm.spec change for new binutils

Solar,

On Tue, Aug 14, 2012 at 14:29 +0400, Solar Designer wrote:
> Your addition of:
> 
> export LDFLAGS="-lrpmio -lpopt -lrpmdb -lrpm"
> 
> to rpm.spec, while needed for building with new binutils, has the
> unfortunate side-effect of requiring the rpm-devel subpackage from a
> previous build of rpm to be installed for the new build of rpm to
> succeed.  Without rpm-devel installed, ./configure fails with "C
> compiler cannot create executables".
> 
> Additionally, a concern is that something may actually be getting picked
> up from the previous rpm build via its rpm-devel - requiring one more
> rebuild of rpm to have a fully new build of it.

Ouch.  That's right.  My fault.

> Until the binutils upgrade, rpm-devel was not required for Owl builds,
> and it is not currently installed into our OpenVZ templates (which are
> meant to be sufficient for Owl rebuilds).
> 
> Can you try to come up with a better fix for this, please?  What are
> other distros doing?

I've added a patch for explicit using in-build-tree libraries.  Now rpm is
buildable witout rpm-deve.

Thanks,

-- 
Vasily

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.