rsync-bpc breaks tests?
Richard Shaw <[email protected]> Wed, 15 Mar 2017 18:58:10 -0500
| Newsgroups | gmane.comp.sysutils.backup.backuppc.devel |
|---|---|
| Message-ID | <CAN3TeO3OZ-zTm78VV9xrY1untsHOgtNpHcSxBFtNAX8Hnno=1g@mail.gmail.com> |
While working on submitting rsync-bpc for Fedora I noticed that "make check" doesn't appear to work due to lots of undefined references. I assume this has to do with the "bpc_" prefix to a lot of the functions... Can this be fixed? It would be nice to know if all tests pass... $ make check gcc -I. -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_CONFIG_H -Wall -W -c tls.c -o tls.o gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -DHAVE_CONFIG_H -Wall -W -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tls tls.o syscall.o lib/compat.o lib/snprintf.o lib/permstring.o lib/sysxattrs.o -lacl -lpopt syscall.o: In function `do_chmod': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:114: undefined reference to `bpc_lchmod' syscall.o: In function `do_ftruncate': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:153: undefined reference to `bpc_ftruncate' syscall.o: In function `do_lutimes': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:242: undefined reference to `bpc_lutimes' syscall.o: In function `do_unlink': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:53: undefined reference to `bpc_unlink' syscall.o: In function `do_symlink': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:60: undefined reference to `bpc_symlink' syscall.o: In function `do_link': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:68: undefined reference to `bpc_link' syscall.o: In function `do_lchown': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:79: undefined reference to `bpc_lchown' syscall.o: In function `do_mknod': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:87: undefined reference to `bpc_mknod' syscall.o: In function `do_rmdir': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:94: undefined reference to `bpc_rmdir' syscall.o: In function `do_open': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:104: undefined reference to `bpc_open' /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:104: undefined reference to `bpc_open' syscall.o: In function `do_rename': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:141: undefined reference to `bpc_rename' syscall.o: In function `do_mkdir': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:183: undefined reference to `bpc_mkdir' syscall.o: In function `do_mkstemp': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:195: undefined reference to `bpc_mkstemp' syscall.o: In function `do_stat': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:212: undefined reference to `bpc_stat' syscall.o: In function `do_lstat': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:217: undefined reference to `bpc_lstat' syscall.o: In function `do_fstat': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:222: undefined reference to `bpc_fstat' syscall.o: In function `do_lseek': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:227: undefined reference to `bpc_lseek' syscall.o: In function `do_utime': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/syscall.c:264: undefined reference to `bpc_utime' lib/sysxattrs.o: In function `sys_lgetxattr': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/lib/sysxattrs.c:31: undefined reference to `bpc_lgetxattr' lib/sysxattrs.o: In function `sys_fgetxattr': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/lib/sysxattrs.c:36: undefined reference to `bpc_fgetxattr' lib/sysxattrs.o: In function `sys_lsetxattr': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/lib/sysxattrs.c:41: undefined reference to `bpc_lsetxattr' lib/sysxattrs.o: In function `sys_lremovexattr': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/lib/sysxattrs.c:46: undefined reference to `bpc_lremovexattr' lib/sysxattrs.o: In function `sys_llistxattr': /home/build/rpmbuild/rsync-bpc/BUILD/rsync-bpc-3_0_9_5/lib/sysxattrs.c:51: undefined reference to `bpc_llistxattr' collect2: error: ld returned 1 exit status Makefile:101: recipe for target 'tls' failed make: *** [tls] Error 1 Thanks, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ BackupPC-devel mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/