New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16088 (closed defect: fixed)

Opened 7 years ago

Last modified 6 years ago

openssh fails to compile on 10.4 i386

Reported by: blair@… Owned by: wsiegrist@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

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.

Change History

comment:1 Changed 7 years ago by wsiegrist@…

  • Owner changed from macports-tickets@… to wsiegrist@…
  • Status changed from new to assigned

I've backed out the commits that broke the build in r38530. So you can at least get a good build with the old functionality while I try to get some updated patches.

comment:2 Changed 7 years ago by wsiegrist@…

  • Cc wsiegrist@… removed

Cc Me!

comment:3 Changed 7 years ago by blair@…

Thanks Bill, appreciate that.

comment:4 Changed 6 years ago by wsiegrist@…

  • Status changed from assigned to closed
  • Resolution set to fixed

The problem was fixed, so I am closing this. The updated patches are a separate issue.

Note: See TracTickets for help on using tickets.