#16088: openssh fails to compile on 10.4 i386 --------------------------------+------------------------------------------- Reporter: blair@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- I'm getting the following compile error using r38528 of the openssh port on an 10.4.11 i386 system with gcc build 5370 {{{ /usr/bin/gcc-4.0 -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign -I. -I. -I/Users/blair/my-macports/include -I/Users/blair/my-macports/include -I/Users/blair/my-macports/include -fno-builtin -I/usr/local/include -I/usr/local/include/gssapi -DSSHDIR=\"/Users/blair/my-macports/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/Users/blair/my-macports/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/Users/blair/my-macports/libexec/ssh- askpass\" -D_PATH_SFTP_SERVER=\"/Users/blair/my-macports/libexec/sftp- server\" -D_PATH_SSH_KEY_SIGN=\"/Users/blair/my-macports/libexec/ssh- keysign\" -D_PATH_SSH_PIDDIR=\"/Users/blair/my-macports/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/Users/blair/my-macports/var/empty\" -DSSH_RAND_HELPER=\"/Users/blair/my-macports/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c scp.c scp.c: In function 'source': scp.c:787: warning: implicit declaration of function 'copyfile' scp.c:788: error: 'COPYFILE_ACL' undeclared (first use in this function) scp.c:788: error: (Each undeclared identifier is reported only once scp.c:788: error: for each function it appears in.) scp.c:788: error: 'COPYFILE_XATTR' undeclared (first use in this function) scp.c:788: error: 'COPYFILE_CHECK' undeclared (first use in this function) scp.c:799: error: 'COPYFILE_PACK' undeclared (first use in this function) scp.c:804: warning: implicit declaration of function 'dirname' scp.c:804: warning: implicit declaration of function 'basename' scp.c: In function 'sink': scp.c:1101: warning: passing argument 1 of 'strncmp' makes pointer from integer without a cast scp.c:1213: warning: passing argument 1 of 'strncmp' makes pointer from integer without a cast scp.c:1218: error: 'COPYFILE_ACL' undeclared (first use in this function) scp.c:1218: error: 'COPYFILE_XATTR' undeclared (first use in this function) scp.c:1218: error: 'COPYFILE_UNPACK' undeclared (first use in this function) make: *** [scp.o] Error 1 Warning: the following items did not execute (for openssh): org.macports.build Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/16088> MacPorts <http://www.macports.org/> Ports system for Mac OS