I can't build net-nds/openldap from 2.4 slot on Gentoo/FreeBSD (6.2 or 7.2). There is a sys-libs/db:4.6 installed. The build process ended with i686-gentoo-freebsd7.2-gcc -O2 -mtune=i686 -pipe -D_GNU_SOURCE -I../../include -I../../include -I/usr/include/db4.6 -I/usr/include/db4.6 -c -o detach.o detach.c detach.c:131:7: error: missing binary operator before token "long" gmake[2]: *** [detach.o] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/net-nds/openldap-2.4.16/work/openldap-2.4.16/libraries/liblutil' gmake[1]: *** [all-common] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/net-nds/openldap-2.4.16/work/openldap-2.4.16/libraries' gmake: *** [all-common] Error 1 * ERROR: net-nds/openldap-2.4.16 failed: * emake failed * * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3240: Called die * The specific snippet of code: * emake CC=$(tc-getCC) AR=$(tc-getAR) || die "emake failed"; * * If you need support, post the output of 'emerge --info =net-nds/openldap-2.4.16', * the complete build log and the output of 'emerge -pqv =net-nds/openldap-2.4.16'. * The complete build log is located at '/var/tmp/portage/net-nds/openldap-2.4.16/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-nds/openldap-2.4.16/temp/environment'. * S: '/var/tmp/portage/net-nds/openldap-2.4.16/work/openldap-2.4.16' Reproducible: Always
Created attachment 208312 [details] emerge --info --verbose (g/fbsd-7.2)
Created attachment 236075 [details, diff] fixes the liblutil crap error...builds fine here on fbsd-8.0
Thank you! Tested under fbsd-6.2.
This patch works for latest net-nds/openldap-2.4.23
=net-nds/openldap-2.4.25 builds on g/fbsd (7.2, 8.0, 8.2) So, if you don't going to add patch, please mask versions 2.4.19 - 2.4.24.
Newer versions are already fixed.