[Bug 496827] New: osc build on Ubuntu [/Debian-based distro] fails trying to run /bin/rpm
http://bugzilla.novell.com/show_bug.cgi?id=496827 Summary: osc build on Ubuntu [/Debian-based distro] fails trying to run /bin/rpm Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jnieuwenhuizen@novell.com QAContact: adrian@novell.com CC: michael.meeks@novell.com Found By: --- $ osc build mingw32-cairomm.spec Building mingw32-cairomm.spec for openSUSE_Factory/x86_64 Getting buildinfo from server Updating cache of required packages Verifying integrity of cached packages Traceback (most recent call last): File "/usr/bin/osc", line 12, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.6/dist-packages/osc/babysitter.py", line 40, in run return prg.main() File "/usr/lib/python2.6/dist-packages/osc/cmdln.py", line 255, in main return self.cmd(args) File "/usr/lib/python2.6/dist-packages/osc/cmdln.py", line 278, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/dist-packages/osc/cmdln.py", line 394, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/dist-packages/osc/cmdln.py", line 1069, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/dist-packages/osc/commandline.py", line 1937, in do_build return osc.build.main(opts, args) File "/usr/lib/python2.6/dist-packages/osc/build.py", line 389, in main verify_pacs([ i.fullfilename for i in bi.deps ]) File "/usr/lib/python2.6/dist-packages/osc/fetch.py", line 149, in verify_pacs stderr=subprocess.STDOUT, close_fds=True).stdout File "/usr/lib/python2.6/subprocess.py", line 595, in __init__ errread, errwrite) File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory It turns out that /usr/lib/python2.6/dist-packages/osc/fetch.py blindly invokes "/bin/rpm -K" while Debian/Ubuntu's rpm lives at /usr/bin/rpm. After removing the /bin/ part, osc prints has rpm print something about alien: Building mingw32-cairomm.spec for openSUSE_Factory/x86_64 Getting buildinfo from server Updating cache of required packages Verifying integrity of cached packages The following package could not be verified: rpm: To install rpm packages on Debian systems, use alien. See README.Debian. It turns out that using --no-verify works, ie osc build --no-verify mingw32-cairomm -- 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=496827 Leon Wang <llwang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llwang@novell.com AssignedTo|bnc-team-screening@forge.pr |adrian@novell.com |ovo.novell.com | -- 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=496827 User suse-tux@gmx.de added comment http://bugzilla.novell.com/show_bug.cgi?id=496827#c1 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-tux@gmx.de --- Comment #1 from Marcus Hüwe <suse-tux@gmx.de> 2009-05-05 10:57:53 MDT --- (In reply to comment #0) <SNIP>
It turns out that /usr/lib/python2.6/dist-packages/osc/fetch.py blindly invokes
"/bin/rpm -K"
while Debian/Ubuntu's rpm lives at /usr/bin/rpm.
Which osc version are you using? This is already fixed since several releases. -- 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=496827 User jnieuwenhuizen@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=496827#c2 --- Comment #2 from Jan Nieuwenhuizen <jnieuwenhuizen@novell.com> 2009-05-06 06:45:38 MDT --- I was using latest (0.111) in 9.04. Upgraded from http://download.opensuse.org/repositories/openSUSE:/Tools/xUbuntu_9.04 to 0.117 fixes the /bin/rpm issue, but this bit [...] Verifying integrity of cached packages The following package could not be verified: rpm: To install rpm packages on Debian systems, use alien. See README.Debian. It turns out that using --no-verify works, ie osc build --no-verify mingw32-cairomm remains -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=496827 https://bugzilla.novell.com/show_bug.cgi?id=496827#c3 Sascha Peilicke <speilicke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |speilicke@novell.com InfoProvider| |jnieuwenhuizen@novell.com --- Comment #3 from Sascha Peilicke <speilicke@novell.com> 2011-04-27 13:36:16 UTC --- Issue solved in the meantime? Ubuntu should've shipped newer packages by now. -- 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=496827 https://bugzilla.novell.com/show_bug.cgi?id=496827#c5 Adrian Schröter <adrian@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Adrian Schröter <adrian@suse.com> 2012-03-29 12:04:39 UTC --- fixed in git, we are not responsible for updating ubuntu distro. -- 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