Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207833 - app-emulation/qemu-user-0.9.1 failed qemu-0.7.0-ppc-linker.patch
Summary: app-emulation/qemu-user-0.9.1 failed qemu-0.7.0-ppc-linker.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-28 03:15 UTC by brankob
Modified: 2009-03-07 15:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info output (my_info.txt,4.21 KB, text/plain)
2008-01-28 03:16 UTC, brankob
Details
emerge logfile (app-emulation:qemu-user-0.9.1:20080128-021427.log,1.48 KB, text/plain)
2008-01-28 03:19 UTC, brankob
Details
emerge --info --verbose output (info,13.62 KB, text/plain)
2008-01-28 04:06 UTC, Slowking Man
Details
output of failed patch command (qemu-0.7.0-ppc-linker.patch-23510.out,2.97 KB, text/plain)
2008-01-28 04:07 UTC, Slowking Man
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brankob 2008-01-28 03:15:29 UTC
emerge of qemu-user-0.9.1 fails in unpacking phase with the message:

 * Applying qemu-0.7.0-ppc-linker.patch ...

 * Failed Patch: qemu-0.7.0-ppc-linker.patch !
 *  ( /usr/portage/app-emulation/qemu-user/files/qemu-0.7.0-ppc-linker.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-emulation/qemu-user-0.9.1/temp/qemu-0.7.0-ppc-linker.patch-32307.out

 * 
 * ERROR: app-emulation/qemu-user-0.9.1 failed.
 * Call stack:
 *                ebuild.sh, line 1701:  Called dyn_unpack
 *                ebuild.sh, line  817:  Called qa_call 'src_unpack'
 *                ebuild.sh, line   44:  Called src_unpack
 *   qemu-user-0.9.1.ebuild, line   48:  Called epatch '/usr/portage/app-emulation/qemu-user/files/qemu-0.7.0-ppc-linker.patch'
 *            eutils.eclass, line  303:  Called die
 * The specific snippet of code:
 *   				die "Failed Patch: ${patchname}!"
 *  The die message:
 *   Failed Patch: qemu-0.7.0-ppc-linker.patch!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-emulation:qemu-user-0.9.1:20080128-021427.log'.
 * 

I have tried tweaking the ebuild:

1. commenting out the line "epatch "${FILESDIR}/qemu-0.7.0-ppc-linker.patch"
in src_unpack function

2. removing the lines "--enable-slirp" and "--kernel-path=${KV_DIR}" from src_compile /configure ( with 1. change ebuild kept stucking at ./configure point, complaining about note recognising those two options).

With that two changes ebuild has finished succesfully, but I haven't tried to use actual package yet, though.

PS: I have switched to gcc-3.4.6 for this, my default gcc-4.2.2 couldn't stomach it- it failed somewhere deep in compile phase in some functions implemented in assembly with .rodata attribute) 









Reproducible: Always

Steps to Reproduce:
1. emerge qemu-user ( with "=app-emulation/qemu-user-0*" etc lines in package.keywords)
2.
3.




Will attach "emerge --info" and "/var/log/portage/app-emulation:qemu-user-0.9.1:20080128-021427.log"

PS: machine is:

Athlon X2 6000+ 
Foxcon NF570 based motherboard
4GB RAM
nVidia GF880GS with beta drivers in their package "NVIDIA-Linux-x86_64-169.07-pkg2.run" - I need them for experimenting with CUDA package for GPU computing
rest is classic: a couple of Hard disks, DVD etc.
Comment 1 brankob 2008-01-28 03:16:42 UTC
Created attachment 141950 [details]
emerge --info output
Comment 2 brankob 2008-01-28 03:19:18 UTC
Created attachment 141951 [details]
emerge logfile
Comment 3 Slowking Man 2008-01-28 04:05:48 UTC
Confirmed here on Intel EM64T. Attaching emerge --info and patch output.
Comment 4 Slowking Man 2008-01-28 04:06:59 UTC
Created attachment 141958 [details]
emerge --info --verbose output
Comment 5 Slowking Man 2008-01-28 04:07:24 UTC
Created attachment 141959 [details]
output of failed patch command
Comment 6 Ingo Bormuth 2008-01-28 09:30:48 UTC
Same here.

Btw: Simply removing the patch (it's called pcc) on x86 complained about 
     '--enable-slirpt' and '--kernel-path=${KV_DIR}'.
     Removing those lines from ebuild resulted in:
     ... /tmp/portage/app-emulation/qemu-user-0.9.1/temp/ccJLhmkR.s: Assembler messages:
     /tmp/portage/app-emulation/qemu-user-0.9.1/temp/ccJLhmkR.s:2340: Error: can't resolve `.rodata' {.rodata section} - `.Ltext0' {.text section}
Comment 7 Luca Barbato gentoo-dev 2009-03-07 15:50:06 UTC
qemu-user-0.10 builds and apparently works ^^