Subject: misc/rpm build breakage on -current
To: None <>
From: Thomas Klausner <>
List: current-users
Date: 05/29/2007 21:41:40

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
/usr/obj/misc/rpm/work.x86_64/rpm-2.5.4/lib/librpm.a(signature.o): In function `rpmVerifySignature':
signature.c:(.text+0x5c3): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
/usr/lib/libz.a(gzio.o): In function `gzdopen':
gzio.c:(.text+0x145d): undefined reference to `__sprintf_chk'
gmake: *** [rpm] Error 1

Looks like USE_FORT/SSP-related breakage to me, but I don't understand
it yet, nor how to fix it. Suggestions?