Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101524 - app-emulation/qemu-softmmu-0.7.1 fails to build with USE=-sdl
Summary: app-emulation/qemu-softmmu-0.7.1 fails to build with USE=-sdl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-06 02:47 UTC by Alexander Skwar
Modified: 2005-12-23 06:30 UTC (History)
1 user (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 Alexander Skwar 2005-08-06 02:47:52 UTC
[11:46:57 alexander@server:~] $ sudo emerge -vpt qemu

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild  N    ] app-emulation/qemu-0.7.1  0 kB
[ebuild  N    ]  app-emulation/qemu-softmmu-0.7.1  +kqemu -sdl 0 kB


 * Applying kqemu-0.7.1-sysfs.patch ...                                        
           [ ok ]>>> Source unpacked.
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.7.1/work/qemu-0.7.1
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       no
mingw32 support   no
Adlib support     no
FMOD support      no
kqemu support     yes

KQEMU Linux module configuration:
kernel sources    /usr/src/linux
kbuild type       2.6
ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU with graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card.

!!! ERROR: app-emulation/qemu-softmmu-0.7.1 failed.
!!! Function src_compile, Line 99, Exitcode 1
!!! could not configure
!!! If you need support, post the topmost build error, NOT this status message.


[11:47:10 alexander@server:~] $ 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-ck4.010.reiser4.nfsv4.inotify.genkernel i686)
=================================================================
System uname: 2.6.12-ck4.010.reiser4.nfsv4.inotify.genkernel i686 AMD Athlon(tm)
XP 2000+
Gentoo Base System version 1.6.13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 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="-O3 -march=athlon-xp -pipe -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/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://distfiles.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl alsa apache2 apm arts artswrappersuid async avi
bash-completion bluetooth bonobo calendar cdda cddb cdparanoia cdr cdrom codecs
crypt cscope css cups dbus divx4linux dvdread encode esd ethereal exif fam fbcon
fbdev ffmpeg fftw firefox flash foomaticdb ftp gd gdbm gif gimp gimpprint gmail
gnokii gnome gphoto2 gpm gs gstreamer gtk gtk2 guile hal hpn iconv idn
imagemagick imap imlib java javascript jpeg kde kdeenablefinal kdexdeltas kqemu
libwww logitech-mouse logrotate lufsusermount lzw lzw-tiff mad maildir matroska
matrox mbox mime mmap mmx mng mozdevelop moznocompose moznoirc mozp3p mozsvg mp3
mpeg mplayer ncurses network nls no-old-linux no_wxgtk1 noantlr nobcel
nobeanutils nobsh nocommonslogging nocommonsnet nojdepend nojsch nojython
nolog4j nooro nopop3d noregexp norhino noxalan noxerces offensive ofx ogg
oggvorbis opengl oss pam parse-clocks pcntl pcre pda pdflib perl pic pie png
posix ppds python qemu-fast qt quicktime quotes rdesktop readline real recode
samba sasl shared slang sockets speex spell sse ssl svg symlink sysvipc tcltk
tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb
usepackagedmakefiles vcd videos vim vim-pager vim-with-x vorbis wmf wsconvert
x11vnc xchattext xfs xine xml2 xmms xv xvid zlib video_cards_matrox linguas_de
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, PORTDIR_OVERLAY
Comment 1 Luca Barbato gentoo-dev 2005-08-06 05:43:58 UTC
I'll add that check soon
Comment 2 John Berry 2005-11-04 02:06:26 UTC
Hi,

I don't know what was modified with QEMU ebuild, but it's not working anymore,
even with +sdl.

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild     U ] app-emulation/qemu-softmmu-0.7.2 [0.7.1] +kqemu +sdl 0 kB
[ebuild     U ] app-emulation/qemu-user-0.7.2 [0.7.1] 0 kB
[ebuild     U ] app-emulation/qemu-0.7.2 [0.7.1] 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 3) app-emulation/qemu-softmmu-0.7.2 to /
>>> md5 files   ;-) qemu-softmmu-0.7.1-r1.ebuild
>>> md5 files   ;-) qemu-softmmu-0.7.1.ebuild
>>> md5 files   ;-) qemu-softmmu-0.7.2.ebuild
>>> md5 files   ;-) qemu-softmmu-0.7.0-r1.ebuild
>>> md5 files   ;-) files/digest-qemu-softmmu-0.7.1
>>> md5 files   ;-) files/digest-qemu-softmmu-0.7.2
>>> md5 files   ;-) files/digest-qemu-softmmu-0.7.0-r1
>>> md5 files   ;-) files/kqemu-0.7.1-sysfs.patch
>>> md5 files   ;-) files/kqemu-sysfs.patch
>>> md5 files   ;-) files/qemu-softmmu-0.7.0-errno.patch
>>> md5 files   ;-) files/digest-qemu-softmmu-0.7.1-r1
>>> md5 src_uri ;-) qemu-0.7.2.tar.gz
>>> md5 src_uri ;-) kqemu-0.7.2.tar.gz
 * Qemu could not build with GCC 4
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.14-gentoo
 * QEMU Accelerator enabled (USE=kqemu)
 * kqemu is binary module with a restricted license.
 * Please read carefully the KQEMU license
 * and http://fabrice.bellard.free.fr/qemu/qemu-accel.html
 * if you would like to see it released under the GPL
>>> Unpacking source...
>>> Unpacking qemu-0.7.2.tar.gz to /var/tmp/portage/qemu-softmmu-0.7.2/work
>>> Unpacking kqemu-0.7.2.tar.gz to /var/tmp/portage/qemu-softmmu-0.7.2/work
>>> Source unpacked.
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.7.2/work/qemu-0.7.2
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       no
mingw32 support   no
Adlib support     no
FMOD support      no
kqemu support     yes

KQEMU Linux module configuration:
kernel sources    /usr/src/linux
kbuild type       2.6
ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU with graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card.

!!! ERROR: app-emulation/qemu-softmmu-0.7.2 failed.
!!! Function src_compile, Line 104, Exitcode 1
!!! could not configure

I tried to recompile my QEMU-0.7.1, same problem. I tried also with my GCC
v.3.4.3, thinking it was maybe because of GCC 4, but same problem. Why is the
ebuild not working anymore, although the sdl flag is set ?
Comment 3 Luca Barbato gentoo-dev 2005-11-04 02:52:04 UTC
try to rebuild libsdl, please check the config.log and/or paste it to me, I just
built a full qemu with sdl and all is fine
Comment 4 John Berry 2005-11-04 03:04:10 UTC
(In reply to comment #3)
> try to rebuild libsdl, please check the config.log and/or paste it to me, I just
> built a full qemu with sdl and all is fine

Thank you, this worked fine. Funny, as libsdl was already installed...
Comment 5 Luca Barbato gentoo-dev 2005-12-23 06:30:30 UTC
Ops, I forgot to close it