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
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.
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
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.
Ok, I'll change it to a USE dep in a couple of days when I get a chance.
This is fixed now.