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

Bug 587076

Summary: dev-db/sqliteman: should link -pthreads
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 372079    
Attachments: sqliteman-1.2.2-lpthread.patch
ebuild patch

Description René Rhéaume 2016-06-25 19:08:47 UTC
sqliteman need pthread functionality but does not link to libpthread explicitly. This is not a problem on glibc (wonder how) and musl (libpthread symlinks to libc), but it causes a problem on uclibc. CMake provides a way to find the thread library, so te supplied patch makes use of it.

Reproducible: Always

Steps to Reproduce:
1. emerge sqliteman
2.
3.
Actual Results:  
emake failed (compile phase)

Expected Results:  
sqlliteman installed on system
Comment 1 René Rhéaume 2016-06-25 19:09:44 UTC
Created attachment 438786 [details, diff]
sqliteman-1.2.2-lpthread.patch
Comment 2 René Rhéaume 2016-06-25 19:20:08 UTC
Created attachment 438788 [details, diff]
ebuild patch
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-06-29 18:28:32 UTC
Thanks, fixed in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641226130f6ee8b1e390db562276c6f9045193ea