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

Bug 290571

Summary: net-nds/openldap (2.4.19 - 2.4.24): emake dies on libraries/liblutil/detach.c
Product: Gentoo/Alt Reporter: Dmitri Bogomolov <4glitch>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: KEYWORDREQ
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info --verbose (g/fbsd-7.2)
fixes the liblutil crap error...builds fine here on fbsd-8.0

Description Dmitri Bogomolov 2009-10-26 14:44:53 UTC
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
Comment 1 Dmitri Bogomolov 2009-10-26 14:48:51 UTC
Created attachment 208312 [details]
emerge --info --verbose (g/fbsd-7.2)
Comment 2 Kiko 2010-06-20 14:47:51 UTC
Created attachment 236075 [details, diff]
fixes the liblutil crap error...builds fine here on fbsd-8.0
Comment 3 Dmitri Bogomolov 2010-06-21 13:21:48 UTC
Thank you! Tested under fbsd-6.2.
Comment 4 Dmitri Bogomolov 2011-02-09 22:55:55 UTC
This patch works for latest net-nds/openldap-2.4.23
Comment 5 Dmitri Bogomolov 2011-08-02 08:47:44 UTC
=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.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-05-25 21:49:29 UTC
Newer versions are already fixed.