Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131609 - app-emulation/qemu-softmmu-0.8.0 fails to compile
Summary: app-emulation/qemu-softmmu-0.8.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-28 13:55 UTC by Michal Jakubowski
Modified: 2006-10-04 22:01 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jakubowski 2006-04-28 13:55:17 UTC
Sorcerer / # emerge app-emulation/kqemu
Calculating dependencies... done!
>>> starting parallel fetching
>>> Emerging (1 of 2) app-emulation/qemu-softmmu-0.8.0 to /
>>> checking ebuild checksums
>>> checking auxfile checksums
>>> checking miscfile checksums
>>> checking distfiles checksums
>>> Checking qemu-0.8.0.tar.gz's mtime...
>>> Checking kqemu-0.7.2.tar.gz's mtime...
>>> kqemu-0.7.2.tar.gz has been updated; recreating WORKDIR...
>>> /usr/portage/app-emulation/qemu-softmmu/qemu-softmmu-0.8.0.ebuild has been updated; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking qemu-0.8.0.tar.gz to /var/tmp/portage/qemu-softmmu-0.8.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0 ...
Install prefix    /usr
BIOS directory    /usr/share/qemu
binary directory  /usr/bin
Manual directory  /usr/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0
C compiler        gcc
Host C compiler   gcc
make              make
host CPU          i386
host big endian   no
target list       i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu
gprof enabled     no
static build      no
SDL support       yes
SDL static link   yes
mingw32 support   no
Adlib support     no
CoreAudio support no
ALSA support      no
DSound support    no
FMOD support      no
kqemu support     no
In file included from /var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:84:
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/exec-all.h:474: error: conflicting types for 'spinlock_t'
/usr/include/linux/spinlock_types.h:27: error: previous declaration of 'spinlock_t' was here
In file included from /var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:84:
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/exec-all.h:476:1: warning: "SPIN_LOCK_UNLOCKED" redefined
In file included from /usr/include/linux/spinlock.h:79,
                 from /usr/include/linux/wait.h:23,
                 from /usr/include/asm/semaphore.h:4,
                 from /usr/include/linux/sched.h:20,
                 from /usr/include/linux/smp_lock.h:6,
                 from /usr/include/linux/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:11,
                 from /usr/include/linux/rtc.h:14,
                 from /var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:54:
/usr/include/linux/spinlock_types.h:58:1: warning: this is the location of the previous definition
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/exec-all.h:495: error: conflicting types for '_spin_lock'
/usr/include/linux/spinlock_api_smp.h:22: error: previous declaration of '_spin_lock' was here
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/exec-all.h:495: error: conflicting types for '_spin_lock'
/usr/include/linux/spinlock_api_smp.h:22: error: previous declaration of '_spin_lock' was here
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/exec-all.h:499: error: conflicting types for '_spin_unlock'
/usr/include/linux/spinlock_api_smp.h:41: error: previous declaration of '_spin_unlock' was here
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/exec-all.h:499: error: conflicting types for '_spin_unlock'
/usr/include/linux/spinlock_api_smp.h:41: error: previous declaration of '_spin_unlock' was here
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/exec-all.h:503: error: conflicting types for '_spin_trylock'
/usr/include/linux/spinlock_api_smp.h:37: error: previous declaration of '_spin_trylock' was here
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/exec-all.h:503: error: conflicting types for '_spin_trylock'
/usr/include/linux/spinlock_api_smp.h:37: error: previous declaration of '_spin_trylock' was here
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:936: warning: static declaration of 'init_timers' follows non-static declaration
/usr/include/linux/timer.h:96: warning: previous declaration of 'init_timers' was here
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3684:61: macro "LIST_HEAD" passed 2 arguments, but takes just 1
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3684: error: syntax error before "vm_change_state_head"
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3684: warning: type defaults to `int' in declaration of `vm_change_state_head'
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3684: warning: data definition has no type or storage class
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c: In function `qemu_add_vm_change_state_handler':
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3697: error: request for member `lh_first' in something not a structure or union
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3697: error: request for member `lh_first' in something not a structure or union
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3697: error: request for member `lh_first' in something not a structure or union
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3697: error: request for member `lh_first' in something not a structure or union
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c: In function `vm_state_notify':
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:3711: error: request for member `lh_first' in something not a structure or union
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c: In function `main':
/var/tmp/portage/qemu-softmmu-0.8.0/work/qemu-0.8.0/vl.c:4407: error: request for member `lh_first' in something not a structure or union
make[1]: *** [vl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 1

!!! ERROR: app-emulation/qemu-softmmu-0.8.0 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  qemu-softmmu-0.8.0.ebuild, line 85:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info
Portage 2.1_pre9-r4 (default-linux/x86/2005.1, gcc-3.4.6-vanilla, glibc-2.4-r2, 2.6.16-hardened-r1 i686)
=================================================================
System uname: 2.6.16-hardened-r1 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -mfpmath=sse,387 -O2 -s -pipe -fomit-frame-pointer -fstack-protector -m3dnow -msse -mmmx -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-xp -mfpmath=sse,387 -O2 -s -pipe -fomit-frame-pointer -fstack-protector -m3dnow -msse -mmmx -ftracer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache confcache distlocks keepwork metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.edu.pl http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-Bdirect -s"
LINGUAS="pl"
MAKEOPTS="-j2 -s"
PKGDIR="/home/demon/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-xgl /usr/local/xgl-coffee /usr/local/portage"
SYNC="rsync://gentoo.prz.edu.pl/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d adsl alsa apache2 apic apm arts atm avi berkdb bitmap-fonts cairo cdparanoia cdrom cli cmov crypt cups curl cx8 de dhcp divx4linux dri dv dvd dvdr dvdread dvi eds elibc_glibc emboss encode esd extramodules fam foomaticdb fortran fpu fxsr gdbm gg gif glitz gnome gpm gstreamer gtk gtk2 hal halimlib hardened hddtemp imlib ipv6 irssi isdnlog java jpeg kde kernel_linux libg++ libwww linguas_pl lirc mad mca mce mikmod mmx mmx2 mmxext motif mozilla mp3 mpeg mpeg2 mplayer msr mtrr mysql ncurses network nls nptl nptlonly ntfs nvidia ogg oggvorbis opengl opera oss pae pam pat pcre pdf pdflib perl pge pic png ppdsdvdr pppd pse pse36 python qt quicktime readline reflection sdl sep serial server session spell spl sse ssl syscall tcpd tiff transcode truetype truetype-fonts tsc type1-fonts usb userland_GNU vme voice vorbis win32codecs wmf wxGTK wxgtk1 x86 xml xml2 xmms xorg xprint xv zlib input_devices_keyboard input_devices_mouse video_cards_nvidia video_cards_vesa video_cards_fbdev video_cards_nv video_cards_vga"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK
Comment 1 Per Pomsel 2006-05-07 21:30:13 UTC
The same here with app-emulation/qemu-softmmu-0.8.1.
I used sys-kernel/linux-headers-2.6.16 when i got the error.
If I use sys-kernel/linux-headers-2.6.11-r5, then qemu-softmmu-0.8.1 seems to compile cleanly.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2006-05-26 08:04:25 UTC
Fixed in 2.6.16-3.