Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377881 - sys-libs/ldb-1.1.0 appears to need sys-libs/tdb[python]
Summary: sys-libs/ldb-1.1.0 appears to need sys-libs/tdb[python]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 377809
  Show dependency tree
 
Reported: 2011-08-05 13:05 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2011-08-07 21:10 UTC (History)
3 users (show)

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


Attachments
Full Build Log (build_log.txt,26.06 KB, text/plain)
2011-08-05 13:05 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
ldb_ebuild.patch (ldb_ebuild.patch,1.99 KB, text/plain)
2011-08-05 16:46 UTC, Andreis Vinogradovs ( slepnoga )
Details
ldb_ebuild.patch (ldb_ebuild.patch,900 bytes, patch)
2011-08-06 20:02 UTC, Andreis Vinogradovs ( slepnoga )
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-08-05 13:05:22 UTC
Created attachment 282199 [details]
Full Build Log

Currently installed

=sys-libs/tdb-1.2.9  USE: -python


During installation of 

=sys-libs/ldb-1.1.0  FEATURES: test USE: -doc

Checking for system tdb >= 1.2.9                                                  : yes 

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =sys-libs/ldb-1.1.0:0::gentoo --destination installed --x-of-y 1 of 4:
  * When installing 'sys-libs/ldb-1.1.0:0::gentoo':
  * When running an ebuild command on 'sys-libs/ldb-1.1.0:0::gentoo':
  * Install failed for 'sys-libs/ldb-1.1.0:0::gentoo' (paludis::ActionFailedError)

ERROR: Python module pytdb of version 1.2.9 not found, and bundling disabled

!!! ERROR in sys-libs/ldb-1.1.0::gentoo:
!!! In econf at line 2397
!!! econf failed

Portage 2.2.0_alpha50 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r4, 3.0.0-gentoo x86_64)
=================================================================
System uname: Linux-3.0.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 04 Aug 2011 19:30:01 +0000

app-shells/bash:          4.2_p10::<unknown repository>
dev-java/java-config:     2.1.11-r3::<unknown repository>
dev-lang/python:          2.6.7-r2::<unknown repository>, 2.7.2-r2::<unknown repository>, 3.1.4-r2::<unknown repository>, 3.2-r2::<unknown repository>
dev-util/cmake:           2.8.5-r2::<unknown repository>
dev-util/pkgconfig:       0.26::<unknown repository>
sys-apps/baselayout:      2.0.3::<unknown repository>
sys-apps/openrc:          0.8.3-r1::<unknown repository>
sys-apps/sandbox:         2.5::<unknown repository>
sys-devel/autoconf:       2.13::<unknown repository>, 2.68::<unknown repository>
sys-devel/automake:       1.4_p6-r1::<unknown repository>, 1.5-r1::<unknown repository>, 1.7.9-r2::<unknown repository>, 1.8.5-r4::<unknown repository>, 1.9.6-r3::<unknown repository>, 1.10.3::<unknown repository>, 1.11.1-r1::<unknown repository>
sys-devel/binutils:       2.21.1::<unknown repository>
sys-devel/gcc:            4.4.6::<unknown repository>, 4.5.2::<unknown repository>
sys-devel/gcc-config:     1.4.1-r1::<unknown repository>
sys-devel/libtool:        2.4-r1::<unknown repository>
sys-devel/make:           3.82-r1::<unknown repository>
sys-kernel/linux-headers: 2.6.38::<unknown repository> (virtual/os-headers)
sys-libs/glibc:           2.13-r4::<unknown repository>
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-08-05 13:14:08 UTC
Reinstalled tdb with USE="python" and it got past the above error check, and is now on to another dependency which looks like it needs python.

Checking for system tdb >= 1.2.9                                                  : yes 
Checking for program xsltproc                                                     : /usr/bin/xsltproc 
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : ok 
Checking for program python                                                                     : /usr/bin/python2.7 
Checking for Python version >= 2.4.2                                                            : ok 2.7.2 
Checking for library python2.7                                                                  : yes 
Checking for program python2.7-config                                                           : not found 
Checking for program python-config-2.7                                                          : /usr/bin/python-config-2.7 
Checking for custom code                                                                        : yes 

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =sys-libs/ldb-1.1.0:0::gentoo --destination installed --x-of-y 1 of 1:
  * When installing 'sys-libs/ldb-1.1.0:0::gentoo':
  * When running an ebuild command on 'sys-libs/ldb-1.1.0:0::gentoo':
  * Install failed for 'sys-libs/ldb-1.1.0:0::gentoo' (paludis::ActionFailedError)

Checking for system talloc >= 2.0.5                                                             : yes 
Checking for system pytalloc-util >= 2.0.5                                                      : not found 
ERROR: System library pytalloc-util of version 2.0.5 not found, and bundling disabled

indicating it may also need


  sys-libs/talloc[python]
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2011-08-05 13:20:13 UTC
Confirmed suspicion

reinstall with sys-libs/talloc USE="-compat python" 

and it successfully gets past configure, and builds, but then fails tests. 

Though that's probably a separate bug, 

Makefile found, looking for potential test targets
WAF_MAKE=1 PATH=buildtools/bin:../../../buildtools/bin:$PATH waf test 
Found check target
WAF_MAKE=1 PATH=buildtools/bin:../../../buildtools/bin:$PATH waf test 
make --jobs=3 -j1 check

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =sys-libs/ldb-1.1.0:0::gentoo --destination installed --x-of-y 1 of 1:
  * When installing 'sys-libs/ldb-1.1.0:0::gentoo':
  * When running an ebuild command on 'sys-libs/ldb-1.1.0:0::gentoo':
  * Install failed for 'sys-libs/ldb-1.1.0:0::gentoo' (paludis::ActionFailedError)

testsuite returned 1
ldbadd: error while loading shared libraries: libldb.so.1: cannot open shared object file: No such file or directory
cat: write error: Broken pipe
make: *** [test] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in sys-libs/ldb-1.1.0::gentoo:
!!! In default_src_test at line 29
!!! make check failed
Comment 3 Andreis Vinogradovs ( slepnoga ) 2011-08-05 16:46:37 UTC
Created attachment 282211 [details]
ldb_ebuild.patch
Comment 4 Andreis Vinogradovs ( slepnoga ) 2011-08-06 20:02:36 UTC
Created attachment 282353 [details, diff]
ldb_ebuild.patch
Comment 5 Maxim Koltsov (RETIRED) gentoo-dev 2011-08-07 21:10:30 UTC
Applied last suggest patch, thanks.