When net-libs/courier-authlib-0.58 is built with USE=ldap it uses libldap functions which are deprecated in OpenLDAP v2.3. To make the deprecated function prototypes visible in <ldap.h> "-DLDAP_DEPRECATED=1" must be present in CPPFLAGS, otherwise the build fails on amd64 when FEATURES=stricter (see below for exact failure message). This can be easily achieved in the ebuild with append-flags(). Note that net-libs/courier-authlib-0.59.2 is unaffected, but is currently ~arch. * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * authldaplib.c:605: warning: implicit declaration of function `ldap_get_values' authldaplib.c:610: warning: implicit declaration of function `ldap_result2error' authldaplib.c:663: warning: implicit declaration of function `ldap_count_values' authldaplib.c:683: warning: implicit declaration of function `ldap_value_free' authldaplib.c:694: warning: implicit declaration of function `ldap_unbind' authldaplib.c:864: warning: implicit declaration of function `ldap_simple_bind_s' authldaplib.c:985: warning: implicit declaration of function `ldap_search_st' authldaplib.c:1173: warning: implicit declaration of function `ldap_perror' authldaplib.c:1514: warning: implicit declaration of function `ldap_modify_s' authldaplib.c:1728: warning: implicit declaration of function `ldap_search' * QA Notice: Package has poor programming practices which may compile * but will almost certainly crash on 64bit architectures. * Function `ldap_get_values' implicitly converted to pointer at authldaplib.c:605 Portage 2.1.2.7 (hardened/amd64, gcc-3.4.6, glibc-2.3.6-r5, 2.6.20-hardened-r5 x86_64)=================================================================System uname: 2.6.20-hardened-r5 x86_64 Intel(R) Core(TM)2 CPU 6420 @ 2.13GHzGentoo Base System release 1.12.9Timestamp of tree: Sat, 30 Jun 2007 00:20:01 +0000dev-lang/python: 2.4.4-r4dev-python/pycrypto: 2.0.1-r5sys-apps/sandbox: 1.2.17sys-devel/autoconf: 2.60sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10sys-devel/binutils: 2.17sys-devel/gcc-config: 1.3.16sys-devel/libtool: 1.5.23bvirtual/os-headers: 2.6.17-r2ACCEPT_KEYWORDS="amd64"AUTOCLEAN="yes"CBUILD="x86_64-pc-linux-gnu"CFLAGS="-O2 -pipe -ggdb"CHOST="x86_64-pc-linux-gnu"CONFIG_PROTECT="/etc"CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"CXXFLAGS="-O2 -pipe -ggdb"DISTDIR="/usr/portage/distfiles"FEATURES="collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict stricter test userfetch userpriv usersandbox"GENTOO_MIRRORS="http://ftp.swin.ed.au/gento http://mirror.aarnet.edu.au/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo http://mirror.isp.net.au/ftp/pub/gentoo http://public.planetmirror.com/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"MAKEOPTS="-j3"PKGDIR="/usr/portage/packages"PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"PORTAGE_TMPDIR="/var/tmp"PORTDIR="/usr/portage"SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"USE="acl amd64 apache2 bash-completion berkdb bzip2 caps crypt cups fam hardened jpeg justify midi ncurses nls nptl nptlonly pam pic png python readline ssl symlink test tiff unicode urandom vhosts xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
It says QA notice, but this is a regular old broken package that the maintainer should deal with (sooner rater than later I hope) unless it becomes a huge widespread issue.