Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 505794

Summary: games-arcade/vor-0.5.5 - dust.c:24: error: undefined reference to 'sqrt'
Product: Gentoo Linux Reporter: Frank Steinmetzger <Warp_7>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: c.cboldt
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 372079    
Attachments: vor-0.5.5-underlinking.patch

Description Frank Steinmetzger 2014-03-25 16:57:36 UTC
Another package affected by the underlinking problem. My emerge --info and possible solution can be found in bug #505788.

Reproducible: Always




Package needs to explicitly link the m library.
Comment 1 Ted Tanberry 2014-03-29 08:06:53 UTC
--- vor-0.5.5.ebuild
+++ vor-0.5.5.ebuild
@@ -3,7 +3,7 @@
 # $Header: /var/cvsroot/gentoo-x86/games-arcade/vor/vor-0.5.5.ebuild,v 1.4 2013/02/18 20:17:57 ago Exp $

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

 DESCRIPTION="Variations on Rockdodger: Dodge the rocks until you die"
 HOMEPAGE="http://jasonwoof.org/vor"
@@ -19,6 +19,11 @@
 	media-libs/sdl-mixer[mod]"
 RDEPEND="${DEPEND}"

+src_prepare() {
+	epatch "${FILESDIR}"/${P}-underlinking.patch
+	eautoreconf
+}
+
 src_install() {
 	dodir "${GAMES_BINDIR}"
 	DOCS="README* todo" default
Comment 2 Ted Tanberry 2014-03-29 08:07:44 UTC
Created attachment 373796 [details, diff]
vor-0.5.5-underlinking.patch
Comment 3 Ted Tanberry 2014-03-29 08:09:16 UTC
What's odd is that the -lm underlinking was explicitly patched in 0.5.4, but was dropped in 0.5.5 without checking whether the build system was fixed.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2014-03-30 22:31:35 UTC
*** Bug 506254 has been marked as a duplicate of this bug. ***