Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285325 - openssh-5.2_p1-r03.2 fails to build during bootstrapping (emerge system -u step) on snowleopard
Summary: openssh-5.2_p1-r03.2 fails to build during bootstrapping (emerge system -u st...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 14:43 UTC by Ramon
Modified: 2009-09-17 16:15 UTC (History)
0 users

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


Attachments
_res_9_query undefined symbol patch (openssh-5.2_p1-resolv.patch,1.12 KB, patch)
2009-09-17 16:07 UTC, Nigel Hannam
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2009-09-17 14:43:13 UTC
i686-apple-darwin10-gcc -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset  -I. -I.  -DSSHDIR=\"/Volumes/Shared/gentoo-prefix/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/Volumes/Shared/gentoo-prefix/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/Volumes/Shared/gentoo-prefix/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/Volumes/Shared/gentoo-prefix/var/empty\" -DSSH_RAND_HELPER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c readconf.c
cc1: warning: -Wuninitialized is not supported without -O
i686-apple-darwin10-gcc -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset  -I. -I.  -DSSHDIR=\"/Volumes/Shared/gentoo-prefix/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/Volumes/Shared/gentoo-prefix/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/Volumes/Shared/gentoo-prefix/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/Volumes/Shared/gentoo-prefix/var/empty\" -DSSH_RAND_HELPER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c clientloop.c
cc1: warning: -Wuninitialized is not supported without -O
i686-apple-darwin10-gcc -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset  -I. -I.  -DSSHDIR=\"/Volumes/Shared/gentoo-prefix/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/Volumes/Shared/gentoo-prefix/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/Volumes/Shared/gentoo-prefix/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/Volumes/Shared/gentoo-prefix/var/empty\" -DSSH_RAND_HELPER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sshtty.c
cc1: warning: -Wuninitialized is not supported without -O
i686-apple-darwin10-gcc -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset  -I. -I.  -DSSHDIR=\"/Volumes/Shared/gentoo-prefix/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/Volumes/Shared/gentoo-prefix/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/Volumes/Shared/gentoo-prefix/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/Volumes/Shared/gentoo-prefix/var/empty\" -DSSH_RAND_HELPER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sshconnect.c
cc1: warning: -Wuninitialized is not supported without -O
i686-apple-darwin10-gcc -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset  -I. -I.  -DSSHDIR=\"/Volumes/Shared/gentoo-prefix/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/Volumes/Shared/gentoo-prefix/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/Volumes/Shared/gentoo-prefix/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/Volumes/Shared/gentoo-prefix/var/empty\" -DSSH_RAND_HELPER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sshconnect1.c
cc1: warning: -Wuninitialized is not supported without -O
i686-apple-darwin10-gcc -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset  -I. -I.  -DSSHDIR=\"/Volumes/Shared/gentoo-prefix/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/Volumes/Shared/gentoo-prefix/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/Volumes/Shared/gentoo-prefix/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/Volumes/Shared/gentoo-prefix/var/empty\" -DSSH_RAND_HELPER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c sshconnect2.c
cc1: warning: -Wuninitialized is not supported without -O
i686-apple-darwin10-gcc -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -Wformat-security -fno-builtin-memset  -I. -I.  -DSSHDIR=\"/Volumes/Shared/gentoo-prefix/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/Volumes/Shared/gentoo-prefix/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/Volumes/Shared/gentoo-prefix/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/Volumes/Shared/gentoo-prefix/var/empty\" -DSSH_RAND_HELPER=\"/Volumes/Shared/gentoo-prefix/usr/lib/misc/ssh-rand-helper\" -DHAVE_CONFIG_H -c mux.c
cc1: warning: -Wuninitialized is not supported without -O
i686-apple-darwin10-gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o mux.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat -L/Volumes/Shared/gentoo-prefix/usr/lib -lssl -lcrypto -lz   -lz  -framework Security -framework Security -lpthread
Undefined symbols:
  "_res_9_query", referenced from:
      _getrrsetbyname in libopenbsd-compat.a(getrrsetbyname.o)
  "_res_9_getshort", referenced from:
      _parse_dns_qsection in libopenbsd-compat.a(getrrsetbyname.o)
      _parse_dns_qsection in libopenbsd-compat.a(getrrsetbyname.o)
      _parse_dns_rrsection in libopenbsd-compat.a(getrrsetbyname.o)
      _parse_dns_rrsection in libopenbsd-compat.a(getrrsetbyname.o)
      _parse_dns_rrsection in libopenbsd-compat.a(getrrsetbyname.o)
  "_res_9_getlong", referenced from:
      _parse_dns_rrsection in libopenbsd-compat.a(getrrsetbyname.o)
  "_res_9_init", referenced from:
      _getrrsetbyname in libopenbsd-compat.a(getrrsetbyname.o)
  "_res_9_dn_expand", referenced from:
      _parse_dns_qsection in libopenbsd-compat.a(getrrsetbyname.o)
      _parse_dns_rrsection in libopenbsd-compat.a(getrrsetbyname.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
 * ERROR: net-misc/openssh-5.2_p1-r03.2 failed:
 *   compile problem
 * 
 * Call stack:
 *               ebuild.sh:  51: <call call-ebuildshell 'src_compile'>
 *             environment: 584: <call src_compile>
 *             environment:3379:     emake || die "compile problem"
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-09-17 14:56:27 UTC
emerge --info?
Comment 2 Fabian Groffen gentoo-dev 2009-09-17 15:30:04 UTC
Snow Leopard bootstrap, I hit the same problem actually.  Seems bind9 stuff is no longer around, and openssh assumes it is.
Comment 3 Nigel Hannam 2009-09-17 16:07:31 UTC
Created attachment 204443 [details, diff]
_res_9_query undefined symbol patch

The attached patch seems to fix the build problem for openssh-5.2_p1

(taken from http://lists.mindrot.org/pipermail/openssh-unix-dev/2009-September/027856.html)
Comment 4 Fabian Groffen gentoo-dev 2009-09-17 16:10:34 UTC
thank you very much, committing as we speak
Comment 5 Fabian Groffen gentoo-dev 2009-09-17 16:15:03 UTC
hopefully fixed, thanks all!