Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/lpsolve.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221497-16804/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/lpsolve-5.5.2.11-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/lpsolve.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-221497-16804/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=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --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'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JTlr1J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lp_solve_5.5 + /usr/lib/rpm/rpmuncompress -x -v /builddir/build/SOURCES/lp_solve_5.5.2.11_source.tar.gz /usr/bin/gzip -dc '/builddir/build/SOURCES/lp_solve_5.5.2.11_source.tar.gz' | /usr/bin/tar -xvvof - drwxrwxrwx 0/0 0 2020-12-31 16:00 lp_solve_5.5/ drwxrwxrwx 0/0 0 2020-12-31 07:03 lp_solve_5.5/bfp/ drwxrwxrwx 0/0 0 2020-12-31 07:03 lp_solve_5.5/colamd/ -rw-rw-rw- 0/0 103514 2020-12-30 04:01 lp_solve_5.5/configure -rw-rw-rw- 0/0 1079 2009-01-03 01:15 lp_solve_5.5/configure.ac -rw-rw-rw- 0/0 389 2020-12-31 07:03 lp_solve_5.5/declare.h drwxrwxrwx 0/0 0 2020-12-31 16:31 lp_solve_5.5/demo/ -rw-rw-rw- 0/0 62267 2020-12-31 07:04 lp_solve_5.5/fortify.c -rw-rw-rw- 0/0 12477 2020-12-31 07:04 lp_solve_5.5/fortify.h -rw-rw-rw- 0/0 1211 2020-12-31 07:04 lp_solve_5.5/ini.c -rw-rw-rw- 0/0 463 2020-12-31 07:04 lp_solve_5.5/ini.h -rw-rw-rw- 0/0 1200 2020-12-31 07:04 lp_solve_5.5/lpkit.h -rw-rw-rw- 0/0 778 2020-12-31 07:04 lp_solve_5.5/lpsolve.h drwxrwxrwx 0/0 0 2020-12-31 16:31 lp_solve_5.5/lpsolve55/ -rw-rw-rw- 0/0 435 2020-12-31 07:04 lp_solve_5.5/lp_bit.h -rw-rw-rw- 0/0 25307 2020-12-31 07:04 lp_solve_5.5/lp_crash.c -rw-rw-rw- 0/0 408 2020-12-31 07:04 lp_solve_5.5/lp_crash.h -rw-rw-rw- 0/0 52928 2020-12-31 07:04 lp_solve_5.5/lp_explicit.h -rw-rw-rw- 0/0 45 2020-12-31 07:04 lp_solve_5.5/lp_fortify.h -rw-rw-rw- 0/0 5564 2020-12-31 07:04 lp_solve_5.5/lp_Hash.c -rw-rw-rw- 0/0 1141 2020-12-31 07:04 lp_solve_5.5/lp_Hash.h -rw-rw-rw- 0/0 305483 2020-12-31 07:04 lp_solve_5.5/lp_lib.c -rwxrwxrwx 0/0 119784 2020-12-31 16:48 lp_solve_5.5/lp_lib.h -rw-rw-rw- 0/0 107540 2020-12-31 07:04 lp_solve_5.5/lp_matrix.c -rw-rw-rw- 0/0 12198 2020-12-31 07:04 lp_solve_5.5/lp_matrix.h -rw-rw-rw- 0/0 6986 2020-12-31 07:04 lp_solve_5.5/lp_MDO.c -rw-rw-rw- 0/0 252 2020-12-31 07:04 lp_solve_5.5/lp_MDO.h -rw-rw-rw- 0/0 49361 2020-12-31 07:04 lp_solve_5.5/lp_mipbb.c -rw-rw-rw- 0/0 2128 2020-12-31 07:04 lp_solve_5.5/lp_mipbb.h -rw-rw-rw- 0/0 59653 2020-12-31 07:04 lp_solve_5.5/lp_MPS.c -rw-rw-rw- 0/0 862 2020-12-31 07:04 lp_solve_5.5/lp_MPS.h -rw-rw-rw- 0/0 23666 2020-12-31 07:04 lp_solve_5.5/lp_params.c -rw-rw-rw- 0/0 193527 2020-12-31 07:04 lp_solve_5.5/lp_presolve.c -rw-rw-rw- 0/0 4171 2020-12-31 07:04 lp_solve_5.5/lp_presolve.h -rw-rw-rw- 0/0 68487 2020-12-31 07:04 lp_solve_5.5/lp_price.c -rw-rw-rw- 0/0 5135 2020-12-31 07:04 lp_solve_5.5/lp_price.h -rw-rw-rw- 0/0 13865 2020-12-31 07:04 lp_solve_5.5/lp_pricePSE.c -rw-rw-rw- 0/0 706 2020-12-31 07:04 lp_solve_5.5/lp_pricePSE.h -rw-rw-rw- 0/0 25255 2020-12-31 07:04 lp_solve_5.5/lp_report.c -rw-rw-rw- 0/0 1436 2020-12-31 07:04 lp_solve_5.5/lp_report.h -rwxrwxrwx 0/0 312 2008-07-22 02:50 lp_solve_5.5/lp_rlp.bat -rw-rw-rw- 0/0 69907 2020-12-31 07:04 lp_solve_5.5/lp_rlp.c -rw-rw-rw- 0/0 74010 2020-12-31 07:04 lp_solve_5.5/lp_rlp.h -rw-rw-rw- 0/0 6908 2020-12-31 07:04 lp_solve_5.5/lp_rlp.l -rw-rw-rw- 0/0 21537 2020-12-31 07:04 lp_solve_5.5/lp_rlp.y -rw-rw-rw- 0/0 29409 2020-12-31 07:04 lp_solve_5.5/lp_scale.c -rw-rw-rw- 0/0 1008 2020-12-31 07:04 lp_solve_5.5/lp_scale.h -rw-rw-rw- 0/0 76693 2020-12-31 07:04 lp_solve_5.5/lp_simplex.c -rw-rw-rw- 0/0 1057 2020-12-31 07:04 lp_solve_5.5/lp_simplex.h drwxrwxrwx 0/0 0 2020-12-31 16:31 lp_solve_5.5/lp_solve/ -rw-rw-rw- 0/0 4443 2016-03-21 05:02 lp_solve_5.5/lp_solve.def -rw-rw-rw- 0/0 252 2020-12-31 07:04 lp_solve_5.5/lp_solveDLL.c -rw-rw-rw- 0/0 777 2020-12-31 07:04 lp_solve_5.5/lp_solveDLL.h -rw-rw-rw- 0/0 41019 2020-12-31 07:04 lp_solve_5.5/lp_SOS.c -rw-rw-rw- 0/0 4627 2020-12-31 07:04 lp_solve_5.5/lp_SOS.h -rw-rw-rw- 0/0 9891 2020-12-31 07:04 lp_solve_5.5/lp_types.h -rw-rw-rw- 0/0 26342 2020-12-31 07:04 lp_solve_5.5/lp_utils.c -rw-rw-rw- 0/0 5712 2020-12-31 07:04 lp_solve_5.5/lp_utils.h -rw-rw-rw- 0/0 12423 2020-12-31 07:04 lp_solve_5.5/lp_wlp.c -rw-rw-rw- 0/0 294 2020-12-31 07:04 lp_solve_5.5/lp_wlp.h -rw-rw-rw- 0/0 31697 2020-12-31 07:15 lp_solve_5.5/README.txt drwxrwxrwx 0/0 0 2020-12-31 07:04 lp_solve_5.5/shared/ -rw-rw-rw- 0/0 1822 2020-12-31 07:04 lp_solve_5.5/ufortify.h -rw-rw-rw- 0/0 36045 2020-12-31 07:14 lp_solve_5.5/yacc_read.c -rw-rw-rw- 0/0 1990 2020-12-31 07:14 lp_solve_5.5/yacc_read.h -rw-rw-rw- 0/0 25158 2020-12-31 07:04 lp_solve_5.5/shared/commonlib.c -rw-rw-rw- 0/0 9389 2020-12-31 07:04 lp_solve_5.5/shared/commonlib.h -rw-rw-rw- 0/0 12563 2020-12-31 07:04 lp_solve_5.5/shared/mmio.c -rw-rw-rw- 0/0 4320 2020-12-31 07:04 lp_solve_5.5/shared/mmio.h -rw-rw-rw- 0/0 19493 2020-12-31 07:04 lp_solve_5.5/shared/myblas.c -rw-rw-rw- 0/0 5333 2020-12-31 07:04 lp_solve_5.5/shared/myblas.h -rwxrwxrwx 0/0 949 2009-01-28 07:01 lp_solve_5.5/lp_solve/cbcc32.bat -rw-rw-rw- 0/0 1708 2020-11-24 00:27 lp_solve_5.5/lp_solve/ccc -rw-rw-rw- 0/0 1664 2020-11-24 00:24 lp_solve_5.5/lp_solve/ccc.osx -rwxrwxrwx 0/0 1151 2009-08-28 03:59 lp_solve_5.5/lp_solve/cgcc.bat -rwxrwxrwx 0/0 1486 2020-12-31 16:28 lp_solve_5.5/lp_solve/cvc6.bat -rwxrwxrwx 0/0 25 2006-03-31 03:46 lp_solve_5.5/lp_solve/cvc6d.bat -rwxrwxrwx 0/0 1357 2020-12-31 16:28 lp_solve_5.5/lp_solve/cvc8.bat -rw-rw-rw- 0/0 51618 2020-12-31 07:04 lp_solve_5.5/lp_solve/lp_solve.c -rw-rw-rw- 0/0 2394 2010-09-24 15:44 lp_solve_5.5/lp_solve/lp_solve.sln -rw-rw-rw- 0/0 25124 2009-09-11 02:58 lp_solve_5.5/lp_solve/lp_solve.vcproj -rw-rw-rw- 0/0 34149 2010-09-24 15:44 lp_solve_5.5/lp_solve/lp_solve.vcxproj -rw-rw-rw- 0/0 2398 2010-11-22 04:41 lp_solve_5.5/lp_solve/lp_solve2010.sln -rw-rw-rw- 0/0 25124 2009-09-11 02:58 lp_solve_5.5/lp_solve/lp_solve2010.vcproj -rw-rw-rw- 0/0 34170 2020-11-17 04:45 lp_solve_5.5/lp_solve/lp_solve2010.vcxproj -rw-rw-rw- 0/0 2574 2020-11-16 04:20 lp_solve_5.5/lp_solve/lp_solve2019.sln -rw-rw-rw- 0/0 34215 2020-12-29 01:58 lp_solve_5.5/lp_solve/lp_solve2019.vcxproj -rw-rw-rw- 0/0 2576 2020-12-29 18:01 lp_solve_5.5/lp_solve/lp_solve2019dll.sln -rw-rw-rw- 0/0 33324 2020-12-29 18:17 lp_solve_5.5/lp_solve/lp_solve2019dll.vcxproj -rw-rw-rw- 0/0 353 2020-12-31 07:15 lp_solve_5.5/lp_solve/readme.txt -rw-rw-rw- 0/0 2184 2020-11-24 00:27 lp_solve_5.5/lpsolve55/ccc -rw-rw-rw- 0/0 2095 2016-12-10 17:04 lp_solve_5.5/lpsolve55/ccc.aix -rw-rw-rw- 0/0 1886 2016-12-10 17:04 lp_solve_5.5/lpsolve55/ccc.hp-ux -rw-rw-rw- 0/0 2453 2020-11-24 00:25 lp_solve_5.5/lpsolve55/ccc.osx -rw-rw-rw- 0/0 1936 2016-12-10 17:04 lp_solve_5.5/lpsolve55/ccc.solaris -rw-rw-rw- 0/0 2058 2016-12-10 17:04 lp_solve_5.5/lpsolve55/cccLUSOL.osx -rwxrwxrwx 0/0 1536 2009-01-24 05:30 lp_solve_5.5/lpsolve55/cg++.bat -rwxrwxrwx 0/0 1769 2009-01-25 22:58 lp_solve_5.5/lpsolve55/cgcc.bat -rwxrwxrwx 0/0 2270 2020-12-31 16:28 lp_solve_5.5/lpsolve55/cvc6.bat -rwxrwxrwx 0/0 3254 2020-12-31 16:28 lp_solve_5.5/lpsolve55/cvc8msvcrt.bat -rwxrwxrwx 0/0 2445 2020-12-31 16:28 lp_solve_5.5/lpsolve55/cvc8NOmsvcrt.bat -rw-rw-rw- 0/0 1676 2009-02-02 01:04 lp_solve_5.5/lpsolve55/dll.sln -rw-rw-rw- 0/0 19523 2009-02-02 01:04 lp_solve_5.5/lpsolve55/dll.vcproj -rw-rw-rw- 0/0 1679 2009-02-02 01:05 lp_solve_5.5/lpsolve55/lib.sln -rw-rw-rw- 0/0 15444 2009-02-02 01:05 lp_solve_5.5/lpsolve55/lib.vcproj -rw-rw-rw- 0/0 2443 2020-12-30 04:07 lp_solve_5.5/lpsolve55/lpsolve.rc -rw-rw-rw- 0/0 396 2020-12-31 07:15 lp_solve_5.5/lpsolve55/readme.txt -rw-rw-rw- 0/0 396 2020-12-31 07:04 lp_solve_5.5/lpsolve55/resource.h -rwxrwxrwx 0/0 910 2009-01-28 07:09 lp_solve_5.5/demo/cbcc32.bat -rw-rw-rw- 0/0 763 2005-06-24 02:52 lp_solve_5.5/demo/ccc -rw-rw-rw- 0/0 704 2005-06-12 03:27 lp_solve_5.5/demo/ccc.osx -rwxrwxrwx 0/0 1385 2009-01-25 22:58 lp_solve_5.5/demo/cgcc.bat -rwxrwxrwx 0/0 1431 2020-12-31 16:28 lp_solve_5.5/demo/cvc6.bat -rwxrwxrwx 0/0 1301 2020-12-31 16:28 lp_solve_5.5/demo/cvc8.bat -rw-rw-rw- 0/0 7105 2020-12-31 07:03 lp_solve_5.5/demo/demo.c -rw-rw-rw- 0/0 1222 2009-01-07 06:36 lp_solve_5.5/demo/demo.sln -rw-rw-rw- 0/0 11918 2009-02-02 00:33 lp_solve_5.5/demo/demo.vcproj -rw-rw-rw- 0/0 1225 2009-02-02 00:48 lp_solve_5.5/demo/demolib.sln -rw-rw-rw- 0/0 10353 2009-02-02 00:49 lp_solve_5.5/demo/demolib.vcproj -rw-rw-rw- 0/0 347 2020-12-31 07:14 lp_solve_5.5/demo/readme.txt -rw-rw-rw- 0/0 103041 2020-12-31 07:03 lp_solve_5.5/colamd/colamd.c -rw-rw-rw- 0/0 9810 2020-12-31 07:03 lp_solve_5.5/colamd/colamd.h drwxrwxrwx 0/0 0 2020-12-31 16:26 lp_solve_5.5/bfp/bfp_LUSOL/ -rw-rw-rw- 0/0 987 2005-05-05 00:58 lp_solve_5.5/bfp/lp_BFP.def -rw-rw-rw- 0/0 4608 2020-12-31 07:03 lp_solve_5.5/bfp/lp_BFP.h -rw-rw-rw- 0/0 5569 2020-12-31 07:03 lp_solve_5.5/bfp/lp_BFP1.c -rw-rw-rw- 0/0 4373 2020-12-31 07:03 lp_solve_5.5/bfp/lp_BFP2.c -rw-rw-rw- 0/0 439 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/bfp_LUSOL.c -rw-rw-rw- 0/0 425 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/bfp_LUSOL.h -rw-rw-rw- 0/0 1654 2009-02-01 15:44 lp_solve_5.5/bfp/bfp_LUSOL/bfp_LUSOL.sln -rw-rw-rw- 0/0 12159 2009-02-01 15:44 lp_solve_5.5/bfp/bfp_LUSOL/bfp_LUSOL.vcproj -rw-rw-rw- 0/0 1096 2009-01-25 17:03 lp_solve_5.5/bfp/bfp_LUSOL/ccc -rw-rw-rw- 0/0 1136 2009-08-09 16:46 lp_solve_5.5/bfp/bfp_LUSOL/ccc.osx -rwxrwxrwx 0/0 1181 2009-01-25 13:58 lp_solve_5.5/bfp/bfp_LUSOL/cgcc.bat -rwxrwxrwx 0/0 1018 2020-12-31 16:31 lp_solve_5.5/bfp/bfp_LUSOL/cvc6.bat -rwxrwxrwx 0/0 1166 2020-12-31 16:31 lp_solve_5.5/bfp/bfp_LUSOL/cvc8msvcrt.bat -rwxrwxrwx 0/0 1170 2020-12-31 16:31 lp_solve_5.5/bfp/bfp_LUSOL/cvc8NOmsvcrt.bat -rw-rw-rw- 0/0 23817 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/lp_LUSOL.c -rw-rw-rw- 0/0 2818 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/lp_LUSOL.h drwxrwxrwx 0/0 0 2020-12-31 07:14 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/ -rw-rw-rw- 0/0 61232 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/hbio.c -rw-rw-rw- 0/0 2678 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/hbio.h -rw-rw-rw- 0/0 25027 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol.c -rw-rw-rw- 0/0 14037 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol.h -rw-rw-rw- 0/0 135729 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol1.c -rw-rw-rw- 0/0 6437 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol2.c -rw-rw-rw- 0/0 28419 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol6a.c -rw-rw-rw- 0/0 4498 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol6l0.c -rw-rw-rw- 0/0 4899 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol6u.c -rw-rw-rw- 0/0 22181 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol7a.c -rw-rw-rw- 0/0 11175 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusol8a.c -rw-rw-rw- 0/0 7273 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusolio.c -rw-rw-rw- 0/0 1014 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusolio.h -rw-rw-rw- 0/0 15671 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusolmain.c -rw-rw-rw- 0/0 447 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/lusolmain.h -rw-rw-rw- 0/0 12650 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/mmio.c -rw-rw-rw- 0/0 4320 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/mmio.h -rw-rw-rw- 0/0 19226 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/myblas.c -rw-rw-rw- 0/0 5580 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/myblas.h -rw-rw-rw- 0/0 21130 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/sparselib.c -rw-rw-rw- 0/0 2975 2020-12-31 07:03 lp_solve_5.5/bfp/bfp_LUSOL/LUSOL/sparselib.h + STATUS=0 + '[' 0 -ne 0 ']' + cd lp_solve_5.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm colamd/colamd.c colamd/colamd.h + /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/lib/rpm/rpmuncompress /builddir/build/SOURCES/lp_solve-5.5.2.11-Link-a-tool-to-a-shared-library.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-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.3e1ElC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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 ~/build/BUILD/lp_solve_5.5/lpsolve55 ~/build/BUILD/lp_solve_5.5 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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_ZP1pXN + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection /tmp/lp_solve_ZP1pXN/platform.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o /tmp/lp_solve_ZP1pXN/platform ++ /tmp/lp_solve_ZP1pXN/platform + PLATFORM=ux64 + rm /tmp/lp_solve_ZP1pXN/platform /tmp/lp_solve_ZP1pXN/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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection /tmp/lp_solve_ZP1pXN/isnan.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o /tmp/lp_solve_ZP1pXN/isnan + '[' 0 = 0 ']' + NOISNAN= + rm /tmp/lp_solve_ZP1pXN/isnan.c /tmp/lp_solve_ZP1pXN/isnan + rmdir /tmp/lp_solve_ZP1pXN + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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); | ^~~~~~~~~ ++ 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' ++ sed 's/[.]c/.o/g' + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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); | ^~~~~~~~~ ++ 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' + gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 + popd ~/build/BUILD/lp_solve_5.5 ~/build/BUILD/lp_solve_5.5/lp_solve ~/build/BUILD/lp_solve_5.5 + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' ++ mktemp -d /tmp/lp_solve_XXXXXX + MYTMP=/tmp/lp_solve_OFcZ52 + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection /tmp/lp_solve_OFcZ52/platform.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o /tmp/lp_solve_OFcZ52/platform ++ /tmp/lp_solve_OFcZ52/platform + PLATFORM=ux64 + rm /tmp/lp_solve_OFcZ52/platform /tmp/lp_solve_OFcZ52/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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection /tmp/lp_solve_OFcZ52/isnan.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o /tmp/lp_solve_OFcZ52/isnan -lm + '[' 0 = 0 ']' + NOISNAN= + rm /tmp/lp_solve_OFcZ52/isnan.c /tmp/lp_solve_OFcZ52/isnan + rmdir /tmp/lp_solve_OFcZ52 + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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; | ^~~ + popd ~/build/BUILD/lp_solve_5.5 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CIFa87 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64 + cd lp_solve_5.5 + rm -rf /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64 + install -d /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/bin /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/lib64 /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/include/lpsolve + install -p -m 755 lp_solve/bin/ux64/lp_solve /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/bin + install -p -m 755 lpsolve55/bin/ux64/liblpsolve55.so /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/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 /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/include/lpsolve + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 5.5.2.11-1.ocs23 --unique-debug-suffix -5.5.2.11-1.ocs23.loongarch64 --unique-debug-src-base lpsolve-5.5.2.11-1.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/lp_solve_5.5 extracting debug info from /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/lib64/liblpsolve55.so extracting debug info from /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/bin/lp_solve 3969 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xXov1A + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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;' + LD_LIBRARY_PATH=lpsolve55/bin/ux64 + ./lp_solve/bin/ux64/lp_solve -S1 + grep -e ': 42\.0*$' Value of objective function: 42.00000000 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I. demo/demo.c -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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.001 seconds in simplex solver, in total 0.001 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.001 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.001 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.001 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.001 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.001 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.001 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.001 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.001 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.001 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.001 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.001 seconds, presolve used 0.000 seconds, ... 0.000 seconds in simplex solver, in total 0.001 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.001 seconds, presolve used 0.000 seconds, ... 0.000 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-1.ocs23.loongarch64 + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd lp_solve_5.5 + DOCDIR=/builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/doc/lpsolve + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/doc/lpsolve + cp -pr README.txt /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/doc/lpsolve + RPM_EC=0 ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd lp_solve_5.5 + LICENSEDIR=/builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/licenses/lpsolve + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/licenses/lpsolve Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.25jej5 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eaWXdQ + cp -pr colamd/colamd_license /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/licenses/lpsolve + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(colamd) = 3.0.4 liblpsolve55.so()(64bit) lpsolve = 5.5.2.11-1.ocs23 lpsolve(loongarch-64) = 5.5.2.11-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) liblpsolve55.so()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) rtld(GNU_HASH) Processing files: lpsolve-devel-5.5.2.11-1.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XUqkTP + umask 022 + cd /builddir/build/BUILD + cd lp_solve_5.5 + DOCDIR=/builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/doc/lpsolve-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/doc/lpsolve-devel + cp -pr demo/demo.c /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64/usr/share/doc/lpsolve-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: lpsolve-devel = 5.5.2.11-1.ocs23 lpsolve-devel(loongarch-64) = 5.5.2.11-1.ocs23 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-1.ocs23.loongarch64 Provides: lpsolve-debugsource = 5.5.2.11-1.ocs23 lpsolve-debugsource(loongarch-64) = 5.5.2.11-1.ocs23 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-1.ocs23.loongarch64 Provides: debuginfo(build-id) = 505cb7efbf3e802f118260e5c6c1e06a9f9ac4c6 debuginfo(build-id) = 9f1408b37650a4583cdbaff7436c90203b2cb1c1 liblpsolve55.so-5.5.2.11-1.ocs23.loongarch64.debug()(64bit) lpsolve-debuginfo = 5.5.2.11-1.ocs23 lpsolve-debuginfo(loongarch-64) = 5.5.2.11-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lpsolve-debugsource(loongarch-64) = 5.5.2.11-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lpsolve-5.5.2.11-1.ocs23.loongarch64 Wrote: /builddir/build/RPMS/lpsolve-devel-5.5.2.11-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lpsolve-5.5.2.11-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lpsolve-debugsource-5.5.2.11-1.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/lpsolve-debuginfo-5.5.2.11-1.ocs23.loongarch64.rpm Child return code was: 0