I've packaged (not yet uploaded) fakechroot in order to make rpm's testsuite works. However we still have one failure because of rpm-mageia-setup-build. rpmspec is new since rpm-4.9.0[1]. Compare: $ rpmspec --define "debug_package_and_restore %nil" -q --qf "%{name}" /root/rpmbuild/BUILD/rpm-4.9.1.2/tests/data/SPECS/hello.spec;echo hello $ rpmspec -q --qf "%{name}" /root/rpmbuild/BUILD/rpm-4.9.1.2/tests/data/SPECS/hello.spec;echo hellohello-debughello-__restore__ RH has a similar debug packaging system, however it doesn't interfere with rpmspec (see FC's /usr/lib/rpm/redhat/macros) Removing /etc/rpm/macros.d/20build.macros make rpm's testsuite to pass but of course that's not an option on the BS. [1] new as in "spec file query support has been split to a new "rpmspec" cli utility and enhanced in many ways. This also means the main rpm/rpmquery executables no longer need to link to librpmbuild"
CC: (none) => pterjan
CC: (none) => anssi.hannula
CC: (none) => misc
CC: (none) => tmb
CCing commiters
CC: (none) => boklm
CC: (none) => mageia
It's the following line that cause the failure %install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package_and_restore}}}\ (works fine with "%install \") In order to test, just unpack the rpm sources, go into tests and run the following: $ /usr/bin/autom4te --language=autotest rpmquery.at > /tmp/t.sh $ sh /tmp/t.sh (...) 4: rpmspec -q FAILED (rpmquery.at:67) (...) Note that without fakechroot, you'll see another one
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Keywords: (none) => NEEDINFO
Assignee: dmorganec => thierry.vignaud
CC: boklm => (none)
Keywords: NEEDINFO => (none)
Fixed in my local git
Keywords: (none) => PATCH
Closing, waiting for mga6 to push it
Status: NEW => RESOLVEDResolution: (none) => FIXED
commit 83d87c53543c68e3c86619f0cc9275c3805617d0 Author: Thierry Vignaud <thierry.vignaud@...> Date: Sat May 2 09:34:59 2015 +0200 kill redondant/unmainted macro (mga#4927) better use upstream macro --- Commit Link: http://gitweb.mageia.org/software/rpm/rpm-setup/commit/?id=83d87c53543c68e3c86619f0cc9275c3805617d0