Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266654 - net-misc/openssh-5.2_p1-r1 -- ldap patch misses stdarg.h include
Summary: net-misc/openssh-5.2_p1-r1 -- ldap patch misses stdarg.h include
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 16:19 UTC by Bertrand Jacquin
Modified: 2009-05-18 09:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fix ldap building (openssh-5.2_p1-BJA-ldap-stdargs.diff,251 bytes, patch)
2009-04-18 16:20 UTC, Bertrand Jacquin
Details | Diff
net-misc/openssh-5.2_p1-r1.ebuild.diff (openssh-5.2_p1-r1.diff,532 bytes, patch)
2009-04-18 16:22 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2009-04-18 16:19:37 UTC
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
Comment 1 Bertrand Jacquin 2009-04-18 16:20:34 UTC
Created attachment 188804 [details, diff]
fix ldap building
Comment 2 Bertrand Jacquin 2009-04-18 16:22:00 UTC
Created attachment 188806 [details, diff]
net-misc/openssh-5.2_p1-r1.ebuild.diff
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-18 09:04:20 UTC
Fixed in CVS.