Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587076 - dev-db/sqliteman: should link -pthreads
Summary: dev-db/sqliteman: should link -pthreads
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2016-06-25 19:08 UTC by René Rhéaume
Modified: 2016-06-29 18:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
sqliteman-1.2.2-lpthread.patch (sqliteman-1.2.2-lpthread.patch,397 bytes, patch)
2016-06-25 19:09 UTC, René Rhéaume
Details | Diff
ebuild patch (sqliteman-1.2.2-r1.ebuild.patch,533 bytes, patch)
2016-06-25 19:20 UTC, René Rhéaume
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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