* Package: app-arch/tarsync-0.2.1-r1 * Repository: gentoo * Maintainer: maintainer-needed@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: ccache sandbox userpriv usersandbox * FEATURES='assume-digests binpkg-logs ccache cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox multilib-strict network-sandbox news parallel-install protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr' * CFLAGS='-march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3' * CXXFLAGS='-march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3' * FFLAGS='-march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3' * FCFLAGS='-march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3' * MAKEOPTS=' -j3' * gcc (Gentoo 5.1.0 p1.0, pie-0.6.3) 5.1.0 * Linux clover 3.19.6-hardened #1 SMP Fri May 1 08:56:33 CEST 2015 x86_64 Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz GenuineIntel GNU/Linux >>> Unpacking source... >>> Unpacking tarsync-0.2.1.tar.bz2 to /var/tmp/portage/app-arch/tarsync-0.2.1-r1/work >>> Source unpacked in /var/tmp/portage/app-arch/tarsync-0.2.1-r1/work >>> Preparing source in /var/tmp/portage/app-arch/tarsync-0.2.1-r1/work/tarsync ... * Applying tarsync-0.2.1-make.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-arch/tarsync-0.2.1-r1/work/tarsync ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-arch/tarsync-0.2.1-r1/work/tarsync ... make -j3 x86_64-pc-linux-gnu-gcc -Wall -D_GNU_SOURCE -march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -c main.c -o main.o x86_64-pc-linux-gnu-gcc -Wall -D_GNU_SOURCE -march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -c names.c -o names.o x86_64-pc-linux-gnu-gcc -Wall -D_GNU_SOURCE -march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -c tar.c -o tar.o x86_64-pc-linux-gnu-gcc -Wall -D_GNU_SOURCE -march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -c string-misc.c -o string-misc.o tar.c: In function 'read_entry': tar.c:137:13: warning: pointer targets in passing argument 1 of 'strnlen' differ in signedness [-Wpointer-sign] if(strnlen(block, 512)==0) { ^ In file included from string-misc.h:22:0, from tar.c:19: /usr/include/string.h:405:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strnlen (const char *__string, size_t __maxlen) ^ tar.c:149:29: warning: pointer targets in passing argument 1 of 'octal_str2long' differ in signedness [-Wpointer-sign] name_len = octal_str2long(block + TAR_SIZE_LOC, TAR_SIZE_LEN); ^ tar.c:43:22: note: expected 'const char *' but argument is of type 'unsigned char *' inline unsigned long octal_str2long(const char *string, unsigned int length) ^ tar.c:156:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if((entry->fullname = ^ tar.c:179:22: warning: pointer targets in passing argument 1 of 'strnlen' differ in signedness [-Wpointer-sign] name_len = strnlen(block + TAR_NAME_LOC, TAR_NAME_LEN); ^ In file included from string-misc.h:22:0, from tar.c:19: /usr/include/string.h:405:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strnlen (const char *__string, size_t __maxlen) ^ tar.c:180:24: warning: pointer targets in passing argument 1 of 'strnlen' differ in signedness [-Wpointer-sign] prefix_len = strnlen(block + TAR_PREFIX_LOC, TAR_PREFIX_LEN); ^ In file included from string-misc.h:22:0, from tar.c:19: /usr/include/string.h:405:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strnlen (const char *__string, size_t __maxlen) ^ tar.c:184:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if((entry->fullname = ^ tar.c:205:31: warning: pointer targets in passing argument 1 of 'octal_str2long' differ in signedness [-Wpointer-sign] entry->size = octal_str2long(block + TAR_SIZE_LOC, TAR_SIZE_LEN); ^ tar.c:43:22: note: expected 'const char *' but argument is of type 'unsigned char *' inline unsigned long octal_str2long(const char *string, unsigned int length) ^ tar.c:206:32: warning: pointer targets in passing argument 1 of 'octal_str2long' differ in signedness [-Wpointer-sign] entry->mtime = octal_str2long(block + TAR_MTIME_LOC, TAR_MTIME_LEN); ^ tar.c:43:22: note: expected 'const char *' but argument is of type 'unsigned char *' inline unsigned long octal_str2long(const char *string, unsigned int length) ^ tar.c:207:31: warning: pointer targets in passing argument 1 of 'octal_str2long' differ in signedness [-Wpointer-sign] entry->mode = octal_str2long(block + TAR_MODE_LOC, TAR_MODE_LEN); ^ tar.c:43:22: note: expected 'const char *' but argument is of type 'unsigned char *' inline unsigned long octal_str2long(const char *string, unsigned int length) ^ tar.c:239:13: warning: pointer targets in passing argument 1 of 'get_gid' differ in signedness [-Wpointer-sign] if(get_gid(block + TAR_GNAME_LOC, &entry->gid)) ^ In file included from tar.c:24:0: names.h:23:5: note: expected 'const char *' but argument is of type 'unsigned char *' int get_gid(const char *gname, gid_t *gid); ^ tar.c:240:31: warning: pointer targets in passing argument 1 of 'octal_str2long' differ in signedness [-Wpointer-sign] entry->gid = octal_str2long(block + TAR_GID_LOC, TAR_GID_LOC); ^ tar.c:43:22: note: expected 'const char *' but argument is of type 'unsigned char *' inline unsigned long octal_str2long(const char *string, unsigned int length) ^ tar.c:242:13: warning: pointer targets in passing argument 1 of 'get_uid' differ in signedness [-Wpointer-sign] if(get_uid(block + TAR_UNAME_LOC, &entry->uid)) ^ In file included from tar.c:24:0: names.h:22:5: note: expected 'const char *' but argument is of type 'unsigned char *' int get_uid(const char *uname, uid_t *uid); ^ tar.c:243:31: warning: pointer targets in passing argument 1 of 'octal_str2long' differ in signedness [-Wpointer-sign] entry->uid = octal_str2long(block + TAR_UID_LOC, TAR_UID_LOC); ^ tar.c:43:22: note: expected 'const char *' but argument is of type 'unsigned char *' inline unsigned long octal_str2long(const char *string, unsigned int length) ^ In file included from tar.h:22:0, from tar.c:23: tar.c: At top level: /usr/include/cfile.h:181:13: warning: inline function 'set_last_lseeker' declared but never defined inline void set_last_lseeker(cfile *cfh); ^ /usr/include/cfile.h:180:13: warning: inline function 'flag_lseek_needed' declared but never defined inline void flag_lseek_needed(cfile *cfh); ^ /usr/include/cfile.h:179:19: warning: inline function 'ensure_lseek_position' declared but never defined inline signed int ensure_lseek_position(cfile *cfh); ^ x86_64-pc-linux-gnu-gcc -Wall -D_GNU_SOURCE -march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -c fs.c -o fs.o x86_64-pc-linux-gnu-gcc -Wall -D_GNU_SOURCE -march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -c options.c -o options.o x86_64-pc-linux-gnu-gcc -Wall -D_GNU_SOURCE -march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 -c excludes.c -o excludes.o main.c:683:48: warning: 'check_mtime' is static but used in inline function 'check_existing_node' which is not static if(REGTYPE == type && (st->st_size != t->size || (check_mtime && t->mtime != st->st_mtime))) ^ In file included from main.c:33:0: excludes.h:33:12: warning: inline function 'match_excludes' declared but never defined inline int match_excludes(const char *dir, const char *file, fnm_exclude **excludes); ^ In file included from main.c:29:0: tar.h:92:22: warning: inline function 'octal_str2long' declared but never defined inline unsigned long octal_str2long(const char *string, unsigned int length); ^ In file included from tar.h:22:0, from main.c:29: /usr/include/cfile.h:181:13: warning: inline function 'set_last_lseeker' declared but never defined inline void set_last_lseeker(cfile *cfh); ^ /usr/include/cfile.h:180:13: warning: inline function 'flag_lseek_needed' declared but never defined inline void flag_lseek_needed(cfile *cfh); ^ /usr/include/cfile.h:179:19: warning: inline function 'ensure_lseek_position' declared but never defined inline signed int ensure_lseek_position(cfile *cfh); ^ main.c: In function 'main': main.c:269:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^ main.c: In function 'ensure_files_layout': main.c:436:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^ main.c:601:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(".."); ^ x86_64-pc-linux-gnu-gcc -march=native -O2 -fno-ident -pipe -maes -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfma -mlzcnt -mmmx -mpclmul -mpopcnt -mrdrnd -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mssse3 main.o names.o tar.o string-misc.o fs.o options.o excludes.o -o tarsync -lcfile main.o: In function `ensure_files_layout': main.c:(.text+0x5ed): undefined reference to `match_excludes' main.c:(.text+0x738): undefined reference to `match_excludes' main.c:(.text+0x892): undefined reference to `match_excludes' main.c:(.text+0xba9): undefined reference to `match_excludes' main.c:(.text+0xd0a): undefined reference to `match_excludes' main.o:main.c:(.text+0xdd5): more undefined references to `match_excludes' follow collect2: error: ld returned 1 exit status Makefile:5: recipe for target 'tarsync' failed make: *** [tarsync] Error 1 * ERROR: app-arch/tarsync-0.2.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-arch/tarsync-0.2.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/tarsync-0.2.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-arch:tarsync-0.2.1-r1:20150504-095938.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-arch/tarsync-0.2.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-arch/tarsync-0.2.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-arch/tarsync-0.2.1-r1/work/tarsync' * S: '/var/tmp/portage/app-arch/tarsync-0.2.1-r1/work/tarsync'