RPM 4.8.1 uses a strange default for the %{_var} rpm macro... The bug was fixed in RPM 5.0.0, variables need to be expanded. Fix: ./configure --localstatedir=/var Will use /var/lib/rpm for %{_dbpath} like pkg-install expects. Patch attached with submission follows: How-To-Repeat: $ rpm -qa error: cannot open Packages database in /${prefix}/var/lib/rpm
Responsible Changed From-To: freebsd-ports-bugs->johans Over to maintainer (via the GNATS Auto Assign Tool)
johans 2010-08-14 15:03:12 UTC FreeBSD ports repository Modified files: archivers/rpm4 Makefile Log: Now set localstatedir correctly (/var) RPM 4.8.1 uses a strange default for the %{_var} rpm macro... The bug was fixed in RPM 5.0.0, variables need to be expanded. PR: ports/149498 Submitted by: Anders F Björklund <afb@rpm5.org Revision Changes Path 1.26 +2 -0 ports/archivers/rpm4/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, thanks.