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
Created attachment 64327 [details] The errormessage told me to include this output of the patching process.
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...
Created attachment 64346 [details] files/qemu-softmmu-0.7.1-sysfs.patch
Created attachment 64348 [details] qemu-softmmu-0.7.1.ebuild
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...
updated again the patch, please tell me if works ok for you
(In reply to comment #6) > updated again the patch, please tell me if works ok for you It's still ok for me.
(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.
Closing then