I've already installed qemu-softmmu-0.7.1 without any problem, all is working fine. But when trying to merge the new revision, emerge fails. Should be a problem with a patch. gcc -fno-pie -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/target-i386 -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/fpu -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/slirp -c -o i386-dis.o /var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/i386-dis.c ../dyngen -o op.h op.o ../dyngen -c -o opc.h op.o gcc -fno-pie -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/target-i386 -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/fpu -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/slirp -c -o translate-op.o /var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/translate-op.c In file included from /var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/translate-op.c:36: ./op.h: In function `dyngen_code': ./op.h:20: erreur: erreur d'analyse syntaxique avant un
I've already installed qemu-softmmu-0.7.1 without any problem, all is working fine. But when trying to merge the new revision, emerge fails. Should be a problem with a patch. gcc -fno-pie -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/target-i386 -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/fpu -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/slirp -c -o i386-dis.o /var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/i386-dis.c ../dyngen -o op.h op.o ../dyngen -c -o opc.h op.o gcc -fno-pie -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/target-i386 -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/fpu -I/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/slirp -c -o translate-op.o /var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/translate-op.c In file included from /var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/translate-op.c:36: ./op.h: In function `dyngen_code': ./op.h:20: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:32: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:44: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:56: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:68: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:80: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:92: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:104: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:116: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:128: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:140: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:152: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:166: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:180: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:192: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » (too many errors to write them all) ./op.h:15228: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:15247: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:15266: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:15285: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » ./op.h:15305: erreur: erreur d'analyse syntaxique avant un élément lexical « ) » make[1]: *** [translate-op.o] Erreur 1 make[1]: *** Attente des tâches non terminées.... make[1]: Leaving directory `/var/tmp/portage/qemu-softmmu-0.7.1-r1/work/qemu-0.7.1/i386-softmmu' make: *** [all] Erreur 1 !!! ERROR: app-emulation/qemu-softmmu-0.7.1-r1 failed. !!! Function src_compile, Line 104, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge qemu-softmmu Actual Results: Emerge fails. Expected Results: Successful compilation emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r7 i686) ================================================================= System uname: 2.6.12-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.6.13 ccache version 2.4 [enabled] dev-lang/python: 2.3.4-r1, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -mtune=pentium-m -O3 -pipe -fomit-frame-pointer -ftracer" 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/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium-m -mtune=pentium-m -O3 -pipe -fomit-frame-pointer -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="fr_FR.UTF-8" LC_ALL="fr_FR.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="fr_FR fr en en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 7zip X X509 Xaw3d a52 aac acl acpi activefilter ada aim alsa aotuv apache2 apm arts athena atlas atm auctex avi bash-completion berkdb bitmap-fonts blas blender-game bluetooth bzip2 calendar cardbus ccache cdparanoia cdr chroot cjk clamav crypt css cups curl curlwrappers dba dbx dhcp dio directfb divx4linux dlloader dnd dnsdb doc dts dv dvd dvdr ecc emacs emacs-w3 emboss encode esd ethereal examples exif exiscan-acl fam fastcgi fat fbcon fftw fmod font-server foomaticdb fortran ftp gd gdbm geoip gif gimp gimpprint ginac glut gnokii gnuplot gnustep gnutls gpgme gphoto2 gpm gsnd gtk gtk2 hardened hardenedphp icq icu idn ieee1394 imagemagick imap imlib innodb iodbc ipv6 ithreads j2ee jabber jai java javascript jboss jce jfs jikes jit jpeg junit kde kerberos kqemu krb4 lcms ldap libclamav libg++ libwww lzo mad mcal memlimit mikmod mime mmx mono motif mozsvg mp3 mpeg msn mule mysql mysqli ncurses neXt nis nls nntp nptl nptlonly ntlm oav objc odbc ogg oggvorbis openal opengl oscar oss pam pam_timestamp pcmcia pcntl pcre pda pdfkit pdflib perl pg-hier php pic png pnp posix postgres povray prelude profile python qt quicktime quotas radius readline reiserfs samba scanner sdl session sguil sharedext simplexml skey slang slp smartcard smime soap sockets socks5 softmmu softquota spell spl sql sqlite sse sse2 ssl subversion symlink sysfs szip tcltk tcpd tetex tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l vorbis wifi wxwindows xface xine xml2 xmlrpc xmms xpm xsl xv xvid yahoo zlib linguas_fr_FR linguas_fr linguas_en linguas_en_US userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET
As I installed a new version of gentoo-sources kernel, I tried to re-emerge my old version 0.7.1 to get the kqemu module compiled for my new kernel. And even this failed... It seems it's not coming from the new version, there should be an other problem.
i'm having the same issue here _FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/docs1/tmp/portage/qemu-user-0.7.1/work/qemu-0.7.1/fpu -I/home/docs1/tmp/portage/qemu-user-0.7.1/work/qemu-0.7.1/slirp -c -o translate-op.o /home/docs1/tmp/portage/qemu-user-0.7.1/work/qemu-0.7.1/translate-op.c In file included from /home/docs1/tmp/portage/qemu-user-0.7.1/work/qemu-0.7.1/translate-op.c:36: op.h: En la funci
i'm having the same issue here _FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/docs1/tmp/portage/qemu-user-0.7.1/work/qemu-0.7.1/fpu -I/home/docs1/tmp/portage/qemu-user-0.7.1/work/qemu-0.7.1/slirp -c -o translate-op.o /home/docs1/tmp/portage/qemu-user-0.7.1/work/qemu-0.7.1/translate-op.c In file included from /home/docs1/tmp/portage/qemu-user-0.7.1/work/qemu-0.7.1/translate-op.c:36: op.h: En la función `dyngen_code': op.h:20: error: error sintáctico before ')' token op.h:32: error: error sintáctico before ')' token op.h:44: error: error sintáctico before ')' token op.h:56: error: error sintáctico before ')' token this is emerge info emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.5-r0, 2.6.10-220305-piv i686) ================================================================= System uname: 2.6.10-220305-piv i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 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-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" 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/fax /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/var/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.osuosl.org/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://gentoo.math.bme.hu ftp://mirrors1.netvisao.pt/gentoo/" LANG="es_CO" LC_ALL="es_ES@euro" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/docs1/tmp" PORTDIR="/var/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aalib accessibility acl afs alsa apache2 apm arts artswrappersuid asterisk audiofile avi bash-completion berkdb bitmap-fonts bonobo bootsplash bri cddb cdr crypt cscope cups curl dba dbus directfb dlloader dts dvd dxr3 eds emboss encode esd ethereal extensions fam ffmpeg firebird flac floppyd foomaticdb fortran freetds gd gd-external gdbm ggi gif gimpprint gnokii gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hardened hardenedphp hyperwave-api imagemagick imap imlib ipv6 jabber jack java jpeg jpeg2k junit kde kdeenablefinal kerberos kig-scripting kqemu krb4 ldap libclamav libg++ libwww lirc lm_sensors mad mikmod mmx mng monothreads motif mozilla mozsvg mozxmlterm mp3 mpeg mysql nas ncurses nethack network nls nptl oav odbc offensive ogg oggvorbis openexr opengl oss pam pda pdflib perl php pic png postgres pri pyste python qt quicktime rdesktop readline samba sasl scanner sdl session slang snmp speex spell sqlite sse ssl stats svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd vhosts vidix vim-with-x vorbis wifi win32codecs winbind wmf xine xml xml2 xmms xprint xscreensaver xv xvid xvmc zaptel zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
but in this another server compiled just fine emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.2, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 dev-lang/python: 2.3.3 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.2 sys-devel/binutils: 2.14.90.0.7-r4 sys-devel/libtool: 1.4.3-r3 virtual/os-headers: 2.4.19-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo" LANG="es_CO" LINGUAS="es" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/desarrollo/portage" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl acpi afs alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr crypt cups curl eds emboss encode esd fam foomaticdb fortran gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde kdeenablefinal kdexdeltas kerberos ldap libg++ libwww mad mikmod mng motif mozsvg mp3 mpeg nas ncurses nls nptl ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl scanner sdl slang spell ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts usb vorbis wmf xml2 xmms xprint xv zlib linguas_es userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
I cannot reproduce locally, could you check the kernel or the system headers?
please emerge qemu with LANG=C reopen if doesn't work
(In reply to comment #5) > please emerge qemu with LANG=C reopen if doesn't work It's just working fine, without that I modified anything... (I left my LANG option). I suppose some update of one program broke something, and that an other update solved the problem. Thank you for your help. The next play will be to make it compiling with GCC 4. ;-)