openssh-5.2_p1-r1 fail to build when ldap is in USE : # emerge-i586-geode-linux-uclibc -va1 net-misc/openssh [ebuild R ] net-misc/openssh-5.2_p1-r1 to /usr/i586-geode-linux-uclibc/ USE="hpn ldap -X -X509 -kerberos -libedit -pam -pkcs11 (-selinux) -skey -smartcard -static -tcpd" 0 kB [1] i586-geode-linux-uclibc-gcc -Os -pipe -march=k6-2 -fomit-frame-pointer -I/usr/i586-geode-linux-uclibc/usr/include/ -I/usr/i586-geode-linux-uclibc/include/ -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -fno-builtin-memset -fstack-protector-all -std=gnu99 -I. -I. -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c ldapauth.c In file included from ldapauth.c:36: log.h:67: error: syntax error before "va_list" make: *** [ldapauth.o] Error 1 One liner patch correct the issue by including stdarg.h in ldapauth.c Reproducible: Always Steps to Reproduce: 1. crossdev -t i586-geode-linux-uclibc 2. emerge-wrapper --init 3. ACCEPT_KEYWORDS="x86" USE="ldap hpn" i586-geode-linux-uclibc -vat openssh
Created attachment 188804 [details, diff] fix ldap building
Created attachment 188806 [details, diff] net-misc/openssh-5.2_p1-r1.ebuild.diff
Fixed in CVS.