Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350902 - media-libs/aubio-0.3.2-r1 fails to compile with error in crt1.o
Summary: media-libs/aubio-0.3.2-r1 fails to compile with error in crt1.o
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 21:52 UTC by John
Modified: 2011-07-03 10:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John 2011-01-06 21:52:16 UTC
When doing a 'emerge -vuND world', aubio failed to emerge properly.

Here is the result:

/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I../../src -I/usr/lib/pd/src -DPD  -Wall -Wextra -fPIC -DPIC  -march=nocona -O2 -pipe -L../../src -laubio   -export_dynamic -shared  -Wl,-O1 -Wl,--as-needed -o aubio.pd_linux aubio_setup.o aubioonset~.o aubiotempo~.o aubiotss~.o aubioquiet~.o aubiopitch~.o  -lpthread 
libtool: link: x86_64-pc-linux-gnu-gcc -I../../src -I/usr/lib/pd/src -DPD -Wall -Wextra -fPIC -DPIC -march=nocona -O2 -pipe -export_dynamic -Wl,-O1 -o .libs/aubio.pd_linux aubio_setup.o aubioonset~.o aubiotempo~.o aubiotss~.o aubioquiet~.o aubiopitch~.o  -L/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/src /var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/src/.libs/libaubio.so /usr/lib64/libfftw3f.so /usr/lib64/libsamplerate.so -lm -Wl,--as-needed -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: cannot find entry symbol xport_dynamic; defaulting to 0000000000401580
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
aubio_setup.o: In function `aubio_setup':
aubio_setup.c:(.text+0xe): undefined reference to `post'
aubioonset~.o: In function `aubioonset_tilde_setup':
aubioonset~.c:(.text+0xc): undefined reference to `gensym'
aubioonset~.c:(.text+0x34): undefined reference to `class_new'
aubioonset~.c:(.text+0x47): undefined reference to `gensym'
aubioonset~.c:(.text+0x61): undefined reference to `class_addmethod'
aubioonset~.c:(.text+0x6d): undefined reference to `gensym'
aubioonset~.c:(.text+0x87): undefined reference to `class_addmethod'
aubioonset~.o: In function `aubioonset_tilde_debug':
aubioonset~.c:(.text+0xb2): undefined reference to `post'
aubioonset~.c:(.text+0xc4): undefined reference to `post'
aubioonset~.c:(.text+0xda): undefined reference to `post'
aubioonset~.c:(.text+0xfa): undefined reference to `post'
aubioonset~.o: In function `aubioonset_tilde_perform':
aubioonset~.c:(.text+0x212): undefined reference to `outlet_bang'
aubioonset~.o: In function `aubioonset_tilde_new':
aubioonset~.c:(.text+0x22a): undefined reference to `pd_new'
aubioonset~.c:(.text+0x2f0): undefined reference to `floatinlet_new'
aubioonset~.c:(.text+0x2f7): undefined reference to `s_bang'
aubioonset~.c:(.text+0x2ff): undefined reference to `outlet_new'
aubioonset~.c:(.text+0x314): undefined reference to `post'
aubioonset~.o: In function `aubioonset_tilde_setup':
aubioonset~.c:(.text+0x9c): undefined reference to `class_domainsignalin'
aubioonset~.o: In function `aubioonset_tilde_debug':
aubioonset~.c:(.text+0x11b): undefined reference to `post'
aubioonset~.o: In function `aubioonset_tilde_dsp':
aubioonset~.c:(.text+0x13b): undefined reference to `dsp_add'
aubiotempo~.o: In function `aubiotempo_tilde_setup':
aubiotempo~.c:(.text+0xc): undefined reference to `gensym'
aubiotempo~.c:(.text+0x39): undefined reference to `class_new'
aubiotempo~.c:(.text+0x4c): undefined reference to `gensym'
aubiotempo~.c:(.text+0x66): undefined reference to `class_addmethod'
aubiotempo~.c:(.text+0x72): undefined reference to `gensym'
aubiotempo~.c:(.text+0x8c): undefined reference to `class_addmethod'
aubiotempo~.o: In function `aubiotempo_tilde_debug':
aubiotempo~.c:(.text+0xb7): undefined reference to `post'
aubiotempo~.c:(.text+0xc9): undefined reference to `post'
aubiotempo~.c:(.text+0xdf): undefined reference to `post'
aubiotempo~.o: In function `aubiotempo_tilde_perform':
aubiotempo~.c:(.text+0x1e6): undefined reference to `outlet_bang'
aubiotempo~.c:(.text+0x1fc): undefined reference to `outlet_bang'
aubiotempo~.o: In function `aubiotempo_tilde_new':
aubiotempo~.c:(.text+0x215): undefined reference to `pd_new'
aubiotempo~.c:(.text+0x2c5): undefined reference to `floatinlet_new'
aubiotempo~.c:(.text+0x2cc): undefined reference to `s_bang'
aubiotempo~.c:(.text+0x2d7): undefined reference to `outlet_new'
aubiotempo~.c:(.text+0x2e6): undefined reference to `outlet_new'
aubiotempo~.c:(.text+0x2f8): undefined reference to `post'
aubiotempo~.o: In function `aubiotempo_tilde_setup':
aubiotempo~.c:(.text+0xa1): undefined reference to `class_domainsignalin'
aubiotempo~.o: In function `aubiotempo_tilde_debug':
aubiotempo~.c:(.text+0x100): undefined reference to `post'
aubiotempo~.o: In function `aubiotempo_tilde_dsp':
aubiotempo~.c:(.text+0x120): undefined reference to `dsp_add'
aubiotss~.o: In function `aubiotss_tilde_setup':
aubiotss~.c:(.text+0xc): undefined reference to `gensym'
aubiotss~.c:(.text+0x34): undefined reference to `class_new'
aubiotss~.c:(.text+0x47): undefined reference to `gensym'
aubiotss~.c:(.text+0x61): undefined reference to `class_addmethod'
aubiotss~.c:(.text+0x6d): undefined reference to `gensym'
aubiotss~.c:(.text+0x87): undefined reference to `class_addmethod'
aubiotss~.o: In function `aubiotss_tilde_debug':
aubiotss~.c:(.text+0xb2): undefined reference to `post'
aubiotss~.c:(.text+0xc4): undefined reference to `post'
aubiotss~.c:(.text+0xda): undefined reference to `post'
aubiotss~.c:(.text+0xfa): undefined reference to `post'
aubiotss~.o: In function `aubiotss_tilde_dsp':
aubiotss~.c:(.text+0x154): undefined reference to `dsp_add'
aubiotss~.o: In function `aubiotss_tilde_new':
aubiotss~.c:(.text+0x2b8): undefined reference to `pd_new'
aubiotss~.c:(.text+0x3f3): undefined reference to `floatinlet_new'
aubiotss~.c:(.text+0x3ff): undefined reference to `gensym'
aubiotss~.c:(.text+0x40a): undefined reference to `outlet_new'
aubiotss~.c:(.text+0x416): undefined reference to `gensym'
aubiotss~.c:(.text+0x421): undefined reference to `outlet_new'
aubiotss~.c:(.text+0x42f): undefined reference to `post'
aubiotss~.o: In function `aubiotss_tilde_setup':
aubiotss~.c:(.text+0x9c): undefined reference to `class_domainsignalin'
aubiotss~.o: In function `aubiotss_tilde_debug':
aubiotss~.c:(.text+0x11e): undefined reference to `post'
aubioquiet~.o: In function `aubioquiet_tilde_setup':
aubioquiet~.c:(.text+0xc): undefined reference to `gensym'
aubioquiet~.c:(.text+0x34): undefined reference to `class_new'
aubioquiet~.c:(.text+0x47): undefined reference to `gensym'
aubioquiet~.c:(.text+0x61): undefined reference to `class_addmethod'
aubioquiet~.c:(.text+0x6d): undefined reference to `gensym'
aubioquiet~.c:(.text+0x87): undefined reference to `class_addmethod'
aubioquiet~.o: In function `aubioquiet_tilde_debug':
aubioquiet~.c:(.text+0xb2): undefined reference to `post'
aubioquiet~.c:(.text+0xc4): undefined reference to `post'
aubioquiet~.c:(.text+0xda): undefined reference to `post'
aubioquiet~.o: In function `aubioquiet_tilde_perform':
aubioquiet~.c:(.text+0x1a4): undefined reference to `outlet_bang'
aubioquiet~.c:(.text+0x1f5): undefined reference to `outlet_bang'
aubioquiet~.o: In function `aubioquiet_tilde_new':
aubioquiet~.c:(.text+0x220): undefined reference to `pd_new'
aubioquiet~.c:(.text+0x282): undefined reference to `floatinlet_new'
aubioquiet~.c:(.text+0x289): undefined reference to `s_bang'
aubioquiet~.c:(.text+0x294): undefined reference to `outlet_new'
aubioquiet~.c:(.text+0x2a3): undefined reference to `outlet_new'
aubioquiet~.c:(.text+0x2b5): undefined reference to `post'
aubioquiet~.o: In function `aubioquiet_tilde_setup':
aubioquiet~.c:(.text+0x9c): undefined reference to `class_domainsignalin'
aubioquiet~.o: In function `aubioquiet_tilde_debug':
aubioquiet~.c:(.text+0xfb): undefined reference to `post'
aubioquiet~.o: In function `aubioquiet_tilde_dsp':
aubioquiet~.c:(.text+0x11b): undefined reference to `dsp_add'
aubiopitch~.o: In function `aubiopitch_tilde_setup':
aubiopitch~.c:(.text+0xc): undefined reference to `gensym'
aubiopitch~.c:(.text+0x39): undefined reference to `class_new'
aubiopitch~.c:(.text+0x4c): undefined reference to `gensym'
aubiopitch~.c:(.text+0x66): undefined reference to `class_addmethod'
aubiopitch~.c:(.text+0x72): undefined reference to `gensym'
aubiopitch~.c:(.text+0x8c): undefined reference to `class_addmethod'
aubiopitch~.o: In function `aubiopitch_tilde_debug':
aubiopitch~.c:(.text+0xb7): undefined reference to `post'
aubiopitch~.c:(.text+0xc9): undefined reference to `post'
aubiopitch~.c:(.text+0xdf): undefined reference to `post'
aubiopitch~.o: In function `aubiopitch_tilde_perform':
aubiopitch~.c:(.text+0x190): undefined reference to `outlet_float'
aubiopitch~.o: In function `aubiopitch_tilde_new':
aubiopitch~.c:(.text+0x1c4): undefined reference to `pd_new'
aubiopitch~.c:(.text+0x231): undefined reference to `s_float'
aubiopitch~.c:(.text+0x239): undefined reference to `outlet_new'
aubiopitch~.c:(.text+0x24b): undefined reference to `post'
aubiopitch~.o: In function `aubiopitch_tilde_setup':
aubiopitch~.c:(.text+0xa1): undefined reference to `class_domainsignalin'
aubiopitch~.o: In function `aubiopitch_tilde_debug':
aubiopitch~.c:(.text+0x100): undefined reference to `post'
aubiopitch~.o: In function `aubiopitch_tilde_dsp':
aubiopitch~.c:(.text+0x120): undefined reference to `dsp_add'
collect2: ld returned 1 exit status
make[2]: *** [aubio.pd_linux] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins'
make: *** [all-recursive] Error 1
emake failed
 * ERROR: media-libs/aubio-0.3.2-r1 failed:
 *   emake failed.
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2915:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed.";
 * 
 * If you need support, post the output of 'emerge --info =media-libs/aubio-0.3.2-r1',
 * the complete build log and the output of 'emerge -pqv =media-libs/aubio-0.3.2-r1'.
 * The complete build log is located at '/var/tmp/portage/media-libs/aubio-0.3.2-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/aubio-0.3.2-r1/temp/environment'.
 * S: '/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2'

>>> Failed to emerge media-libs/aubio-0.3.2-r1, Log file:

>>>  '/var/tmp/portage/media-libs/aubio-0.3.2-r1/temp/build.log'

 * Messages for package media-libs/aubio-0.3.2-r1:
Comment 1 John 2011-01-06 21:52:43 UTC
Emerge info:

Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r6-slacker x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r6-slacker-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Mon, 03 Jan 2011 19:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.4.6, 2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 QUAKE4 IBM-J1.6 IBM-J1.5 skype-eula googleearth AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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/splash /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.klid.dk/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://mirror.gentoo.no/ ftp://mirror.mdfnet.se/gentoo http://ftp.df.lth.se/pub/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nb no en en_GB en_US nb_NO"
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/pd-overlay /var/lib/layman/pro-audio /usr/local/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds 64bit X Xaw3d a52 aac aalib acl acpi aften aim aio alsa amd64 animgif apache2 applet archive artworkextra asf aspell async audacious audio audiofile audit background bash-completion berkdb bittorrent blender-game bluetooth bzip2 cairo caps ccache cdb cdda cddb cdparanoia cdr cdrom cdsound cg cgi charconv chm cjk clamav clamd clamdtop cli clock colors compress consolekit corefonts cracklib crypt css ctype cue cups cupsddk curl curlwrappers cxx dbase dbus dc1394 device-mapper dga diskio dolby-record-switch dolbyinrec dri dssi dtmf dts dv dvb dvbplayer dvbsetup dvd dvdnav dvdr editor embedded emerald emoticon emoticons-manager emovix empathy encode escreen esd espeak excel exif extensions extras faillog fam fame fasttrack fat fbcon fbcondecor fbsplash ffmpeg firefox3 flac flash fluidsynth fontconfig fortran fpx freesound ftp fts3 gajim garmin gconf gd gdbm gdu geoip gif gimp git gkrellm gmail gmp gnokii gnome gnutella gphoto2 gpm gps graphviz gs gstreamer gtk gtkhtml gzip hal hash hddtemp http icecast iceweasel icons iconv icq icu id3 id3tag ieee1394 imagemagick imap inkjar insecure-savers iplayer irc jabber jack jackmidi java javascript jbig jingle jpeg jpeg2k kde kolab ladspa lame lash libcaca libgig libsamplerate lilypond live lm_sensors logitech-mouse logrotate loop-aes lv2 lzma mad magic matroska md5 md5sum metric mhash midi mikmod mime mixer mjpeg mmkeys mmx mng modplug modules mozilla mp3 mp4 mpd mpeg mplayer msn msnextras mudflap multilib multimedia musepack music musicbrainz mysql nas ncurses net netjack netpbm network nfs nls no no_gf normalize nowlistening nptl nptlonly nsplugin ntfs ntp nvidia obex odbc offensive ogg ogg123 okular openal opengl openmp openstreetmap osc oscar osdmenu oss otr outputs oxygen pam pcre pda pdf perl php pidgin pipe plasma player plotutils png podcast policykit portaudio portmon pppd print projectm projectx python qt3support qt4 quicktime radio rar raw readline reiserfs replytolist rpm rss rtsp samba scanner screen sdl sdl-image semantic-desktop sensord serial session shout sid silc skins skype slang sms sndfile snmp sockets song-screen sound soundtouch sox speech speex spell sql sqlite srt sse sse2 sse3 ssl ssse3 stream streamripper submenu subtitles svg svgz sysfs tcl tcpd teletext tga tgif theora threads thumbnail thunderbird tidy tiff timidity tk toolbar tools transcode trayicon truetype tta tv tv_check tv_combiner tv_pick_cgi twolame type1 udev unicode usb userlocales utils uuencode v4l2 vcd vcdinfo vcdx vdr vhosts video vim vim-syntax visualizer vlm vnc vorbis vst wav wavpack weather-metar weather-xoap web webcam webkit wineappdb wma wmf wmp wordperfect wxwidgets x264 xanim xbase xcb xcf xcomposite xfce xfs xgetdefault xhtml xine xinerama xml xmlreader xmlrpc xmlwriter xmms2 xmp xorg xorgmodule xpm xscreensaver xspf xterm xterm-color xulrunner xv xvid xvmc yahoo youtube yp yv12 zip zlib zynaddsubfx" ALSA_CARDS="hda-intel" 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" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nb no en en_GB en_US nb_NO" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev vmware" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 John 2011-01-07 12:12:18 UTC
Update:

I had puredata 0.42_p5 installed, this halted the build. When I removed puredata, I got a warning about "puredata header not found" and the build finished successfully. Puredata was installed from the pro-audio overlay, sorry for spamming the bugtracker.

For further reference if anyone else faces the same issue; I could compile puredata successfully after emerging aubio, but not the other way around, so I am going without puredata for a while, while I am taking this to the pro-audio mailing list.
Comment 3 John 2011-01-07 12:15:09 UTC
That would be the pd-overlay, sorry...:)
Comment 4 Willy Wolff 2011-07-03 10:35:24 UTC
Hi,

Is not a pd-overlay fault.

In src_unpack section you use eautoreconf. I remove it from ebuild just for test, and then, the build doesn't fail.

Is the rebuild of autotools are wrong or original script of aubio's team?
I don't know ...