Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/csync2.spec'], chrootPath='/var/lib/mock/f31-build-99079-33109/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/csync2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/csync2-1.34-25.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/csync2.spec'], chrootPath='/var/lib/mock/f31-build-99079-33109/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/csync2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gua5yZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf csync2-1.34 + /usr/bin/gzip -dc /builddir/build/SOURCES/csync2-1.34.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd csync2-1.34 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (csync2-fix-xinetd.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-xinetd --fuzz=0 + echo 'Patch #1 (csync2-1.34-cfg.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cfg --fuzz=0 + echo 'Patch #2 (0001-use-native-gnutls-drop-openssl-wrappers.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (0001-don-t-hardcode-autofoo-version.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #4 (0001-Fix-gnutls-configure.ac-section.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #5 (0001-Fix-gnutls-Makefile.am-section.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #6 (csync2-1.34-librsync-1.0.0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .librsync-1.0.0 --fuzz=0 + install -p -m 0644 /builddir/build/SOURCES/csync2-README.quickstart README.quickstart + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (csync2-fix-xinetd.patch): patching file csync2.xinetd Patch #1 (csync2-1.34-cfg.patch): patching file csync2.cfg Patch #2 (0001-use-native-gnutls-drop-openssl-wrappers.patch): patching file configure.ac patching file conn.c patching file csync2.c patching file csync2.h patching file csync2.spec patching file daemon.c patching file update.c Patch #3 (0001-don-t-hardcode-autofoo-version.patch): patching file autogen.sh Patch #4 (0001-Fix-gnutls-configure.ac-section.patch): patching file configure.ac Patch #5 (0001-Fix-gnutls-Makefile.am-section.patch): patching file Makefile.am Patch #6 (csync2-1.34-librsync-1.0.0.patch): patching file rsync.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OwDwO0 + umask 022 + cd /builddir/build/BUILD + cd csync2-1.34 + ./autogen.sh + aclocal + autoheader + automake --add-missing --copy BUILDSTDERR: configure.ac:31: installing './compile' BUILDSTDERR: Makefile.am:39: warning: shell test -f librsync.dir && cat librsync.dir || echo ==librsync==: non-POSIX variable name BUILDSTDERR: Makefile.am:39: (probably a GNU make extension) BUILDSTDERR: Makefile.am:40: warning: shell test -f librsync.dir && cat librsync.dir || echo ==librsync==: non-POSIX variable name BUILDSTDERR: Makefile.am:40: (probably a GNU make extension) BUILDSTDERR: Makefile.am:46: warning: shell test -f libsqlite.dir && cat libsqlite.dir || echo ==libsqlite==: non-POSIX variable name BUILDSTDERR: Makefile.am:46: (probably a GNU make extension) BUILDSTDERR: Makefile.am:47: warning: shell test -f libsqlite.dir && cat libsqlite.dir || echo ==libsqlite==: non-POSIX variable name BUILDSTDERR: Makefile.am:47: (probably a GNU make extension) BUILDSTDERR: configure.ac: installing './ylwrap' + autoconf + '[' '' = clean ']' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --sysconfdir=/etc/csync2 BUILDSTDERR: /builddir/build/BUILD/csync2-1.34/missing: Unknown `--is-lightweight' option BUILDSTDERR: Try `/builddir/build/BUILD/csync2-1.34/missing --help' for more information BUILDSTDERR: configure: WARNING: 'missing' script is too old or missing + make -j4 BUILDSTDERR: /builddir/build/BUILD/csync2-1.34/cfgfile_parser.y:388.1-7: warning: POSIX Yacc does not support %expect [-Wyacc] BUILDSTDERR: 388 | %expect 2 BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: cfgfile_parser.y: In function 'new_group': BUILDSTDERR: cfgfile_parser.y:58:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 58 | asprintf(&name, "group_%d", autonum++); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: check.c: In function 'csync_check_del': BUILDSTDERR: check.c:151:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 151 | asprintf(&where_rec, "or 1"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: check.c:153:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 153 | asprintf(&where_rec, "or (filename > '%s/' " BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 154 | "and filename < '%s0')", BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 155 | url_encode(file), url_encode(file)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: action.c: In function 'csync_run_single_command': BUILDSTDERR: action.c:110:3: warning: missing sentinel in function call [-Wformat=] BUILDSTDERR: 110 | execl("/bin/sh", "sh", "-c", real_command, 0); BUILDSTDERR: | ^~~~~ BUILDSTDERR: checktxt.c: In function 'csync_genchecktxt': BUILDSTDERR: checktxt.c:49:11: warning: 'v1' directive output truncated writing 2 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 49 | xxprintf("v1"); BUILDSTDERR: | ^~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:49:13: note: format string is defined here BUILDSTDERR: 49 | xxprintf("v1"); BUILDSTDERR: | ~^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output 3 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:52:12: warning: ':mtime=' directive output truncated writing 7 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 52 | xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:52:14: note: format string is defined here BUILDSTDERR: 52 | xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); BUILDSTDERR: | ~^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 9 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:52:12: warning: ':mtime=' directive output truncated writing 7 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 52 | xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:52:14: note: format string is defined here BUILDSTDERR: 52 | xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); BUILDSTDERR: | ~^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 28 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:55:12: warning: ':mode=' directive output truncated writing 6 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 55 | xxprintf(":mode=%d", (int)st->st_mode); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:55:14: note: format string is defined here BUILDSTDERR: 55 | xxprintf(":mode=%d", (int)st->st_mode); BUILDSTDERR: | ~^~~~~ BUILDSTDERR: checktxt.c:55:12: note: using the range [-2147483648, 2147483647] for directive argument BUILDSTDERR: 55 | xxprintf(":mode=%d", (int)st->st_mode); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 8 and 18 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:58:12: warning: ':uid=' directive output truncated writing 5 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 58 | xxprintf(":uid=%d", (int)st->st_uid); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:58:14: note: format string is defined here BUILDSTDERR: 58 | xxprintf(":uid=%d", (int)st->st_uid); BUILDSTDERR: | ~^~~~ BUILDSTDERR: checktxt.c:58:12: note: using the range [-2147483648, 2147483647] for directive argument BUILDSTDERR: 58 | xxprintf(":uid=%d", (int)st->st_uid); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 17 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:61:12: warning: ':gid=' directive output truncated writing 5 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 61 | xxprintf(":gid=%d", (int)st->st_gid); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:61:14: note: format string is defined here BUILDSTDERR: 61 | xxprintf(":gid=%d", (int)st->st_gid); BUILDSTDERR: | ~^~~~ BUILDSTDERR: checktxt.c:61:12: note: using the range [-2147483648, 2147483647] for directive argument BUILDSTDERR: 61 | xxprintf(":gid=%d", (int)st->st_gid); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 7 and 17 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:64:12: warning: ':type=reg:size=' directive output truncated writing 15 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 64 | xxprintf(":type=reg:size=%Ld", (long long)st->st_size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:64:14: note: format string is defined here BUILDSTDERR: 64 | xxprintf(":type=reg:size=%Ld", (long long)st->st_size); BUILDSTDERR: | ~^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 36 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:67:12: warning: ':type=dir' directive output truncated writing 9 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 67 | xxprintf(":type=dir"); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:67:14: note: format string is defined here BUILDSTDERR: 67 | xxprintf(":type=dir"); BUILDSTDERR: | ~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output 10 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:70:12: warning: ':type=chr:dev=' directive output truncated writing 14 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 70 | xxprintf(":type=chr:dev=%d", (int)st->st_rdev); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:70:14: note: format string is defined here BUILDSTDERR: 70 | xxprintf(":type=chr:dev=%d", (int)st->st_rdev); BUILDSTDERR: | ~^~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:70:12: note: using the range [-2147483648, 2147483647] for directive argument BUILDSTDERR: 70 | xxprintf(":type=chr:dev=%d", (int)st->st_rdev); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 26 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:73:12: warning: ':type=blk:dev=' directive output truncated writing 14 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 73 | xxprintf(":type=blk:dev=%d", (int)st->st_rdev); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:73:14: note: format string is defined here BUILDSTDERR: 73 | xxprintf(":type=blk:dev=%d", (int)st->st_rdev); BUILDSTDERR: | ~^~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:73:12: note: using the range [-2147483648, 2147483647] for directive argument BUILDSTDERR: 73 | xxprintf(":type=blk:dev=%d", (int)st->st_rdev); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 16 and 26 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:76:12: warning: ':type=fifo' directive output truncated writing 10 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 76 | xxprintf(":type=fifo"); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:76:14: note: format string is defined here BUILDSTDERR: 76 | xxprintf(":type=fifo"); BUILDSTDERR: | ~^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output 11 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:82:12: warning: ':type=lnk:target=' directive output truncated writing 17 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 82 | xxprintf(":type=lnk:target=%s", url_encode(tmp)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:82:14: note: format string is defined here BUILDSTDERR: 82 | xxprintf(":type=lnk:target=%s", url_encode(tmp)); BUILDSTDERR: | ~^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 18 or more bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: checktxt.c:86:12: warning: ':type=sock' directive output truncated writing 10 bytes into a region of size 1 [-Wformat-truncation=] BUILDSTDERR: 86 | xxprintf(":type=sock"); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: checktxt.c:36:33: note: in definition of macro 'xxprintf' BUILDSTDERR: 36 | int t = snprintf(&buffer, 1, ##__VA_ARGS__); \ BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: checktxt.c:86:14: note: format string is defined here BUILDSTDERR: 86 | xxprintf(":type=sock"); BUILDSTDERR: | ~^~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from checktxt.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output 11 bytes into a destination of size 1 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for rs_sig_file in -lrsync... yes checking for sqlite_exec in -lsqlite... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBGNUTLS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands /bin/sh ./ylwrap cfgfile_parser.y y.tab.c cfgfile_parser.c y.tab.h `echo cfgfile_parser.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output cfgfile_parser.output -- bison -y -d updating cfgfile_parser.h make all-am make[1]: Entering directory '/builddir/build/BUILD/csync2-1.34' gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o action.o action.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cfgfile_parser.o cfgfile_parser.c /bin/sh ./ylwrap cfgfile_scanner.l lex.yy.c cfgfile_scanner.c -- flex gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o check.o check.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o checktxt.o checktxt.c BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-procsync2.c: In function 'csync_server_loop': BUILDSTDERR: csync2.c:245:58: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] BUILDSTDERR: 245 | int conn = accept(listenfd, (struct sockaddr *) &addr, &addrlen); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/netinet/in.h:23, BUILDSTDERR: from /usr/include/arpa/inet.h:22, BUILDSTDERR: from csync2.c:23: BUILDSTDERR: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 233 | socklen_t *__restrict __addr_len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: csync2.c: In function 'create_keyfile': BUILDSTDERR: csync2.c:208:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 208 | read(rand, &n, 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:209:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 209 | write(fd, matrix+(n&63), 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:211:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 211 | write(fd, "\n", 1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c: In function 'main': BUILDSTDERR: csync2.c:508:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 508 | asprintf(&file_database, "%s/%s.db", dbdir, myhostname); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:509:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 509 | asprintf(&file_config, ETCDIR "/csync2.cfg"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:521:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 521 | asprintf(&file_database, "%s/%s_%s.db", dbdir, myhostname, cfgname); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:522:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 522 | asprintf(&file_config, ETCDIR "/csync2_%s.cfg", cfgname); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:652:7: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 652 | asprintf(&where_rec, "or 1"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:654:7: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 654 | asprintf(&where_rec, "or (filename > '%s/' " BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 655 | "and filename < '%s0')", BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 656 | url_encode(realname), url_encode(realname)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:677:7: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 677 | asprintf(&where_rec, "or 1"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: csync2.c:679:7: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 679 | asprintf(&where_rec, "or (filename > '%s/' " BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 680 | "and filename < '%s0')", BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 681 | url_encode(realname), url_encode(realname)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: daemon.c: In function 'csync_daemon_session': BUILDSTDERR: daemon.c:221:51: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] BUILDSTDERR: 221 | if ( getpeername(0, (struct sockaddr*)&peername, &peerlen) == -1 ) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from daemon.c:24: BUILDSTDERR: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 131 | socklen_t *__restrict __len) __THROW; BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: db.c: In function 'csync_db_sql': BUILDSTDERR: db.c:193:2: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 193 | vasprintf(&sql, fmt, ap); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: db.c: In function 'csync_db_begin': BUILDSTDERR: db.c:225:2: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 225 | vasprintf(&sql, fmt, ap); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: daemon.c: In function 'csync_file_backup': BUILDSTDERR: daemon.c:121:62: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] BUILDSTDERR: 121 | snprintf(backup_filename+bak_dir_len+filename_len, 10, ".%d", i-1); BUILDSTDERR: | ^~ BUILDSTDERR: daemon.c:121:60: note: directive argument in the range [-2147483648, 2147483645] BUILDSTDERR: 121 | snprintf(backup_filename+bak_dir_len+filename_len, 10, ".%d", i-1); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from daemon.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 13 bytes into a destination of size 10 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: daemon.c:122:67: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] BUILDSTDERR: 122 | snprintf(backup_otherfilename+bak_dir_len+filename_len, 10, ".%d", i); BUILDSTDERR: | ^~ BUILDSTDERR: daemon.c:122:65: note: directive argument in the range [-2147483648, 2147483646] BUILDSTDERR: 122 | snprintf(backup_otherfilename+bak_dir_len+filename_len, 10, ".%d", i); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from csync2.h:27, BUILDSTDERR: from daemon.c:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 3 and 13 bytes into a destination of size 10 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: getrealfn.c: In function 'getrealfn': BUILDSTDERR: getrealfn.c:56:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 56 | asprintf(&t2, "%s/%s", t1, tempfn); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: getrealfn.c:111:5: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 111 | asprintf(&t2, "%s/%s", t1, st_mark+1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: getrealfn.c:116:4: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 116 | chdir(oldpwd); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: update.c: In function 'csync_insynctest': BUILDSTDERR: update.c:807:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 807 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: update.c:808:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 808 | printf("L\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; BUILDSTDERR: | ^~~ BUILDSTDERR: update.c:819:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 819 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: update.c:820:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 820 | printf("R\t%s\t%s\t%s\n", myname, peername, r_file); ret=0; BUILDSTDERR: | ^~~ BUILDSTDERR: update.c:830:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 830 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: update.c:831:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 831 | printf("L\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; BUILDSTDERR: | ^~~ BUILDSTDERR: update.c:840:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 840 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: update.c:841:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 841 | printf("X\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; BUILDSTDERR: | ^~~ BUILDSTDERR: update.c:856:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 856 | else BUILDSTDERR: | ^~~~ BUILDSTDERR: update.c:857:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: 857 | printf("R\t%s\t%s\t%s\n", myname, peername, r_file); ret=0; BUILDSTDERR: | ^~~ tection -c -o csync2.o csync2.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o daemon.o daemon.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o db.o db.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o error.o error.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o getrealfn.o getrealfn.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o groups.o groups.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o rsync.o rsync.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o update.o update.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o urlencode.o urlencode.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o conn.o conn.c BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_conn.c: In function 'conn_activate_ssl': BUILDSTDERR: conn.c:174:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 174 | (gnutls_transport_ptr_t)conn_fd_in, BUILDSTDERR: | ^ BUILDSTDERR: conn.c:175:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 175 | (gnutls_transport_ptr_t)conn_fd_out BUILDSTDERR: | ^ BUILDSTDERR: prefixsubst.c: In function 'prefixsubst': BUILDSTDERR: prefixsubst.c:49:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 49 | asprintf(&ringbuff[ringbuff_counter], "%s%s", p->path, path); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: conn.c: In function 'conn_gets': BUILDSTDERR: conn.c:446:21: warning: pointer targets in passing argument 2 of 'conn_debug' differ in signedness [-Wpointer-sign] BUILDSTDERR: 446 | conn_debug("Peer", s, i); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: conn.c:372:55: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 372 | void conn_debug(const char *name, const unsigned char*buf, size_t count) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: cfgfile_scanner.c:1511:16: warning: 'input' defined but not used [-Wunused-function] BUILDSTDERR: 1511 | #else BUILDSTDERR: | ^ BUILDSTDERR: cfgfile_scanner.c:1464:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 1464 | BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o prefixsubst.o prefixsubst.c gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cfgfile_scanner.o cfgfile_scanner.c gcc -I/usr/include/p11-kit-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -lgnutls -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o csync2 action.o cfgfile_parser.o cfgfile_scanner.o check.o checktxt.o csync2.o daemon.o db.o error.o getrealfn.o groups.o rsync.o update.o urlencode.o conn.o prefixsubst.o -lsqlite -lrsync make[1]: Leaving directory '/builddir/build/BUILD/csync2-1.34' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4SaKZY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64 + cd csync2-1.34 + make install DESTDIR=/builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/var/lib/csync2 + install -D -p -m 0644 csync2.xinetd /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/etc/xinetd.d/csync2 + touch /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/etc/csync2/csync2_ssl_key.pem + touch /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/etc/csync2/csync2_ssl_cert.pem + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.34-25.fc31 --unique-debug-suffix -1.34-25.fc31.riscv64 --unique-debug-src-base csync2-1.34-25.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/csync2-1.34 BUILDSTDERR: 528 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs make install-am make[1]: Entering directory '/builddir/build/BUILD/csync2-1.34' make[2]: Entering directory '/builddir/build/BUILD/csync2-1.34' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/sbin' /usr/bin/install -c csync2 '/builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/sbin' /usr/bin/install -c csync2-compare '/builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/sbin' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/etc/csync2 mkdir -p -- /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/etc/csync2 /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/var/lib/csync2 mkdir -p -- /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/var/lib/csync2 test -e /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/etc/csync2/csync2.cfg || \ /usr/bin/install -c -m 644 ./csync2.cfg /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/etc/csync2/csync2.cfg /usr/bin/mkdir -p '/builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 csync2.1 '/builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/csync2-1.34' make[1]: Leaving directory '/builddir/build/BUILD/csync2-1.34' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/sbin/csync2 extracting debug info from /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/sbin/csync2 original debug info size: 404kB, size after compression: 360kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. mangling shebang in /usr/sbin/csync2-compare from /bin/bash to #!/usr/bin/bash Processing files: csync2-1.34-25.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Pv3Ux1 + umask 022 + cd /builddir/build/BUILD + cd csync2-1.34 + DOCDIR=/builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/share/doc/csync2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/share/doc/csync2 + cp -pr README.quickstart /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/share/doc/csync2 + cp -pr paper.pdf /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64/usr/share/doc/csync2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: config(csync2) = 1.34-25.fc31 csync2 = 1.34-25.fc31 csync2(riscv-64) = 1.34-25.fc31 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: /usr/bin/bash ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgnutls.so.30()(64bit) libgnutls.so.30(GNUTLS_3_4)(64bit) librsync.so.2()(64bit) libsqlite.so.0()(64bit) rtld(GNU_HASH) Processing files: csync2-debugsource-1.34-25.fc31.riscv64 Provides: csync2-debugsource = 1.34-25.fc31 csync2-debugsource(riscv-64) = 1.34-25.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: csync2-debuginfo-1.34-25.fc31.riscv64 Provides: csync2-debuginfo = 1.34-25.fc31 csync2-debuginfo(riscv-64) = 1.34-25.fc31 debuginfo(build-id) = 735b72ee60ca5f86f7c094cfc75cc59e3a221b06 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: csync2-debugsource(riscv-64) = 1.34-25.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64 Wrote: /builddir/build/RPMS/csync2-1.34-25.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/csync2-debugsource-1.34-25.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/csync2-debuginfo-1.34-25.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fmU8HX + umask 022 + cd /builddir/build/BUILD + cd csync2-1.34 + /usr/bin/rm -rf /builddir/build/BUILDROOT/csync2-1.34-25.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0