Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 388721

Summary: app-emulation/qemu-0.14.0 USE=pulseaudio - Error: pa check failed // Make sure to have the pa libs and headers installed.
Product: Gentoo Linux Reporter: Simeon Maryasin <marsoft>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hsggebhardt, qemu+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
configure log

Description Simeon Maryasin 2011-10-27 22:38:45 UTC
When I try to (re)build qemu, it fails on configure stage with following error:
>>> Configuring source in /var/tmp/portage/app-emulation/qemu-0.14.0/work/qemu-0.14.0 ...
 * Building the following softmmu targets:  i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu ppc-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu mips64-softmmu mips64el-softmmu ppcemb-softmmu
 * Building the following user targets:  i386-linux-user x86_64-linux-user arm-linux-user cris-linux-user m68k-linux-user microblaze-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user alpha-linux-user armeb-linux-user ppc64abi32-linux-user sparc32plus-linux-user

Error: pa check failed
Make sure to have the pa libs and headers installed.
 
Here are relevant lines from config.log:

x86_64-pc-linux-gnu-gcc -m64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -o /var/tmp/portage/app-emulation/qemu-0.14.0/temp/qemu-conf-659-30364-9571.exe /var/tmp/portage/app-emulation/qemu-0.14.0/temp/qemu-conf-18753-30364-29168.c -m64 -g -Wl,-z,execheap -Wl,-O1 -Wl,--as-needed -lpulse-simple -lpulse
/var/tmp/portage/app-emulation/qemu-0.14.0/temp/qemu-conf-18753-30364-29168.c: In function 'main':
/var/tmp/portage/app-emulation/qemu-0.14.0/temp/qemu-conf-18753-30364-29168.c:2:33: error: 'NULL' undeclared (first use in this function)
/var/tmp/portage/app-emulation/qemu-0.14.0/temp/qemu-conf-18753-30364-29168.c:2:33: note: each undeclared identifier is reported only once for each function it appears in


Reproducible: Always




Portage 2.1.10.22 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo x86_64)
=================================================================
System uname: Linux-3.0.4-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Thu, 06 Oct 2011 12:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo sunrise x11 proaudio rion arcon java-overlay bitcoin local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 IBM-J1.6 skype-eula AdobeFlash-10.1 googleearth Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.corbina.net/pub/Linux/gentoo/  ftp://ftp.fi.debian.org/pub/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/pro-audio /var/lib/layman/rion /var/lib/layman/arcon /var/lib/layman/java-overlay /var/lib/layman/bitcoin /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 amr apache2 apng aspell avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdparanoia cdr cjk cli consolekit cracklib crypt cups curl cvs cxx d3d dbus djvu dri dts dv dvd dvdr emboss encode esd exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran frei0r ftp gcj gd gdbm gdu gif gimp gnutls gpm gsm gtk h323 iconv icu id3tag idn ieee1394 ipv6 jabber jack java jingle jpeg jpeg2k kqemu kvm ladspa lame lash lcms libcaca libnotify libsamplerate lua lzo mad midi mmx mng modplug modules mono motif mp3 mp4 mpeg mpi mplayer mudflap multilib mysql nas natspec ncurses nfs nls nptl nptlonly nsplugin offensive ofx ogg openal opengl openmp pam pango pcre pda pdf php png policykit portaudio ppds pppd pulseaudio python qt3support qt4 quicktime rar readline romio samba scanner sdl session sip smp sndfile soundtouch sox speex spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff timidity tk truetype twolame udev unicode usb v4l2 vamp vim-syntax vorbis wav wavpack webkit wininst wma wmf x264 xcb xcomposite xft xml xorg xscreensaver xulrunner xv xvid zip zlib zsh-completion" ALSA_CARDS="hda-intel intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="samsung canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa vga radeonhd radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Simeon Maryasin 2011-10-27 22:39:56 UTC
Created attachment 291051 [details]
build.log
Comment 2 Simeon Maryasin 2011-10-27 22:40:11 UTC
Created attachment 291053 [details]
configure log
Comment 3 Rafał Mużyło 2011-10-28 12:54:27 UTC
...and the version of pulseaudio, that you have installed is ?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-31 12:51:54 UTC
app-emulation/qemu-0.14.0/temp/qemu-conf-18753-30364-29168.c:2:33:
error: 'NULL' undeclared (first use in this function)

Looks like a compiler strictness problem.
Comment 5 Simeon Maryasin 2011-10-31 15:32:19 UTC
(In reply to comment #3)
> ...and the version of pulseaudio, that you have installed is ?
I have media-sound/pulseaudio-1.0-r1.
Comment 6 Simeon Maryasin 2011-10-31 17:42:05 UTC
...and yes, I tried to rebuild it (but it didn't help).
Comment 7 Rafał Mużyło 2011-10-31 22:36:08 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > ...and the version of pulseaudio, that you have installed is ?
> I have media-sound/pulseaudio-1.0-r1.

Your tree it bit out of date by now, from >=1.0 there's only 1.1 in the tree now and 1.0-r2 had a fix that might have helped with your problem - see the ChangeLog.
Comment 8 Simeon Maryasin 2011-11-01 09:46:47 UTC
...and yes, I tried to rebuild it (but it didn't help).(In reply to comment #7)
> (In reply to comment #5)
> > (In reply to comment #3)
> > > ...and the version of pulseaudio, that you have installed is ?
> > I have media-sound/pulseaudio-1.0-r1.
> 
> Your tree it bit out of date by now, from >=1.0 there's only 1.1 in the tree
> now and 1.0-r2 had a fix that might have helped with your problem - see the
> ChangeLog.

I've updated pulseaudio. Now it is 1.1. But problem still persists:

Error: pa check failed
Make sure to have the pa libs and headers installed.
Comment 9 Rafał Mużyło 2011-11-01 13:05:20 UTC
Well, given the error is:
/var/tmp/portage/app-emulation/qemu-0.14.0/temp/qemu-conf-18753-30364-29168.c:2:33: error: 'NULL' undeclared (first use in this function)

it might just be that stddef.h isn't getting included anymore (likely cause another header is no longer included), so the test might need to include it explicitly.
Comment 10 Simeon Maryasin 2011-12-22 08:29:44 UTC
This bug seems to be a duplicate of bug 384847. None of them is fixed yet.
Comment 11 Simeon Maryasin 2011-12-22 08:31:06 UTC

*** This bug has been marked as a duplicate of bug 384847 ***