Subject: Re: misc/rpm build breakage on -current
To: Thomas Klausner <>
From: Thor Lancelot Simon <>
List: current-users
Date: 05/29/2007 15:59:46
On Tue, May 29, 2007 at 09:41:40PM +0200, Thomas Klausner wrote:
> Hi!
> misc/rpm doesn't currently build on NetBSD-4.99.20/amd64 from
> today. It fails with:
> cc -o rpm -static rpm.o query.o install.o verify.o checksig.o ftp.o url.o build.o  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/obj/misc/rpm/work.x86_64/rpm-2.5.4/lib -L/usr/obj/misc/rpm/work.x86_64/rpm-2.5.4/build -L/usr/obj/misc/rpm/work.x86_64/rpm-2.5.4/misc -lrpmbuild -lpopt -lrpm -lmisc -lintl -lz

The problem is the -static.  Our static library format doesn't support inter-
library dependencies, so you don't get the dependency from libssp to libz.

Is there a reason this compilation needs -static?  The simplest fix is to
just remove it.