Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/csync2.spec'], chrootPath='/var/lib/mock/f33-build-288004-53948/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=987gid=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=1595808000 Wrote: /builddir/build/SRPMS/csync2-1.34-27.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/csync2.spec'], chrootPath='/var/lib/mock/f33-build-288004-53948/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=987gid=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=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CreO97 + 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):' Patch #0 (csync2-fix-xinetd.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-xinetd --fuzz=0 patching file csync2.xinetd + echo 'Patch #1 (csync2-1.34-cfg.patch):' Patch #1 (csync2-1.34-cfg.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cfg --fuzz=0 patching file csync2.cfg Patch #2 (0001-use-native-gnutls-drop-openssl-wrappers.patch): + echo 'Patch #2 (0001-use-native-gnutls-drop-openssl-wrappers.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 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): + echo 'Patch #3 (0001-don-t-hardcode-autofoo-version.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file autogen.sh + echo 'Patch #4 (0001-Fix-gnutls-configure.ac-section.patch):' Patch #4 (0001-Fix-gnutls-configure.ac-section.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #5 (0001-Fix-gnutls-Makefile.am-section.patch): + echo 'Patch #5 (0001-Fix-gnutls-Makefile.am-section.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.am Patch #6 (csync2-1.34-librsync-1.0.0.patch): + 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 patching file rsync.c + install -p -m 0644 /builddir/build/SOURCES/csync2-README.quickstart README.quickstart + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JuhoU8 + umask 022 + cd /builddir/build/BUILD + cd csync2-1.34 + ./autogen.sh + aclocal + autoheader + automake --add-missing --copy configure.ac:31: installing './compile' Makefile.am:39: warning: shell test -f librsync.dir && cat librsync.dir || echo ==librsync==: non-POSIX variable name Makefile.am:39: (probably a GNU make extension) Makefile.am:40: warning: shell test -f librsync.dir && cat librsync.dir || echo ==librsync==: non-POSIX variable name Makefile.am:40: (probably a GNU make extension) Makefile.am:46: warning: shell test -f libsqlite.dir && cat libsqlite.dir || echo ==libsqlite==: non-POSIX variable name Makefile.am:46: (probably a GNU make extension) Makefile.am:47: warning: shell test -f libsqlite.dir && cat libsqlite.dir || echo ==libsqlite==: non-POSIX variable name Makefile.am:47: (probably a GNU make extension) configure.ac: installing './ylwrap' + autoconf + '[' '' = clean ']' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/csync2-1.34/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/csync2-1.34/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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... 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 + make -j4 /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 /builddir/build/BUILD/csync2-1.34/cfgfile_parser.y:388.1-7: warning: POSIX Yacc does not support %expect [-Wyacc] 388 | %expect 2 | ^~~~~~~ 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o checktxt.o checktxt.c cfgfile_parser.y: In function 'new_group': cfgfile_parser.y:58:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | asprintf(&name, "group_%d", autonum++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ action.c: In function 'csync_run_single_command': action.c:110:3: warning: missing sentinel in function call [-Wformat=] 110 | execl("/bin/sh", "sh", "-c", real_command, 0); | ^~~~~ check.c: In function 'csync_check_del': check.c:151:4: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 151 | asprintf(&where_rec, "or 1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ check.c:153:4: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 153 | asprintf(&where_rec, "or (filename > '%s/' " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 154 | "and filename < '%s0')", | ~~~~~~~~~~~~~~~~~~~~~~~~ 155 | url_encode(file), url_encode(file)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c: In function 'csync_genchecktxt': checktxt.c:49:11: warning: 'v1' directive output truncated writing 2 bytes into a region of size 1 [-Wformat-truncation=] 49 | xxprintf("v1"); | ^~~~ checktxt.c:49:13: note: format string is defined here 49 | xxprintf("v1"); | ~^ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output 3 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:52:12: warning: ':mtime=' directive output truncated writing 7 bytes into a region of size 1 [-Wformat-truncation=] 52 | xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); | ^~~~~~~~~~~~ checktxt.c:52:14: note: format string is defined here 52 | xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); | ~^~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 9 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:52:12: warning: ':mtime=' directive output truncated writing 7 bytes into a region of size 1 [-Wformat-truncation=] 52 | xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); | ^~~~~~~~~~~~ checktxt.c:52:14: note: format string is defined here 52 | xxprintf(":mtime=%Ld", ign_mtime ? (long long)0 : (long long)st->st_mtime); | ~^~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 9 and 28 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:55:12: warning: ':mode=' directive output truncated writing 6 bytes into a region of size 1 [-Wformat-truncation=] 55 | xxprintf(":mode=%d", (int)st->st_mode); | ^~~~~~~~~~ checktxt.c:55:14: note: format string is defined here 55 | xxprintf(":mode=%d", (int)st->st_mode); | ~^~~~~ checktxt.c:55:12: note: using the range [-2147483648, 2147483647] for directive argument 55 | xxprintf(":mode=%d", (int)st->st_mode); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 8 and 18 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:58:12: warning: ':uid=' directive output truncated writing 5 bytes into a region of size 1 [-Wformat-truncation=] 58 | xxprintf(":uid=%d", (int)st->st_uid); | ^~~~~~~~~ checktxt.c:58:14: note: format string is defined here 58 | xxprintf(":uid=%d", (int)st->st_uid); | ~^~~~ checktxt.c:58:12: note: using the range [-2147483648, 2147483647] for directive argument 58 | xxprintf(":uid=%d", (int)st->st_uid); | ^~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 17 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:61:12: warning: ':gid=' directive output truncated writing 5 bytes into a region of size 1 [-Wformat-truncation=] 61 | xxprintf(":gid=%d", (int)st->st_gid); | ^~~~~~~~~ checktxt.c:61:14: note: format string is defined here 61 | xxprintf(":gid=%d", (int)st->st_gid); | ~^~~~ checktxt.c:61:12: note: using the range [-2147483648, 2147483647] for directive argument 61 | xxprintf(":gid=%d", (int)st->st_gid); | ^~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 7 and 17 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:64:12: warning: ':type=reg:size=' directive output truncated writing 15 bytes into a region of size 1 [-Wformat-truncation=] 64 | xxprintf(":type=reg:size=%Ld", (long long)st->st_size); | ^~~~~~~~~~~~~~~~~~~~ checktxt.c:64:14: note: format string is defined here 64 | xxprintf(":type=reg:size=%Ld", (long long)st->st_size); | ~^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 17 and 36 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:67:12: warning: ':type=dir' directive output truncated writing 9 bytes into a region of size 1 [-Wformat-truncation=] 67 | xxprintf(":type=dir"); | ^~~~~~~~~~~ checktxt.c:67:14: note: format string is defined here 67 | xxprintf(":type=dir"); | ~^~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output 10 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:70:12: warning: ':type=chr:dev=' directive output truncated writing 14 bytes into a region of size 1 [-Wformat-truncation=] 70 | xxprintf(":type=chr:dev=%d", (int)st->st_rdev); | ^~~~~~~~~~~~~~~~~~ checktxt.c:70:14: note: format string is defined here 70 | xxprintf(":type=chr:dev=%d", (int)st->st_rdev); | ~^~~~~~~~~~~~~ checktxt.c:70:12: note: using the range [-2147483648, 2147483647] for directive argument 70 | xxprintf(":type=chr:dev=%d", (int)st->st_rdev); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 26 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:73:12: warning: ':type=blk:dev=' directive output truncated writing 14 bytes into a region of size 1 [-Wformat-truncation=] 73 | xxprintf(":type=blk:dev=%d", (int)st->st_rdev); | ^~~~~~~~~~~~~~~~~~ checktxt.c:73:14: note: format string is defined here 73 | xxprintf(":type=blk:dev=%d", (int)st->st_rdev); | ~^~~~~~~~~~~~~ checktxt.c:73:12: note: using the range [-2147483648, 2147483647] for directive argument 73 | xxprintf(":type=blk:dev=%d", (int)st->st_rdev); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 16 and 26 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:76:12: warning: ':type=fifo' directive output truncated writing 10 bytes into a region of size 1 [-Wformat-truncation=] 76 | xxprintf(":type=fifo"); | ^~~~~~~~~~~~ checktxt.c:76:14: note: format string is defined here 76 | xxprintf(":type=fifo"); | ~^~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output 11 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:82:12: warning: ':type=lnk:target=' directive output truncated writing 17 bytes into a region of size 1 [-Wformat-truncation=] 82 | xxprintf(":type=lnk:target=%s", url_encode(tmp)); | ^~~~~~~~~~~~~~~~~~~~~ checktxt.c:82:14: note: format string is defined here 82 | xxprintf(":type=lnk:target=%s", url_encode(tmp)); | ~^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output 18 or more bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ checktxt.c:86:12: warning: ':type=sock' directive output truncated writing 10 bytes into a region of size 1 [-Wformat-truncation=] 86 | xxprintf(":type=sock"); | ^~~~~~~~~~~~ checktxt.c:86:14: note: format string is defined here 86 | xxprintf(":type=sock"); | ~^~~~~~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from checktxt.c:21: /usr/include/bits/stdio2.h:70:10: note: 'snprintf' output 11 bytes into a destination of size 1 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o db.o db.c csync2.c: In function 'csync_server_loop': csync2.c:245:58: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 245 | int conn = accept(listenfd, (struct sockaddr *) &addr, &addrlen); | ^~~~~~~~ | | | int * In file included from /usr/include/netinet/in.h:23, from /usr/include/arpa/inet.h:22, from csync2.c:23: /usr/include/sys/socket.h:233:28: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 233 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ csync2.c: In function 'create_keyfile': csync2.c:208:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 208 | read(rand, &n, 1); | ^~~~~~~~~~~~~~~~~ csync2.c:209:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 209 | write(fd, matrix+(n&63), 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ csync2.c:211:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 211 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ csync2.c: In function 'main': csync2.c:508:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 508 | asprintf(&file_database, "%s/%s.db", dbdir, myhostname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csync2.c:509:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 509 | asprintf(&file_config, ETCDIR "/csync2.cfg"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csync2.c:521:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 521 | asprintf(&file_database, "%s/%s_%s.db", dbdir, myhostname, cfgname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csync2.c:522:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 522 | asprintf(&file_config, ETCDIR "/csync2_%s.cfg", cfgname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csync2.c:652:7: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 652 | asprintf(&where_rec, "or 1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ csync2.c:654:7: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 654 | asprintf(&where_rec, "or (filename > '%s/' " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 655 | "and filename < '%s0')", | ~~~~~~~~~~~~~~~~~~~~~~~~ 656 | url_encode(realname), url_encode(realname)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csync2.c:677:7: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 677 | asprintf(&where_rec, "or 1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ csync2.c:679:7: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 679 | asprintf(&where_rec, "or (filename > '%s/' " | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 680 | "and filename < '%s0')", | ~~~~~~~~~~~~~~~~~~~~~~~~ 681 | url_encode(realname), url_encode(realname)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ daemon.c: In function 'csync_daemon_session': daemon.c:221:51: warning: pointer targets in passing argument 3 of 'getpeername' differ in signedness [-Wpointer-sign] 221 | if ( getpeername(0, (struct sockaddr*)&peername, &peerlen) == -1 ) | ^~~~~~~~ | | | int * In file included from daemon.c:24: /usr/include/sys/socket.h:131:26: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 131 | socklen_t *__restrict __len) __THROW; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~ db.c: In function 'csync_db_sql': db.c:193:2: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 193 | vasprintf(&sql, fmt, ap); | ^~~~~~~~~~~~~~~~~~~~~~~~ db.c: In function 'csync_db_begin': db.c:225:2: warning: ignoring return value of 'vasprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 225 | vasprintf(&sql, fmt, ap); | ^~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o error.o error.c daemon.c: In function 'csync_file_backup': 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=] 121 | snprintf(backup_filename+bak_dir_len+filename_len, 10, ".%d", i-1); | ^~ daemon.c:121:60: note: directive argument in the range [-2147483648, 2147483645] 121 | snprintf(backup_filename+bak_dir_len+filename_len, 10, ".%d", i-1); | ^~~~~ In file included from /usr/include/stdio.h:866, from csync2.h:27, from daemon.c:21: /usr/include/bits/stdio2.h:70:10: note: '__snprintf_chk' output between 3 and 13 bytes into a destination of size 10 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o groups.o groups.c getrealfn.c: In function 'getrealfn': getrealfn.c:56:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | asprintf(&t2, "%s/%s", t1, tempfn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getrealfn.c:111:5: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 111 | asprintf(&t2, "%s/%s", t1, st_mark+1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getrealfn.c:116:4: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | chdir(oldpwd); | ^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o conn.o conn.c update.c: In function 'csync_insynctest': update.c:807:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 807 | else | ^~~~ update.c:808:59: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 808 | printf("L\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; | ^~~ update.c:819:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 819 | else | ^~~~ update.c:820:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 820 | printf("R\t%s\t%s\t%s\n", myname, peername, r_file); ret=0; | ^~~ update.c:830:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 830 | else | ^~~~ update.c:831:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 831 | printf("L\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; | ^~~ update.c:840:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 840 | else | ^~~~ update.c:841:62: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 841 | printf("X\t%s\t%s\t%s\n", myname, peername, l_file); ret=0; | ^~~ update.c:856:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 856 | else | ^~~~ update.c:857:58: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 857 | printf("R\t%s\t%s\t%s\n", myname, peername, r_file); ret=0; | ^~~ gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o prefixsubst.o prefixsubst.c conn.c: In function 'conn_activate_ssl': conn.c:174:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 174 | (gnutls_transport_ptr_t)conn_fd_in, | ^ conn.c:175:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 175 | (gnutls_transport_ptr_t)conn_fd_out | ^ conn.c: In function 'conn_gets': conn.c:446:21: warning: pointer targets in passing argument 2 of 'conn_debug' differ in signedness [-Wpointer-sign] 446 | conn_debug("Peer", s, i); | ^ | | | char * conn.c:372:55: note: expected 'const unsigned char *' but argument is of type 'char *' 372 | void conn_debug(const char *name, const unsigned char*buf, size_t count) | ~~~~~~~~~~~~~~~~~~~~^~~ prefixsubst.c: In function 'prefixsubst': prefixsubst.c:49:4: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | asprintf(&ringbuff[ringbuff_counter], "%s%s", p->path, path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -D'DBDIR="/var/lib/csync2"' -D'ETCDIR="/etc/csync2"' -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o cfgfile_scanner.o cfgfile_scanner.c cfgfile_scanner.c:1511:16: warning: 'input' defined but not used [-Wunused-function] 1511 | #else | ^ cfgfile_scanner.c:1464:17: warning: 'yyunput' defined but not used [-Wunused-function] 1464 | | ^ gcc -I/usr/include/p11-kit-1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.pcG6Ha + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64 + cd csync2-1.34 + make install DESTDIR=/builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64 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-27.fc33.riscv64/usr/sbin' /usr/bin/install -c csync2 '/builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/sbin' /usr/bin/install -c csync2-compare '/builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/sbin' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/etc/csync2 mkdir -p -- /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/etc/csync2 /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/var/lib/csync2 mkdir -p -- /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/var/lib/csync2 test -e /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/etc/csync2/csync2.cfg || \ /usr/bin/install -c -m 644 ./csync2.cfg /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/etc/csync2/csync2.cfg /usr/bin/mkdir -p '/builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/share/man/man1' /usr/bin/install -c -m 644 csync2.1 '/builddir/build/BUILDROOT/csync2-1.34-27.fc33.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' + mkdir -p /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/var/lib/csync2 + install -D -p -m 0644 csync2.xinetd /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/etc/xinetd.d/csync2 + touch /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/etc/csync2/csync2_ssl_key.pem + touch /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/etc/csync2/csync2_ssl_cert.pem + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.34-27.fc33 --unique-debug-suffix -1.34-27.fc33.riscv64 --unique-debug-src-base csync2-1.34-27.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/csync2-1.34 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/sbin/csync2 extracting debug info from /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/sbin/csync2 original debug info size: 972kB, size after compression: 940kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 531 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/sbin/csync2-compare from /bin/bash to #!/usr/bin/bash Processing files: csync2-1.34-27.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lbvJpa + umask 022 + cd /builddir/build/BUILD + cd csync2-1.34 + DOCDIR=/builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/share/doc/csync2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/share/doc/csync2 + cp -pr README.quickstart /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/share/doc/csync2 + cp -pr paper.pdf /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64/usr/share/doc/csync2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(csync2) = 1.34-27.fc33 csync2 = 1.34-27.fc33 csync2(riscv-64) = 1.34-27.fc33 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-27.fc33.riscv64 Provides: csync2-debugsource = 1.34-27.fc33 csync2-debugsource(riscv-64) = 1.34-27.fc33 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-27.fc33.riscv64 Provides: csync2-debuginfo = 1.34-27.fc33 csync2-debuginfo(riscv-64) = 1.34-27.fc33 debuginfo(build-id) = bda7430f13bcbc16d1825e7c9b043775a2a9fec9 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-27.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64 Wrote: /builddir/build/RPMS/csync2-1.34-27.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/csync2-debuginfo-1.34-27.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/csync2-debugsource-1.34-27.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.42vQbc + umask 022 + cd /builddir/build/BUILD + cd csync2-1.34 + /usr/bin/rm -rf /builddir/build/BUILDROOT/csync2-1.34-27.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0