[Bug 542475] New: Autobuild 'build' is fine while OBS 'build' fails
http://bugzilla.novell.com/show_bug.cgi?id=542475 Summary: Autobuild 'build' is fine while OBS 'build' fails Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: BuildService AssignedTo: adrian@novell.com ReportedBy: kkaempf@novell.com QAContact: adrian@novell.com CC: lrupp@novell.com, ro@novell.com Found By: Development Package 'liboping0' builds fine with autobuild's 'build' command but fails in OBS with: error: Package already exists: %package debuginfo This currently blocks WebYaST since its a prerequisite for WebYaSTs monitoring component. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542475 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542475#c1 --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2009-09-27 03:34:59 MDT --- Looks like differences in RPM macros, esp. %suse_insert_debug_package Running rpmbuild -ba --define '_srcdefattr (-,root,root)' --define 'disturl obs://build.opensuse.org/YaST:Web/SLE_11/dc633227112a42ac946b90a3e393740e-liboping' --eval %suse_insert_debug_package /usr/src/packages/SOURCES/liboping0.spec within a local build system is also fine. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542475 User suse-tux@gmx.de added comment http://bugzilla.novell.com/show_bug.cgi?id=542475#c2 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-tux@gmx.de --- Comment #2 from Marcus Hüwe <suse-tux@gmx.de> 2009-09-27 13:31:20 MDT --- The problem occurs if debuginfo is enabled in the obs' project/package meta and if the specfile contains a "%debug_package" line. Either disable the debuginfo flag in the project/package meta or remove "%debug_package" from your specfile. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542475 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542475#c3 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Severity|Blocker |Critical --- Comment #3 from Klaus Kämpf <kkaempf@novell.com> 2009-09-28 00:39:13 MDT --- Thanks ! Downgrading to critical. Is there a bnc entry for the debuginfo problem already ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542475 User coolo@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542475#c4 --- Comment #4 from Stephan Kulow <coolo@novell.com> 2009-09-28 05:02:42 MDT --- what debuginfo problem? you're not supposed to have %debug_package in your spec file - that easy. You get the same error if you use build --debug=yes I would say this is INVALID - why you do you use tool a to verify it works for tool b anyway? You can use osc build -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542475 User kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542475#c5 --- Comment #5 from Klaus Kämpf <kkaempf@novell.com> 2009-09-28 05:28:13 MDT --- (In reply to comment #4)
what debuginfo problem? you're not supposed to have %debug_package in your spec file - that easy. You get the same error if you use build --debug=yes
Yeah, I found out about this meanwhile. Why doesn't OBS just tell me ? Or, even better, refuse to checkin erroneous .spec files ?
I would say this is INVALID - why you do you use tool a to verify it works for tool b anyway? You can use osc build
So how about disabling 'autobuild' for 11.1 and later ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=542475 User adrian@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542475#c6 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #6 from Adrian Schröter <adrian@novell.com> 2009-10-08 02:35:10 MDT --- We have not yet pre-source checkin checks in OBS, but it is on our todo list. In general, we never made the promise that autobuild and OBS builds are 100% compatible (and in fact there are some small differences). -- Configure bugmail: http://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