Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508132 - media-sound/timemachine - ld: meters.o: undefined reference to symbol 'log10@@GLIBC_2.2.5'
Summary: media-sound/timemachine - ld: meters.o: undefined reference to symbol 'log10@...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2014-04-19 17:14 UTC by Stefan Richter
Modified: 2016-01-12 20:37 UTC (History)
0 users

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


Attachments
timemachine-0.3.3-underlinking.patch (timemachine-0.3.3-underlinking.patch,376 bytes, patch)
2014-05-01 17:21 UTC, Ted Tanberry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Richter 2014-04-19 17:14:10 UTC
Emerging media-sound/timemachine-0.3.1 and media-sound/timemachine-0.3.3 breaks with:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: meters.o: undefined reference to symbol 'log10@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'log10@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/lib64/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [timemachine] Error 1


Reproducible: Always




Seen on amd64 with
    sys-devel/gcc-4.7.3-r1
    sys-libs/glibc-2.17
    dev-libs/glib-2.38.2-r1:2
    x11-libs/gtk+-2.24.23:2
    media-sound/jack-audio-connection-kit-0.121.3-r1
    media-libs/libsndfile-1.0.25-r1
but certainly not entirely specific to those versions.
Comment 1 Stefan Richter 2014-04-19 17:27:54 UTC
unsurprisingly, reproduced on x86-32
Comment 2 Stefan Richter 2014-04-21 08:48:06 UTC
Re blocking bug 372079:  Indeed, it still builds with =sys-devel/binutils-2.23.1 but fails to build with =sys-devel/binutils-2.23.2.
Comment 3 Ted Tanberry 2014-05-01 17:17:52 UTC
--- timemachine-0.3.3.ebuild
+++ timemachine-0.3.3.ebuild
@@ -2,7 +2,9 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/media-sound/timemachine/timemachine-0.3.3.ebuild,v 1.2 2012/05/05 08:54:14 mgorny Exp $

-EAPI=2
+EAPI=5
+
+inherit eutils autotools

 DESCRIPTION="JACK client record button remembering the last 10 seconds when pressed."
 HOMEPAGE="http://plugin.org.uk/timemachine/"
@@ -21,6 +23,12 @@
 DEPEND="${RDEPEND}
        virtual/pkgconfig"

+src_prepare() {
+       # Fix #508132 -lm underlinking
+       epatch "${FILESDIR}"/${P}-underlinking.patch
+       eautoreconf
+}
+
 src_configure() {
        econf \
                $(use_enable lash)
Comment 4 Ted Tanberry 2014-05-01 17:21:37 UTC
Created attachment 376152 [details, diff]
timemachine-0.3.3-underlinking.patch
Comment 5 David Seifert gentoo-dev 2016-01-12 20:37:50 UTC
commit c839534fce5c254d5309e56bd48db0f209773114
Author: David Seifert <soap@gentoo.org>
Date:   Tue Jan 12 20:23:16 2016 +0100

    media-sound/timemachine: Modernize to EAPI=6, fix #508132