Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269936 - media-sound/pulseaudio-0.9.9 fails to compile: error: variable 'loader' has initializer but incomplete type
Summary: media-sound/pulseaudio-0.9.9 fails to compile: error: variable 'loader' has i...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-15 12:08 UTC by Florian Streibelt
Modified: 2009-06-23 09:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pulseaudio-0.9.9 build log (pulseaudio-0.9.9.build.log,673.69 KB, text/plain)
2009-05-15 12:09 UTC, Florian Streibelt
Details
build.log (log,641.52 KB, text/plain)
2009-06-22 08:05 UTC, Hongjiu Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Streibelt 2009-05-15 12:08:41 UTC
daemon/ltdl-bind-now.c: In function 'pa_ltdl_init':
daemon/ltdl-bind-now.c:133: error: variable 'loader' has initializer but incomplete type
daemon/ltdl-bind-now.c:134: error: unknown field 'module_open' specified in initializer
daemon/ltdl-bind-now.c:134: warning: excess elements in struct initializer
daemon/ltdl-bind-now.c:134: warning: (near initialization for 'loader')
daemon/ltdl-bind-now.c:135: error: unknown field 'module_close' specified in initializer
daemon/ltdl-bind-now.c:135: warning: excess elements in struct initializer
daemon/ltdl-bind-now.c:135: warning: (near initialization for 'loader')
daemon/ltdl-bind-now.c:136: error: unknown field 'find_sym' specified in initializer
daemon/ltdl-bind-now.c:137: warning: excess elements in struct initializer
daemon/ltdl-bind-now.c:137: warning: (near initialization for 'loader')
daemon/ltdl-bind-now.c:133: error: storage size of 'loader' isn't known
daemon/ltdl-bind-now.c:142: warning: implicit declaration of function 'lt_dlmutex_register'
daemon/ltdl-bind-now.c:146: warning: passing argument 1 of 'lt_dlloader_find' discards qualifiers from pointer target type
daemon/ltdl-bind-now.c:146: warning: assignment from incompatible pointer type
daemon/ltdl-bind-now.c:150: warning: passing argument 1 of 'lt_dlloader_add' from incompatible pointer type
daemon/ltdl-bind-now.c:150: error: too many arguments to function 'lt_dlloader_add'
daemon/ltdl-bind-now.c:133: warning: unused variable 'loader'
make[3]: *** [pulseaudio-ltdl-bind-now.o] Error 1
make[3]: *** Waiting for unfinished jobs....


Reproducible: Always

Steps to Reproduce:
emerge -auvD =media-sound/pulseaudio-0.9.9

fail
Actual Results:  
see log

Expected Results:  
working pulseaudio :|

emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.0
Timestamp of tree: Thu, 14 May 2009 20:45:01 +0000
app-shells/bash:     4.0_p17-r1
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/"
LANG="de_DE.UTF8"
LC_ALL="de_DE.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j3"
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="/usr/local/poverlay"
SYNC="rsync://ftp.spline.de/gentoo-portage"
USE="X acl acpi alsa amd64 avahi bash-completion berkdb bluetooth bzip2 cairo cli cracklib crypt cups dbus dri esd fuse gdbm gif gnome gpm gtk hal iconv iproute2 ipv6 isdnlog jpeg libnotify midi mmx mppe-mppc mudflap multilib nautilus ncurses nls nptl nptlonly obex opengl openmp pam pcre perl png pppd python qt3 qt4 readline reflection session spl sse sse2 ssl sysfs tcpd threads tiff truetype unicode vorbis xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="alias asis auth_basic auth_digest authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user dav dav_fs dav_lock dir env expires headers include info log_config logio mime mime_magic negotiation rewrite setenvif unique_id vhost_alias  autoindex  proxy proxy_http proxy_ajp  status userdir" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv svga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian Streibelt 2009-05-15 12:09:11 UTC
Created attachment 191347 [details]
pulseaudio-0.9.9 build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-05-18 22:19:16 UTC
sync in a hour, and re-emerge libusb:0 libusb:1 libmtp and it works
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-05-18 22:19:45 UTC
sorry wrong bug, ignore that
Comment 4 Florian Streibelt 2009-05-21 19:58:28 UTC
(In reply to comment #3)
> sorry wrong bug, ignore that
> 
so reopening it again?
Comment 5 Stephan Hansen 2009-06-17 09:14:10 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > sorry wrong bug, ignore that
> > 
> so reopening it again?
> 
Exactly the same problem on my PC and my Laptop with exactly the same output (only in german).
Emerging pulseaudio-0.9.10 works fine but it has been removed so emerge -uND tries to downgrade to 0.9.9 and the same error after using emerge -e pulseaudio.

~pulseaudio-0.9.15 needs alsa-lib, alsa-headers, openrc, >=baselayout-2.0 >=udev-133 and >=sysvinit-2.86-r11, all masked with ~.

Are there any solutions anywhere I simply don't see?

Thanks for any help.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-06-17 10:23:29 UTC
Solution is emerging 0.9.15 if it works. Really.
Comment 7 Damian Kołkowski 2009-06-18 12:39:51 UTC
(In reply to comment #6)
> Solution is emerging 0.9.15 if it works. Really.

Or tray to use funtoo with baselayou-2.x www.funtoo.org, you do not need to unmask those packages.
Comment 8 Hongjiu Zhang 2009-06-22 08:05:55 UTC
Created attachment 195429 [details]
build.log

I also met this bug. Hardened profile.

Portage 2.1.6.13 (selinux/2007.0/x86/hardened, gcc-3.4.6,
glibc-2.9_p20081201-r2, 2.6.29-hardened_b5 i686)
=================================================================
System uname:
Linux-2.6.29-hardened_b5-i686-Genuine_Intel-R-_CPU_T2050_@_1.60GHz-with-gentoo-1.12.12
Timestamp of tree: Tue, 16 Jun 2009 02:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fforce-addr -fomit-frame-pointer -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -fforce-addr -fomit-frame-pointer -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks fixpackages loadpolicy parallel-fetch protect-owned
sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.kaist.ac.kr/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--hash-style=both
-Wl,--sort-common"
LINGUAS="zh_TW zh af am ar as_IN az be be_BY bg bn bn_IN bo br brx bs ca cs csb
cy da de de_FR dgo dz el en en_GB en_US en_ZA eo es es_AR es_CR es_ES es_LA et
et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN hr hsb hu
hy id is it ja ka kk km kn kn_IN ko kok ks ku la lb lo lt lv mai mk ml ml_IN mn
mni mr mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc or_IN pa pa_IN
pl pt pt_BR pt_PT ro ru rw sa_IN sat sd se sh sh_YU si sk sl sq sr sr@Latn
sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr ts uk
ur_IN ur_PK uz uz@cyrillic ve vi wa xh zh_CN zh_HK zu"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-7"
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="/usr/local/portage/layman/sunrise
/usr/local/portage/layman/science /usr/local/portage/layman/gentoo-china"
SYNC="rsync://mirror.averse.net/gentoo-portage"
USE="X acl acpi alsa bash-completion berkdb branding bzip2 cairo cdr cjk cli
cracklib crypt cups custom-cflags custom-cxxflags dbus doc dri dvd dvdr dvdread
emboss encode examples expat fam fontconfig fortran gdbm gif git gnutls gpm
gstreamer hal handbook hardened iconv ieee1394 ipv6 isdnlog java java6 jpeg
jpeg2k kde latex ldap libnotify lzo mad midi mikmod mmx mmxext mng mp3 mpeg
mudflap ncurses networkmanager nls nptl nptlonly ogg openexr opengl openmp pam
pcre pdf perl pic png policykit ppds pppd pulseaudio python qt qt3support qt4
quicktime readline reflection sdl selinux session spell spl sse sse2 ssl
startup-notification svg tcpd tiff truetype unicode usb vim-syntax vorbis
webkit win32codecs x86 xcb xcomposite xml xorg xpm xv zlib" ALSA_CARDS="ali5451
als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1        emu10k1x ens1370
ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident
usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc"
INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="zh_TW zh af am ar as_IN az be be_BY bg bn bn_IN bo br brx bs ca
cs csb cy da de de_FR dgo dz el en en_GB en_US en_ZA eo es es_AR es_CR es_ES
es_LA et et_EE eu fa fi fo fr fr_CA fy fy_NL ga ga_IE gl gu gu_IN he hi hi_IN
hr hsb hu hy id is it ja ka kk km kn kn_IN ko kok ks ku la lb lo lt lv mai mk
ml ml_IN mn mni mr mr_IN ms mt nb nb_NO nds ne nl nn nn_NO no nr ns nso oc
or_IN pa pa_IN pl pt pt_BR pt_PT ro ru rw sa_IN sat sd se sh sh_YU si sk sl sq
sr sr@Latn sr_CS ss st sv sv_SE sw_TZ ta ta_IN te te_IN tg th ti_ER tk tl tn tr
ts uk ur_IN ur_PK uz uz@cyrillic ve vi wa xh zh_CN zh_HK zu" USERLAND="GNU"
VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt
intel  mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage     
siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware        
voodoo"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Alessio D'Ascanio 2009-06-23 09:20:58 UTC
Same problem on my box.

Here is my emerge --info:


Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.26-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.2.5
Timestamp of tree: Tue, 23 Jun 2009 00:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/findcruft"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ "
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
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="/usr/portage/local/otaku /usr/portage/local/sunrise /usr/portage/local/desktop-effects /usr/portage/local/gechi /usr/portage/local/Spring"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 bash-completion berkdb bluetooth bzip2 cairo cdr cli cracklib crypt dbus dri dts dvb dvd dvdr dvdread exif fam ffmpeg flac fortran gd gdbm geoip gif gnome gnome-keyring gpm gstreamer gtk hal iconv isdnlog joystick jpeg libnotify mad matroska midi mmx mp3 mpeg mplayer mudflap multilib musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd pulseaudio python quicktime readline reflection samba session spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb v4l vorbis x264 xcomposite xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 usb-audio" 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 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 proxy proxy_http" DVB_CARDS="tda10046" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-23 09:25:07 UTC
libtool 2.2 does not work with 0.9.9 just 0.9.15. If you have libtool 2.2 you're either ~arch (so you should get 0.9.15) or you unmasked libtool 2.2 (and so you should also unmask 0.9.15).