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

Bug 115741

Summary: openldap without useflag perl set fails if perl was built with useflag minimal set
Product: Gentoo Linux Reporter: Natanael Copa <natanael.copa>
Component: [OLD] ServerAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: major CC: gent_bz
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: openldap-2.2.28-r3.ebuild.patch

Description Natanael Copa 2005-12-16 01:06:56 UTC
see #100579

Whenever USE=-perl it fails if perl is installed with USE=minimal. The ebuild
should check if useflag perl is set and only then it should chek if perl was
build with useflag "minimal".

Reproducible: Always
Steps to Reproduce:
1. USE=minimal emerge perl
2. USE=-perl emerge openldap
3.

Actual Results:  
!!! ERROR: net-nds/openldap-2.2.28-r3 failed.
!!! Function pkg_setup, Line 117, Exitcode 0
!!! You must have a complete (USE='-minimal') Perl install to use the perl backend!
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
Successful compile.
Comment 1 Natanael Copa 2005-12-16 01:08:50 UTC
Created attachment 74863 [details, diff]
openldap-2.2.28-r3.ebuild.patch

The patch check wehter useflag perl is set or not before it checks if perl is
compiled with USE=minimal.

It solves the problem.
Comment 2 gent_bz 2005-12-22 06:35:20 UTC
Confirming.  The patch should fix this.
Comment 3 gent_bz 2005-12-30 05:03:48 UTC
Poke.
Comment 4 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-01-13 10:01:47 UTC
fixed in cvs