Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100323 - qemu-softmmu-0.7.1 fails to apply kqemu-sysfs-patch
Summary: qemu-softmmu-0.7.1 fails to apply kqemu-sysfs-patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 23:49 UTC by Stefan Kamphausen
Modified: 2005-07-26 23:17 UTC (History)
3 users (show)

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


Attachments
The errormessage told me to include this output of the patching process. (kqemu-sysfs.patch-23893.out,2.78 KB, text/plain)
2005-07-25 23:51 UTC, Stefan Kamphausen
Details
files/qemu-softmmu-0.7.1-sysfs.patch (qemu-softmmu-0.7.1-sysfs.patch,1.98 KB, text/plain)
2005-07-26 05:44 UTC, Philippe Weibel
Details
qemu-softmmu-0.7.1.ebuild (qemu-softmmu-0.7.1.ebuild,3.82 KB, text/plain)
2005-07-26 05:44 UTC, Philippe Weibel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kamphausen 2005-07-25 23:49:52 UTC
The new qemu 0.7.1 ebuild fails in the qemu-softmmu part when applying the
kqemu-sysfs-patch.  See below for errormessages.  I will attach the output file
to this bug report.




Reproducible: Always
Steps to Reproduce:
1. emerge qemu-softmmu

Actual Results:  
* Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.9-gentoo-r13
>>> Unpacking source...
>>> Unpacking qemu-0.7.1.tar.gz to /var/tmp/portage/qemu-softmmu-0.7.1/work
>>> Unpacking kqemu-0.7.1.tar.gz to /var/tmp/portage/qemu-softmmu-0.7.1/work
 * QEMU Accelerator enabled
 * kqemu actually is a closed source software
 * Please read carefully the KQEMU license
 * and http://fabrice.bellard.free.fr/qemu/qemu-accel.html
 * if you want it released under GPL
 * Applying kqemu-sysfs.patch ...

 * Failed Patch: kqemu-sysfs.patch !
 *  ( /usr/portage/app-emulation/qemu-softmmu/files/kqemu-sysfs.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/qemu-softmmu-0.7.1/temp/kqemu-sysfs.patch-23893.out


!!! ERROR: app-emulation/qemu-softmmu-0.7.1 failed.
!!! Function epatch, Line 359, Exitcode 0
!!! Failed Patch: kqemu-sysfs.patch!
!!! If you need support, post the topmost build error, NOT this status message.




 emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20040808-
r1,glibc-2.3.5-r0, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.4.3-r4, 1.5.18-r1
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/
mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/sh
are/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/te
x/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm arts artswrappersuid avi bash-completion berkdb bitmap
-fonts cdr crypt cups curl doc emacs emboss encode esd fam flac foomaticdb fortr
an gd gdbm gif gpm gtk gtk2 guile imagemagick imlib ipv6 java jpeg junit kde lda
p libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls odbc ogg ogg
vorbis opengl oss pam pdflib perl png python qt quicktime readline ruby samba sd
l slang spell sqlite ssl svg svga tcltk tcpd tetex theora tiff truetype truetype
-fonts type1-fonts unicode vorbis xine xml xml2 xmms xprint xv zlib userland_GNU
 kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Stefan Kamphausen 2005-07-25 23:51:30 UTC
Created attachment 64327 [details]
The errormessage told me to include this output of the patching process.
Comment 2 Philippe Weibel 2005-07-26 05:42:47 UTC
Here is a new patch that worked for me (x86, kernel version 2.6.12-gentoo-r6). I
also need to force a conditionnal define "PAGE_KERNEL_EXEC" to insert correctly
the new kernel module (this symbol was missing form my kernel). Ths "forced"
patch may not work everywhere...
Comment 3 Philippe Weibel 2005-07-26 05:44:29 UTC
Created attachment 64346 [details]
files/qemu-softmmu-0.7.1-sysfs.patch
Comment 4 Philippe Weibel 2005-07-26 05:44:53 UTC
Created attachment 64348 [details]
qemu-softmmu-0.7.1.ebuild
Comment 5 Philippe Weibel 2005-07-26 06:01:28 UTC
I noticed, since my last emerge sync, another patch on the ebuild was commited.
I also tried to remove "sysfs" patch from the ebuild, but I got some problems
with udev, the device /dev/kqemu was missing...
Comment 6 Luca Barbato gentoo-dev 2005-07-26 06:56:44 UTC
updated again the patch, please tell me if works ok for you
Comment 7 Philippe Weibel 2005-07-26 11:31:42 UTC
(In reply to comment #6)
> updated again the patch, please tell me if works ok for you
It's still ok for me.
Comment 8 Cedric Godin 2005-07-26 13:15:53 UTC
(In reply to comment #6)
> updated again the patch, please tell me if works ok for you

had the same problem and with the patch all is ok for me.
Comment 9 Luca Barbato gentoo-dev 2005-07-26 23:17:37 UTC
Closing then