D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/sendfile-2.1b-16.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kZKXyE + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + test -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XAIoUh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + rm -rf sendfile-2.1b + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sendfile-2.1b.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd sendfile-2.1b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/sendfile-2.1b-fix-str-fmt.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/sendfile-fix-build-with-gcc14.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub develop/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.286LBB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 + cd sendfile-2.1b + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX' 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ./makeconfig checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for string.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for readline in -lreadline... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for struct stat.st_blksize... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking return type of signal handlers... void checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking whether utime accepts a null argument... yes checking for gethostname... yes checking for gettimeofday... yes checking for mkdir... yes checking for socket... yes checking for uname... yes checking for strerror... yes checking for snprintf... yes configure: creating ./config.status config.status: creating ../src/config.h config.status: executing default-1 commands now in /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src creating globals.h creating Makefile cd src; make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c message.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c pstring.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c getline.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c lock.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c sendmsg.c sendmsg.c: In function 'main': sendmsg.c:436:32: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4091 [-Wformat-truncation=] 436 | snprintf(MAXS(line),"MSG %s",utf_msg); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:970, from sendmsg.c:62: In function 'snprintf', inlined from 'main' at sendmsg.c:436:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 12292 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c io.c io.c: In function 'rmtmpdir': io.c:387:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 387 | chdir(cwd); | ^~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c peername.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c string.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c address.c address.c: In function 'destination': address.c:140:5: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result] 140 | symlink(tmp,userconfig); | ^~~~~~~~~~~~~~~~~~~~~~~ address.c:134:28: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] 134 | snprintf(user,FLEN-1,"%s %s",pwe->pw_name,gecos); | ^~ ~~~~~ In file included from /usr/include/stdio.h:970, from address.c:53: In function 'snprintf', inlined from 'destination' at address.c:134:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ address.c: In function 'destination': address.c:190:33: warning: '/aliases' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 190 | snprintf(MAXS(aliasfile),"%s/aliases",userconfig); | ^~~~~~~~ In function 'snprintf', inlined from 'destination' at address.c:190:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ address.c: In function 'destination': address.c:145:27: warning: '/msg@' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 145 | snprintf(MAXS(tmp),"%s/msg@%s",userconfig,localhost); | ^~~~~ In function 'snprintf', inlined from 'destination' at address.c:145:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ address.c: In function 'destination': address.c:152:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 152 | snprintf(recipient,FLEN-1,"%s",line); | ^~ ~~~~ In function 'snprintf', inlined from 'destination' at address.c:152:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin_snprintf' output between 1 and 4096 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c utf7.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c utf7encode.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c reply.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c wlock.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld utf7encode.o message.o utf7.o pstring.o string.o io.o -o utf7encode -lreadline -L/usr/lib/termcap -ltermcap ln -s utf7encode utf7decode make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld wlock.o string.o -o wlock make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c net.c net.c: In function 'send_data': net.c:734:30: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 734 | sscanf(&reply[4],"%lld",&offset); | ~~~^ ~~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld net.c:778:48: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 778 | snprintf(MAXS(tmp),"resuming %s at byte %lld",iso_name,offset); | ~~~^ ~~~~~~ | | | | | off_t {aka long int} | long long int | %ld net.c:783:54: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 783 | snprintf(MAXS(tmp),"begin transfer of %s with %lld bytes",fname,size); | ~~~^ ~~~~ | | | | long long int off_t {aka long int} | %ld net.c:830:42: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'off_t' {aka 'long int'} [-Wformat=] 830 | fprintf(stderr,"%s%s: %3d%% (%lld of %lld kB)\r", | ~~~^ | | | long long int | %ld 831 | tinfo,fname,percent, 832 | (bytes+offset-1)/1024+1,(size+offset-1)/1024+1); | ~~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} net.c:830:50: warning: format '%lld' expects argument of type 'long long int', but argument 7 has type 'off_t' {aka 'long int'} [-Wformat=] 830 | fprintf(stderr,"%s%s: %3d%% (%lld of %lld kB)\r", | ~~~^ | | | long long int | %ld 831 | tinfo,fname,percent, 832 | (bytes+offset-1)/1024+1,(size+offset-1)/1024+1); | ~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} net.c:896:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 896 | fprintf(stderr,"%lld kB, ",bytes/1024); | ~~~^ ~~~~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld net.c:898:28: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'off_t' {aka 'long int'} [-Wformat=] 898 | fprintf(stderr,"%lld byte, ",bytes); | ~~~^ ~~~~~ | | | | | off_t {aka long int} | long long int | %ld net.c: In function 'getreply': net.c:568:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4081 [-Wformat-truncation=] 568 | snprintf(MAXS(msg),"server error: %s",&reply[4]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from net.c:71: In function 'snprintf', inlined from 'getreply' at net.c:568:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 15 and 4110 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld sendmsg.o message.o utf7.o pstring.o string.o io.o net.o address.o getline.o -o sendmsg -lreadline -L/usr/lib/termcap -ltermcap make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c fetchfile.c fetchfile.c: In function 'main': fetchfile.c:195:3: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 195 | getcwd(MAXS(swd)); | ^~~~~~~~~~~~~~~~~ fetchfile.c:224:5: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | symlink(tmp,userconfig); | ^~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:476:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 476 | system(cmd); | ^~~~~~~~~~~ fetchfile.c: In function 'rexit': fetchfile.c:760:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 760 | system(rfilen); | ^~~~~~~~~~~~~~ fetchfile.c: In function 'get_file': fetchfile.c:1017:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1017 | write(shfd,line+4,strlen(line+4)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1114:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1114 | write(fileno(stdout),packet,chunk); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c:1126:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1126 | write(sdfd,packet,chunk); | ^~~~~~~~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'rexit': fetchfile.c:754:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4073 [-Wformat-truncation=] 754 | snprintf(MAXS(tmp),"cannot change back to %s",swd); | ^~ ~~~ In file included from /usr/include/stdio.h:970, from fetchfile.c:36: In function 'snprintf', inlined from 'rexit' at fetchfile.c:754:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 23 and 4118 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'get_list': fetchfile.c:830:55: warning: '%s' directive output may be truncated writing up to 4091 bytes into a region of size 4067 [-Wformat-truncation=] 830 | snprintf(MAXS(tmp),"invalid answer from server: %s",line+4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In function 'snprintf', inlined from 'get_list' at fetchfile.c:830:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 29 and 4120 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'init': fetchfile.c:1201:22: warning: '/config' directive writing 7 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1201 | sprintf(configf,"%s/config",userconfig); | ^~~~~~~ In function 'sprintf', inlined from 'init' at fetchfile.c:1201:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'init': fetchfile.c:1218:44: warning: '%s' directive writing up to 4095 bytes into a region of size 4072 [-Wformat-overflow=] 1218 | sprintf(tmp,"cannot create directory %s",userspool); | ^~ ~~~~~~~~~ In function 'sprintf', inlined from 'init' at fetchfile.c:1218:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 4120 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'init': fetchfile.c:1225:51: warning: '%s' directive writing up to 4095 bytes into a region of size 4065 [-Wformat-overflow=] 1225 | sprintf(tmp,"cannot create config directory %s",userconfig); | ^~ ~~~~~~~~~~ In function 'sprintf', inlined from 'init' at fetchfile.c:1225:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 32 and 4127 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'init': fetchfile.c:1231:45: warning: '%s' directive writing up to 4095 bytes into a region of size 4069 [-Wformat-overflow=] 1231 | sprintf(tmp,"cannot change to directory %s",userconfig); | ^~ ~~~~~~~~~~ In function 'sprintf', inlined from 'init' at fetchfile.c:1231:5: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 28 and 4123 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'init': fetchfile.c:1236:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 1236 | snprintf(MAXS(tmp),"cannot open %s",configf); | ^~ ~~~~~~~ In function 'snprintf', inlined from 'init' at fetchfile.c:1236:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 4108 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'main': fetchfile.c:337:39: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4082 [-Wformat-truncation=] 337 | snprintf(MAXS(line),"no access to %s (try 'fetchfile -I' first)",tmp); | ^~ ~~~ In function 'snprintf', inlined from 'main' at fetchfile.c:337:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 41 and 12328 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'main': fetchfile.c:342:39: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4082 [-Wformat-truncation=] 342 | snprintf(MAXS(line),"no access to %s (try 'fetchfile -I' first)",tmp); | ^~ ~~~ In function 'snprintf', inlined from 'main' at fetchfile.c:342:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 41 and 12328 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'main': fetchfile.c:457:26: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 457 | snprintf(MAXS(cmd),"cd %s; PGPPATH='.' %s -sbaf " | ^~ 458 | "+secring=private.pgp +pubring=public.pgp <%s 2>/dev/null", 459 | userconfig,pgp_bin,pgptmp); | ~~~~~~~~~~ In function 'snprintf', inlined from 'main' at fetchfile.c:457:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 79 or more bytes (assuming 8269) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'main': fetchfile.c:481:33: warning: '%s' directive output may be truncated writing up to 12287 bytes into a region of size 4090 [-Wformat-truncation=] 481 | snprintf(MAXS(response),"AUTH %s",tmp); | ^~ ~~~ In function 'snprintf', inlined from 'main' at fetchfile.c:481:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 12293 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ fetchfile.c: In function 'main': fetchfile.c:495:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 495 | snprintf(MAXS(conffile),"%s/%s",swd,tmp); | ^ In function 'snprintf', inlined from 'main' at fetchfile.c:495:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c getdate.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c spool.c spool.c: In function 'scanspool': spool.c:314:26: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 314 | sscanf(arg,"%lld %lld",&csize,&osize); | ~~~^ ~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld spool.c:314:31: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'off_t *' {aka 'long int *'} [-Wformat=] 314 | sscanf(arg,"%lld %lld",&csize,&osize); | ~~~^ ~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld spool.c: In function 'scanoutspool': spool.c:637:24: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 637 | sscanf(arg,"%lld",&size); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld spool.c: In function 'delete_sf': spool.c:791:29: warning: ' deleted' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 791 | snprintf(MAXS(msg),"%s deleted",fname); | ^~~~~~~~ In file included from /usr/include/stdio.h:970, from spool.c:54: In function 'snprintf', inlined from 'delete_sf' at spool.c:791:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld fetchfile.o message.o utf7.o pstring.o string.o io.o net.o address.o spool.o getline.o -o fetchfile -lreadline -L/usr/lib/termcap -ltermcap make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c receive.c receive.c: In function 'list': receive.c:630:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 630 | printf("%3d) %s %9lld kB %s", | ~~~~^ | | | long long int | %9ld 631 | flp->id,flp->rdate,(flp->osize+1023)/1024,show_fname); | ~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} receive.c: In function 'check_signature.part.0': receive.c:1697:27: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 255 [-Wformat-truncation=] 1697 | snprintf(MAXS(sigfile),"%s/%d.d.sig",userspool,flp->id); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:970, from receive.c:103: In function 'snprintf', inlined from 'check_signature.part.0' at receive.c:1697:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4114 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'check_signature.part.0': receive.c:1717:25: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1717 | snprintf(MAXS(tmp),"%s %s %s 2>/dev/null",pgp_bin,pgpopt,sigfile); | ^ In function 'snprintf', inlined from 'check_signature.part.0' at receive.c:1717:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 15 and 4620 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'list': receive.c:670:39: warning: ' ' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 670 | snprintf(MAXS(showtar),"%s %s -f < %s/%d.d | %s tvf -", | ^ In function 'snprintf', inlined from 'list' at receive.c:670:6: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 12306) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'list': receive.c:680:39: warning: ' tvf ' directive output may be truncated writing 5 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 680 | snprintf(MAXS(showtar),"%s tvf %s/%d.d",tar_bin,userspool,flp->id); | ^~~~~ In function 'snprintf', inlined from 'list' at receive.c:680:6: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 10 and 8210 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'list': receive.c:677:41: warning: ' -d < ' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 677 | snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", | ^~~~~~ In function 'snprintf', inlined from 'list' at receive.c:677:8: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 20 and 12315 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'list': receive.c:674:41: warning: ' -d < ' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 674 | snprintf(MAXS(showtar),"%s -d < %s/%d.d | %s tvf -", | ^~~~~~ In function 'snprintf', inlined from 'list' at receive.c:674:8: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 20 and 12315 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1276:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1276 | snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); | ^ In function 'snprintf', inlined from 'receive_sf' at receive.c:1276:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 4110 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1194:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1194 | snprintf(MAXS(sfile),"%s/%d.d",userspool,flp->id); | ^ In function 'snprintf', inlined from 'receive_sf' at receive.c:1194:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 4110 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1218:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1218 | snprintf(MAXS(tmp),"%s -d < %s > %s",bzip2_bin,sfile,tmpfile); | ^~ ~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1218:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 10 and 12295 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1254:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] 1254 | snprintf(MAXS(cmd),"%s %s -f < %s > '%s'",pgp_bin,pgpvm,sfile,fname); | ^~ ~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1254:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 8203) into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1168:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] 1168 | "%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1167:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 8202) into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1165:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1165 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1165:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 8211 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1163:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1163 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1163:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 8211 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:888:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] 888 | snprintf(MAXS(cmd),"%s %s -f < %s/%d.d > %s", | ^~ 889 | pgp_bin,pgpvm,userspool,flp->id,tartmp); | ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:888:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 15 or more bytes (assuming 12300) into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:959:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4092 and 8187 [-Wformat-truncation=] 959 | snprintf(MAXS(cmd),"%s tf %s/%d.d",tar_bin,userspool,flp->id); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:959:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 8209 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:957:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4092 and 8187 [-Wformat-truncation=] 957 | snprintf(MAXS(cmd),"%s tf %s",tar_bin,tartmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:957:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 8195 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:954:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 954 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", | ^~ 955 | gzip_bin,userspool,flp->id,tar_bin); | ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:954:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 19 and 12314 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:951:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 951 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s tf -", | ^~ 952 | bzip2_bin,userspool,flp->id,tar_bin); | ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:951:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 19 and 12314 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1032:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4091 and 8186 [-Wformat-truncation=] 1032 | snprintf(MAXS(cmd),"%s xvf %s/%d.d 2>%s", | ^~ 1033 | tar_bin,userspool,flp->id,error_log); | ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1032:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 12308 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1030:34: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4091 and 8186 [-Wformat-truncation=] 1030 | snprintf(MAXS(cmd),"%s xvf %s 2>%s",tar_bin,tartmp,error_log); | ^~ ~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1030:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 12294 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1027:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1027 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", | ^~ 1028 | gzip_bin,userspool,flp->id,tar_bin,error_log); | ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1027:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 23 and 16413 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:1024:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 1024 | snprintf(MAXS(cmd),"%s -d < %s/%d.d | %s xvf - 2>%s", | ^~ 1025 | bzip2_bin,userspool,flp->id,tar_bin,error_log); | ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:1024:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 23 and 16413 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:814:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 814 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",gzip_bin,userspool,flp->id); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:814:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 8211 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:812:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4090 and 8185 [-Wformat-truncation=] 812 | snprintf(MAXS(cmd),"%s -d < %s/%d.d",bzip2_bin,userspool,flp->id); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:812:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 11 and 8211 bytes into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'receive_sf': receive.c:801:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4089 and 8184 [-Wformat-truncation=] 801 | snprintf(MAXS(cmd),"%s %s -f < %s/%d.d",pgp_bin,pgpvm,userspool,flp->id); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'receive_sf' at receive.c:801:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 12 or more bytes (assuming 8202) into a destination of size 8191 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ receive.c: In function 'renumber': receive.c:1791:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4078 [-Wformat-truncation=] 1791 | snprintf(MAXS(tmp),"cannot change to %s",userspool); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'renumber' at receive.c:1791:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 18 and 4113 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld receive.o message.o utf7.o pstring.o string.o io.o spool.o getdate.o getline.o lock.o -o receive -lreadline -L/usr/lib/termcap -ltermcap make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c sendfile.c sendfile.c: In function 'main': sendfile.c:1165:32: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1165 | sscanf(line,"SIZE %lld %lld",&size,&orgsize); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfile.c:1165:37: warning: format '%lld' expects argument of type 'long long int *', but argument 4 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1165 | sscanf(line,"SIZE %lld %lld",&size,&orgsize); | ~~~^ ~~~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfile.c:1218:34: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1218 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1218:39: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1218 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1353:30: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1353 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1353:35: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1353 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1746:32: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1746 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c:1746:37: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1746 | snprintf(MAXS(sizes),"%lld %lld",size,orgsize); | ~~~^ ~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfile.c: In function 'forward': sendfile.c:2352:59: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 2352 | if (str_neq_nocase("SIZE",line,4)) sscanf(arg+1,"%lld",&size); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfile.c: In function 'list_spool': sendfile.c:2634:30: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 2634 | printf("%s@%s : %s (%lld KB)\n", | ~~~^ | | | long long int | %ld 2635 | oflp->to,hlp->host,file,(oflp->size+512)/1024); | ~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} sendfile.c: In function 'linkspeed': sendfile.c:2549:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 2549 | fscanf(inf,"%d",&speed); | ^~~~~~~~~~~~~~~~~~~~~~~ sendfile.c: In function 'cleanup': sendfile.c:1955:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3835 and 4090 [-Wformat-truncation=] 1955 | snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); | ^~ ~~~~~~~~~ In file included from /usr/include/stdio.h:970, from sendfile.c:127: In function 'snprintf', inlined from 'cleanup' at sendfile.c:1955:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 4356 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'cleanup': sendfile.c:1984:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3835 and 4090 [-Wformat-truncation=] 1984 | snprintf(MAXS(line),"LOG %s %s",pw_name,outlogtmp); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'cleanup' at sendfile.c:1984:8: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 4356 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'pgp_sign': sendfile.c:2108:37: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4083 [-Wformat-truncation=] 2108 | snprintf(MAXS(tmp),"shell-call: %s",cmd); | ^~ ~~~ In function 'snprintf', inlined from 'pgp_sign' at sendfile.c:2108:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 8204 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'pgp_sign': sendfile.c:2127:29: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4090 [-Wformat-truncation=] 2127 | snprintf(MAXS(sign),"SIGN %s",tmp); | ^~ ~~~ In function 'snprintf', inlined from 'pgp_sign' at sendfile.c:2127:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 4101 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'linkspeed': sendfile.c:2538:30: warning: '/speeds' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 2538 | snprintf(MAXS(speeddir),"%s/speeds",userspool); | ^~~~~~~ In function 'snprintf', inlined from 'linkspeed' at sendfile.c:2538:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'linkspeed': sendfile.c:2545:30: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 2545 | snprintf(MAXS(hostfile),"%s/%s",speeddir,host); | ^ In function 'snprintf', inlined from 'linkspeed' at sendfile.c:2545:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'notespeed': sendfile.c:2590:30: warning: '/speeds' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 2590 | snprintf(MAXS(speeddir),"%s/speeds",userspool); | ^~~~~~~ In function 'snprintf', inlined from 'notespeed' at sendfile.c:2590:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'notespeed': sendfile.c:2597:30: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 2597 | snprintf(MAXS(hostfile),"%s/%s",speeddir,host); | ^ In function 'snprintf', inlined from 'notespeed' at sendfile.c:2597:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:825:31: warning: '/.sendfile_' directive output may be truncated writing 11 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 825 | snprintf(MAXS(outlogtmp),"%s/.sendfile_%d.log",userspool,pid); | ^~~~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:825:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 17 and 4122 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:848:58: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4066 [-Wformat-truncation=] 848 | snprintf(MAXS(tmp),"the user spool directory is: %s",userspool); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:848:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 30 and 4125 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:869:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 869 | "tmp-file %s does already exist and cannot be deleted",tartmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:868:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 51 and 4146 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:874:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 874 | "tmp-file %s does already exist and cannot be deleted",ziptmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:873:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 51 and 4146 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:879:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 879 | "tmp-file %s does already exist and cannot be deleted",texttmp); | ^~ ~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:878:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 51 and 4146 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:884:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 884 | "tmp-file %s does already exist and cannot be deleted",pgptmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:883:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 51 and 4146 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:889:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4086 [-Wformat-truncation=] 889 | "tmp-file %s does already exist and cannot be deleted",stdintmp); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:888:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 51 and 4146 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:973:48: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4074 [-Wformat-truncation=] 973 | snprintf(MAXS(tmp),"cannot open tmp-file %s",stdintmp); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:973:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 22 and 4117 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:980:58: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4066 [-Wformat-truncation=] 980 | snprintf(MAXS(tmp),"error while writing stdin to %s",stdintmp); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:980:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 30 and 4125 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1598:34: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] 1598 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1598:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 8197 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1564:40: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 510 [-Wformat-truncation=] 1564 | snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); | ^~ In function 'snprintf', inlined from 'main' at sendfile.c:1564:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 511 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1718:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] 1718 | snprintf(MAXS(cmd),"%s < '%s' > %s",zprg,file,ziptmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1718:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 9 or more bytes (assuming 4104) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1794:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4058 [-Wformat-truncation=] 1794 | snprintf(MAXS(tmp),"remote site does not support file of %s",line); | ^~ ~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1794:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 38 and 4133 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1305:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 1305 | snprintf(MAXS(tmp),"shell-call: %s",cmd); | ^~ ~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1305:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 4108 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1334:32: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4092 [-Wformat-truncation=] 1334 | snprintf(MAXS(cmd),"%s < %s > %s",zprg,tartmp,ziptmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1334:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 7 or more bytes (assuming 8197) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1336:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4083 [-Wformat-truncation=] 1336 | snprintf(MAXS(tmp),"shell-call: %s",cmd); | ^~ ~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1336:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 4108 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1409:32: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] 1409 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1409:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 8197 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1418:34: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] 1418 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1418:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 8197 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1427:34: warning: '%s' directive output may be truncated writing up to 8191 bytes into a region of size 4090 [-Wformat-truncation=] 1427 | snprintf(MAXS(tmp),"FILE %s",utf_name); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1427:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 6 and 8197 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1375:38: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 510 [-Wformat-truncation=] 1375 | snprintf(MAXS(rto),"%s@%s",oflp->to,hlp->host); | ^~ In function 'snprintf', inlined from 'main' at sendfile.c:1375:8: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 511 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1048:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4065 [-Wformat-truncation=] 1048 | snprintf(MAXS(tmp),"cannot access spool directory %s",userspool); | ^~ ~~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1048:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 31 and 4126 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1132:50: warning: '%s' directive output may be truncated writing up to 4091 bytes into a region of size 4080 [-Wformat-truncation=] 1132 | snprintf(MAXS(tmp),"cannot send %s : %s",file,reply+4); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1132:6: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 16 or more bytes (assuming 4107) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1149:47: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3828 and 4083 [-Wformat-truncation=] 1149 | snprintf(MAXS(cmd),"%s -dc %s > %s",GZIP,sdfn,ziptmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1149:8: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 4363 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1147:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3826 and 4081 [-Wformat-truncation=] 1147 | snprintf(MAXS(cmd),"%s -d < %s > %s",BZIP2,sdfn,ziptmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1147:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 15 and 4365 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfile.c: In function 'main': sendfile.c:1145:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 3824 and 4079 [-Wformat-truncation=] 1145 | snprintf(MAXS(cmd),"%s -d <%s|%s>%s",BZIP2,sdfn,GZIP,ziptmp); | ^~ ~~~~~~ In function 'snprintf', inlined from 'main' at sendfile.c:1145:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 17 and 4367 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld sendfile.o message.o utf7.o pstring.o string.o io.o net.o address.o spool.o -o sendfile -lreadline -L/usr/lib/termcap -ltermcap make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -DLINUX -c sendfiled.c sendfiled.c: In function 'main': sendfiled.c:599:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 599 | case 'f': printf("%lld\n",free_space()); exit(0); | ~~~^ ~~~~~~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfiled.c:1309:28: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1309 | if (sscanf(arg,"%lld",&size) != 1) { | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfiled.c:1521:28: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 1521 | sscanf(tmp,"%lld",&spoolsize); | ~~~^ ~~~~~~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfiled.c:1820:38: warning: format '%lld' expects argument of type 'long long int', but argument 4 has type 'off_t' {aka 'long int'} [-Wformat=] 1820 | snprintf(MAXS(tmp),"%lld %lld",flp->csize,flp->osize); | ~~~^ ~~~~~~~~~~ | | | | | off_t {aka long int} | long long int | %ld sendfiled.c:1820:43: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 1820 | snprintf(MAXS(tmp),"%lld %lld",flp->csize,flp->osize); | ~~~^ ~~~~~~~~~~ | | | | long long int off_t {aka long int} | %ld sendfiled.c:1834:22: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 1834 | printf("230 %lld bytes have already been transmitted.\r\n",transmitted); | ~~~^ ~~~~~~~~~~~ | | | | long long int off_t {aka long int} | %ld sendfiled.c:2091:35: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'off_t' {aka 'long int'} [-Wformat=] 2091 | printf("250-%d %s %s %lld ",flp->id,flp->fname,tmp,flp->csize); | ~~~^ ~~~~~~~~~~ | | | | long long int off_t {aka long int} | %ld sendfiled.c:2175:24: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 2175 | printf("231 %lld bytes will follow.\r\n",size); | ~~~^ ~~~~ | | | | long long int off_t {aka long int} | %ld sendfiled.c:2306:26: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'off_t' {aka 'long int'} [-Wformat=] 2306 | printf("260 %lld MB free\r\n",f); | ~~~^ ~ | | | | long long int off_t {aka long int} | %ld sendfiled.c: In function 'get_sizes': sendfiled.c:2841:62: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'rlim_t' {aka 'long unsigned int'} [-Wformat=] 2841 | if (getrlimit(RLIMIT_FSIZE,&rl)==0) snprintf(MAXS(max),"%llu",rl.rlim_cur); | ~~~^ ~~~~~~~~~~~ | | | | | rlim_t {aka long unsigned int} | long long unsigned int | %lu sendfiled.c:2858:17: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 2858 | sscanf(s1,"%lld",size); | ~~~^ ~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfiled.c:2859:17: warning: format '%lld' expects argument of type 'long long int *', but argument 3 has type 'off_t *' {aka 'long int *'} [-Wformat=] 2859 | sscanf(s2,"%lld",osize); | ~~~^ ~~~~~ | | | | | off_t * {aka long int *} | long long int * | %ld sendfiled.c: In function 'main': sendfiled.c:1006:7: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1006 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:1007:7: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 1007 | setegid(0); | ^~~~~~~~~~ sendfiled.c:1395:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1395 | write(lfd,"\n",1); | ^~~~~~~~~~~~~~~~~ sendfiled.c:1399:7: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1399 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:1400:7: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 1400 | setegid(0); | ^~~~~~~~~~ sendfiled.c:1413:19: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 1413 | if (rgid) setegid(rgid); | ^~~~~~~~~~~~~ sendfiled.c:1414:19: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1414 | if (ruid) seteuid(ruid); | ^~~~~~~~~~~~~ sendfiled.c:1422:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1422 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:1423:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 1423 | setegid(0); | ^~~~~~~~~~ sendfiled.c:1729:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1729 | write(lfd,"\n",1); | ^~~~~~~~~~~~~~~~~ sendfiled.c:1768:7: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1768 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:1769:7: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 1769 | setegid(0); | ^~~~~~~~~~ sendfiled.c:1976:7: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1976 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:1977:7: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 1977 | setegid(0); | ^~~~~~~~~~ sendfiled.c:2060:7: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2060 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:2061:7: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 2061 | setegid(0); | ^~~~~~~~~~ sendfiled.c:2154:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2154 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:2155:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 2155 | setegid(0); | ^~~~~~~~~~ sendfiled.c:2186:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2186 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:2187:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 2187 | setegid(0); | ^~~~~~~~~~ sendfiled.c:2283:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2283 | write(lfd,tmp,strlen(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'msg2tty': sendfiled.c:2581:7: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2581 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:2582:7: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 2582 | setegid(0); | ^~~~~~~~~~ sendfiled.c:2619:3: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2619 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:2620:3: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 2620 | setegid(0); | ^~~~~~~~~~ sendfiled.c: In function 'mail2user': sendfiled.c:2653:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 2653 | chdir(pwe->pw_dir); | ^~~~~~~~~~~~~~~~~~ sendfiled.c:2654:3: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2654 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:2655:3: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 2655 | setegid(0); | ^~~~~~~~~~ sendfiled.c: In function 'sfsd': sendfiled.c:3035:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3035 | write(lockf,tmp,strlen(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'bounce_file': sendfiled.c:3765:5: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 3765 | chown(userspool,pwe->pw_uid,pwe->pw_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3773:5: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3773 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:3774:5: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 3774 | setegid(0); | ^~~~~~~~~~ sendfiled.c:3775:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3775 | chdir(cwd); | ^~~~~~~~~~ sendfiled.c:3784:5: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3784 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:3785:5: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 3785 | setegid(0); | ^~~~~~~~~~ sendfiled.c:3786:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3786 | chdir(cwd); | ^~~~~~~~~~ sendfiled.c:3796:5: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3796 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:3797:5: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 3797 | setegid(0); | ^~~~~~~~~~ sendfiled.c:3798:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3798 | chdir(cwd); | ^~~~~~~~~~ sendfiled.c:3849:3: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3849 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:3850:3: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 3850 | setegid(0); | ^~~~~~~~~~ sendfiled.c:3851:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3851 | chdir(cwd); | ^~~~~~~~~~ sendfiled.c: In function 'check_userspool': sendfiled.c:3965:52: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 3965 | if (mkdir(userspool,S_IRUSR|S_IWUSR|S_IXUSR)==0) chown(userspool,ruid,rgid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3974:7: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result] 3974 | symlink(tmp,userconfig); | ^~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3976:7: warning: ignoring return value of 'symlink' declared with attribute 'warn_unused_result' [-Wunused-result] 3976 | symlink(userspool,tmp); | ^~~~~~~~~~~~~~~~~~~~~~ sendfiled.c:3981:3: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 3981 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:3982:3: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 3982 | setegid(0); | ^~~~~~~~~~ sendfiled.c: In function 'openuserlog': sendfiled.c:4074:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4074 | write(lfd,tmp,strlen(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'send_file_stdout': sendfiled.c:4104:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 4104 | write(fileno(stdout),packet,bytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'sudo': sendfiled.c:4217:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 4217 | chdir(pwe->pw_dir); | ^~~~~~~~~~~~~~~~~~ sendfiled.c:4218:3: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 4218 | seteuid(0); | ^~~~~~~~~~ sendfiled.c:4219:3: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 4219 | setegid(0); | ^~~~~~~~~~ sendfiled.c:4237:3: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 4237 | system(cmd); | ^~~~~~~~~~~ sendfiled.c: In function 'free_space': sendfiled.c:2789:29: warning: '/.' directive output may be truncated writing 2 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 2789 | snprintf(MAXS(spool),"%s/.",userspool); | ^~ In file included from /usr/include/stdio.h:970, from sendfiled.c:179: In function 'snprintf', inlined from 'free_space' at sendfiled.c:2789:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 4098 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'send_msg': sendfiled.c:2921:28: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4091 [-Wformat-truncation=] 2921 | snprintf(MAXS(line),"MSG %s",tmp); | ^~ ~~~ In function 'snprintf', inlined from 'send_msg' at sendfiled.c:2921:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 5 and 4100 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'send_spooldata': sendfiled.c:3294:33: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4087 [-Wformat-truncation=] 3294 | snprintf(MAXS(tmp),"sending %s to %s",isoname,to); | ^~ ~~~~~~~ In function 'snprintf', inlined from 'send_spooldata' at sendfiled.c:3294:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 13 or more bytes (assuming 4108) into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'saftserver_connect': sendfiled.c:3385:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4073 [-Wformat-truncation=] 3385 | snprintf(MAXS(tmp),"opening connection to %s:%d",server,SAFT); | ^~ ~~~~~~ In function 'snprintf', inlined from 'saftserver_connect' at sendfiled.c:3385:7: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 27 and 4122 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'saftserver_connect': sendfiled.c:3391:45: warning: ' has no internet-address' directive output may be truncated writing 24 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3391 | case -3: snprintf(error,MAXLEN-1,"%s has no internet-address",server); | ^~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'saftserver_connect' at sendfiled.c:3391:11: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 25 and 4120 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'saftserver_connect': sendfiled.c:3390:69: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4069 [-Wformat-truncation=] 3390 | case -2: snprintf(error,MAXLEN-1,"cannot open connection to %s",server); | ^~ ~~~~~~ In function 'snprintf', inlined from 'saftserver_connect' at sendfiled.c:3390:11: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 27 and 4122 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'saftserver_connect': sendfiled.c:3391:45: warning: ' has no internet-address' directive output may be truncated writing 24 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3391 | case -3: snprintf(error,MAXLEN-1,"%s has no internet-address",server); | ^~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'saftserver_connect' at sendfiled.c:3391:11: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 25 and 4120 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'check_outspool': sendfiled.c:3696:29: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 3696 | snprintf(MAXS(oshfn),"%s",dire->d_name); | ^ In function 'snprintf', inlined from 'check_outspool' at sendfiled.c:3696:5: /usr/include/bits/stdio2.h:68:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'sfsd': sendfiled.c:3082:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] 3082 | snprintf(MAXS(tmp),"connected to %s",hlp->host); | ^~ In function 'snprintf', inlined from 'sfsd' at sendfiled.c:3082:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 14 and 4109 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'sfsd': sendfiled.c:3153:50: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4082 [-Wformat-truncation=] 3153 | snprintf(MAXS(tmp),"connected to %s (forward redirection)", | ^~ In function 'snprintf', inlined from 'sfsd' at sendfiled.c:3153:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 36 and 4131 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'msg2tty': sendfiled.c:2540:27: warning: '/config/tty@' directive output may be truncated writing 12 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 2540 | snprintf(MAXS(msgcf),"%s/config/tty@%s",userspool,localhost); | ^~~~~~~~~~~~ In function 'snprintf', inlined from 'msg2tty' at sendfiled.c:2540:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 13 and 4363 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'restricted': sendfiled.c:2733:30: warning: '/config/restrictions' directive output may be truncated writing 20 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 2733 | snprintf(MAXS(killfile),"%s/config/restrictions",userspool); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'restricted' at sendfiled.c:2733:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 21 and 4116 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'check_userspool': sendfiled.c:3962:32: warning: '/config' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 3962 | snprintf(MAXS(userconfig),"%s/config",userspool); | ^~~~~~~ In function 'snprintf', inlined from 'check_userspool' at sendfiled.c:3962:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 8 and 4103 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'main': sendfiled.c:1737:49: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size between 4087 and 12277 [-Wformat-truncation=] 1737 | snprintf(MAXS(tmp),"cat %s/%s %s/%s | %s && rm -f %s/%s %s/%s", | ^~ ...... 1740 | rpipe, | ~~~~~ In function 'snprintf', inlined from 'main' at sendfiled.c:1737:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 24 or more bytes (assuming 20499) into a destination of size 12287 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'main': sendfiled.c:1041:37: warning: '@' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] 1041 | snprintf(MAXS(utfsender),"%s@%s %s",arg,peer,real); | ^ In function 'snprintf', inlined from 'main' at sendfiled.c:1041:2: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 12280 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sendfiled.c: In function 'main': sendfiled.c:949:48: warning: '/notify ' directive output may be truncated writing 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 949 | snprintf(MAXS(notification),"%s/notify ",userconfig); | ^~~~~~~~ In function 'snprintf', inlined from 'main' at sendfiled.c:949:3: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 9 and 4104 bytes into a destination of size 4095 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld sendfiled.o message.o utf7.o pstring.o string.o io.o net.o spool.o peername.o reply.o address.o lock.o -o sendfiled -lreadline -L/usr/lib/termcap -ltermcap make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' -rwxr-xr-x 1 pterjan pterjan 266928 Feb 19 02:21 fetchfile -rwxr-xr-x 1 pterjan pterjan 262680 Feb 19 02:21 receive -rwxr-xr-x 1 pterjan pterjan 340056 Feb 19 02:21 sendfile -rwxr-xr-x 1 pterjan pterjan 375152 Feb 19 02:21 sendfiled -rwxr-xr-x 1 pterjan pterjan 173080 Feb 19 02:21 sendmsg -rwxr-xr-x 1 pterjan pterjan 95672 Feb 19 02:21 utf7encode -rwxr-xr-x 1 pterjan pterjan 43568 Feb 19 02:21 wlock and now type (as root): make install make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.r5IlkO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + mkdir /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -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 + cd sendfile-2.1b + '[' 1 -eq 1 ']' + /usr/bin/install -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/sbin + /usr/bin/install src/sendfiled /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/sbin/ + /usr/bin/install -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//var/spool/sendfile/LOG + /usr/bin/install -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//var/spool/sendfile/OUTGOING + /usr/bin/install -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//etc + /usr/bin/install etc/sendfile.deny /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//etc/ + /usr/bin/install etc/sendfile.cf /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//etc/ + /usr/bin/install -D /home/pterjan/rpmbuild/SOURCES/sendfile-xinetd /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//etc/xinetd.d/sendfile + /usr/bin/install -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/share/man/man1/ + /usr/bin/install doc/fetchfile.1 doc/receive.1 doc/sendfile.1 doc/sendmsg.1 doc/utf7encode.1 doc/wlock.1 /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/share/man/man1/ + /usr/bin/install -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/share/man/man1 + /usr/bin/install -D etc/check_sendfile /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//etc/profile.d/sendfile-check.sh + /usr/bin/install -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/bin + /usr/bin/install src/sendfile src/sendmsg src/receive src/fetchfile src/utf7encode src/wlock /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/bin/ + ln -s utf7encode /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/bin/utf7decode + /usr/bin/install etc/sfconf etc/sfdconf /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT//usr/bin/ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.1b-16.mga10 --unique-debug-suffix -2.1b-16.mga10.x86_64 --unique-debug-src-base sendfile-2.1b-16.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b find-debuginfo: starting Extracting debug info from 7 files DWARF-compressing 7 files sepdebugcrcfix: Updated 7 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/sendfile-2.1b-16.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/sendfile.deny is executable but has no shebang, removing executable bit *** WARNING: ./etc/sendfile.cf is executable but has no shebang, removing executable bit mangling shebang in /etc/profile.d/sendfile-check.sh from /bin/sh to #!/usr/bin/sh *** WARNING: ./etc/xinetd.d/sendfile is executable but has no shebang, removing executable bit mangling shebang in /usr/bin/sfdconf from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/sfconf from /bin/sh to #!/usr/bin/sh + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/SPECPARTS/rpm-debuginfo.specpart Processing files: sendfile-2.1b-16.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WwAN29 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + cd sendfile-2.1b + DOCDIR=/home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/AUTHORS /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/COPYING /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/ChangeLog /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/doc.txt /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/doku.txt /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/features /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/LIESMICH /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/LIESMICH.auch /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/LIESMICH.entwickler /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/LIESMICH.fetchfile /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/LIESMICH.neu /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/LIESMICH.spool /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/LIESMICH.ups /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/README /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/README.fetchfile /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/README.too /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/THANKS /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + cp -pr /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/sendfile-2.1b/doc/vorteile /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT/usr/share/doc/sendfile + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(sendfile) = 2.1b-16.mga10 sendfile = 2.1b-16.mga10 sendfile(x86-64) = 2.1b-16.mga10 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(postun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libreadline.so.8()(64bit) Processing files: sendfile-debugsource-2.1b-16.mga10.x86_64 Provides: sendfile-debugsource = 2.1b-16.mga10 sendfile-debugsource(x86-64) = 2.1b-16.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sendfile-debuginfo-2.1b-16.mga10.x86_64 Provides: debuginfo(build-id) = 0958bc572fbc028140486ae4900e87fa70c2e18a debuginfo(build-id) = 17028832ba3d94678c6b53f27d9a4d9a320cbf4a debuginfo(build-id) = 26b46979e5c7c7b0251cd02d40c8e4cd867e4018 debuginfo(build-id) = 44a6f7cb6ae00bb012f42e51ac1c58e919fe6a2b debuginfo(build-id) = 67dcebb8725d2c12abd0da56d939364fdbb24146 debuginfo(build-id) = ddd2e2264eaa41a347fb0463f8941b5468459124 debuginfo(build-id) = ffe16414b08d16666761b744bd69f25336d7fa80 sendfile-debuginfo = 2.1b-16.mga10 sendfile-debuginfo(x86-64) = 2.1b-16.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sendfile-debugsource(x86-64) = 2.1b-16.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/sendfile-debugsource-2.1b-16.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/sendfile-2.1b-16.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/sendfile-debuginfo-2.1b-16.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.E8rlGR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + test -d /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + rm -rf /home/pterjan/rpmbuild/BUILD/sendfile-2.1b-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!