[Bug 675012] New: Patch for fixing qemu-devel rpm build for mandriva 2010.1 to downloads.opensuse.org
https://bugzilla.novell.com/show_bug.cgi?id=675012 https://bugzilla.novell.com/show_bug.cgi?id=675012#c0 Summary: Patch for fixing qemu-devel rpm build for mandriva 2010.1 to downloads.opensuse.org Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lamikr@pilppa.org QAContact: adrian@novell.com Found By: --- Blocker: --- Created an attachment (id=416237) --> (http://bugzilla.novell.com/attachment.cgi?id=416237) fixes the qemu-devel build for mandriva from the src.rpm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101230 Mandriva Linux/1.9.2.13-0.2mdv2010.2 (2010.2) Firefox/3.6.13 I use osc/obs build system downloaded from downloads.opensuse.org in Mandriva 2010.1. Building for i586 target works already ok, but armv7el target requires qemu-devel-0.13git2010 rpm for the Mandriva 2010.1 but it's missing from the opensuse build services at http://download.opensuse.org/repositories/openSUSE:/Tools/Mandriva_2010.1/sr... (and i586 and X86_64). This rpm is needed when doing local crosscompile builds for armv7el target with osc build system on Mandriva. (The mandriva's own version of qemu does not yet support qemu-binfmt-conf.sh that is needed by osc when crosscompiling for arm). I downloaded from the following location: http://download.opensuse.org/repositories/openSUSE:/Tools/Fedora_12/src/qemu... and then got it building ok on mandriva by making a following simple fix for the spec file. (without that the build failed because on Mandriva the man pages are packaged in lzma format instead of gz) diff -Naur qemu-devel.spec_orig qemu-devel.spec --- qemu-devel.spec_orig 2011-02-25 12:22:34.045174562 +0200 +++ qemu-devel.spec 2011-02-25 11:17:50.759228621 +0200 @@ -170,7 +170,11 @@ %endif /usr/bin/qemu-* /usr/sbin/qemu* +%if 0%{?mdkversion} +%{_mandir}/man1/qemu*.1.lzma +%else %{_mandir}/man1/qemu*.1.gz +%endif /usr/share/qemu %ifnarch %ix86 x86_64 ia64 %dir /emul/ia32-linux After this the rpm builded, installed and worked ok on Mandriva. (qemu-devel-0.13git2010.03.11.2129.D-9.1.i586.rpm). I verified that osc crosscompilation for armv7el started to work. Mika Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: qemu-devel rpm is missing for Mandriva in http://download.opensuse.org/repositories/openSUSE:/Tools/Mandriva_2010.1 Expected Results: yum install qemu-devel should work -- 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=675012
https://bugzilla.novell.com/show_bug.cgi?id=675012#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=675012
https://bugzilla.novell.com/show_bug.cgi?id=675012#c1
Adrian Schröter
participants (1)
-
bugzilla_noreply@novell.com