It complains about missing symbols found in unmention libraries. with LDFLAGS="-lgmodule-2.0 -lm" it does compile & link. Reproducible: Always Steps to Reproduce: 1. LDFLAGS="-lgmodule-2.0 -lm" emerge gtkboard 2. 3. Actual Results: Does compile, without the LDFLAGS is doesn't on a fresh installed stage3
--- gtkboard-0.11_pre0.ebuild 2013-06-29 19:01:17.000000000 +0200 +++ gtkboard-0.11_pre0.ebuild 2014-01-29 00:17:26.856796226 +0100 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/games-board/gtkboard/gtkboard-0.11_pre0.ebuild,v 1.19 2013/06/29 16:39:05 mr_bones_ Exp $ EAPI=5 -inherit eutils games +inherit eutils games autotools MY_P=${P/_} DESCRIPTION="Board games system" @@ -27,8 +27,17 @@ PATCHES=( "${FILESDIR}"/${P}-gcc41.patch "${FILESDIR}"/${P}-gcc45.patch + "${FILESDIR}"/${P}-underlinking.patch ) +src_prepare() { + for x in "${PATCHES[@]}"; do + epatch "${x}" + done + + eautoreconf +} + src_configure() { egamesconf \ --disable-dependency-tracking \
Created attachment 369018 [details, diff] gtkboard-0.11_pre0-underlinking.patch
My patch adds checks for libgmodule and whether -lm is necessary.
Created attachment 369042 [details, diff] gtkboard-0.11_pre0-underlinking.patch Check for cos with -lm was slightly awkward, changed it to AC_SEARCH_LIBS now.
Fixed. Thanks for report