Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113824 - dev-libs/tdb should not have gdbm in the RDEPEND
Summary: dev-libs/tdb should not have gdbm in the RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 11:23 UTC by Natanael Copa
Modified: 2005-12-29 04:17 UTC (History)
1 user (show)

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


Attachments
tdb-1.0.6.ebuild.patch (tdb-1.0.6.ebuild.patch,223 bytes, patch)
2005-11-29 04:35 UTC, Natanael Copa
Details | Diff
metadata.xml (metadata.xml,431 bytes, text/plain)
2005-11-29 04:40 UTC, Natanael Copa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2005-11-28 11:23:07 UTC
dev-libs/tdb has sys-libs/gdbm in its RDEPEND. gdbm is only needed for building
and not for runtime.



Reproducible: Always
Steps to Reproduce:
1. emerge -k dev-libs/tdb
2.
3.

Actual Results:  
gdbm is emerged too as an RDEPEND.

Expected Results:  
gdbm shouldn't be emerged.

readelf shows its not linked to gdbm.

nc ~ # readelf -l /usr/lib/libtdb.so.1.0.0

Elf file type is DYN (Shared object file)
Entry point 0xe00
There are 5 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000000 0x00000000 0x00000000 0x075dc 0x075dc R E 0x1000
  LOAD           0x0075dc 0x000085dc 0x000085dc 0x001e4 0x001f4 RW  0x1000
  DYNAMIC        0x0075f0 0x000085f0 0x000085f0 0x000c8 0x000c8 RW  0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x4
  PAX_FLAGS      0x000000 0x00000000 0x00000000 0x00000 0x00000     0x4

 Section to Segment mapping:
  Segment Sections...
   00     .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt
.init .plt .text .fini .rodata .eh_frame
   01     .ctors .dtors .jcr .dynamic .got .got.plt .data .bss
   02     .dynamic
   03
   04
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-28 11:42:12 UTC
+metadata.xml missing...
Comment 2 Natanael Copa 2005-11-29 04:35:09 UTC
Created attachment 73789 [details, diff]
tdb-1.0.6.ebuild.patch

The patch removes gdbm from RDEPEND.
Comment 3 Natanael Copa 2005-11-29 04:40:31 UTC
Created attachment 73790 [details]
metadata.xml

The missing metadata.xml
Comment 4 SpanKY gentoo-dev 2005-12-29 04:04:13 UTC
hmm, gdbm is only used by build-time binaries ... how odd

i'll remove the gdbm DEPEND completely and disable anything that uses it as those utils are never installed
Comment 5 Natanael Copa 2005-12-29 04:17:02 UTC
They are used for a torture test program. I guess the developer wanted to compare it with gdbm. Useless unless you are involved in the tdb development, which probably is the reason why those apps are never installed.

Thanks!