This is to let you know that although rsync compiled on MacOSX 10.2.2, it failed certain tests. I have attached two files: (1) The combined output of "./configure" and make", and (2) the output of "make check". Please let me know if you need any further information. Ed ------------------------------------------------------- Edward N. Zalta http://mally.stanford.edu/zalta.html Senior Research Scholar CSLI/Ventura Hall [EMAIL PROTECTED] Stanford University ph. 650-723-0488 Stanford, CA 94305-4115 fx. 650-725-2166 -------------------------------------------------------
diderot:/Volumes/local/tmp/rsync-2.5.5 58# ./configure configure: Configuring rsync 2.5.5 checking build system type... powerpc-apple-darwin6.2 checking host system type... powerpc-apple-darwin6.2 checking target system type... powerpc-apple-darwin6.2 checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking for gcc option to accept ANSI C... none needed checking whether to include debugging symbols... yes checking for remsh... 0 checking for broken largefile support... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking ipv6 stack type... kame checking for library containing getaddrinfo... none required checking whether byte ordering is bigendian... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/unistd.h usability... yes checking sys/unistd.h presence... yes checking for sys/unistd.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking compat.h usability... no checking compat.h presence... no checking for compat.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for sys/wait.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... yes checking sys/filio.h presence... yes checking for sys/filio.h... yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/mode.h usability... no checking sys/mode.h presence... no checking for sys/mode.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking alloca.h usability... no checking alloca.h presence... no checking for alloca.h... no checking mcheck.h usability... no checking mcheck.h presence... no checking for mcheck.h... no checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for short... yes checking size of short... 2 checking for inline... inline checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for off_t... yes checking for size_t... yes checking for pid_t... yes checking type of array argument to getgroups... gid_t checking for struct stat.st_rdev... yes checking for ino_t... yes checking for socklen_t... no checking for socklen_t equivalent... int checking for errno in errno.h... yes checking for connect... yes checking for inet_ntop in -lresolv... no checking for inet_ntop... yes checking for inet_pton... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for struct sockaddr.sa_len... yes checking struct sockaddr_storage... yes checking for strcasecmp... yes checking whether utime accepts a null argument... yes checking for waitpid... yes checking for wait4... yes checking for getcwd... yes checking for strdup... yes checking for strerror... yes checking for chown... yes checking for chmod... yes checking for mknod... yes checking for fchmod... yes checking for fstat... yes checking for strchr... yes checking for readlink... yes checking for link... yes checking for utime... yes checking for utimes... yes checking for strftime... yes checking for memmove... yes checking for lchown... no checking for vsnprintf... yes checking for snprintf... yes checking for asprintf... yes checking for setsid... yes checking for glob... yes checking for strpbrk... yes checking for strlcat... yes checking for strlcpy... yes checking for mtrace... no checking for mallinfo... no checking for setgroups... yes checking for working socketpair... yes checking for working fnmatch... yes checking for poptGetContext in -lpopt... no checking whether to use included libpopt... ./popt checking for long long... yes checking for off64_t... no checking for short ino_t... no checking for unsigned char... no checking for broken readdir... no checking for utimbuf... yes checking if gettimeofday takes tz argument... yes checking for C99 vsnprintf... no checking for secure mkstemp... yes checking for broken inet_ntoa... no checking for broken inet_aton... no checking whether -c -o works... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/dummy config.status: creating zlib/dummy config.status: creating popt/dummy config.status: creating shconfig config.status: creating config.h rsync 2.5.5 configuration successful diderot:/Volumes/local/tmp/rsync-2.5.5 59# make gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c generator.c -o generator.o generator.c: In function `generate_sums': generator.c:191: warning: int format, size_t arg (arg 3) generator.c:191: warning: int format, size_t arg (arg 4) generator.c:191: warning: int format, size_t arg (arg 5) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c receiver.c -o receiver.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c cleanup.c -o cleanup.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o sender.o sender.c: In function `receive_sums': sender.c:50: warning: int format, size_t arg (arg 3) sender.c:50: warning: int format, size_t arg (arg 4) sender.c:50: warning: int format, size_t arg (arg 5) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c exclude.c -o exclude.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c util.c -o util.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c main.c -o main.o main.c: In function `start_client': main.c:664: warning: unused variable `whole_file' main.c:665: warning: unused variable `write_batch' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c checksum.c -o checksum.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c match.c -o match.o match.c: In function `hash_search': match.c:144: warning: int format, size_t arg (arg 3) match.c:162: warning: int format, size_t arg (arg 3) match.c:162: warning: int format, size_t arg (arg 5) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c syscall.c -o syscall.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c log.c -o log.o log.c: In function `log_transfer': log.c:574: warning: unused parameter `file' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c backup.c -o backup.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c options.c -o options.o In file included from options.c:22: ./popt/popt.h:117: warning: type qualifiers ignored on function return type gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c flist.c -o flist.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c io.c -o io.o io.c: In function `read_unbuffered': io.c:303: warning: int format, size_t arg (arg 3) io.c: In function `writefd_unbuffered': io.c:462: warning: int format, size_t arg (arg 3) gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c compat.c -o compat.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c hlink.c -o hlink.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c token.c -o token.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c uidlist.c -o uidlist.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c socket.c -o socket.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c fileio.c -o fileio.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c batch.c -o batch.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientname.c -o clientname.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c params.c -o params.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c loadparm.c -o loadparm.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c clientserver.c -o clientserver.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c access.c -o access.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c connection.c -o connection.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c authenticate.c -o authenticate.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/fnmatch.c -o lib/fnmatch.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/compat.c -o lib/compat.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/snprintf.c -o lib/snprintf.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/mdfour.c -o lib/mdfour.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/permstring.c -o lib/permstring.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/deflate.c -o zlib/deflate.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/infblock.c -o zlib/infblock.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/infcodes.c -o zlib/infcodes.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/inffast.c -o zlib/inffast.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/inflate.c -o zlib/inflate.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/inftrees.c -o zlib/inftrees.o zlib/inftrees.c: In function `huft_build': zlib/inftrees.c:216: warning: signed and unsigned type in conditional expression zlib/inftrees.c: In function `inflate_trees_fixed': zlib/inftrees.c:403: warning: unused parameter `z' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/infutil.c -o zlib/infutil.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/trees.c -o zlib/trees.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/zutil.c -o zlib/zutil.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c zlib/adler32.c -o zlib/adler32.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c popt/findme.c -o popt/findme.o In file included from popt/system.h:55, from popt/findme.c:5: popt/popt.h:117: warning: type qualifiers ignored on function return type gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c popt/popt.c -o popt/popt.o In file included from popt/system.h:55, from popt/popt.c:5: popt/popt.h:117: warning: type qualifiers ignored on function return type popt/popt.c: In function `poptAddAlias': popt/popt.c:673: warning: unused parameter `flags' popt/popt.c: At top level: popt/popt.c:713: warning: type qualifiers ignored on function return type gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c popt/poptconfig.c -o popt/poptconfig.o In file included from popt/system.h:55, from popt/poptconfig.c:5: popt/popt.h:117: warning: type qualifiers ignored on function return type popt/poptconfig.c: In function `poptReadDefaultConfig': popt/poptconfig.c:121: warning: unused parameter `useEnv' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c popt/popthelp.c -o popt/popthelp.o In file included from popt/system.h:55, from popt/popthelp.c:7: popt/popt.h:117: warning: type qualifiers ignored on function return type popt/popthelp.c: In function `displayArgs': popt/popthelp.c:11: warning: unused parameter `foo' popt/popthelp.c:13: warning: unused parameter `arg' popt/popthelp.c:13: warning: unused parameter `data' popt/popthelp.c: At top level: popt/popthelp.c:31: warning: type qualifiers ignored on function return type popt/popthelp.c:46: warning: type qualifiers ignored on function return type popt/popthelp.c: In function `getArgDescrip': popt/popthelp.c:45: warning: unused parameter `translation_domain' popt/popthelp.c: In function `poptPrintHelp': popt/popthelp.c:185: warning: unused parameter `flags' popt/popthelp.c: In function `poptPrintUsage': popt/popthelp.c:282: warning: unused parameter `flags' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c popt/poptparse.c -o popt/poptparse.o In file included from popt/system.h:55, from popt/poptparse.c:5: popt/popt.h:117: warning: type qualifiers ignored on function return type Please ignore warnings below about mktemp -- it is used in a safe way gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -o rsync rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o batch.o clientname.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/permstring.o zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/zutil.o zlib/adler32.o popt/findme.o popt/popt.o popt/poptconfig.o popt/popthelp.o popt/poptparse.o ld: warning multiple definitions of symbol _snprintf lib/snprintf.o definition of _snprintf in section (__TEXT,__text) /usr/lib/libSystem.dylib(snprintf.So) definition of _snprintf ld: warning multiple definitions of symbol _vsnprintf lib/snprintf.o definition of _vsnprintf in section (__TEXT,__text) /usr/lib/libSystem.dylib(vsnprintf.So) definition of _vsnprintf
diderot:/Volumes/local/tmp/rsync-2.5.5 94# make check Please ignore warnings below about mktemp -- it is used in a safe way gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -o rsync rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o main.o checksum.o match.o syscall.o log.o backup.o options.o flist.o io.o compat.o hlink.o token.o uidlist.o socket.o fileio.o batch.o clientname.o params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/permstring.o zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o zlib/zutil.o zlib/adler32.o popt/findme.o popt/popt.o popt/poptconfig.o popt/popthelp.o popt/poptparse.o ld: warning multiple definitions of symbol _snprintf lib/snprintf.o definition of _snprintf in section (__TEXT,__text) /usr/lib/libSystem.dylib(snprintf.So) definition of _snprintf ld: warning multiple definitions of symbol _vsnprintf lib/snprintf.o definition of _vsnprintf in section (__TEXT,__text) /usr/lib/libSystem.dylib(vsnprintf.So) definition of _vsnprintf gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c tls.c -o tls.o gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -o tls tls.o syscall.o lib/permstring.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c getgroups.c -o getgroups.o getgroups.c: In function `main': getgroups.c:34: warning: unused parameter `argc' getgroups.c:34: warning: unused parameter `argv' gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -o getgroups getgroups.o gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c trimslash.c -o trimslash.o gcc -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -o trimslash trimslash.o syscall.o POSIXLY_CORRECT=1 TOOLDIR=`pwd` rsync_bin=`pwd`/rsync srcdir="." ./runtests.sh ============================================================ ./runtests.sh running in /Volumes/local/tmp/rsync-2.5.5 rsync_bin=/Volumes/local/tmp/rsync-2.5.5/rsync srcdir=. testuser=root os=Darwin diderot.local. 6.2 Darwin Kernel Version 6.2: Tue Nov 5 22:00:03 PST 2002; root:xnu/xnu-344.12.2.obj~1/RELEASE_PPC Power Macintosh powerpc preserve_scratch=no scratchbase=/Volumes/local/tmp/rsync-2.5.5/testtmp PASS 00-hello PASS chgrp PASS chown ----- daemon-gzip-download log follows Testing for symlinks using 'test -h' building configuration /Volumes/local/tmp/rsync-2.5.5/testtmp.daemon-gzip-download/test-rsyncd.conf Running: "/Volumes/local/tmp/rsync-2.5.5/rsync -avvz localhost::test-from/ "/Volumes/local/tmp/rsync-2.5.5/testtmp.daemon-gzip-download/to/"" opening tcp connection to localhost port 873 @ERROR: setgroups failed rsync: connection unexpectedly closed (37 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) ----- daemon-gzip-download log ends FAIL daemon-gzip-download ----- daemon-gzip-upload log follows Testing for symlinks using 'test -h' building configuration /Volumes/local/tmp/rsync-2.5.5/testtmp.daemon-gzip-upload/test-rsyncd.conf Running: "/Volumes/local/tmp/rsync-2.5.5/rsync -avvz "/Volumes/local/tmp/rsync-2.5.5/testtmp.daemon-gzip-upload/from/" localhost::test-to/" opening tcp connection to localhost port 873 @ERROR: setgroups failed rsync: connection unexpectedly closed (37 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) ----- daemon-gzip-upload log ends FAIL daemon-gzip-upload PASS daemon PASS devices SKIP duplicates (Known minor bug in this code) PASS hands PASS hardlinks PASS longdir SKIP ssh-basic (Skipping SSH tests because $rsync_enable_ssh_tests is not set) PASS symlink-ignore PASS trimslash ------------------------------------------------------------ ----- overall results: 10 passed 2 failed 2 skipped ------------------------------------------------------------ overall result is 2 make: *** [check] Error 2