D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/perl-CGI-SpeedyCGI-2.220.0-27.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.30NdhA + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf CGI-SpeedyCGI-2.22 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/CGI-SpeedyCGI-2.22.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd CGI-SpeedyCGI-2.22 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (perl-CGI-SpeedyCGI-2.22-documentation.patch):' Patch #0 (perl-CGI-SpeedyCGI-2.22-documentation.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .documentation --fuzz=0 patching file src/SpeedyCGI.src + echo 'Patch #1 (perl-CGI-SpeedyCGI-2.22-empty_param.patch):' Patch #1 (perl-CGI-SpeedyCGI-2.22-empty_param.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .empty_param --fuzz=0 patching file src/speedy_frontend.c + echo 'Patch #2 (perl-CGI-SpeedyCGI-2.22-strerror.patch):' Patch #2 (perl-CGI-SpeedyCGI-2.22-strerror.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .strerror --fuzz=0 patching file src/speedy_util.c + echo 'Patch #3 (perl-CGI-SpeedyCGI-2.22-brigade_foreach.patch):' Patch #3 (perl-CGI-SpeedyCGI-2.22-brigade_foreach.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .brigade_foreach --fuzz=0 patching file src/mod_speedycgi2.c + echo 'Patch #4 (perl-CGI-SpeedyCGI-2.22-exit_messages.patch):' Patch #4 (perl-CGI-SpeedyCGI-2.22-exit_messages.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .exit_messages --fuzz=0 patching file src/speedy_main.c + echo 'Patch #5 (perl-CGI-SpeedyCGI-2.22-perl_510.patch):' Patch #5 (perl-CGI-SpeedyCGI-2.22-perl_510.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .perl_510 --fuzz=0 patching file src/speedy_backend_main.h + echo 'Patch #6 (perl-CGI-SpeedyCGI-2.22-c99_inline.patch):' Patch #6 (perl-CGI-SpeedyCGI-2.22-c99_inline.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99_inline --fuzz=0 patching file src/speedy_file.c patching file src/speedy_file.h patching file src/speedy_inc.h patching file src/speedy_opt.c patching file src/speedy_opt.h patching file src/speedy_util.c patching file src/speedy_util.c.strerror patching file src/speedy_util.h + echo 'Patch #7 (CGI-SpeedyCGI-2.22-Fix-building-on-Perl-without-dot-in-INC.patch):' Patch #7 (CGI-SpeedyCGI-2.22-Fix-building-on-Perl-without-dot-in-INC.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .inc --fuzz=0 patching file Makefile.PL + echo 'Patch #8 (CGI-SpeedyCGI-2.22-Fix-building-with-GCC-10.patch):' Patch #8 (CGI-SpeedyCGI-2.22-Fix-building-with-GCC-10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc10 --fuzz=0 patching file src/speedy_perl.h + cp /home/pterjan/rpmbuild/SOURCES/mod_speedycgi.conf '%{mod_conf}' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bTIoed + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd CGI-SpeedyCGI-2.22 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + echo yes + perl Makefile.PL INSTALLDIRS=vendor Optional mod_speedycgi support. Mod_speedycgi increases performance under Apache by avoiding the fork/exec overhead associated with each request under normal SpeedyCGI. However, it requires a working copy of "apxs" in your path, Apache with mod_so support, and additional Apache configuration. Compile mod_speedycgi (default no)? Compiling for Apache version 2 Checking if your kit is complete... Looks good Writing Makefile for src Writing MYMETA.yml and MYMETA.json Writing MYMETA.yml and MYMETA.json Writing Makefile for mod_speedycgi2 Generating a Unix-style Makefile Writing Makefile for CGI::SpeedyCGI Writing MYMETA.yml and MYMETA.json + make 'OPTIMIZE=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' cd src && make make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/src' "/usr/bin/perl5.34.0" -w optdefs.pl /usr/bin Writing speedy_optdefs.c Writing speedy_optdefs.h Redundant argument in printf at optdefs.pl line 158. Redundant argument in printf at optdefs.pl line 158. Redundant argument in printf at optdefs.pl line 158. Redundant argument in printf at optdefs.pl line 158. Redundant argument in printf at optdefs.pl line 158. Redundant argument in printf at optdefs.pl line 158. Redundant argument in printf at optdefs.pl line 158. Redundant argument in printf at optdefs.pl line 158. Redundant argument in printf at optdefs.pl line 158. Writing mod_speedycgi_cmds.c Writing mod_speedycgi2_cmds.c Writing SpeedyCGI.pm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/src' cp src/SpeedyCGI.pm blib/lib/CGI/SpeedyCGI.pm make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/src' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/speedy_backend' rm -f speedy_backend_main.c cp ../src/speedy_backend_main.c speedy_backend_main.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_backend_main.c rm -f speedy_perl.c cp ../src/speedy_perl.c speedy_perl.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_perl.c speedy_perl.c: In function 'onerun': speedy_perl.c:808:9: warning: implicit declaration of function 'PerlIO_reopen'; did you mean 'PerlIO_fdopen'? [-Wimplicit-function-declaration] 808 | if (PerlIO_reopen(dev_null, "r", pio_in ) == NULL || | ^~~~~~~~~~~~~ | PerlIO_fdopen speedy_perl.c:808:47: warning: comparison between pointer and integer 808 | if (PerlIO_reopen(dev_null, "r", pio_in ) == NULL || | ^~ speedy_perl.c:809:47: warning: comparison between pointer and integer 809 | PerlIO_reopen(dev_null, "w", pio_out) == NULL || | ^~ speedy_perl.c:810:47: warning: comparison between pointer and integer 810 | PerlIO_reopen(dev_null, "w", pio_err) == NULL) | ^~ speedy_perl.c: In function 'speedy_perl_init': speedy_perl.c:917:29: warning: passing argument 2 of 'perl_parse' from incompatible pointer type [-Wincompatible-pointer-types] 917 | if (perl_parse(my_perl, xs_init, | ^~~~~~~ | | | void (*)(void) In file included from /usr/lib64/perl5/CORE/perl.h:5705, from ../src/speedy_inc_perl.h:25, from speedy.h:1, from speedy_perl.c:20: /usr/lib64/perl5/CORE/proto.h:2743:71: note: expected 'XSINIT_t' {aka 'void (*)(struct interpreter *)'} but argument is of type 'void (*)(void)' 2743 | PERL_CALLCONV int perl_parse(PerlInterpreter *my_perl, XSINIT_t xsinit, int argc, char** argv, char** env); | ~~~~~~~~~^~~~~~ speedy_perl.c: In function 'do_proto2': speedy_perl.c:466:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 466 | write(PREF_FD_ACCEPT_O, &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f speedy_util.c cp ../src/speedy_util.c speedy_util.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_util.c rm -f speedy_sig.c cp ../src/speedy_sig.c speedy_sig.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_sig.c rm -f speedy_frontend.c cp ../src/speedy_frontend.c speedy_frontend.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_frontend.c rm -f speedy_backend.c cp ../src/speedy_backend.c speedy_backend.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_backend.c rm -f speedy_file.c cp ../src/speedy_file.c speedy_file.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_file.c rm -f speedy_slot.c cp ../src/speedy_slot.c speedy_slot.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_slot.c rm -f speedy_poll.c cp ../src/speedy_poll.c speedy_poll.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_poll.c rm -f speedy_ipc.c cp ../src/speedy_ipc.c speedy_ipc.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_ipc.c rm -f speedy_group.c cp ../src/speedy_group.c speedy_group.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_group.c rm -f speedy_script.c cp ../src/speedy_script.c speedy_script.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_script.c rm -f speedy_opt.c cp ../src/speedy_opt.c speedy_opt.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_opt.c speedy_opt.c: In function 'speedy_opt_init': speedy_opt.c:375:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 375 | write(2, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f speedy_optdefs.c cp ../src/speedy_optdefs.c speedy_optdefs.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND speedy_optdefs.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy_backend\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_BACKEND xsinit.c rm -f speedy_backend gcc -o speedy_backend speedy_backend_main.o speedy_perl.o speedy_util.o speedy_sig.o speedy_frontend.o speedy_backend.o speedy_file.o speedy_slot.o speedy_poll.o speedy_ipc.o speedy_group.o speedy_script.o speedy_opt.o speedy_optdefs.o xsinit.o -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc true echo '' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/speedy_backend' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/speedy' rm -f speedy_main.c cp ../src/speedy_main.c speedy_main.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_main.c speedy_main.c: In function 'doit': speedy_main.c:225:5: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 225 | pipe(sig_pipes); | ^~~~~~~~~~~~~~~ speedy_main.c:409:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 409 | read(sig_pipes[0], &c, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ speedy_main.c: In function 'catch_sig': speedy_main.c:102:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | write(sig_pipes[1], "", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ speedy_main.c: In function 'speedy_abort': speedy_main.c:504:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 504 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ rm -f speedy_cb.c cp ../src/speedy_cb.c speedy_cb.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_cb.c rm -f speedy_circ.c cp ../src/speedy_circ.c speedy_circ.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_circ.c rm -f speedy_util.c cp ../src/speedy_util.c speedy_util.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_util.c rm -f speedy_sig.c cp ../src/speedy_sig.c speedy_sig.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_sig.c In file included from speedy.h:3, from speedy_sig.c:20: speedy_sig.c: In function 'speedy_sig_wait': speedy_sig.c:71:33: warning: passing argument 2 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | speedy_memcpy(sl->sig_rcvd, got_sig, sizeof(got_sig)); | ^~~~~~~ ../src/speedy_main.h:24:42: note: in definition of macro 'speedy_memcpy' 24 | #define speedy_memcpy(d,s,n) memcpy(d,s,n) | ^ In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/lib64/perl5/CORE/perl.h:893, from ../src/speedy_inc_perl.h:25, from speedy.h:1: /usr/include/bits/string_fortified.h:26:1: note: expected 'const void * restrict' but argument is of type 'volatile int *' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ rm -f speedy_frontend.c cp ../src/speedy_frontend.c speedy_frontend.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_frontend.c rm -f speedy_backend.c cp ../src/speedy_backend.c speedy_backend.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_backend.c rm -f speedy_file.c cp ../src/speedy_file.c speedy_file.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_file.c rm -f speedy_slot.c cp ../src/speedy_slot.c speedy_slot.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_slot.c rm -f speedy_poll.c cp ../src/speedy_poll.c speedy_poll.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_poll.c rm -f speedy_ipc.c cp ../src/speedy_ipc.c speedy_ipc.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_ipc.c rm -f speedy_group.c cp ../src/speedy_group.c speedy_group.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_group.c rm -f speedy_script.c cp ../src/speedy_script.c speedy_script.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_script.c rm -f speedy_opt.c cp ../src/speedy_opt.c speedy_opt.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_opt.c speedy_opt.c: In function 'speedy_opt_exec_argv': speedy_opt.c:479:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 479 | exec_argv.ptrs[0] = OPTVAL_BACKENDPROG; | ^ speedy_opt.c: In function 'speedy_opt_init': speedy_opt.c:375:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 375 | write(2, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f speedy_optdefs.c cp ../src/speedy_optdefs.c speedy_optdefs.c gcc -c -I../src -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fwrapv -fno-strict-aliasing -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DVERSION=\"2.22\" -DXS_VERSION=\"2.22\" -fPIC "-I/usr/lib64/perl5/CORE" -DSPEEDY_PROGNAME=\"speedy\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND speedy_optdefs.c rm -f speedy ../util/remove_libs gcc -o speedy speedy_main.o speedy_cb.o speedy_circ.o speedy_util.o speedy_sig.o speedy_frontend.o speedy_backend.o speedy_file.o speedy_slot.o speedy_poll.o speedy_ipc.o speedy_group.o speedy_script.o speedy_opt.o speedy_optdefs.o -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE -lperl -lpthread -ldl -lm -lcrypt -lutil -lc Attempting to remove extraneous libraries from the speedy binary... removed -lperl removed -lpthread removed -ldl removed -lm removed -lcrypt removed -lutil removed -lc Final command is gcc -o speedy speedy_main.o speedy_cb.o speedy_circ.o speedy_util.o speedy_sig.o speedy_frontend.o speedy_backend.o speedy_file.o speedy_slot.o speedy_poll.o speedy_ipc.o speedy_group.o speedy_script.o speedy_opt.o speedy_optdefs.o -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -fstack-protector-strong -L/usr/local/lib -L/usr/lib64/perl5/CORE true echo '' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/speedy' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/mod_speedycgi2' rm -f mod_speedycgi2.c cp ../src/mod_speedycgi2.c mod_speedycgi2.c rm -f speedy_util.c cp ../src/speedy_util.c speedy_util.c rm -f speedy_sig.c cp ../src/speedy_sig.c speedy_sig.c rm -f speedy_frontend.c cp ../src/speedy_frontend.c speedy_frontend.c rm -f speedy_backend.c cp ../src/speedy_backend.c speedy_backend.c rm -f speedy_file.c cp ../src/speedy_file.c speedy_file.c rm -f speedy_slot.c cp ../src/speedy_slot.c speedy_slot.c rm -f speedy_poll.c cp ../src/speedy_poll.c speedy_poll.c rm -f speedy_ipc.c cp ../src/speedy_ipc.c speedy_ipc.c rm -f speedy_group.c cp ../src/speedy_group.c speedy_group.c rm -f speedy_script.c cp ../src/speedy_script.c speedy_script.c rm -f speedy_opt.c cp ../src/speedy_opt.c speedy_opt.c rm -f speedy_optdefs.c cp ../src/speedy_optdefs.c speedy_optdefs.c apxs -c -o mod_speedycgi.la '-DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND' -I../src -I. mod_speedycgi2.c speedy_util.c speedy_sig.c speedy_frontend.c speedy_backend.c speedy_file.c speedy_slot.c speedy_poll.c speedy_ipc.c speedy_group.c speedy_script.c speedy_opt.c speedy_optdefs.c /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o mod_speedycgi2.lo mod_speedycgi2.c && touch mod_speedycgi2.slo mod_speedycgi2.c: In function 'speedy_execvp': mod_speedycgi2.c:636:9: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 636 | chdir(ap_make_dirstr_parent(global_r->pool, global_r->filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_util.lo speedy_util.c && touch speedy_util.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_sig.lo speedy_sig.c && touch speedy_sig.slo In file included from speedy.h:3, from speedy_sig.c:20: speedy_sig.c: In function 'speedy_sig_wait': speedy_sig.c:71:33: warning: passing argument 2 of 'memcpy' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 71 | speedy_memcpy(sl->sig_rcvd, got_sig, sizeof(got_sig)); | ^~~~~~~ ../src/mod_speedycgi.h:24:42: note: in definition of macro 'speedy_memcpy' 24 | #define speedy_memcpy(d,s,n) memcpy(d,s,n) | ^ In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/apr-1/apr.h:165, from /usr/include/apr-1/apr_lib.h:28, from ../src/speedy_inc_apache2.h:20, from speedy.h:1: /usr/include/bits/string_fortified.h:26:1: note: expected 'const void * restrict' but argument is of type 'volatile int *' 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_frontend.lo speedy_frontend.c && touch speedy_frontend.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_backend.lo speedy_backend.c && touch speedy_backend.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_file.lo speedy_file.c && touch speedy_file.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_slot.lo speedy_slot.c && touch speedy_slot.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_poll.lo speedy_poll.c && touch speedy_poll.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_ipc.lo speedy_ipc.c && touch speedy_ipc.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_group.lo speedy_group.c && touch speedy_group.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_script.lo speedy_script.c && touch speedy_script.slo /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_opt.lo speedy_opt.c && touch speedy_opt.slo speedy_opt.c: In function 'speedy_opt_exec_argv': speedy_opt.c:479:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 479 | exec_argv.ptrs[0] = OPTVAL_BACKENDPROG; | ^ /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include -I../src -I. -DSPEEDY_PROGNAME=\"mod_speedycgi2\" -DSPEEDY_VERSION=\"2.22\" -DSPEEDY_FRONTEND -c -o speedy_optdefs.lo speedy_optdefs.c && touch speedy_optdefs.slo /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -lsystemd -Wl,-z,relro,-z,now -o mod_speedycgi.la -rpath /usr/lib64/httpd/modules -module -avoid-version speedy_optdefs.lo speedy_opt.lo speedy_script.lo speedy_group.lo speedy_ipc.lo speedy_poll.lo speedy_slot.lo speedy_file.lo speedy_backend.lo speedy_frontend.lo speedy_sig.lo speedy_util.lo mod_speedycgi2.lo /usr/bin/ld: cannot find -lsystemd: No such file or directory collect2: error: ld returned 1 exit status apxs:Error: Command failed with rc=65536 . make[1]: *** [Makefile:350: mod_speedycgi.la] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/CGI-SpeedyCGI-2.22/mod_speedycgi2' make: *** [Makefile:534: subdirs] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bTIoed (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.bTIoed (%build) I: [iurt_root_command] ERROR: chroot