Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383743 - sys-libs/gdbm-1.9.1[compat] underlinks libgdbm_compat.so.4
Summary: sys-libs/gdbm-1.9.1[compat] underlinks libgdbm_compat.so.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 383747
  Show dependency tree
 
Reported: 2011-09-20 02:43 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2011-09-20 04:24 UTC (History)
0 users

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


Attachments
gdbm-1.9.1[compat] build log with MAKEOPTS="V=1" (gdbm-1.9.1[compat].build.log.gz,6.45 KB, application/x-gzip)
2011-09-20 02:43 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-20 02:43:42 UTC
Created attachment 287101 [details]
gdbm-1.9.1[compat] build log with MAKEOPTS="V=1"

# USE=compat emerge gdbm
[...]
# ldd -d -r /usr/lib/libgdbm_compat.so.4
	linux-vdso.so.1 =>  (0x00007fff115ff000)
	libc.so.6 => /lib64/libc.so.6 (0x00007f9030820000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f9030e01000)
undefined symbol: gdbm_errno	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_version_number	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_nextkey	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_delete	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_firstkey	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_version_cmp	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_fetch	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_store	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_close	(/usr/lib/libgdbm_compat.so.4)
undefined symbol: gdbm_open	(/usr/lib/libgdbm_compat.so.4)

Note: I am experiencing this failure both with and without "-Wl,--as-needed" in LDFLAGS.

This underlinking in libgdbm_compat.so.4 leads to build failures all over the place in packages that use gdbm (e.g. in python with USE=gdbm).
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-09-20 03:29:17 UTC
Upstream patch: http://git.gnu.org.ua/cgit/gdbm.git/commit/?id=ae9ea0011da4ba01e5639611d61c442af8d42817
Comment 2 SpanKY gentoo-dev 2011-09-20 04:24:19 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add patch from upstream so gdbm_compat links against gdbm
http://sources.gentoo.org/sys-libs/gdbm/files/gdbm-1.9.1-compat-link.patch?rev=1.1
http://sources.gentoo.org/sys-libs/gdbm/gdbm-1.9.1-r1.ebuild?rev=1.1