qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: rutger@nospam.com
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Another CVS compile error
Date: Sun, 9 May 2004 19:03:38 +0200	[thread overview]
Message-ID: <20040509170338.GB8977@nospam.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0405091812130.20555@alpha.polcom.net>

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
----------------------------------------------------------------------

  parent reply	other threads:[~2004-05-09 17:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-09 14:33 [Qemu-devel] CVS Compile error Iain McFarlane
2004-05-09 15:11 ` [Qemu-devel] Next take at RFB Johannes Schindelin
2004-05-09 16:19 ` [Qemu-devel] Another CVS compile error Grzegorz Kulewski
2004-05-09 16:55   ` David Holm <dholm@gentoo.org>
2004-05-09 17:03   ` rutger [this message]
2004-05-09 18:04     ` Johannes Schindelin
2004-05-09 18:19       ` Grzegorz Kulewski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040509170338.GB8977@nospam.com \
    --to=rutger@nospam.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-devel@tux.tmfweb.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).