Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379925 - media-libs/alsa-lib-1.0.24.1: undefined references
Summary: media-libs/alsa-lib-1.0.24.1: undefined references
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-20 07:12 UTC by Myckel Habets
Modified: 2012-01-26 11:49 UTC (History)
0 users

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


Attachments
Build log showing failed emerge (alsa-lib_build.log,39.99 KB, text/plain)
2011-08-20 07:14 UTC, Myckel Habets
Details
New build.log (build.log,40.70 KB, text/plain)
2011-09-01 11:45 UTC, Myckel Habets
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Myckel Habets 2011-08-20 07:12:28 UTC
Doing bug #379423 I found that in some cases the build fails due to undefined references.

Cases observed where it fails:
USE='alisp -alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy -alsa_pcm_plugins_dmix -alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop -alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw -alsa_pcm_plugins_multi alsa_pcm_plugins_null -alsa_pcm_plugins_plug alsa_pcm_plugins_rate -alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm -alsa_pcm_plugins_softvol -doc python -static-libs'
USE='-alisp -alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy -alsa_pcm_plugins_dmix -alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop -alsa_pcm_plugins_empty alsa_pcm_plugins_extplug -alsa_pcm_plugins_file alsa_pcm_plugins_hooks -alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat -alsa_pcm_plugins_linear -alsa_pcm_plugins_meter -alsa_pcm_plugins_mmap_emul -alsa_pcm_plugins_mulaw -alsa_pcm_plugins_multi alsa_pcm_plugins_null -alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share -alsa_pcm_plugins_shm alsa_pcm_plugins_softvol -doc -python static-libs'
USE='alisp -alsa_pcm_plugins_adpcm -alsa_pcm_plugins_alaw -alsa_pcm_plugins_asym -alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop -alsa_pcm_plugins_empty -alsa_pcm_plugins_extplug -alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 -alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa -alsa_pcm_plugins_lfloat -alsa_pcm_plugins_linear -alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null -alsa_pcm_plugins_plug alsa_pcm_plugins_rate -alsa_pcm_plugins_route alsa_pcm_plugins_share -alsa_pcm_plugins_shm alsa_pcm_plugins_softvol doc python static-libs'


Some of the errors (happens during building of alsalisp):
../src/.libs/libasound.so: undefined reference to `snd1_pcm_linear_put_index'
../src/.libs/libasound.so: undefined reference to `snd1_pcm_linear_get_index'
../src/.libs/libasound.so: undefined reference to `snd1_pcm_linear_put32_index'
../src/.libs/libasound.so: undefined reference to `snd1_pcm_linear_get32_index'
../src/.libs/libasound.so: undefined reference to `snd1_pcm_linear_convert_index

Reproducible: Always

Steps to Reproduce:
1. Emerge alsa-lib-1.0.24-1 on stable x86 system.

Actual Results:  
Builds fails

Expected Results:  
Emerge successful.

emerge --info
Portage 2.1.10.3 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.39 i686)
=================================================================
System uname: Linux-2.6.39-i686-Mobile_AMD_Sempron-tm-_Processor_2800+-with-gentoo-2.0.3
Timestamp of tree: Sat, 13 Aug 2011 06:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.3.4, 4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-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="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs collision-protect distcc distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="nl_NL.utf8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="nl en uk"
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/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alisp alsa autoipd avahi bash-completion berkdb bzip2 cairo cg cjk cli cracklib crypt cups cxx dbus device-mapper devil double-precision dri encode fam fancy ffmpeg flac fontconfig fortran fts3 gallium gcj gdbm gdu gif gles gmp gnutls gpm gtk iconv icu imap ipv6 ithreads jadetex java5 jpeg kpathsea libnotify llvm mikmod mmx mng modules mp3 mpi mudflap ncurses networking nls nptl nptlonly ogg ogre openexr opengl openmp openssl pam pcre perl pic player png policykit pppd python qt3support qt4 rdesktop readline romio sdl session smime sockets spell sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora threads thunar tiff timidity tinyxml tordns truetype udev unicode vnc vorbis x86 xcb xcomposite xetex xft xnest xorg xvfb 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 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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl en uk" PHP_TARGETS="php5-3" RUBY_TARGETS="jruby ruby18 ree18" USERLAND="GNU" VIDEO_CARDS="fglrx r600 radeon nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Myckel Habets 2011-08-20 07:14:42 UTC
Created attachment 283981 [details]
Build log showing failed emerge

The amount of undefined references changes between USE flags.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2011-09-01 09:38:21 UTC
Please use LC_ALL=C on your build logs. This is not readable.
Comment 3 Myckel Habets 2011-09-01 11:45:08 UTC
Created attachment 285233 [details]
New build.log

Sorry for that, although the error messages were in English. Here is the build log that also has the messages about entering and leaving directories in English.
Comment 4 Andreas Schürch gentoo-dev 2011-09-19 20:07:11 UTC
I get exactly the same failure with ALSA_PCM_PLUGINS="-adpcm" on x86 with alsa-lib-1.0.24.1 and alsa-lib-1.0.23.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2012-01-26 11:49:14 UTC
+*alsa-lib-1.0.25 (26 Jan 2012)
+
+  26 Jan 2012; Tony Vroon <chainsaw@gentoo.org>
+  +files/1.0.25-extraneous-cflags.diff, -alsa-lib-1.0.23.ebuild,
+  +alsa-lib-1.0.25.ebuild:
+  Version bump. Do a full eautoreconf to avoid failures with et_EE locale,
+  closes bug #361053 by Mart "leio" Raudsepp. Remove extraneous CFLAGS, closes
+  bug #378653 by Agostino "ago" Sarubbo. Prevent build failures in the library
+  and beyond by not allowing individual plugin control, closes bug #379925 by
+  Myckel Habets. Removed old ebuild.