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

Bug 420959

Summary: net-nds/openldap-2.4.31-r1[cxx] fails to build with gcc-4.7
Product: Gentoo Linux Reporter: Tiziano Müller (RETIRED) <dev-zero>
Component: New packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.openldap.org/its/index.cgi?findid=7304
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 390247    

Description Tiziano Müller (RETIRED) gentoo-dev 2012-06-13 10:03:33 UTC
[...]
SaslInteractionHandler.cpp:56:27: error: 'STDIN_FILENO' was not declared in this scope
SaslInteractionHandler.cpp:67:27: error: 'STDIN_FILENO' was not declared in this scope
SaslInteractionHandler.cpp:85:23: error: 'STDIN_FILENO' was not declared in this scope
make[2]: *** [SaslInteractionHandler.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include -I/usr/include/db4.8 -DLDAP_CONNECTIONLESS -I../../../include -mtune=native -O2 -pipe -D_GNU_SOURCE -c LdifWriter.cpp -o LdifWriter.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include -I/usr/include/db4.8 -DLDAP_CONNECTIONLESS -I../../../include -mtune=native -O2 -pipe -D_GNU_SOURCE -c StringList.cpp -o StringList.o >/dev/null 2>&1
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include -I/usr/include/db4.8 -DLDAP_CONNECTIONLESS -I../../../include -mtune=native -O2 -pipe -D_GNU_SOURCE -c TlsOptions.cpp -o TlsOptions.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/paludis/net-nds-openldap-2.4.31-r1/work/openldap-2.4.31/contrib/ldapc++/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/paludis/net-nds-openldap-2.4.31-r1/work/openldap-2.4.31/contrib/ldapc++/src'
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-13 11:07:04 UTC
+  13 Jun 2012; Kacper Kowalik <xarthisius@gentoo.org>
+  +files/openldap-2.4.31-gcc47.patch, openldap-2.4.31-r1.ebuild:
+  Fix building with gcc-4.7 wrt #420959 by Tiziano Müller

Patch submitted upstream