Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 404231 - media-libs/schroedinger-1.0.11: fails to compile with undefined symbols for architecture x86_64
Summary: media-libs/schroedinger-1.0.11: fails to compile with undefined symbols for a...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-17 09:32 UTC by Norman Rieß
Modified: 2012-03-15 17:43 UTC (History)
2 users (show)

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


Attachments
media-libs/schroedinger-1.0.11 build failure (build.log,75.64 KB, text/plain)
2012-03-02 05:29 UTC, Richard Yao (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Norman Rieß 2012-02-17 09:32:02 UTC
media-libs/schroedinger-1.0.11 fails to compile:

libtool: link: x86_64-apple-darwin11-gcc -Wall -I.. -I/Users/smash/Gentoo/usr/include/orc-0.4 -DSCHRO_ENABLE_UNSTABLE_API -O2 -pipe -march=nocona -msse4.1 -Wl,-dead_strip_dylibs -o .libs/wavelet_max_gain wavelet_max_gain.o  ./.libs/libschrotest.dylib /Users/smash/Gentoo/var/tmp/portage/media-libs/schroedinger-1.0.11/work/schroedinger-1.0.11/schroedinger/.libs/libschroedinger-1.0.dylib ../schroedinger/.libs/libschroedinger-1.0.dylib -lpthread -lorc-test-0.4 -lorc-0.4
libtool: link: x86_64-apple-darwin11-gcc -Wall -I.. -I/Users/smash/Gentoo/usr/include/orc-0.4 -DSCHRO_ENABLE_UNSTABLE_API -O2 -pipe -march=nocona -msse4.1 -Wl,-dead_strip_dylibs -o .libs/wavelet_noise_gain wavelet_noise_gain.o  ./.libs/libschrotest.dylib /Users/smash/Gentoo/var/tmp/portage/media-libs/schroedinger-1.0.11/work/schroedinger-1.0.11/schroedinger/.libs/libschroedinger-1.0.dylib ../schroedinger/.libs/libschroedinger-1.0.dylib -lpthread -lorc-test-0.4 -lorc-0.4
Undefined symbols for architecture x86_64:
  "__orc_code_orc_interleave2_s16", referenced from:
      _iiwt_ref in wavelet_max_gain.o
  "__orc_code_orc_deinterleave2_s16", referenced from:
      _iwt_ref in wavelet_max_gain.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[3]: *** [wavelet_max_gain] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/Users/smash/Gentoo/var/tmp/portage/media-libs/schroedinger-1.0.11/work/schroedinger-1.0.11/testsuite'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/Users/smash/Gentoo/var/tmp/portage/media-libs/schroedinger-1.0.11/work/schroedinger-1.0.11/testsuite'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/Users/smash/Gentoo/var/tmp/portage/media-libs/schroedinger-1.0.11/work/schroedinger-1.0.11'
make: *** [all] Fehler 2
 * ERROR: media-libs/schroedinger-1.0.11 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =media-libs/schroedinger-1.0.11',
 * the complete build log and the output of 'emerge -pqv =media-libs/schroedinger-1.0.11'.
 * The complete build log is located at '/Users/smash/Gentoo/var/tmp/portage/media-libs/schroedinger-1.0.11/temp/build.log'.
 * The ebuild environment file is located at '/Users/smash/Gentoo/var/tmp/portage/media-libs/schroedinger-1.0.11/temp/environment'.
 * S: '/Users/smash/Gentoo/var/tmp/portage/media-libs/schroedinger-1.0.11/work/schroedinger-1.0.11'



Reproducible: Always

Steps to Reproduce:
1. Compile the package.

Actual Results:  
Fails to compile. See description.

Expected Results:  
Install properly.

emerge --info =media-libs/schroedinger-1.0.11

Portage 2.2.01.20153-prefix (prefix/darwin/macos/10.7/x64, gcc-4.2.1, unavailable, 11.3.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-11.3.0-x86_64-i386-64bit
Timestamp of tree: Fri, 17 Feb 2012 08:41:43 +0000
distcc 3.1-toolwhip.1 i386-apple-darwin11.0 [disabled]
app-shells/bash:      4.2_p20::gentoo_prefix
dev-lang/python:      2.7.2-r3::gentoo_prefix
dev-util/pkgconfig:   0.26::gentoo_prefix
sys-devel/autoconf:   2.68::gentoo_prefix
sys-devel/automake:   1.11.1::gentoo_prefix
sys-devel/gcc-config: 1.5-r2::gentoo_prefix
sys-devel/libtool:    2.4-r4::gentoo_prefix
sys-devel/make:       3.82::gentoo_prefix
Repositories: gentoo_prefix
Installed sets: 
ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-apple-darwin11"
CFLAGS="-O2 -pipe -march=nocona -msse4.1"
CHOST="x86_64-apple-darwin11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona -msse4.1"
DISTDIR="/Users/smash/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Users/smash/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/smash/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/smash/Gentoo/var/tmp"
PORTDIR="/Users/smash/Gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X aqua coreaudio cracklib cxx gnutls jpeg laptop matroska mjpeg mmx mmxext modules mp3 mpeg ncurses nls objc objc++ ogg png prefix readline sse sse2 ssl ssse3 theora threads unicode vorbis x264 x64-macos xvid zlib" 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="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" 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" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" 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

emerge -pqv =media-libs/schroedinger-1.0.11
[ebuild     U ] media-libs/schroedinger-1.0.11 [1.0.10-r1] USE="-static-libs%"
Comment 1 Richard Yao (RETIRED) gentoo-dev 2012-03-02 05:29:19 UTC
Created attachment 303921 [details]
media-libs/schroedinger-1.0.11 build failure

I can confirm this issue on x64-macos.
Comment 2 Richard Yao (RETIRED) gentoo-dev 2012-03-02 05:41:34 UTC
Installing version media-libs/schroedinger-1.0.10-r1 is a workaround.
Comment 3 calculuspenguin 2012-03-15 02:35:29 UTC
I too had this issue on x64-macos.  I found two upstream commits[1][2] that fixed this issue for me.  I tried with just the first patch and it did not work and then just the second patch and then it had problems with automake, but the two together allowed schroedinger-1.0.11 to compile on x64-macos.  I hope this helps.


[1] http://diracvideo.schleef.org/git?p=schroedinger.git;a=commitdiff;h=46f48277ce8109541ef1d0608bd2532e433124ea
[2] http://diracvideo.schleef.org/git?p=schroedinger.git;a=commitdiff;h=ee011f33f80c9691a6cfd5116101fdcf8c3cd6f7
Comment 4 Fabian Groffen gentoo-dev 2012-03-15 17:43:24 UTC
Thanks, I applied them to the ebuild.