Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369835 - media-libs/aubio-0.3.2-r1 - aubio_setup.c:(.text+0xe): undefined reference to `post'
Summary: media-libs/aubio-0.3.2-r1 - aubio_setup.c:(.text+0xe): undefined reference to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-02 17:57 UTC by Xavier Miller (RETIRED)
Modified: 2011-10-01 10:53 UTC (History)
1 user (show)

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


Attachments
build log (~amd64) (build.log,60.73 KB, text/plain)
2011-06-03 14:09 UTC, Xavier Miller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2011-06-02 17:57:46 UTC
Aubio, which is needed for ardour failed to compile.

It seems it detects PureData, but it fails to build with the version I use (pd-extended-0.42.5 from pd-overlay)

There is no flag to disable PD; if I temporary move m_pd.h then build aubio, it works.

Is there possible to enable/disable Puredata part of the code?
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2011-06-02 19:48:54 UTC
emerge --info and a build.log would be nice. Thank you
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2011-06-03 14:09:18 UTC
Created attachment 275671 [details]
build log (~amd64)

Build log from my ~amd64 machine
Comment 3 Xavier Miller (RETIRED) gentoo-dev 2011-06-03 14:12:05 UTC
Sorry, I tought I've put the build log when creating the bug...

To be able to build  aubio, I moved the PureData header files (/usr/include/m_pd.h), so that the PureData part of aubio was not built.

emerge --info here:

Portage 2.2.0_alpha37 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.2
Timestamp of tree: Mon, 30 May 2011 16:00:01 +0000
distcc 3.1 x86_64-gentoo-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-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
sys-devel/gcc:            4.5.2
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.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo local proaudio pd-overlay
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE freedist"
CBUILD="x86_64-gentoo-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native"
CHOST="x86_64-gentoo-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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="fr_BE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr"
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/overlay /var/lib/layman/pro-audio /var/lib/layman/pd-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 amr apng berkdb bzip2 cairo cdda cddb cli cracklib crypt cups cxx dbus dri dssi encode exif fat ffmpeg fftw flac gdbm gif gpm gstreamer iconv id3tag jack jpeg ladspa lame libnotify libsamplerate mmx modules mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ntfs ogg opengl openmp osc pam pcre pdf png pppd qt4 readline rubberband samba sdl session sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode vaapi vorbis vst wmf x264 xorg xvid zlib" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" 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" DVB_CARDS="usb-af9015" 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="fr" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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 4 Xavier Miller (RETIRED) gentoo-dev 2011-06-03 14:13:41 UTC
Same behaviour on ~x86.
Comment 5 Jouni Rinne 2011-06-19 18:49:37 UTC
Same problem here, aubio refuses to (re)build when pd (pd-0.43_p0 from pd-overlay) is present.
Comment 6 Xavier Miller (RETIRED) gentoo-dev 2011-06-19 19:08:05 UTC
(In reply to comment #5)
> Same problem here, aubio refuses to (re)build when pd (pd-0.43_p0 from
> pd-overlay) is present.

Yep, the work-around for now is temporary remove m_pd.h:

mv /usr/include/m_pd.h /usr/include/m_pd.h-
emerge -1av aubio
mv /usr/include/m_pd.h- /usr/include/m_pd.h
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2011-10-01 10:53:58 UTC
   01 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> aubio-0.3.2-r2.ebuild:
+  Disable automagic puredata detection wrt #369835 by Xavier Miller