pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40535: qemu won't compile on -current



>Number:         40535
>Category:       pkg
>Synopsis:       qemu won't compile on -current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 01 23:35:00 +0000 2009
>Originator:     Kurt Schreiner
>Release:        -current as of Feb 1 20:34 MET
>Organization:
Uni Mainz
>Environment:
NetBSD hu24m2 5.99.7 NetBSD 5.99.7 (U24M2) #196: Sun Feb  1 20:29:53 CET 2009  
ks@hu24m2:/u/NetBSD/arch/amd64/obj/sys/arch/amd64/compile/U24M2 amd64

>Description:
just tried to get qemu up on an amd64 system. Both pkgsrc and src are
current as of Feb  1 20:34 MET. /opt/nb/* and /var/db/pkg* were cleaned 
out.(/usr/pkg is soft linked to /opt/nb as there was some error (linktool not 
found or so while installing SDL) w/o this link...)

Here's the error from compiling qemu:

===> Resuming update for qemu-0.9.1
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Building for qemu-0.9.1
gcc -O2 -pipe -I/opt/nb/include -I/usr/X11R7/include -I/usr/include -Wall -O2 
-g -fno-strict-aliasing -I/opt/nb/include -I/usr/X11R/include -I/usr/include 
-I. -I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.9.1 -MMD -MP -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.9.1/slirp    -c -o wm8750.o 
/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.9.1/hw/wm8750.c
/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.9.1/hw/wm8750.c:24: error: syntax 
error before "QEMUSoundCard"
/u/NetBSD/pkgobj/emulators/qemu/work/qemu-0.9.1/hw/wm8750.c:24: warning: no 
semicolon at end of struct or union

and so on...

Problem seems to be that some audio/audio.h from /opt/nb/include (resp.
/usr/pkg/include) is found before audio/audio.h in .../work/qemu-0.9.1.
Removing both instances of -I/opt/nb/include from makes wm8750.c compile fine.




>How-To-Repeat:
"make" qemu on -current (amd64)
>Fix:
Somewho get the right audio/audio.h included and _not_ the one in 
/usr/pkg/include.



Home | Main Index | Thread Index | Old Index