D: [iurt_root_command] chroot warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Installing /home/pterjan/rpmbuild/SRPMS/sthttpd-2.27.0-5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.KojKSP + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf sthttpd-2.27.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/sthttpd-2.27.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sthttpd-2.27.0 + rm -rf /home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sthttpd-2.26.4+impan-pl5.diff):' Patch #0 (sthttpd-2.26.4+impan-pl5.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/libhttpd.c Hunk #3 succeeded at 1249 (offset 7 lines). Hunk #4 succeeded at 2683 (offset -1 lines). Hunk #5 succeeded at 2732 (offset -1 lines). Hunk #6 succeeded at 2809 (offset -1 lines). Hunk #7 succeeded at 2893 (offset -1 lines). Hunk #8 succeeded at 2910 (offset -1 lines). Hunk #9 succeeded at 2995 (offset -1 lines). Hunk #10 succeeded at 3057 (offset -1 lines). Hunk #11 succeeded at 3067 (offset -1 lines). Hunk #12 succeeded at 3963 (offset -1 lines). Hunk #13 succeeded at 3975 (offset -1 lines). patching file src/mime_types.h patching file src/thttpd.h + echo 'Patch #1 (sthttpd-2.26.4-htaccess.diff):' Patch #1 (sthttpd-2.26.4-htaccess.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file docs/thttpd.8 patching file src/libhttpd.c Hunk #3 succeeded at 1142 (offset 1 line). Hunk #4 succeeded at 3969 (offset -1 lines). Hunk #5 succeeded at 4024 (offset -1 lines). patching file src/thttpd.h + echo 'Patch #2 (sthttpd-2.26.4-re1.diff):' Patch #2 (sthttpd-2.26.4-re1.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/libhttpd.c Hunk #6 succeeded at 1901 (offset 7 lines). Hunk #7 succeeded at 2511 (offset 7 lines). Hunk #8 succeeded at 2901 (offset -1 lines). Hunk #9 succeeded at 3913 (offset -1 lines). Hunk #10 succeeded at 3972 (offset -1 lines). Hunk #11 succeeded at 4258 (offset -1 lines). Hunk #12 succeeded at 4293 (offset -1 lines). patching file src/libhttpd.h patching file src/thttpd.c Hunk #4 succeeded at 734 (offset 4 lines). Hunk #5 succeeded at 886 (offset 4 lines). Hunk #6 succeeded at 897 (offset 4 lines). Hunk #7 succeeded at 1006 (offset 4 lines). Hunk #8 succeeded at 1715 (offset 4 lines). Hunk #9 succeeded at 1789 (offset 4 lines). Hunk #10 succeeded at 1934 (offset 4 lines). + echo 'Patch #3 (sthttpd-2.27.0-no_funky_crap.diff):' Patch #3 (sthttpd-2.27.0-no_funky_crap.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file extras/Makefile.am patching file extras/Makefile.in + cp /home/pterjan/rpmbuild/SOURCES/thttpd-index.html index.html + perl -pi -e 's|_NAME_-_VERSION_|sthttpd-2.27.0|g' index.html + echo '# put some css in here for directory listings' + echo '# put some css in here for custom error messages' + echo 'This directory contains '\''el cheapo'\'' style web links.' + for man in docs/*.8 docs/*.1 + iconv -f iso8859-1 -t utf-8 -o tmp docs/redirect.8 + mv -f tmp docs/redirect.8 + for man in docs/*.8 docs/*.1 + iconv -f iso8859-1 -t utf-8 -o tmp docs/ssi.8 + mv -f tmp docs/ssi.8 + for man in docs/*.8 docs/*.1 + iconv -f iso8859-1 -t utf-8 -o tmp docs/syslogtocern.8 + mv -f tmp docs/syslogtocern.8 + for man in docs/*.8 docs/*.1 + iconv -f iso8859-1 -t utf-8 -o tmp docs/thttpd.8 + mv -f tmp docs/thttpd.8 + for man in docs/*.8 docs/*.1 + iconv -f iso8859-1 -t utf-8 -o tmp docs/htpasswd.1 + mv -f tmp docs/htpasswd.1 + for man in docs/*.8 docs/*.1 + iconv -f iso8859-1 -t utf-8 -o tmp docs/makeweb.1 + mv -f tmp docs/makeweb.1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1ckrbI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd sthttpd-2.27.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export LIBS=-lz + LIBS=-lz + 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 + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for crypt in -lcrypt... yes checking for clock_gettime in -lrt... yes checking for resolv in -lhstrerror... no 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/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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking osreldate.h usability... no checking osreldate.h presence... no checking for osreldate.h... no checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/devpoll.h usability... no checking sys/devpoll.h presence... no checking for sys/devpoll.h... no checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for uid_t in sys/types.h... yes checking for int64_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for unistd.h... (cached) yes checking for working chown... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether lstat correctly handles trailing slash... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for wait3 that fills in rusage... yes checking for alarm... yes checking for atoll... yes checking for bzero... yes checking for clock_gettime... yes checking for daemon... yes checking for dup2... yes checking for gai_strerror... yes checking for getcwd... yes checking for getaddrinfo... yes checking for gethostbyname... yes checking for gethostname... yes checking for getnameinfo... yes checking for getpass... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for kqueue... no checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for poll... yes checking for select... yes checking for setlogin... no checking for setsid... yes checking for sigset... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strpbrk... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for tzset... yes checking for vsnprintf... yes checking for waitpid... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating docs/Makefile config.status: creating extras/Makefile config.status: creating scripts/Makefile config.status: creating src/Makefile config.status: creating www/Makefile config.status: creating www/cgi-bin/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j16 V=1 VERBOSE=1 prefix=/usr BINDIR=/usr/sbin MANDIR=/usr/share/man WEBDIR=/var/lib/thttpd WEBGROUP=thttpd CGIBINDIR=/var/lib/thttpd/cgi-bin /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -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 -c match.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' rm -f libmatch.a ar cru libmatch.a match.o ranlib libmatch.a make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -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 -c thttpd.c thttpd.c: In function 'main': thttpd.c:618:12: error: implicit declaration of function 'sigset'; did you mean 'isset'? [-Wimplicit-function-declaration] 618 | (void) sigset( SIGTERM, handle_term ); | ^~~~~~ | isset thttpd.c: In function 'handle_read': thttpd.c:1745:50: warning: format '%c' expects argument of type 'int', but argument 7 has type '__time_t *' {aka 'long int *'} [-Wformat=] 1745 | sprintf(c->zs_output_head, "%c%c%c%c%c%c%c%c%c%c", | ~^ | | | int | %ln thttpd.c:1745:52: warning: format '%c' expects argument of type 'int', but argument 8 has type '__time_t *' {aka 'long int *'} [-Wformat=] 1745 | sprintf(c->zs_output_head, "%c%c%c%c%c%c%c%c%c%c", | ~^ | | | int | %ln ...... 1751 | &c->hc->sb.st_mtime + 1, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | __time_t * {aka long int *} thttpd.c:1745:54: warning: format '%c' expects argument of type 'int', but argument 9 has type '__time_t *' {aka 'long int *'} [-Wformat=] 1745 | sprintf(c->zs_output_head, "%c%c%c%c%c%c%c%c%c%c", | ~^ | | | int | %ln ...... 1752 | &c->hc->sb.st_mtime + 2, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | __time_t * {aka long int *} thttpd.c:1745:56: warning: format '%c' expects argument of type 'int', but argument 10 has type '__time_t *' {aka 'long int *'} [-Wformat=] 1745 | sprintf(c->zs_output_head, "%c%c%c%c%c%c%c%c%c%c", | ~^ | | | int | %ln ...... 1753 | &c->hc->sb.st_mtime + 3, | ~~~~~~~~~~~~~~~~~~~~~~~ | | | __time_t * {aka long int *} thttpd.c: In function 'thttpd_logstats': thttpd.c:2323:75: warning: format '%lld' expects argument of type 'long long int', but argument 6 has type 'long int' [-Wformat=] 2323 | " thttpd - %ld connections (%g/sec), %d max simultaneous, %lld bytes (%g/sec), %d httpd_conns allocated", | ~~~^ | | | long long int | %ld 2324 | stats_connections, (float) stats_connections / secs, 2325 | stats_simultaneous, (int64_t) stats_bytes, | ~~~~~~~~~~~~~~~~~~~~~ | | | long int thttpd.c: In function 'main': thttpd.c:494:12: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 494 | (void) getcwd( cwd, sizeof(cwd) - 1 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ thttpd.c: In function 'handle_alrm': thttpd.c:315:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | (void) chdir( "/tmp" ); | ^~~~~~~~~~~~~~~ make[2]: *** [Makefile:374: thttpd.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -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 -c libhttpd.c libhttpd.c: In function 'httpd_parse_request': libhttpd.c:2514:24: warning: comparison between pointer and zero character constant [-Wpointer-compare] 2514 | if ( ( hc->accepte != '\0' ) && ( compression_level > 0 ) ) | ^~ libhttpd.c:2514:12: note: did you mean to dereference the pointer? 2514 | if ( ( hc->accepte != '\0' ) && ( compression_level > 0 ) ) | ^ libhttpd.c: In function 'cgi_child': libhttpd.c:3840:12: error: implicit declaration of function 'sigset'; did you mean 'isset'? [-Wimplicit-function-declaration] 3840 | (void) sigset( SIGPIPE, SIG_DFL ); | ^~~~~~ | isset libhttpd.c: In function 'really_start_request': libhttpd.c:4262:43: error: passing argument 2 of 'httpd_realloc_str' from incompatible pointer type [-Wincompatible-pointer-types] 4262 | httpd_realloc_str( &filename_with_gz, &filename_with_gz_size, strlen( hc->expnfilename ) + 4 ); | ^~~~~~~~~~~~~~~~~~~~~~ | | | int * libhttpd.c:722:41: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 722 | httpd_realloc_str( char** strP, size_t* maxsizeP, size_t size ) | ~~~~~~~~^~~~~~~~ libhttpd.c:4325:57: error: passing argument 2 of 'httpd_realloc_str' from incompatible pointer type [-Wincompatible-pointer-types] 4325 | httpd_realloc_str( &alt_header_str, &alt_header_str_size, | ^~~~~~~~~~~~~~~~~~~~ | | | int * libhttpd.c:722:41: note: expected 'size_t *' {aka 'long unsigned int *'} but argument is of type 'int *' 722 | httpd_realloc_str( char** strP, size_t* maxsizeP, size_t size ) | ~~~~~~~~^~~~~~~~ libhttpd.c:4336:83: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 4336 | LOG_ERR, "out of memory reallocating a string to %d bytes", | ~^ | | | int | %ld 4337 | strlen( alt_header_str ) + strlen( content_location_string ) + 23 ); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} libhttpd.c: In function 'ls': libhttpd.c:2954:20: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 2954 | (void) nice( CGI_NICE ); | ^~~~~~~~~~~~~~~~ libhttpd.c: In function 'cgi_child': libhttpd.c:3816:12: warning: ignoring return value of 'nice' declared with attribute 'warn_unused_result' [-Wunused-result] 3816 | (void) nice( CGI_NICE ); | ^~~~~~~~~~~~~~~~ libhttpd.c:3834:20: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3834 | (void) chdir( directory ); /* ignore errors */ | ^~~~~~~~~~~~~~~~~~ libhttpd.c: In function 'post_post_garbage_hack': libhttpd.c:3533:12: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3533 | (void) read( hc->conn_fd, buf, sizeof(buf) ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:374: libhttpd.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -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 -c tdate_parse.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -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 -c fdwatch.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -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 -c timers.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -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 -c mmc.c mmc.c: In function 'mmc_logstats': mmc.c:524:62: warning: format '%lld' expects argument of type 'long long int', but argument 5 has type 'long int' [-Wformat=] 524 | LOG_INFO, " map cache - %d allocated, %d active (%lld bytes), %d free; hash size: %d; expire age: %ld", | ~~~^ | | | long long int | %ld 525 | alloc_count, map_count, (int64_t) mapped_bytes, free_count, hash_size, | ~~~~~~~~~~~~~~~~~~~~~~ | | | long int make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/sthttpd-2.27.0/src' make[1]: *** [Makefile:344: all-recursive] Error 1 make: *** [Makefile:284: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.1ckrbI (%build) RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.1ckrbI (%build) I: [iurt_root_command] ERROR: chroot