Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420959 - net-nds/openldap-2.4.31-r1[cxx] fails to build with gcc-4.7
Summary: net-nds/openldap-2.4.31-r1[cxx] fails to build with gcc-4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LDAP project
URL: http://www.openldap.org/its/index.cgi...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-06-13 10:03 UTC by Tiziano Müller (RETIRED)
Modified: 2012-06-13 11:07 UTC (History)
0 users

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 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