Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253964 - net-nds/openldap-2.3.43: building stage3 for server profile fails on openldap due to perl built with USE=build
Summary: net-nds/openldap-2.3.43: building stage3 for server profile fails on openldap...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-06 12:08 UTC by SpanKY
Modified: 2009-01-13 20:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2009-01-06 12:08:08 UTC
attempting to build a stage[123] here with a server based profile (s390).  since this profile has ldap in default USE, openldap is built in stage3.  unfortunately, this fails because the installed perl was built with USE=build.

gentoo04 back-perl # make
/bin/sh ../../..//libtool --tag=disable-static --mode=compile cc -O2 -pipe -D_GNU_SOURCE -I../../../include        -I../../../include -I.. -I./.. -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm  -I/usr/lib/perl5/5.8.8/s390x-linux/CORE   -I/usr/include/db4.5   -DSLAPD_IMPORT -c init.c
 cc -O2 -pipe -D_GNU_SOURCE -I../../../include -I../../../include -I.. -I./.. -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/s390x-linux/CORE -I/usr/include/db4.5 -DSLAPD_IMPORT -c init.c  -fPIC -DPIC -o .libs/init.o
In file included from init.c:18:
perl_back.h:21:20: error: EXTERN.h: No such file or directory
perl_back.h:22:18: error: perl.h: No such file or directory
In file included from init.c:18:
perl_back.h:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-01-06 12:28:40 UTC
Is openldap being built during stage2->stage3, or just from the stock stage3?
The stock stage3 shouldn't have Perl w/ USE=build.

Beyond that, all we could do is a USE dep or take ldap out of your default USE.
Comment 2 SpanKY gentoo-dev 2009-01-06 12:37:12 UTC
the error occurred in stage3 ... the perl in stage3 is built with USE=build

i'm using catalyst-2.0.6 as it is the current stable version
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2009-01-06 14:31:20 UTC
This is a circular dep that releng has encountered in the past. The USE dep in openldap to make sure perl is built without USE=build first is probably the best way.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-01-06 21:21:31 UTC
Ok, I'll change it to a USE dep in a couple of days when I get a chance.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2009-01-13 20:19:58 UTC
This is fixed now.