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.
unsurprisingly, reproduced on x86-32
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.
--- 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)
Created attachment 376152 [details, diff] timemachine-0.3.3-underlinking.patch
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