net-p2p/bitcoin{-qt,d}-0.9.0 link as PIE, thus can only contain PIC; but they also use LevelDB's libmemenv.a, which is built without -fPIC.
I agree. Have you reported upstream already ? It'd be great, if they would switch to a proper build system (autotools, cmake, ...).
https://code.google.com/p/leveldb/issues/detail?id=230
Created attachment 373844 [details, diff] leveldb-1.9.0-memenv-so.patch Patch to build libmemenv.so*
Created attachment 373846 [details, diff] patch to make leveldb-1.15.0-r1.ebuild Similar changes make the patch apply cleanly to all versions in the tree. "bitcoin" overlay has revbumps for all versions.
@Luke-jr what versions in the tree should get this patch? @patrick + Johan. Same issue as with bug #506184. We'd like to move forward since this has been blocking bitcoin for several months now.
Hey. I'll have a look at this now. Not sure why I've missed these emails/bugs. Obviously not blaming ^_^
(In reply to Anthony Basile from comment #5) > @Luke-jr what versions in the tree should get this patch? Anything we want to work with bitcoin{d,-qt}
Sorry again for the delay. I've tried and looked at the patch. I'm ok with it.
(In reply to Johan Bergström from comment #8) > Sorry again for the delay. I've tried and looked at the patch. I'm ok with > it. Added. Thanks to mrueg for jogging my memory.
Hi, thanks for the patch... the patch is already upstream under "files"....but the "modified" epatch to incoporate the new patch is still missing... could you please provide the "new" ebuild file with the "epatch" command linking to the memenv-so.patch? kind regards, Oliver
Hi, the patch is included in: leveldb-1.15.0-r1.ebuild but missing in: leveldb-1.9.0-r5.ebuild leveldb-1.9.0-r6.ebuild regards, Oliver
leveldb-1.15.0-r1 was marked stable for amd64, arm and x86. And the virtual was updated as well.