The convenient popt aliases for eg. "rpm -bb" was not working. An strace revealed this was caused by a path issue, so you could do "ln -s /usr/lib/rpm/rpmb_deprecated /usr/bin/rpmb_deprecated" or hard code the path in "/usr/lib/rpm/mageia/rpmpopt" to make it work again. Please fix, going crazy over this... The less intrusive fix as in: http://n1.nux.se/work/rpm-mageia-setup-1.147-8.2.mga2.src.rpm Cheers.
Keywords: (none) => PATCHCC: (none) => boklm, cjw, dmorganec, jquelin, mageia, pterjan, tmb
Created attachment 2657 [details] the fix a simple fix making it work.
That's intended. Please see this thread: https://www.mageia.org/pipermail/mageia-dev/2012-July/017830.html
Status: NEW => RESOLVEDCC: (none) => thierry.vignaudResolution: (none) => INVALID
This bug was filed against mageia 2 which was released before the decision to drop this feature was taken.
Status: RESOLVED => REOPENEDResolution: INVALID => (none)
uh? That worked for me on mga2.
After months of silence I fixed this and uploaded a new package in updates_testing for mga2. All the (deprecated) popt aliases now just works. Fixed package: rpm-mageia-setup-1.147-8.2.mga2 Proposed advisory: It was discovered that the (deprecated) popt aliases for rpmbuild did not work (eg. rpm -bb). The provided updated packages fixes this problem.
I had seen it broken in a chroot(working fine on some other mga2) but got used to rpmbuild and never looked into it. Thanks for fixing.
if it's ready feel free to reassign to the qa https://wiki.mageia.org/en/Updates_policy
QA: see https://bugs.mageia.org/show_bug.cgi?id=7104#c5
Assignee: bugsquad => qa-bugs
Pascal, can you confirm this update fixes the problem with rpm -bb (i586 x86_64) please. Some info on what it does. http://www.rpm.org/max-rpm/ch-rpm-b-command.html
I can confirm on x86_64: Without the update: [pterjan@chopin ~]$ rpm -bb rpm/SPECS/dclib.spec rpm: rpm/SPECS/dclib.spec: No such file or directory With the update: [pterjan@chopin ~]$ rpm -bb rpm/SPECS/dclib.spec "rpm -b" is deprecated, use "rpmbuild -b" error: Failed build dependencies: libopenssl-devel is needed by dclib-0:0.3.7-2plf.x86_64
$ rpmdiff -iT rpm-mageia-setup-1.147-8.mga2.i586.rpm rpm-mageia-setup-1.147-8.2.mga2.i586.rpm removed PROVIDES rpm-mageia-setup(x86-32) = 1.147-8.mga2 added PROVIDES rpm-mandriva-setup = 1.147-8.2.mga2 added PROVIDES rpm-mageia-setup(x86-32) = 1.147-8.2.mga2 added OBSOLETES rpm-mandriva-setup < 1.147-8.2.mga2 S.5........ /usr/lib/rpm/mageia/rpmpopt Does provides of rpm-mandriva-setup belong here?
I think not as mageia should not provide mandriva packages :)
It would help if I diff'd the right rpm's! $ rpmdiff -iT rpm-mageia-setup-1.147-8.1.mga2.i586.rpm rpm-mageia-setup-1.147-8.2.mga2.i586.rpm removed PROVIDES rpm-mandriva-setup = 1.147-8.1.mga2 removed PROVIDES rpm-mageia-setup(x86-32) = 1.147-8.1.mga2 added PROVIDES rpm-mandriva-setup = 1.147-8.2.mga2 added PROVIDES rpm-mageia-setup(x86-32) = 1.147-8.2.mga2 removed OBSOLETES rpm-mandriva-setup < 1.147-8.1.mga2 added OBSOLETES rpm-mandriva-setup < 1.147-8.2.mga2 S.5........ /usr/lib/rpm/mageia/rpmpopt
Testing complete mga2 32 Thanks Pascal for testing mga2 64 Before ------ $ rpm -bb rpm/SPECS/0ad.spec rpm: rpm/SPECS/0ad.spec: No such file or directory After ----- $ rpm -bb rpm/SPECS/0ad.spec "rpm -b" is deprecated, use "rpmbuild -b" error: File /home/claire/rpm/SOURCES/0ad-r11863-alpha-unix-build.tar.xz: No such file or directory Validating SRPM: rpm-mageia-setup-1.147-8.2.mga2.src.rpm Advisory -------- It was discovered that the (deprecated) popt aliases for rpmbuild did not work (eg. rpm -bb). The updated packages fix this problem. -------- Could sysadmin please push from core/updates_testing to core/updates Thanks!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugsWhiteboard: (none) => mga2-32-OK mga2-64-OK
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0232
Status: REOPENED => RESOLVEDResolution: (none) => FIXED
CC: boklm => (none)