D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/jack_capture-0.9.73-4.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cMWqcT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-build + test -d /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gpytCb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-build + rm -rf jack_capture-0.9.73 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jack_capture-0.9.73.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jack_capture-0.9.73 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Compile-with-_GNU_SOURCE-to-avoid-custom-version-of-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jN1ll2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/jack_capture-0.9.73-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 jack_capture-0.9.73 + '[' 1 -eq 1 ']' + '[' 1 -eq 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' + 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 + /usr/bin/make -O -j16 V=1 VERBOSE=1 Checking dependencies: which bash /usr/bin/bash which tr /usr/bin/tr which sed /usr/bin/sed which install /usr/bin/install which pkg-config /usr/bin/pkg-config which gcc /usr/bin/gcc which g++ /usr/bin/g++ 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 -I/opt/local/include -E testsndfile.c >/dev/null All seems good bash gen_das_config_h.sh >das_config.h jack_capture was configured with the following options: ------------------------------ #define HAVE_OGG 0 #define HAVE_LAME 0 #define HAVE_LIBLO 0 #define NEW_JACK_LATENCY_API 0 ------------------------------ cat das_config.h |grep COMPILEFLAGS|sed s/\\/\\/COMPILEFLAGS//|tr '\n' ' ' >config_flags bash gen_setformat_c.sh >setformat.c 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 -I/opt/local/include -O3 -DVERSION=\"0.9.73\" -Wall -Wextra -Wno-unused jack_capture.c vringbuffer.c upwaker.c osc.c -o jack_capture -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 -ljack -lsndfile -lm -lpthread -lrt `cat config_flags` jack_capture.c: In function 'hook_rec_timimg': jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:981:3: note: in expansion of macro 'ARGS_ADD_ARGV' 981 | ARGS_ADD_ARGV("%s", fn); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:982:3: note: in expansion of macro 'ARGS_ADD_ARGV' 982 | ARGS_ADD_ARGV("%ld", start.tv_sec); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:983:3: note: in expansion of macro 'ARGS_ADD_ARGV' 983 | ARGS_ADD_ARGV("%ld", start.tv_nsec); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:984:3: note: in expansion of macro 'ARGS_ADD_ARGV' 984 | ARGS_ADD_ARGV("%d", latency); | ^~~~~~~~~~~~~ jack_capture.c: In function 'hook_file_rotated': jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:1004:3: note: in expansion of macro 'ARGS_ADD_ARGV' 1004 | ARGS_ADD_ARGV("%s", oldfn); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:1005:3: note: in expansion of macro 'ARGS_ADD_ARGV' 1005 | ARGS_ADD_ARGV("%d", xruns); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:1006:3: note: in expansion of macro 'ARGS_ADD_ARGV' 1006 | ARGS_ADD_ARGV("%d", io_errors); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:1007:3: note: in expansion of macro 'ARGS_ADD_ARGV' 1007 | ARGS_ADD_ARGV("%s", newfn); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:1008:3: note: in expansion of macro 'ARGS_ADD_ARGV' 1008 | ARGS_ADD_ARGV("%d", num); | ^~~~~~~~~~~~~ jack_capture.c: In function 'hook_file_opened': jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:972:3: note: in expansion of macro 'ARGS_ADD_ARGV' 972 | ARGS_ADD_ARGV("%s", fn); | ^~~~~~~~~~~~~ jack_capture.c: In function 'hook_file_closed': jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:993:3: note: in expansion of macro 'ARGS_ADD_ARGV' 993 | ARGS_ADD_ARGV("%s", fn); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:994:3: note: in expansion of macro 'ARGS_ADD_ARGV' 994 | ARGS_ADD_ARGV("%d", xruns); | ^~~~~~~~~~~~~ jack_capture.c:907:3: warning: ignoring return value of 'asprintf' declared with attribute 'warn_unused_result' [-Wunused-result] 907 | asprintf(&argv[argc++], FMT, ARG); argv[argc] = 0; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jack_capture.c:995:3: note: in expansion of macro 'ARGS_ADD_ARGV' 995 | ARGS_ADD_ARGV("%d", io_errors); | ^~~~~~~~~~~~~ jack_capture.c: In function 'init_arguments': jack_capture.c:2417:38: warning: '.' directive output between 1 and 1 bytes may cause result to exceed 'INT_MAX' [-Wformat-overflow=] 2417 | sprintf(base_filename,"%s%0*d.%s",filename_prefix,leading_zeros+1,++try,soundfile_format); | ^ /usr/bin/ld: cannot find -ljack: No such file or directory collect2: error: ld returned 1 exit status make: *** [Makefile:63: jack_capture] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jN1ll2 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jN1ll2 (%build) I: [iurt_root_command] ERROR: chroot