Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 147334

Summary: openldap-2.3.24-r1 fails to build on stable x86
Product: Gentoo Linux Reporter: Mihai Limbasan <mihailim>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mihai Limbasan 2006-09-12 08:36:41 UTC
openldap-2.3.24-r1 fails to merge due to a bug in the ebuild in pkg_setup():

        if use perl && built_with_use dev-lang/perl minimal ; then
                die "You must have a complete (USE='-minimal') Perl install to use the perl backend!"
        fi

The built_with_use check bombs out since the stable x86 perl (perl-5.8.8-r2) does not support the minimal USE flag.

Buildlog:

Calculating dependencies... done!

>>> Emerging (1 of 1) net-nds/openldap-2.3.24-r1 to /
 * openldap-2.3.24.tgz MD5 ;-) ...                                                                                            [ ok ]
 * openldap-2.3.24.tgz RMD160 ;-) ...                                                                                         [ ok ]
 * openldap-2.3.24.tgz SHA1 ;-) ...                                                                                           [ ok ]
 * openldap-2.3.24.tgz SHA256 ;-) ...                                                                                         [ ok ]
 * openldap-2.3.24.tgz size ;-) ...                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                          [ ok ]
 * checking auxfile checksums ;-) ...                                                                                         [ ok ]
 * checking miscfile checksums ;-) ...                                                                                        [ ok ]
 * checking openldap-2.3.24.tgz ;-) ...                                                                                       [ ok ]

!!! ERROR: net-nds/openldap-2.3.24-r1 failed.
Call stack:
  ebuild.sh, line 1562:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  openldap-2.3.24-r1.ebuild, line 151:   Called built_with_use 'dev-lang/perl' 'minimal'
  eutils.eclass, line 1605:   Called die

!!! dev-lang/perl-5.8.8-r2 does not actually support the minimal USE flag!
!!! If you need support, post the topmost build error, and the call stack if relevant.


Relevant packages:

[ebuild   R   ] net-nds/openldap-2.3.24-r1  USE="berkdb crypt gdbm ipv6 perl readline samba* sasl* slp* ssl tcpd -debug -kerberos -minimal -odbc -overlays (-selinux)" 0 kB 
[ebuild   R   ] sys-devel/libperl-5.8.8-r1  USE="berkdb gdbm -debug -ithreads" 0 kB 
[ebuild   R   ] dev-lang/perl-5.8.8-r2  USE="berkdb gdbm -build -debug -doc -ithreads -perlsuid" 0 kB 

Environment:

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-hardened-r11 i686)
=================================================================
System uname: 2.6.16-hardened-r11 i686 Intel(R) Celeron(R) CPU 2.53GHz
Gentoo Base System version 1.12.4
Last Sync: Mon, 11 Sep 2006 08:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -msse -msse2 -O2 -fomit-frame-pointer -fno-ident -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -msse -msse2 -O2 -fomit-frame-pointer -fno-ident -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org ftp://ftp.roedu.net/pub/mirrors/gentoo.org http://ftp.lug.ro/gentoo http://gentoo.osuosl.org"
LINGUAS=""
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.roedu.net/gentoo-portage"
USE="x86 7zip acl adns apache2 bash-completion berkdb bindist bzip2 bzlib caps cdr crypt cups curl dvd dvdr elibc_glibc expat fam foomaticdb ftp gd gdbm gif gmp gnutls gpm iconv imap input_devices_evdev input_devices_keyboard input_devices_mouse iproute2 ipv6 javascript jpeg jpeg2k kernel_linux libwww logrotate lzo maildir mailwrapper memlimit mhash mime mmap mmx mysql ncurses nptl offensive pam pcre pdflib perl php pic pie png postgres pwdb python readline samba sasl slang slp snmp soap socks5 spell sqlite sse sse2 ssl subversion tcpd tetex tidy tiff truetype unicode userland_GNU vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo wddx wmf xinetd xml xml2 xmlrpc xsl zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-12 08:39:12 UTC

*** This bug has been marked as a duplicate of 147134 ***