[Bug 731754] New: %mkrel should be replaced by something when running "osc build"
https://bugzilla.novell.com/show_bug.cgi?id=731754 https://bugzilla.novell.com/show_bug.cgi?id=731754#c0 Summary: %mkrel should be replaced by something when running "osc build" Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.0 Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: osc AssignedTo: adrian@suse.com ReportedBy: remy.garrigue@gmail.com QAContact: adrian@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Ubuntu/11.10 Chromium/15.0.874.106 Chrome/15.0.874.106 Safari/535.2 That's not really an issue, but it's a bit confusing everytime: through OBS, %mkrel macro is replaced by the release number. Using command line osc for local build, it's not, and it does end up in path like in this example: + /usr/lib/rpm/brp-rpath ERROR: RPATH "/usr/src/packages/BUILD/kerrighed-3.0.0/libs/libkerrighed/.libs" on /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libkrgcb.so.1.0.0 is not allowed I guess there's no error due to that. But it's confusing (for me at least) And rpmlint does complain about unexpanded macro %mkrel ;) Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=731754 https://bugzilla.novell.com/show_bug.cgi?id=731754#c1 --- Comment #1 from Rémy Garrigue <remy.garrigue@gmail.com> 2011-11-21 16:23:39 UTC --- Actually, that does cause errors sometimes. Here is a bigger piece of the error above, I get it trying to compile on both openSUSE 11.4 and openSUSE 12.1 on my local development VM: linux:~/network:cluster:xtreemos/kerrighed # osc build openSUSE_11.4 x86_64 kerrighed.spec .. .. + /usr/lib/rpm/brp-check-la WARNING: found empty dependency_libs variable. please remove the pointless libtool .la file /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libkerrighed.la If you don't understand this, mailto=rguenther@suse.de WARNING: found empty dependency_libs variable. please remove the pointless libtool .la file /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libbi.la If you don't understand this, mailto=rguenther@suse.de + /usr/lib/rpm/brp-symlink + /usr/lib/rpm/brp-desktop WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist + /usr/lib/rpm/brp-rpath ERROR: RPATH "/usr/src/packages/BUILD/kerrighed-3.0.0/libs/libkerrighed/.libs" on /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libkrgcb.so.1.0.0 is not allowed ERROR: RPATH "/usr/src/packages/BUILD/kerrighed-3.0.0/libs/libkerrighed/.libs" on /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libkrgcb.so.1.0.0 is not allowed ERROR: RPATH "/usr/src/packages/BUILD/kerrighed-3.0.0/libs/libkerrighed/.libs" on /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libkrgcheckpoint.so.1.0.0 is not allowed ERROR: RPATH "/usr/src/packages/BUILD/kerrighed-3.0.0/libs/libkrgcb/.libs" on /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libkrgcheckpoint.so.1.0.0 is not allowed ERROR: RPATH "/usr/src/packages/BUILD/kerrighed-3.0.0/libs/libkerrighed/.libs" on /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libkrgcheckpoint.so.1.0.0 is not allowed ERROR: RPATH "/usr/src/packages/BUILD/kerrighed-3.0.0/libs/libkrgcb/.libs" on /usr/src/packages/BUILDROOT/kerrighed-3.0.0-%mkrel.x86_64/usr/lib64/libkrgcheckpoint.so.1.0.0 is not allowed error: Bad exit status from /var/tmp/rpm-tmp.2gBpSS (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2gBpSS (%install) The buildroot was: /var/tmp/build-root But it does package properly on OBS: https://build.opensuse.org/package/show?package=kerrighed&project=network%3Acluster%3Axtreemos -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com