D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/lpsolve-5.5.2.5-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.JzcDhz + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf lp_solve_5.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lp_solve_5.5.2.5_source.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lp_solve_5.5 + rm -rf /home/pterjan/rpmbuild/BUILD/lp_solve_5.5-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lp_solve_5.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lpsolve-5.5.0.11.cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lpsolve-5.5.2.0.defines.patch + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4dAe8m + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd lp_solve_5.5 + '[' 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 + cd lpsolve55 + sh -x ccc + : + src='../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c' + c=cc + echo '#include ' + echo '#include ' + echo 'main(){printf("ux%d", (int) (sizeof(void *)*8));}' + cc /tmp/platform.c -o /tmp/platform /tmp/platform.c:3:1: error: return type defaults to 'int' [-Wimplicit-int] 3 | main(){printf("ux%d", (int) (sizeof(void *)*8));} | ^~~~ ++ /tmp/platform ccc: line 11: /tmp/platform: No such file or directory + PLATFORM= + rm /tmp/platform /tmp/platform.c + mkdir bin bin/ + echo '#include ' + echo '#include ' + echo '#include ' + echo 'main(){isnan(0.0);}' + cc /tmp/isnan.c -o /tmp/isnan + '[' 1 = 0 ']' + NOISNAN=-DNOISNAN + rm /tmp/isnan.c /tmp/isnan + def= + so= + '[' '' = SCO_UNIX ']' + dl=-ldl + so=y + opts='-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' + cc -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -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 -DNOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c In file included from ../lp_MDO.c:22: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ ../shared/commonlib.c: In function 'timeNow': ../shared/commonlib.c:849:3: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 849 | ftime(&buf); | ^~~~~ In file included from ../shared/commonlib.c:9: /usr/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ In file included from ../lp_crash.c:21: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../bfp/bfp_LUSOL/LUSOL/lusol.c:50: In function 'clean_realloc', inlined from 'LUSOL_realloc_a' at ../bfp/bfp_LUSOL/LUSOL/lusol.c:87:26: ../bfp/bfp_LUSOL/LUSOL/lusol.h:26:41: warning: argument 2 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 26 | #define LUSOL_REALLOC(ptr, bytesize) realloc((void *) ptr, bytesize) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bfp/bfp_LUSOL/LUSOL/lusol.c:66:12: note: in expansion of macro 'LUSOL_REALLOC' 66 | oldptr = LUSOL_REALLOC(oldptr, newsize); | ^~~~~~~~~~~~~ In file included from ../bfp/bfp_LUSOL/LUSOL/lusol.c:44: /usr/include/stdlib.h: In function 'LUSOL_realloc_a': /usr/include/stdlib.h:683:14: note: in a call to allocation function 'realloc' declared here 683 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ In function 'clean_realloc', inlined from 'LUSOL_realloc_r' at ../bfp/bfp_LUSOL/LUSOL/lusol.c:149:26: ../bfp/bfp_LUSOL/LUSOL/lusol.h:26:41: warning: argument 2 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 26 | #define LUSOL_REALLOC(ptr, bytesize) realloc((void *) ptr, bytesize) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bfp/bfp_LUSOL/LUSOL/lusol.c:66:12: note: in expansion of macro 'LUSOL_REALLOC' 66 | oldptr = LUSOL_REALLOC(oldptr, newsize); | ^~~~~~~~~~~~~ /usr/include/stdlib.h: In function 'LUSOL_realloc_r': /usr/include/stdlib.h:683:14: note: in a call to allocation function 'realloc' declared here 683 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ In file included from ../lp_lib.c:41: ../lp_lib.h:63:10: warning: "isnan" redefined 63 | # define isnan(x) FALSE | ^~~~~ In file included from ../lp_lib.c:27: /usr/include/math.h:1011:11: note: this is the location of the previous definition 1011 | # define isnan(x) __builtin_isnan (x) | ^~~~~ In file included from ../lp_wlp.c:6: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_matrix.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_mipbb.c:30: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_MPS.c:5: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_params.c:6: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_presolve.c:36: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_price.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_pricePSE.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_scale.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_simplex.c:27: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_SOS.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_utils.c:4: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ ++ echo ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c ++ sed 's/[.]c/.o/g' ++ sed 's/[^ ]*\///g' + ar rv bin//liblpsolve55.a lp_MDO.o commonlib.o mmio.o myblas.o ini.o fortify.o colamd.o lp_rlp.o lp_crash.o lp_LUSOL.o lusol.o lp_Hash.o lp_lib.o lp_wlp.o lp_matrix.o lp_mipbb.o lp_MPS.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_scale.o lp_simplex.o lp_SOS.o lp_utils.o yacc_read.o ar: creating bin//liblpsolve55.a ar: lp_MDO.o: No such file or directory + ranlib bin//liblpsolve55.a ranlib: 'bin//liblpsolve55.a': No such file + '[' y '!=' '' ']' + cc -fpic -s -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -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 -DNOISNAN -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c In file included from ../lp_MDO.c:22: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ ../shared/commonlib.c: In function 'timeNow': ../shared/commonlib.c:849:3: warning: 'ftime' is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations] 849 | ftime(&buf); | ^~~~~ In file included from ../shared/commonlib.c:9: /usr/include/sys/timeb.h:29:12: note: declared here 29 | extern int ftime (struct timeb *__timebuf) | ^~~~~ In file included from ../lp_crash.c:21: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_lib.c:41: ../lp_lib.h:63:10: warning: "isnan" redefined 63 | # define isnan(x) FALSE | ^~~~~ In file included from ../lp_lib.c:27: /usr/include/math.h:1011:11: note: this is the location of the previous definition 1011 | # define isnan(x) __builtin_isnan (x) | ^~~~~ In file included from ../lp_wlp.c:6: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_matrix.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_mipbb.c:30: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_MPS.c:5: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_params.c:6: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_presolve.c:36: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_price.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_pricePSE.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_scale.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_simplex.c:27: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_SOS.c:3: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ In file included from ../lp_utils.c:4: ../shared/commonlib.h:88:24: error: expected identifier or '(' before numeric constant 88 | #define FALSE 0 | ^ ++ sed 's/[^ ]*\///g' ++ sed 's/[.]c/.o/g' ++ echo ../lp_MDO.c ../shared/commonlib.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.c ../colamd/colamd.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c ../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c + cc -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o bin//liblpsolve55.so lp_MDO.o commonlib.o mmio.o myblas.o ini.o fortify.o colamd.o lp_rlp.o lp_crash.o lp_LUSOL.o lusol.o lp_Hash.o lp_lib.o lp_wlp.o lp_matrix.o lp_mipbb.o lp_MPS.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_scale.o lp_simplex.o lp_SOS.o lp_utils.o yacc_read.o -lc -lm -ldl /usr/bin/ld: cannot find lp_MDO.o: No such file or directory /usr/bin/ld: cannot find lp_crash.o: No such file or directory /usr/bin/ld: cannot find lp_wlp.o: No such file or directory /usr/bin/ld: cannot find lp_matrix.o: No such file or directory /usr/bin/ld: cannot find lp_mipbb.o: No such file or directory /usr/bin/ld: cannot find lp_MPS.o: No such file or directory /usr/bin/ld: cannot find lp_params.o: No such file or directory /usr/bin/ld: cannot find lp_presolve.o: No such file or directory /usr/bin/ld: cannot find lp_price.o: No such file or directory /usr/bin/ld: cannot find lp_pricePSE.o: No such file or directory /usr/bin/ld: cannot find lp_scale.o: No such file or directory /usr/bin/ld: cannot find lp_simplex.o: No such file or directory /usr/bin/ld: cannot find lp_SOS.o: No such file or directory /usr/bin/ld: cannot find lp_utils.o: No such file or directory collect2: error: ld returned 1 exit status + rm colamd.o commonlib.o fortify.o ini.o lp_Hash.o lp_LUSOL.o lp_lib.o lp_report.o lp_rlp.o lusol.o mmio.o myblas.o yacc_read.o + rm 'bin/ux*/liblpsolve55.a' rm: cannot remove 'bin/ux*/liblpsolve55.a': No such file or directory error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.4dAe8m (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.4dAe8m (%build) I: [iurt_root_command] ERROR: chroot