Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/lpsolve.spec'], chrootPath='/var/lib/mock/f42-build-55084036-6532391/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ecyvfrtp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ecyvfrtp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4e2d1c0d2aa2443181d156dcb7a8bfd3', '-D', '/var/lib/mock/f42-build-55084036-6532391/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ecyvfrtp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/lpsolve.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1729728000 Wrote: /builddir/build/SRPMS/lpsolve-5.5.2.11-7.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/lpsolve.spec'], chrootPath='/var/lib/mock/f42-build-55084036-6532391/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ecyvfrtp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ecyvfrtp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c7142a8a88ee49a99f7c74bebe3ea600', '-D', '/var/lib/mock/f42-build-55084036-6532391/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ecyvfrtp:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/lpsolve.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1729728000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.A7OJO0 + umask 022 + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + test -d /builddir/build/BUILD/lpsolve-5.5.2.11-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/lpsolve-5.5.2.11-build + /usr/bin/rm -rf /builddir/build/BUILD/lpsolve-5.5.2.11-build + /usr/bin/mkdir -p /builddir/build/BUILD/lpsolve-5.5.2.11-build + /usr/bin/mkdir -p /builddir/build/BUILD/lpsolve-5.5.2.11-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d25VYT + umask 022 + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + rm -rf lp_solve_5.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lp_solve_5.5.2.11_source-repackaged.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lp_solve_5.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lp_solve-5.5.2.11-Respect-CC-CFLAGS-and-LDFLAGS.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lp_solve-5.5.2.11-Port-to-C99.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 /builddir/build/SOURCES/lp_solve-5.5.2.11-Link-a-tool-to-a-shared-library.patch + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lp_solve-5.5.2.11-Rebase-COLAMD-to-3.0.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lp_solve-5.5.2.11-Port-lp_MDO-to-colamd-3.0.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + mv colamd/License.txt colamd/colamd_license + chmod -x lp_lib.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qXnXoh + umask 022 + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC ~/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5/lpsolve55 ~/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5 + CXX=g++ + export CXX + cd lp_solve_5.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + pushd 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=gcc ++ mktemp -d /tmp/lp_solve_XXXXXX + MYTMP=/tmp/lp_solve_xF43ee + echo '#include ' + echo '#include ' + echo 'int main(void){printf("ux%d", (int) (sizeof(void *)*8));}' + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection /tmp/lp_solve_xF43ee/platform.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o /tmp/lp_solve_xF43ee/platform ++ /tmp/lp_solve_xF43ee/platform + PLATFORM=ux64 + rm /tmp/lp_solve_xF43ee/platform /tmp/lp_solve_xF43ee/platform.c + mkdir bin bin/ux64 + echo '#include ' + echo '#include ' + echo '#include ' + echo 'int main(void){isnan(0.0);return 0;}' + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection /tmp/lp_solve_xF43ee/isnan.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o /tmp/lp_solve_xF43ee/isnan + '[' 0 = 0 ']' + NOISNAN= + rm /tmp/lp_solve_xF43ee/isnan.c /tmp/lp_solve_xF43ee/isnan + rmdir /tmp/lp_solve_xF43ee + def= + so= + '[' ux64 = SCO_UNIX ']' + dl=-ldl + so=y + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -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 ../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) | ^~~~~ ../shared/mmio.c: In function ‘mm_read_unsymmetric_sparse’: ../shared/mmio.c:26:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 26 | int x; | ^ In file included from ../lp_rlp.c:205: ../lp_rlp.h:1653:16: warning: ‘input’ defined but not used [-Wunused-function] 1653 | static int input (lp_yyscan_t lp_yyscanner) | ^~~~~ ../bfp/bfp_LUSOL/lp_LUSOL.c: In function ‘bfp_LUSOLsetcolumn’: ../bfp/bfp_LUSOL/lp_LUSOL.c:209:7: warning: variable ‘nz’ set but not used [-Wunused-but-set-variable] 209 | int nz, inform; | ^~ ../bfp/bfp_LUSOL/lp_LUSOL.c: In function ‘bfp_finishupdate’: ../bfp/bfp_LUSOL/lp_LUSOL.c:477:18: warning: variable ‘kcol’ set but not used [-Wunused-but-set-variable] 477 | int i, k, kcol, deltarows = bfp_rowoffset(lp); | ^~~~ In file included from ../bfp/bfp_LUSOL/LUSOL/lusol.c:746: ../bfp/bfp_LUSOL/LUSOL/lusol1.c: In function ‘LU1FAC’: ../bfp/bfp_LUSOL/LUSOL/lusol1.c:3359:34: warning: variable ‘TSP’ set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^~~ ../bfp/bfp_LUSOL/LUSOL/lusol1.c:3359:29: warning: variable ‘TRP’ set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^~~ ../bfp/bfp_LUSOL/LUSOL/lusol1.c:3359:19: warning: variable ‘TCP’ set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^~~ ../lp_lib.c: In function ‘MIP_stepOF’: ../lp_lib.c:6847:11: warning: unused variable ‘nrows’ [-Wunused-variable] 6847 | int nrows = lp->rows; | ^~~~~ ../lp_lib.c: In function ‘verify_basis’: ../lp_lib.c:7268:17: warning: variable ‘k’ set but not used [-Wunused-but-set-variable] 7268 | int i, ii, k = 0; | ^ ../lp_lib.c: In function ‘check_solution’: ../lp_lib.c:8960:11: warning: unused variable ‘mat’ [-Wunused-variable] 8960 | MATrec *mat = lp->matA; | ^~~ ../lp_lib.c:8959:66: warning: unused variable ‘matColnr’ [-Wunused-variable] 8959 | int i,j,n, errlevel = IMPORTANT, errlimit = 10, *matRownr, *matColnr; | ^~~~~~~~ ../lp_lib.c:8959:55: warning: unused variable ‘matRownr’ [-Wunused-variable] 8959 | int i,j,n, errlevel = IMPORTANT, errlimit = 10, *matRownr, *matColnr; | ^~~~~~~~ ../lp_lib.c:8950:59: warning: unused variable ‘matValue’ [-Wunused-variable] 8950 | REAL test, value, diff, maxdiff = 0.0, maxerr = 0.0, *matValue; | ^~~~~~~~ In file included from ../lp_lib.c:49: ../lp_presolve.h: At top level: ../lp_presolve.h:90:12: warning: ‘presolve_nextrow’ declared ‘static’ but never defined [-Wunused-function] 90 | INLINE int presolve_nextrow(presolverec *psdata, int colnr, int *previtem); | ^~~~~~~~~~~~~~~~ ../lp_presolve.h:91:12: warning: ‘presolve_nextcol’ declared ‘static’ but never defined [-Wunused-function] 91 | INLINE int presolve_nextcol(presolverec *psdata, int rownr, int *previtem); | ^~~~~~~~~~~~~~~~ In file included from ../lp_lib.c:82: ../lp_price.h:39:13: warning: ‘normalizeEdge’ declared ‘static’ but never defined [-Wunused-function] 39 | INLINE REAL normalizeEdge(lprec *lp, int item, REAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from ../lp_lib.c:83: ../lp_pricePSE.h:14:15: warning: ‘applyPricer’ declared ‘static’ but never defined [-Wunused-function] 14 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ In file included from ../lp_lib.c:55: ../lp_bit.h:14:15: warning: ‘set_bitoff’ defined but not used [-Wunused-function] 14 | MYINLINE void set_bitoff(MYBOOL *bitarray, int item) | ^~~~~~~~~~ ../lp_presolve.h:110:12: warning: ‘presolve_collength’ defined but not used [-Wunused-function] 110 | INLINE int presolve_collength(presolverec *psdata, int colnr) | ^~~~~~~~~~~~~~~~~~ ../lp_presolve.h:101:12: warning: ‘presolve_rowlength’ defined but not used [-Wunused-function] 101 | INLINE int presolve_rowlength(presolverec *psdata, int rownr) | ^~~~~~~~~~~~~~~~~~ ../lp_matrix.c: In function ‘inc_matrow_space’: ../lp_matrix.c:197:18: warning: variable ‘oldrowsalloc’ set but not used [-Wunused-but-set-variable] 197 | int rowsum, oldrowsalloc; | ^~~~~~~~~~~~ ../lp_matrix.c: In function ‘prod_Ax’: ../lp_matrix.c:3325:34: warning: variable ‘ve’ set but not used [-Wunused-but-set-variable] 3325 | int j, colnr, ib, ie, vb, ve; | ^~ In file included from ../lp_matrix.c:7: ../lp_price.h: At top level: ../lp_price.h:39:13: warning: ‘normalizeEdge’ declared ‘static’ but never defined [-Wunused-function] 39 | INLINE REAL normalizeEdge(lprec *lp, int item, REAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from ../lp_matrix.c:8: ../lp_pricePSE.h:14:15: warning: ‘applyPricer’ declared ‘static’ but never defined [-Wunused-function] 14 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ ../lp_MPS.c: In function ‘number’: ../lp_MPS.c:1262:3: warning: ‘strncpy’ output may be truncated copying between 12 and 15 bytes from a string of length 79 [-Wstringop-truncation] 1262 | strncpy(str,_str,l); | ^ ../lp_presolve.c: In function ‘presolve_debugmap’: ../lp_presolve.c:462:51: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 462 | int colnr, ix, ie, nx, jx, je, *cols, *rows, n; | ^ ../lp_presolve.c: In function ‘presolve_colfixdual’: ../lp_presolve.c:1993:18: warning: variable ‘isMI’ set but not used [-Wunused-but-set-variable] 1993 | MYBOOL hasOF, isMI, isDualFREE = TRUE; | ^~~~ ../lp_presolve.c: In function ‘presolve_columns’: ../lp_presolve.c:4873:46: warning: variable ‘item’ set but not used [-Wunused-but-set-variable] 4873 | status = RUNNING, ix, j, countNZ, item; | ^~~~ ../lp_presolve.c:4866:31: warning: variable ‘unbounded’ set but not used [-Wunused-but-set-variable] 4866 | MYBOOL candelete, isOFNZ, unbounded, | ^~~~~~~~~ ../lp_presolve.c: In function ‘presolve_rows’: ../lp_presolve.c:5311:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 5311 | if(!presolve_fixSOS1(psdata, j, Value1, &iConRemove, &iVarFixed)) | ^~ ../lp_presolve.c:5313:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 5313 | psdata->forceupdate = TRUE; | ^~~~~~ ../lp_presolve.c: At top level: ../lp_presolve.c:377:15: warning: ‘presolve_mustupdate’ defined but not used [-Wunused-function] 377 | INLINE MYBOOL presolve_mustupdate(lprec *lp, int colnr) | ^~~~~~~~~~~~~~~~~~~ ../lp_price.c: In function ‘compareImprovementVar’: ../lp_price.c:48:7: warning: variable ‘candidatecolno’ set but not used [-Wunused-but-set-variable] 48 | candidatecolno, candidatevarno = candidate->varno; | ^~~~~~~~~~~~~~ ../lp_price.c:47:7: warning: variable ‘currentcolno’ set but not used [-Wunused-but-set-variable] 47 | int currentcolno, currentvarno = current->varno, | ^~~~~~~~~~~~ ../lp_price.c: In function ‘compareSubstitutionVar’: ../lp_price.c:161:10: warning: variable ‘candidatecolno’ set but not used [-Wunused-but-set-variable] 161 | candidatecolno, candidatevarno = candidate->varno; | ^~~~~~~~~~~~~~ ../lp_price.c:160:10: warning: variable ‘currentcolno’ set but not used [-Wunused-but-set-variable] 160 | int currentcolno, currentvarno = current->varno, | ^~~~~~~~~~~~ ../lp_price.c: In function ‘partial_findBlocks’: ../lp_price.c:1561:15: warning: variable ‘blockdata’ set but not used [-Wunused-but-set-variable] 1561 | partialrec *blockdata; | ^~~~~~~~~ In file included from ../lp_price.c:6: ../lp_pricePSE.h: At top level: ../lp_pricePSE.h:14:15: warning: ‘applyPricer’ declared ‘static’ but never defined [-Wunused-function] 14 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ ../lp_scale.c: In function ‘CurtisReidScales’: ../lp_scale.c:150:24: warning: variable ‘ekm2’ set but not used [-Wunused-but-set-variable] 150 | qkm2, qkqkm1, ekm2, ekekm1, | ^~~~ ../lp_scale.c:150:10: warning: variable ‘qkm2’ set but not used [-Wunused-but-set-variable] 150 | qkm2, qkqkm1, ekm2, ekekm1, | ^~~~ ../lp_scale.c: In function ‘scale_columns’: ../lp_scale.c:632:16: warning: variable ‘colMax’ set but not used [-Wunused-but-set-variable] 632 | int i,j, colMax, nz; | ^~~~~~ ../lp_simplex.c: In function ‘dualloop’: ../lp_simplex.c:1002:10: warning: variable ‘epsvalue’ set but not used [-Wunused-but-set-variable] 1002 | REAL epsvalue, xviolated, cviolated, | ^~~~~~~~ In file included from ../lp_simplex.c:32: ../lp_presolve.h: At top level: ../lp_presolve.h:90:12: warning: ‘presolve_nextrow’ declared ‘static’ but never defined [-Wunused-function] 90 | INLINE int presolve_nextrow(presolverec *psdata, int colnr, int *previtem); | ^~~~~~~~~~~~~~~~ ../lp_presolve.h:91:12: warning: ‘presolve_nextcol’ declared ‘static’ but never defined [-Wunused-function] 91 | INLINE int presolve_nextcol(presolverec *psdata, int rownr, int *previtem); | ^~~~~~~~~~~~~~~~ In file included from ../lp_simplex.c:33: ../lp_price.h:39:13: warning: ‘normalizeEdge’ declared ‘static’ but never defined [-Wunused-function] 39 | INLINE REAL normalizeEdge(lprec *lp, int item, REAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from ../lp_simplex.c:34: ../lp_pricePSE.h:14:15: warning: ‘applyPricer’ declared ‘static’ but never defined [-Wunused-function] 14 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ ../lp_presolve.h:110:12: warning: ‘presolve_collength’ defined but not used [-Wunused-function] 110 | INLINE int presolve_collength(presolverec *psdata, int colnr) | ^~~~~~~~~~~~~~~~~~ ../lp_presolve.h:101:12: warning: ‘presolve_rowlength’ defined but not used [-Wunused-function] 101 | INLINE int presolve_rowlength(presolverec *psdata, int rownr) | ^~~~~~~~~~~~~~~~~~ ../lp_utils.c: In function ‘searchFor’: ../lp_utils.c:532:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 532 | if(absolute) | ^~ ../lp_utils.c:534:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 534 | while((beginPos < endPos) && (match != target)) { | ^~~~~ ../lp_utils.c: In function ‘compareLink’: ../lp_utils.c:927:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 927 | if(test == 0) | ^~ ../lp_utils.c:929:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 929 | if(test == 0) | ^~ In file included from ../lp_utils.c:9: ../lp_bit.h: At top level: ../lp_bit.h:19:17: warning: ‘is_biton’ defined but not used [-Wunused-function] 19 | MYINLINE MYBOOL is_biton(MYBOOL *bitarray, int item) | ^~~~~~~~ ../lp_bit.h:14:15: warning: ‘set_bitoff’ defined but not used [-Wunused-function] 14 | MYINLINE void set_bitoff(MYBOOL *bitarray, int item) | ^~~~~~~~~~ ../lp_bit.h:9:15: warning: ‘set_biton’ defined but not used [-Wunused-function] 9 | MYINLINE void set_biton(MYBOOL *bitarray, int item) | ^~~~~~~~~ In file included from ../yacc_read.c:36: ../yacc_read.c: In function ‘yacc_read’: ../lpkit.h:32:99: warning: right-hand operand of comma expression has no effect [-Wunused-value] 32 | (MALLOC(nptr, nr, type), (nptr != NULL) ? memcpy(nptr, optr, (size_t)((nr) * sizeof(*optr))) : 0, nptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../yacc_read.c:1296:11: note: in expansion of macro ‘MALLOCCPY’ 1296 | MALLOCCPY(orig_upbo, lp->orig_upbo, 1 + pp->Rows, REAL); | ^~~~~~~~~ ++ sed 's/[.]c/.o/g' ++ sed 's/[^ ]*\///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 + ar rv bin/ux64/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/ux64/liblpsolve55.a a - lp_MDO.o a - commonlib.o a - mmio.o a - myblas.o a - ini.o a - fortify.o a - colamd.o a - lp_rlp.o a - lp_crash.o a - lp_LUSOL.o a - lusol.o a - lp_Hash.o a - lp_lib.o a - lp_wlp.o a - lp_matrix.o a - lp_mipbb.o a - lp_MPS.o a - lp_params.o a - lp_presolve.o a - lp_price.o a - lp_pricePSE.o a - lp_report.o a - lp_scale.o a - lp_simplex.o a - lp_SOS.o a - lp_utils.o a - yacc_read.o + ranlib bin/ux64/liblpsolve55.a + '[' y '!=' '' ']' + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -c -I.. -I../shared -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I. -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 ../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) | ^~~~~ ../shared/mmio.c: In function ‘mm_read_unsymmetric_sparse’: ../shared/mmio.c:26:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 26 | int x; | ^ In file included from ../lp_rlp.c:205: ../lp_rlp.h:1653:16: warning: ‘input’ defined but not used [-Wunused-function] 1653 | static int input (lp_yyscan_t lp_yyscanner) | ^~~~~ ../bfp/bfp_LUSOL/lp_LUSOL.c: In function ‘bfp_LUSOLsetcolumn’: ../bfp/bfp_LUSOL/lp_LUSOL.c:209:7: warning: variable ‘nz’ set but not used [-Wunused-but-set-variable] 209 | int nz, inform; | ^~ ../bfp/bfp_LUSOL/lp_LUSOL.c: In function ‘bfp_finishupdate’: ../bfp/bfp_LUSOL/lp_LUSOL.c:477:18: warning: variable ‘kcol’ set but not used [-Wunused-but-set-variable] 477 | int i, k, kcol, deltarows = bfp_rowoffset(lp); | ^~~~ In file included from ../bfp/bfp_LUSOL/LUSOL/lusol.c:746: ../bfp/bfp_LUSOL/LUSOL/lusol1.c: In function ‘LU1FAC’: ../bfp/bfp_LUSOL/LUSOL/lusol1.c:3359:34: warning: variable ‘TSP’ set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^~~ ../bfp/bfp_LUSOL/LUSOL/lusol1.c:3359:29: warning: variable ‘TRP’ set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^~~ ../bfp/bfp_LUSOL/LUSOL/lusol1.c:3359:19: warning: variable ‘TCP’ set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^~~ ../lp_lib.c: In function ‘MIP_stepOF’: ../lp_lib.c:6847:11: warning: unused variable ‘nrows’ [-Wunused-variable] 6847 | int nrows = lp->rows; | ^~~~~ ../lp_lib.c: In function ‘verify_basis’: ../lp_lib.c:7268:17: warning: variable ‘k’ set but not used [-Wunused-but-set-variable] 7268 | int i, ii, k = 0; | ^ ../lp_lib.c: In function ‘check_solution’: ../lp_lib.c:8960:11: warning: unused variable ‘mat’ [-Wunused-variable] 8960 | MATrec *mat = lp->matA; | ^~~ ../lp_lib.c:8959:66: warning: unused variable ‘matColnr’ [-Wunused-variable] 8959 | int i,j,n, errlevel = IMPORTANT, errlimit = 10, *matRownr, *matColnr; | ^~~~~~~~ ../lp_lib.c:8959:55: warning: unused variable ‘matRownr’ [-Wunused-variable] 8959 | int i,j,n, errlevel = IMPORTANT, errlimit = 10, *matRownr, *matColnr; | ^~~~~~~~ ../lp_lib.c:8950:59: warning: unused variable ‘matValue’ [-Wunused-variable] 8950 | REAL test, value, diff, maxdiff = 0.0, maxerr = 0.0, *matValue; | ^~~~~~~~ In file included from ../lp_lib.c:49: ../lp_presolve.h: At top level: ../lp_presolve.h:90:12: warning: ‘presolve_nextrow’ declared ‘static’ but never defined [-Wunused-function] 90 | INLINE int presolve_nextrow(presolverec *psdata, int colnr, int *previtem); | ^~~~~~~~~~~~~~~~ ../lp_presolve.h:91:12: warning: ‘presolve_nextcol’ declared ‘static’ but never defined [-Wunused-function] 91 | INLINE int presolve_nextcol(presolverec *psdata, int rownr, int *previtem); | ^~~~~~~~~~~~~~~~ In file included from ../lp_lib.c:82: ../lp_price.h:39:13: warning: ‘normalizeEdge’ declared ‘static’ but never defined [-Wunused-function] 39 | INLINE REAL normalizeEdge(lprec *lp, int item, REAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from ../lp_lib.c:83: ../lp_pricePSE.h:14:15: warning: ‘applyPricer’ declared ‘static’ but never defined [-Wunused-function] 14 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ In file included from ../lp_lib.c:55: ../lp_bit.h:14:15: warning: ‘set_bitoff’ defined but not used [-Wunused-function] 14 | MYINLINE void set_bitoff(MYBOOL *bitarray, int item) | ^~~~~~~~~~ ../lp_presolve.h:110:12: warning: ‘presolve_collength’ defined but not used [-Wunused-function] 110 | INLINE int presolve_collength(presolverec *psdata, int colnr) | ^~~~~~~~~~~~~~~~~~ ../lp_presolve.h:101:12: warning: ‘presolve_rowlength’ defined but not used [-Wunused-function] 101 | INLINE int presolve_rowlength(presolverec *psdata, int rownr) | ^~~~~~~~~~~~~~~~~~ ../lp_matrix.c: In function ‘inc_matrow_space’: ../lp_matrix.c:197:18: warning: variable ‘oldrowsalloc’ set but not used [-Wunused-but-set-variable] 197 | int rowsum, oldrowsalloc; | ^~~~~~~~~~~~ ../lp_matrix.c: In function ‘prod_Ax’: ../lp_matrix.c:3325:34: warning: variable ‘ve’ set but not used [-Wunused-but-set-variable] 3325 | int j, colnr, ib, ie, vb, ve; | ^~ In file included from ../lp_matrix.c:7: ../lp_price.h: At top level: ../lp_price.h:39:13: warning: ‘normalizeEdge’ declared ‘static’ but never defined [-Wunused-function] 39 | INLINE REAL normalizeEdge(lprec *lp, int item, REAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from ../lp_matrix.c:8: ../lp_pricePSE.h:14:15: warning: ‘applyPricer’ declared ‘static’ but never defined [-Wunused-function] 14 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ ../lp_MPS.c: In function ‘number’: ../lp_MPS.c:1262:3: warning: ‘strncpy’ output may be truncated copying between 12 and 15 bytes from a string of length 79 [-Wstringop-truncation] 1262 | strncpy(str,_str,l); | ^ ../lp_presolve.c: In function ‘presolve_debugmap’: ../lp_presolve.c:462:51: warning: variable ‘n’ set but not used [-Wunused-but-set-variable] 462 | int colnr, ix, ie, nx, jx, je, *cols, *rows, n; | ^ ../lp_presolve.c: In function ‘presolve_colfixdual’: ../lp_presolve.c:1993:18: warning: variable ‘isMI’ set but not used [-Wunused-but-set-variable] 1993 | MYBOOL hasOF, isMI, isDualFREE = TRUE; | ^~~~ ../lp_presolve.c: In function ‘presolve_columns’: ../lp_presolve.c:4873:46: warning: variable ‘item’ set but not used [-Wunused-but-set-variable] 4873 | status = RUNNING, ix, j, countNZ, item; | ^~~~ ../lp_presolve.c:4866:31: warning: variable ‘unbounded’ set but not used [-Wunused-but-set-variable] 4866 | MYBOOL candelete, isOFNZ, unbounded, | ^~~~~~~~~ ../lp_presolve.c: In function ‘presolve_rows’: ../lp_presolve.c:5311:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 5311 | if(!presolve_fixSOS1(psdata, j, Value1, &iConRemove, &iVarFixed)) | ^~ ../lp_presolve.c:5313:15: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 5313 | psdata->forceupdate = TRUE; | ^~~~~~ ../lp_presolve.c: At top level: ../lp_presolve.c:377:15: warning: ‘presolve_mustupdate’ defined but not used [-Wunused-function] 377 | INLINE MYBOOL presolve_mustupdate(lprec *lp, int colnr) | ^~~~~~~~~~~~~~~~~~~ ../lp_price.c: In function ‘compareImprovementVar’: ../lp_price.c:48:7: warning: variable ‘candidatecolno’ set but not used [-Wunused-but-set-variable] 48 | candidatecolno, candidatevarno = candidate->varno; | ^~~~~~~~~~~~~~ ../lp_price.c:47:7: warning: variable ‘currentcolno’ set but not used [-Wunused-but-set-variable] 47 | int currentcolno, currentvarno = current->varno, | ^~~~~~~~~~~~ ../lp_price.c: In function ‘compareSubstitutionVar’: ../lp_price.c:161:10: warning: variable ‘candidatecolno’ set but not used [-Wunused-but-set-variable] 161 | candidatecolno, candidatevarno = candidate->varno; | ^~~~~~~~~~~~~~ ../lp_price.c:160:10: warning: variable ‘currentcolno’ set but not used [-Wunused-but-set-variable] 160 | int currentcolno, currentvarno = current->varno, | ^~~~~~~~~~~~ ../lp_price.c: In function ‘partial_findBlocks’: ../lp_price.c:1561:15: warning: variable ‘blockdata’ set but not used [-Wunused-but-set-variable] 1561 | partialrec *blockdata; | ^~~~~~~~~ In file included from ../lp_price.c:6: ../lp_pricePSE.h: At top level: ../lp_pricePSE.h:14:15: warning: ‘applyPricer’ declared ‘static’ but never defined [-Wunused-function] 14 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ ../lp_scale.c: In function ‘CurtisReidScales’: ../lp_scale.c:150:24: warning: variable ‘ekm2’ set but not used [-Wunused-but-set-variable] 150 | qkm2, qkqkm1, ekm2, ekekm1, | ^~~~ ../lp_scale.c:150:10: warning: variable ‘qkm2’ set but not used [-Wunused-but-set-variable] 150 | qkm2, qkqkm1, ekm2, ekekm1, | ^~~~ ../lp_scale.c: In function ‘scale_columns’: ../lp_scale.c:632:16: warning: variable ‘colMax’ set but not used [-Wunused-but-set-variable] 632 | int i,j, colMax, nz; | ^~~~~~ ../lp_simplex.c: In function ‘dualloop’: ../lp_simplex.c:1002:10: warning: variable ‘epsvalue’ set but not used [-Wunused-but-set-variable] 1002 | REAL epsvalue, xviolated, cviolated, | ^~~~~~~~ In file included from ../lp_simplex.c:32: ../lp_presolve.h: At top level: ../lp_presolve.h:90:12: warning: ‘presolve_nextrow’ declared ‘static’ but never defined [-Wunused-function] 90 | INLINE int presolve_nextrow(presolverec *psdata, int colnr, int *previtem); | ^~~~~~~~~~~~~~~~ ../lp_presolve.h:91:12: warning: ‘presolve_nextcol’ declared ‘static’ but never defined [-Wunused-function] 91 | INLINE int presolve_nextcol(presolverec *psdata, int rownr, int *previtem); | ^~~~~~~~~~~~~~~~ In file included from ../lp_simplex.c:33: ../lp_price.h:39:13: warning: ‘normalizeEdge’ declared ‘static’ but never defined [-Wunused-function] 39 | INLINE REAL normalizeEdge(lprec *lp, int item, REAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from ../lp_simplex.c:34: ../lp_pricePSE.h:14:15: warning: ‘applyPricer’ declared ‘static’ but never defined [-Wunused-function] 14 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ ../lp_presolve.h:110:12: warning: ‘presolve_collength’ defined but not used [-Wunused-function] 110 | INLINE int presolve_collength(presolverec *psdata, int colnr) | ^~~~~~~~~~~~~~~~~~ ../lp_presolve.h:101:12: warning: ‘presolve_rowlength’ defined but not used [-Wunused-function] 101 | INLINE int presolve_rowlength(presolverec *psdata, int rownr) | ^~~~~~~~~~~~~~~~~~ ../lp_utils.c: In function ‘searchFor’: ../lp_utils.c:532:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 532 | if(absolute) | ^~ ../lp_utils.c:534:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 534 | while((beginPos < endPos) && (match != target)) { | ^~~~~ ../lp_utils.c: In function ‘compareLink’: ../lp_utils.c:927:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 927 | if(test == 0) | ^~ ../lp_utils.c:929:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 929 | if(test == 0) | ^~ In file included from ../lp_utils.c:9: ../lp_bit.h: At top level: ../lp_bit.h:19:17: warning: ‘is_biton’ defined but not used [-Wunused-function] 19 | MYINLINE MYBOOL is_biton(MYBOOL *bitarray, int item) | ^~~~~~~~ ../lp_bit.h:14:15: warning: ‘set_bitoff’ defined but not used [-Wunused-function] 14 | MYINLINE void set_bitoff(MYBOOL *bitarray, int item) | ^~~~~~~~~~ ../lp_bit.h:9:15: warning: ‘set_biton’ defined but not used [-Wunused-function] 9 | MYINLINE void set_biton(MYBOOL *bitarray, int item) | ^~~~~~~~~ In file included from ../yacc_read.c:36: ../yacc_read.c: In function ‘yacc_read’: ../lpkit.h:32:99: warning: right-hand operand of comma expression has no effect [-Wunused-value] 32 | (MALLOC(nptr, nr, type), (nptr != NULL) ? memcpy(nptr, optr, (size_t)((nr) * sizeof(*optr))) : 0, nptr) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ../yacc_read.c:1296:11: note: in expansion of macro ‘MALLOCCPY’ 1296 | MALLOCCPY(orig_upbo, lp->orig_upbo, 1 + pp->Rows, REAL); | ^~~~~~~~~ ++ 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 ++ sed 's/[^ ]*\///g' + gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -shared -Wl,-Bsymbolic -Wl,-soname,liblpsolve55.so -o bin/ux64/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 + rm colamd.o commonlib.o fortify.o ini.o lp_Hash.o lp_LUSOL.o lp_MDO.o lp_MPS.o lp_SOS.o lp_crash.o lp_lib.o lp_matrix.o lp_mipbb.o lp_params.o lp_presolve.o lp_price.o lp_pricePSE.o lp_report.o lp_rlp.o lp_scale.o lp_simplex.o lp_utils.o lp_wlp.o lusol.o mmio.o myblas.o yacc_read.o + rm bin/ux64/liblpsolve55.a ~/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5 ~/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5/lp_solve ~/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5 + popd + pushd lp_solve + sh -x ccc + : + src='../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c ../shared/myblas.c ../ini.c ../fortify.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=gcc + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' ++ mktemp -d /tmp/lp_solve_XXXXXX + MYTMP=/tmp/lp_solve_2DKMiw + echo '#include ' + echo '#include ' + echo 'int main(void){printf("ux%d", (int) (sizeof(void *)*8));}' + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection /tmp/lp_solve_2DKMiw/platform.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o /tmp/lp_solve_2DKMiw/platform ++ /tmp/lp_solve_2DKMiw/platform + PLATFORM=ux64 + rm /tmp/lp_solve_2DKMiw/platform /tmp/lp_solve_2DKMiw/platform.c + mkdir bin bin/ux64 + math=-lm + echo '#include ' + echo '#include ' + echo '#include ' + echo 'int main(void){isnan(0.0);return 0;}' + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection /tmp/lp_solve_2DKMiw/isnan.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o /tmp/lp_solve_2DKMiw/isnan -lm + '[' 0 = 0 ']' + NOISNAN= + rm /tmp/lp_solve_2DKMiw/isnan.c /tmp/lp_solve_2DKMiw/isnan + rmdir /tmp/lp_solve_2DKMiw + def= + LIBS= + '[' ux64 = SCO_UNIX ']' + dl=-ldl + LIBS='-L../lpsolve55/bin/ux64 -llpsolve55' + src= + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I.. -I../bfp -I../bfp/bfp_LUSOL -I../bfp/bfp_LUSOL/LUSOL -I../colamd -I../shared -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine lp_solve.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o bin/ux64/lp_solve -lm -ldl -L../lpsolve55/bin/ux64 -llpsolve55 lp_solve.c: In function ‘isNum’: lp_solve.c:269:7: warning: variable ‘ord’ set but not used [-Wunused-but-set-variable] 269 | int ord; | ^~~ ~/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5 + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KjYKWX + umask 022 + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + '[' /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT ++ dirname /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT + mkdir -p /builddir/build/BUILD/lpsolve-5.5.2.11-build + mkdir /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lp_solve_5.5 + install -d /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/bin /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/lib64 /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/include/lpsolve + install -p -m 755 lp_solve/bin/ux64/lp_solve /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/bin + install -p -m 755 lpsolve55/bin/ux64/liblpsolve55.so /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/lib64 + install -p -m 644 lp_Hash.h lp_MDO.h lp_MPS.h lp_SOS.h lp_bit.h lp_crash.h lp_explicit.h lp_fortify.h lp_lib.h lp_matrix.h lp_mipbb.h lp_presolve.h lp_price.h lp_pricePSE.h lp_report.h lp_rlp.h lp_scale.h lp_simplex.h lp_solveDLL.h lp_types.h lp_utils.h lp_wlp.h lpkit.h lpsolve.h yacc_read.h /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/include/lpsolve + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 5.5.2.11-7.fc42 --unique-debug-suffix -5.5.2.11-7.fc42.ppc64le --unique-debug-src-base lpsolve-5.5.2.11-7.fc42.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/lpsolve-5.5.2.11-7.fc42.ppc64le find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT Scanned 22 directories and 96 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/lpsolve-5.5.2.11-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8B03TB + umask 022 + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lp_solve_5.5 ++ echo lpsolve55/bin/ux64 + LP_PATH=lpsolve55/bin/ux64 + echo 'max: x; x < 42;' + grep -e ': 42\.0*$' + LD_LIBRARY_PATH=lpsolve55/bin/ux64 + ./lp_solve/bin/ux64/lp_solve -S1 Value of objective function: 42.00000000 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I. demo/demo.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Llpsolve55/bin/ux64 -llpsolve55 + LD_LIBRARY_PATH=lpsolve55/bin/ux64 + ./a.out lp_solve 5.5.2.11 demo This demo will show most of the features of lp_solve 5.5.2.11 [return] We start by creating a new problem with 4 variables and 0 constraints We use: lp=make_lp(0,4); [return]We can show the current problem with print_lp(lp) Model name: C1 C2 C3 C4 Minimize 0 0 0 0 Type Real Real Real Real upbo Inf Inf Inf Inf lowbo 0 0 0 0 [return]Now we add some constraints add_constraint(lp, {0, 3, 2, 2, 1}, LE, 4) Model name: C1 C2 C3 C4 Minimize 0 0 0 0 R1 3 2 2 1 <= 4 Type Real Real Real Real upbo Inf Inf Inf Inf lowbo 0 0 0 0 [return]add_constraintex is now used to add a row. Only the npn-zero values must be specfied with this call. add_constraintex(lp, 3, {4, 3, 1}, {2, 3, 4}, GE, 3) Model name: C1 C2 C3 C4 Minimize 0 0 0 0 R1 3 2 2 1 <= 4 R2 0 4 3 1 >= 3 Type Real Real Real Real upbo Inf Inf Inf Inf lowbo 0 0 0 0 [return]Set the objective function set_obj_fn(lp, {0, 2, 3, -2, 3}) Model name: C1 C2 C3 C4 Minimize 2 3 -2 3 R1 3 2 2 1 <= 4 R2 0 4 3 1 >= 3 Type Real Real Real Real upbo Inf Inf Inf Inf lowbo 0 0 0 0 [return]Now solve the problem with printf(solve(lp)); Model name: '' - run #1 Objective: Minimize(R0) SUBMITTED Model size: 2 constraints, 4 variables, 7 non-zeros. Sets: 0 GUB, 0 SOS. Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2. The primal and dual simplex pricing strategy set to 'Devex'. Found feasibility by dual simplex after 1 iter. Optimal solution -4 after 2 iter. Relative numeric accuracy ||*|| = 0 MEMO: lp_solve version 5.5.2.11 for 64 bit OS, with 64 bit REAL variables. In the total iteration count 2, 0 (0.0%) were bound flips. There were 2 refactorizations, 0 triggered by time and 0 by density. ... on average 1.0 major pivots per refactorization. The largest [LUSOL v2.2.1.0] fact(B) had 5 NZ entries, 1.0x largest basis. The constraint matrix inf-norm is 4, with a dynamic range of 4. Time to load data was 0.000 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.000 seconds. 0[return]The value is 0, this means we found an optimal solution We can display this solution with print_objective(lp) and print_solution(lp) Value of objective function: -4.00000000 Actual values of the variables: C1 0 C2 0 C3 2 C4 0 Actual values of the constraints: R1 4 R2 6 [return]The dual variables of the solution are printed with print_duals(lp); Objective function limits: From Till FromValue C1 -3 1e+30 0.6666667 C2 -2 1e+30 2 C3 -1e+30 0 -1e+30 C4 -1 1e+30 4 Dual values with from - till limits: Dual value From Till R1 -1 2 1e+30 R2 0 -1e+30 1e+30 C1 5 -1e+30 0.6666667 C2 5 -3 2 C3 0 -1e+30 1e+30 C4 4 -1e+30 4 [return]We can change a single element in the matrix with set_mat(lp,2,1,0.5) Model name: C1 C2 C3 C4 Minimize 2 3 -2 3 R1 3 2 2 1 <= 4 R2 0.5 4 3 1 >= 3 Type Real Real Real Real upbo Inf Inf Inf Inf lowbo 0 0 0 0 [return]If we want to maximize the objective function use set_maxim(lp); Model name: C1 C2 C3 C4 Maximize 2 3 -2 3 R1 3 2 2 1 <= 4 R2 0.5 4 3 1 >= 3 Type Real Real Real Real upbo Inf Inf Inf Inf lowbo 0 0 0 0 [return]after solving this gives us: Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2. The primal and dual simplex pricing strategy set to 'Devex'. Optimal solution 12 after 1 iter. Relative numeric accuracy ||*|| = 0 MEMO: lp_solve version 5.5.2.11 for 64 bit OS, with 64 bit REAL variables. In the total iteration count 1, 0 (0.0%) were bound flips. There were 1 refactorizations, 0 triggered by time and 0 by density. ... on average 1.0 major pivots per refactorization. The largest [LUSOL v2.2.1.0] fact(B) had 5 NZ entries, 1.0x largest basis. The constraint matrix inf-norm is 4, with a dynamic range of 4. Time to load data was 0.000 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.000 seconds. Value of objective function: 12.00000000 Actual values of the variables: C1 0 C2 0 C3 0 C4 4 Actual values of the constraints: R1 4 R2 4 Objective function limits: From Till FromValue C1 -1e+30 9 0.4 C2 -1e+30 6 2 C3 -1e+30 6 2 C4 1.5 1e+30 -1e+30 Dual values with from - till limits: Dual value From Till R1 3 3 1e+30 R2 0 -1e+30 1e+30 C1 -7 -1e+30 0.4 C2 -3 -0.5 2 C3 -8 -1 2 C4 0 -1e+30 1e+30 [return]Change the value of a rhs element with set_rh(lp,1,7.45) Model name: C1 C2 C3 C4 Maximize 2 3 -2 3 R1 3 2 2 1 <= 7.45 R2 0.5 4 3 1 >= 3 Type Real Real Real Real upbo Inf Inf Inf Inf lowbo 0 0 0 0 Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2. The primal and dual simplex pricing strategy set to 'Devex'. Optimal solution 22.35 after 0 iter. Relative numeric accuracy ||*|| = 0 MEMO: lp_solve version 5.5.2.11 for 64 bit OS, with 64 bit REAL variables. In the total iteration count 0, 0 (100.0%) were bound flips. There were 1 refactorizations, 0 triggered by time and 0 by density. ... on average 0.0 major pivots per refactorization. The largest [LUSOL v2.2.1.0] fact(B) had 5 NZ entries, 1.0x largest basis. The constraint matrix inf-norm is 4, with a dynamic range of 4. Time to load data was 0.000 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.000 seconds. Value of objective function: 22.35000000 Actual values of the variables: C1 0 C2 0 C3 0 C4 7.45 Actual values of the constraints: R1 7.45 R2 7.45 [return]We change C4 to the integer type with set_int(lp, 4, TRUE) Model name: C1 C2 C3 C4 Maximize 2 3 -2 3 R1 3 2 2 1 <= 7.45 R2 0.5 4 3 1 >= 3 Type Real Real Real Int upbo Inf Inf Inf Inf lowbo 0 0 0 0 We set branch & bound debugging on with set_debug(lp, TRUE) and solve... [return]Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2. The primal and dual simplex pricing strategy set to 'Devex'. Relaxed solution 22.35 after 0 iter is B&B base. Feasible solution 21.675 after 1 iter, 2 nodes (gap 2.9%) Optimal solution 21.675 after 1 iter, 2 nodes (gap 2.9%). Relative numeric accuracy ||*|| = 0 MEMO: lp_solve version 5.5.2.11 for 64 bit OS, with 64 bit REAL variables. In the total iteration count 1, 0 (0.0%) were bound flips. There were 2 refactorizations, 0 triggered by time and 0 by density. ... on average 0.5 major pivots per refactorization. The largest [LUSOL v2.2.1.0] fact(B) had 5 NZ entries, 1.0x largest basis. The maximum B&B level was 2, 1.0x MIP order, 2 at the optimal solution. The constraint matrix inf-norm is 4, with a dynamic range of 4. Time to load data was 0.000 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.000 seconds. Value of objective function: 21.67500000 Actual values of the variables: C1 0 C2 0.225 C3 0 C4 7 Actual values of the constraints: R1 7.45 R2 7.9 [return]We can set bounds on the variables with set_lowbo(lp,2,2); & set_upbo(lp,4,5.3) Model name: C1 C2 C3 C4 Maximize 2 3 -2 3 R1 3 2 2 1 <= 7.45 R2 0.5 4 3 1 >= 3 Type Real Real Real Int upbo Inf Inf Inf 5.3 lowbo 0 2 0 0 [return]Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2. The primal and dual simplex pricing strategy set to 'Devex'. Relaxed solution 16.35 after 1 iter is B&B base. Feasible solution 15.675 after 2 iter, 2 nodes (gap 3.9%) Optimal solution 15.675 after 2 iter, 2 nodes (gap 3.9%). Relative numeric accuracy ||*|| = 0 MEMO: lp_solve version 5.5.2.11 for 64 bit OS, with 64 bit REAL variables. In the total iteration count 2, 0 (0.0%) were bound flips. There were 2 refactorizations, 0 triggered by time and 0 by density. ... on average 1.0 major pivots per refactorization. The largest [LUSOL v2.2.1.0] fact(B) had 5 NZ entries, 1.0x largest basis. The maximum B&B level was 2, 1.0x MIP order, 2 at the optimal solution. The constraint matrix inf-norm is 4, with a dynamic range of 4. Time to load data was 0.000 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.000 seconds. Value of objective function: 15.67500000 Actual values of the variables: C1 0 C2 2.225 C3 0 C4 3 Actual values of the constraints: R1 7.45 R2 11.9 [return]Now remove a constraint with del_constraint(lp, 1) Model name: C1 C2 C3 C4 Maximize 2 3 -2 3 R1 0.5 4 3 1 >= 3 Type Real Real Real Int upbo Inf Inf Inf 5.3 lowbo 0 2 0 0 Add an equality constraint Model name: C1 C2 C3 C4 Maximize 2 3 -2 3 R1 0.5 4 3 1 >= 3 R2 1 2 1 4 = 8 Type Real Real Real Int upbo Inf Inf Inf 5.3 lowbo 0 2 0 0 [return]A column can be added with: add_column(lp,{3, 2, 2}); Model name: C1 C2 C3 C4 C5 Maximize 2 3 -2 3 3 R1 0.5 4 3 1 2 >= 3 R2 1 2 1 4 2 = 8 Type Real Real Real Int Real upbo Inf Inf Inf 5.3 Inf lowbo 0 2 0 0 0 [return]A column can be removed with: del_column(lp,3); Model name: C1 C2 C3 C4 Maximize 2 3 3 3 R1 0.5 4 1 2 >= 3 R2 1 2 4 2 = 8 Type Real Real Int Real upbo Inf Inf 5.3 Inf lowbo 0 2 0 0 [return]We can use automatic scaling with: set_scaling(lp, SCALE_MEAN); Model name: C1 C2 C3 C4 Maximize 2 3 3 3 R1 0.5 4 1 2 >= 3 R2 1 2 4 2 = 8 Type Real Real Int Real upbo Inf Inf 5.3 Inf lowbo 0 2 0 0 [return]The function get_mat(lprec *lp, int row, int column) returns a single matrix element printf("%f %f\n", get_mat(lp,2,3), get_mat(lp,1,1); gives 4.000000 0.500000 Notice that get_mat returns the value of the original unscaled problem [return]If there are any integer type variables, then only the rows are scaled set_scaling(lp, SCALE_MEAN); set_int(lp,3,FALSE); Model name: C1 C2 C3 C4 Maximize 2 3 3 3 R1 0.5 4 1 2 >= 3 R2 1 2 4 2 = 8 Type Real Real Real Real upbo Inf Inf 5.3 Inf lowbo 0 2 0 0 [return]Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2. The primal and dual simplex pricing strategy set to 'Devex'. Found feasibility by dual simplex after 1 iter. Optimal solution 14 after 3 iter. Relative numeric accuracy ||*|| = 0 MEMO: lp_solve version 5.5.2.11 for 64 bit OS, with 64 bit REAL variables. In the total iteration count 3, 0 (0.0%) were bound flips. There were 3 refactorizations, 0 triggered by time and 0 by density. ... on average 1.0 major pivots per refactorization. The largest [LUSOL v2.2.1.0] fact(B) had 5 NZ entries, 1.0x largest basis. The constraint matrix inf-norm is 4, with a dynamic range of 4. Time to load data was 0.000 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.000 seconds. print_objective, print_solution gives the solution to the original problem Value of objective function: 14.00000000 Actual values of the variables: C1 4 C2 2 C3 0 C4 0 Actual values of the constraints: R1 10 R2 8 [return]Scaling is turned off with unscale(lp); Model name: C1 C2 C3 C4 Maximize 2 3 3 3 R1 0.5 4 1 2 >= 3 R2 1 2 4 2 = 8 Type Real Real Real Real upbo Inf Inf 5.3 Inf lowbo 0 2 0 0 [return]Now turn B&B debugging off and simplex tracing on with set_debug(lp, FALSE), set_trace(lp, TRUE) and solve(lp) [return]Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2. The primal and dual simplex pricing strategy set to 'Devex'. Start at primal feasible basis rowdual: Infeasibility sum 0 in 0 constraints. Optimal solution 14 after 0 iter. Relative numeric accuracy ||*|| = 0 MEMO: lp_solve version 5.5.2.11 for 64 bit OS, with 64 bit REAL variables. In the total iteration count 0, 0 (100.0%) were bound flips. There were 1 refactorizations, 0 triggered by time and 0 by density. ... on average 0.0 major pivots per refactorization. The largest [LUSOL v2.2.1.0] fact(B) had 5 NZ entries, 1.0x largest basis. The constraint matrix inf-norm is 4, with a dynamic range of 4. Time to load data was 0.000 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.000 seconds. Where possible, lp_solve will start at the last found basis We can reset the problem to the initial basis with default_basis(lp). Now solve it again... [return]Using DUAL simplex for phase 1 and PRIMAL simplex for phase 2. The primal and dual simplex pricing strategy set to 'Devex'. Start at infeasible basis rowdual: Infeasibility sum -17.2 in 1 constraints. coldual: Entering column 5, reduced cost -3, pivot value 4, bound swaps 0 I: 1 - MAJOR - 2 leaves to LOWER, 5 enters from UPPER with THETA=4.3 and OBJ=9 performiteration: Variable 5 entered basis at iter 1 at 1 performiteration: Feasibility gap at iter 1 is 0 rowdual: Infeasibility sum 0 in 0 constraints. Found feasibility by dual simplex after 1 iter. I: 2 - MAJOR - 5 leaves to LOWER, 4 enters from LOWER with THETA=2 and OBJ=12 performiteration: Variable 4 entered basis at iter 2 at 2 performiteration: Current objective function value at iter 2 is 12 I: 3 - MAJOR - 4 leaves to LOWER, 3 enters from LOWER with THETA=4 and OBJ=14 performiteration: Variable 3 entered basis at iter 3 at 4 performiteration: Current objective function value at iter 3 is 14 primloop: Objective at iter 3 is 14 ( 2: 4 <- 3) rowdual: Infeasibility sum 0 in 0 constraints. Optimal solution 14 after 3 iter. Relative numeric accuracy ||*|| = 0 MEMO: lp_solve version 5.5.2.11 for 64 bit OS, with 64 bit REAL variables. In the total iteration count 3, 0 (0.0%) were bound flips. There were 3 refactorizations, 0 triggered by time and 0 by density. ... on average 1.0 major pivots per refactorization. The largest [LUSOL v2.2.1.0] fact(B) had 5 NZ entries, 1.0x largest basis. The constraint matrix inf-norm is 4, with a dynamic range of 4. Time to load data was 0.000 seconds, presolve used 0.000 seconds, ... 0.001 seconds in simplex solver, in total 0.001 seconds. It is possible to give variables and constraints names set_row_name(lp,1,"speed"); & set_col_name(lp,2,"money") Model name: C1 money C3 C4 Maximize 2 3 3 3 speed 0.5 4 1 2 >= 3 R2 1 2 4 2 = 8 Type Real Real Real Real upbo Inf Inf 5.3 Inf lowbo 0 2 0 0 As you can see, all column and rows are assigned default names If a column or constraint is deleted, the names shift place also: [return]del_column(lp,1); Model name: money C2 C3 Maximize 3 3 3 speed 4 1 2 >= 3 R2 2 4 2 = 8 Type Real Real Real upbo Inf 5.3 Inf lowbo 2 0 0 [return]An lp structure can be created and read from a .lp file lp = read_lp("lp.lp", TRUE); The verbose option is used [return]lp is now: Model name: test money C2 C3 Maximize 3 3 3 speed 4 1 2 >= 3 R2 2 4 2 = 8 Type Real Real Real upbo Inf 5.3 Inf lowbo 2 0 0 [return]solution: Value of objective function: 12.00000000 Actual values of the variables: money 2 C2 0 C3 2 Actual values of the constraints: speed 12 R2 8 [return]Processing files: lpsolve-5.5.2.11-7.fc42.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + cd lp_solve_5.5 + DOCDIR=/builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/doc/lpsolve + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/doc/lpsolve + cp -pr /builddir/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5/README.txt /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/doc/lpsolve + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + cd lp_solve_5.5 + LICENSEDIR=/builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/licenses/lpsolve + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/licenses/lpsolve + cp -pr /builddir/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5/colamd/colamd_license /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/licenses/lpsolve + RPM_EC=0 ++ jobs -p + exit 0 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.D1sXtv Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TUg05G Provides: bundled(colamd) = 3.0.4 liblpsolve55.so()(64bit) lpsolve = 5.5.2.11-7.fc42 lpsolve(ppc-64) = 5.5.2.11-7.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld64.so.2()(64bit) ld64.so.2(GLIBC_2.23)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) liblpsolve55.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) rtld(GNU_HASH) Processing files: lpsolve-devel-5.5.2.11-7.fc42.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4xLiGE + umask 022 + cd /builddir/build/BUILD/lpsolve-5.5.2.11-build + cd lp_solve_5.5 + DOCDIR=/builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/doc/lpsolve-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/doc/lpsolve-devel + cp -pr /builddir/build/BUILD/lpsolve-5.5.2.11-build/lp_solve_5.5/demo/demo.c /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT/usr/share/doc/lpsolve-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: lpsolve-devel = 5.5.2.11-7.fc42 lpsolve-devel(ppc-64) = 5.5.2.11-7.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lpsolve-debugsource-5.5.2.11-7.fc42.ppc64le Provides: lpsolve-debugsource = 5.5.2.11-7.fc42 lpsolve-debugsource(ppc-64) = 5.5.2.11-7.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lpsolve-debuginfo-5.5.2.11-7.fc42.ppc64le Provides: debuginfo(build-id) = 61bb29035c82276264f8fd3d9f101a9e7f158c5b debuginfo(build-id) = 75c9aad566aaa0cc5aee2da7bc80f4faacb68354 liblpsolve55.so-5.5.2.11-7.fc42.ppc64le.debug()(64bit) lpsolve-debuginfo = 5.5.2.11-7.fc42 lpsolve-debuginfo(ppc-64) = 5.5.2.11-7.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lpsolve-debugsource(ppc-64) = 5.5.2.11-7.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/lpsolve-5.5.2.11-build/BUILDROOT Wrote: /builddir/build/RPMS/lpsolve-devel-5.5.2.11-7.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/lpsolve-5.5.2.11-7.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/lpsolve-debuginfo-5.5.2.11-7.fc42.ppc64le.rpm Wrote: /builddir/build/RPMS/lpsolve-debugsource-5.5.2.11-7.fc42.ppc64le.rpm Child return code was: 0