Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495212 - app-benchmarks/acovea-5.1.1 - runacovea.o: undefined reference to symbol 'brahe_prng_init'
Summary: app-benchmarks/acovea-5.1.1 - runacovea.o: undefined reference to symbol 'bra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
: 520982 534794 (view as bug list)
Depends on:
Blocks: underlinking 534820
  Show dependency tree
 
Reported: 2013-12-24 11:04 UTC by Kacper Kowalik (Xarthisius) (RETIRED)
Modified: 2015-01-06 09:11 UTC (History)
4 users (show)

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


Attachments
build log (acovea-5.1.1:20131224-105058.log,14.64 KB, text/plain)
2013-12-24 11:04 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details
acovea-5.1.1-underlinking.patch (acovea-5.1.1-underlinking.patch,489 bytes, patch)
2014-01-29 12:28 UTC, Ted Tanberry
Details | Diff
acovea-5.1.1-underlinking.patch v2 (acovea-5.1.1-underlinking.patch,327 bytes, patch)
2014-07-01 07:17 UTC, Matthias Maier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2013-12-24 11:04:18 UTC
Created attachment 366086 [details]
build log

x86_64-pc-linux-gnu-g++ -O2 -pipe -Wl,-O1 -Wl,--as-needed -o .libs/runacovea runacovea.o  -L/dev/shm/portage/app-benchmarks/acovea-5.1.1/work/libacovea-5.1.1/libacovea /dev/shm/portage/app-benchmarks/acovea-5.1.1/work/libacovea-5.1.1/libacovea/.libs/libacovea.so -lexpat -lcoyotl -levocosm
ld: runacovea.o: undefined reference to symbol 'brahe_prng_init'
ld: note: 'brahe_prng_init' is defined in DSO /usr/lib64/libbrahe-1.1.so.0 so try adding it to the linker command line


Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.9.0-pre9999, glibc-2.17, 3.4.61-gentoo x86_64)
=================================================================
System uname: Linux-3.4.61-gentoo-x86_64-AMD_Opteron-tm-_Processor_6128-with-gentoo-2.2
KiB Mem:    16467244 total,   3470912 free
KiB Swap:   20971500 total,  20765576 free
Timestamp of tree: Tue, 24 Dec 2013 01:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1, 4.8.2, 4.9.0_pre9999::toolchain
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo toolchain
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/gnupg/qualified.txt /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j18"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/toolchain"
SYNC="rsync://ladon/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cairo cli cracklib crypt cxx dri fortran gdbm hwdb iconv ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre png policykit python readline romio session sqlite sse sse2 ssl tcpd threads unicode vim-syntax zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="lvm mdraid" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_RM="pbs" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="mga" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ted Tanberry 2014-01-29 12:27:43 UTC
--- acovea-5.1.1.ebuild
+++ acovea-5.1.1.ebuild
@@ -26,13 +26,14 @@
        epatch "${FILESDIR}"/${P}-asneeded.patch \
                "${FILESDIR}"/${P}-free-fix.patch \
                "${FILESDIR}"/${P}-gcc44.patch \
-               "${FILESDIR}"/${P}-glibc-212.patch
+               "${FILESDIR}"/${P}-glibc-212.patch \
+               "${FILESDIR}"/${P}-underlinking.patch
 
        if has_version ">=dev-libs/libevocosm-3.3.0"; then
                epatch ${FILESDIR}"/${P}-libevocosm.patch"
        fi
 
-       eautomake
+       eautoreconf
 }
 
 src_configure() {

--- acovea-5.1.1-asneeded.patch
+++ acovea-5.1.1-asneeded.patch
@@ -13,4 +13,4 @@
  
  DEFS=-I. -I$(srcdir)
 +
-+LIBS = -lexpat
++LIBS+=-lexpat
Comment 2 Ted Tanberry 2014-01-29 12:28:02 UTC
Created attachment 369050 [details, diff]
acovea-5.1.1-underlinking.patch
Comment 3 Matthias Maier gentoo-dev 2014-07-01 07:17:45 UTC
Created attachment 380028 [details, diff]
acovea-5.1.1-underlinking.patch v2

The proposed patch doesn't work. This is because acovea hardcodes the link line in ${S}/cmdline/Makefile.am to

  LIBS = -L../libacovea -lacovea -lcoyotl -levocosm

This patch just adds '-lbrahe' to this line.
Comment 4 Patrick Lauer gentoo-dev 2014-07-01 07:54:40 UTC
+  01 Jul 2014; Patrick Lauer <patrick@gentoo.org> +acovea-5.1.1-r1.ebuild,
+  +files/acovea-5.1.1-underlinking.patch, acovea-5.1.1.ebuild:
+  Fix underlinking #495212
Comment 5 Patrick Lauer gentoo-dev 2014-08-27 04:25:23 UTC
*** Bug 520982 has been marked as a duplicate of this bug. ***
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-06 09:09:48 UTC
*** Bug 534794 has been marked as a duplicate of this bug. ***