Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.33) id 1BMrnO-0005Il-E3 for qemu-devel@nongnu.org; Sun, 09 May 2004 13:08:58 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.33) id 1BMrnM-0005IK-OP for qemu-devel@nongnu.org; Sun, 09 May 2004 13:08:57 -0400 Received: from [82.161.27.36] (helo=wingding.demon.nl) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.33) id 1BMrhN-00032N-KR for qemu-devel@nongnu.org; Sun, 09 May 2004 13:02:46 -0400 Date: Sun, 9 May 2004 19:03:38 +0200 From: rutger@nospam.com Subject: Re: [Qemu-devel] Another CVS compile error Message-ID: <20040509170338.GB8977@nospam.com> References: <200405091533.51288.imcfarla@ntlworld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Reply-To: qemu-devel@tux.tmfweb.nl, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sun, May 09, 2004 at 06:19:28PM +0200, Grzegorz Kulewski wrote: > There is probelm with the current CVS version of QEMU: > > mkdir -p "/var/tmp/portage/qemu-cvs-1.3/image//usr/bin" > install -m 755 -s qemu-mkcow > "/var/tmp/portage/qemu-cvs-1.3/image//usr/bin" > mkdir -p "/var/tmp/portage/qemu-cvs-1.3/image//usr/share/qemu" > install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \ > pc-bios/linux_boot.bin > "/var/tmp/portage/qemu-cvs-1.3/image//usr/share/qemu" > mkdir -p "/usr/share/doc/qemu" > ACCESS DENIED mkdir: /usr/share/doc/qemu > mkdir: nie mona utworzy katalogu `/usr/share/doc/qemu': Brak dostpu > make: *** [install] Bd 1 > > !!! ERROR: app-emulation/qemu-cvs-1.3 failed. > !!! Function einstall, Line 388, Exitcode 2 > !!! einstall failed > > --------------------------- ACCESS VIOLATION SUMMARY > --------------------------- > LOG FILE = "/tmp/sandbox-app-emulation_-_qemu-cvs-1.3-10353.log" > > mkdir: /usr/share/doc/qemu > -------------------------------------------------------------------------------- > > Looks like Gentoo's portage system detects that makefile is trying to > write in /usr/share/doc/qemu at some time while it should write in > /var/tmp/portage/qemu-cvs-1.3/image/usr/share/doc/qemu. It was working > with older CVS versions of QEMU. > > Fabrice can you fix this? On a related note, using the CVS version and compiling with Gentoo still gives me make[1]: Entering directory `/home/rutger/download/qemu/i386' gcc -static -Wl,-T,/home/rutger/download/qemu/i386-vl.ld -o qemu-fast vl.o osdep.o block.o monitor.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o gdbstub.o sdl.o libqemu.a -lm -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -laa -L/usr/lib -Wl,-rpath,/usr/lib -laa -lm -L/usr/X11R6/lib -lX11 -lncurses -lutil /usr/lib/libSDL.a(SDL_x11gl.o)(.text+0x90a): In function `X11_GL_LoadLibrary': : warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lasound collect2: ld returned 1 exit status What is the structural way to get qemu compiled on gentoo without hacks? Is this going to be fixed in the CVS version? Other option: Do I have to use some ebuild for qemu? Where can I find this ebuild? Other option: How do I tell ALSA in Gentoo to generate a static lib? Other option: Can I disable ALSA during build of qemu? Regards, Rutger. -- Rutger Nijlunsing ---------------------------- rutger ed tux tmfweb nl never attribute to a conspiracy which can be explained by incompetence ----------------------------------------------------------------------