Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641534 - sci-libs/libccp4-6.4.6 : /.../ld: /.../libmmdb2.a(mmdb_mattype.o): relocation R_X86_64_PC32 against symbol _ZN4mmdb15GetMatrixMemoryERPPdjjjj can not be used when making a shared object; recompile with -fPIC
Summary: sci-libs/libccp4-6.4.6 : /.../ld: /.../libmmdb2.a(mmdb_mattype.o): relocation...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-18 09:16 UTC by Toralf Förster
Modified: 2018-01-06 13:35 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.13 KB, text/plain)
2017-12-18 09:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,53.64 KB, text/plain)
2017-12-18 09:16 UTC, Toralf Förster
Details
environment (environment,94.30 KB, text/plain)
2017-12-18 09:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.02 KB, application/x-bzip)
2017-12-18 09:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.22 KB, application/x-bzip)
2017-12-18 09:17 UTC, Toralf Förster
Details
sci-libs:libccp4-6.4.6:20171217-234113.log (sci-libs:libccp4-6.4.6:20171217-234113.log,46.94 KB, text/plain)
2017-12-18 09:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.45 KB, application/x-bzip)
2017-12-18 09:17 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-12-18 09:16:51 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libmmdb2.a(mmdb_root.o): warning: relocation against `_ZN4mmdb4Root14FreeFileMemoryEv' in readonly section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libmmdb2.a(mmdb_mattype.o): relocation R_X86_64_PC32 against symbol `_ZN4mmdb15GetMatrixMemoryERPPdjjjj' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:667: fortran/libccp4f.la] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_test_20171216-103216

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-libs/libccp4
[ebuild  N    ] sci-libs/libccp4-6.4.6  USE="fortran -static-libs"
Comment 1 Toralf Förster gentoo-dev 2017-12-18 09:16:54 UTC
Created attachment 510610 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-18 09:16:57 UTC
Created attachment 510612 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-18 09:17:00 UTC
Created attachment 510614 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-18 09:17:05 UTC
Created attachment 510616 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-18 09:17:08 UTC
Created attachment 510618 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-18 09:17:11 UTC
Created attachment 510620 [details]
sci-libs:libccp4-6.4.6:20171217-234113.log
Comment 7 Toralf Förster gentoo-dev 2017-12-18 09:17:14 UTC
Created attachment 510622 [details]
temp.tbz2
Comment 8 Toralf Förster gentoo-dev 2017-12-30 22:36:08 UTC
and another dup of bug #583842 ?
Comment 9 Larry the Git Cow gentoo-dev 2018-01-06 13:35:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ac2c93178e64c1e36a9cd01c0cd346cea6ce7d

commit 87ac2c93178e64c1e36a9cd01c0cd346cea6ce7d
Author:     Justin Lecher <jlec@gentoo.org>
AuthorDate: 2018-01-06 12:53:57 +0000
Commit:     Justin Lecher <jlec@gentoo.org>
CommitDate: 2018-01-06 13:35:36 +0000

    sci-libs/mmdb: Build shared libs
    
    Closes: https://bugs.gentoo.org/641534
    Closes: https://bugs.gentoo.org/642944
    Signed-off-by: Justin Lecher <jlec@gentoo.org>
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-libs/mmdb/{mmdb-2.0.5.ebuild => mmdb-2.0.5-r1.ebuild} | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)