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

Bug 519388

Summary: dev-db/mysql++-3.1.0 - ld: cpool_cpool.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2'
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Gentoo Linux MySQL bugs team <mysql-bugs>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 372079    
Attachments: dev-db:mysql++-3.1.0:20140808-092822.log

Description Jeroen Roovers (RETIRED) gentoo-dev 2014-08-08 09:46:19 UTC
Created attachment 382518 [details]
dev-db:mysql++-3.1.0:20140808-092822.log

It looks like 3.2.1 has a patch for this (inexplicably named "*-gold.patch" while it's a somewhat grander underlinking bug.


Index: mysql++-3.1.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql++/mysql++-3.1.0.ebuild,v
retrieving revision 1.7
diff -u -B -r1.7 mysql++-3.1.0.ebuild
--- mysql++-3.1.0.ebuild        25 May 2013 07:42:38 -0000      1.7
+++ mysql++-3.1.0.ebuild        8 Aug 2014 09:45:55 -0000
@@ -21,6 +21,7 @@

 src_prepare() {
        epatch "${FILESDIR}"/${PN}-3.0-gcc-as-needed.patch
+       epatch "${FILESDIR}"/${PN}-3.2.1-gold.patch

        for i in "${S}"/lib/*.h ; do
                sed -i \