Please check AUR4, the package is already updated there.
Search Criteria
Package Details: scipoptsuite 3.1.1-1
Package Actions
- View PKGBUILD
- Download tarball
- Search wiki
- Flagged out-of-date (2015-07-22)
| Package Base: | scipoptsuite |
|---|---|
| Description: | Toolbox for generating and solving optimization problems. |
| Upstream URL: | http://scip.zib.de |
| Category: | science |
| Licenses: | |
| Provides: | |
| Replaces: | |
| Submitter: | vali |
| Maintainer: | leethargo |
| Last Packager: | leethargo |
| Votes: | 4 |
| First Submitted: | 2012-08-01 10:37 |
| Last Updated: | 2015-04-21 16:01 |
Required by (2)
Sources
Latest Comments
Comment by leethargo
Comment by leethargo
@sohaibafifi: Thanks for the hint, I updated the PKGBUILD.
The SCIP developers tell me that "make install" should actually work fine, but I did not get around testing it.
Comment by sohaibafifi
lpi is missed from the package
Includes should be modified to add it:
mkdir -p "${pkgdir}/usr/include/ {blockmemshell,nlpi,lpi,objscip,scip,soplex,zimpl}
cp ${_scip}/src/lpi/*.h "${pkgdir}/usr/include/lpi"
Comment by leethargo
Updated to 3.0.2, add static libraries that are usually 'stripped' by makepkg.
Comment by leethargo
updated to version 3.0.1
this also fixes missing ZIMPL support in the 'scip' binary.
Comment by igel
BTW one tiny little thing: the new project homepage seems to be scip.zib.de
Comment by igel
OK, case closed, it *was* a multithreading issue... make -j1 did the trick. Weird, because these errors tend not to happen repeatedly.
Comment by igel
I have the same gmp version, my system is up to date. I get the same error on both my computers (both 64 bit machines). Here's the full output: http://pastebin.com/fPd6FXP7
Looks like there are more linker errors than just gmp...
I'm currently recompiling with MAKEFLAGS="-j1", a common source of errors, but this is going to take a while :)
Comment by leethargo
igel: no, the build worked for me on two machines. what gmp version do you have? i've tested with 5.0.5-1.
Comment by igel
leethargo, sorry it took me so long to respond, somehow I was not on notify.
I included the chrpath --delete statement, because the scip binary had a hard-coded RPATH to some local directory (namcap found it). This is an unnecessary security risk. So please use namcap to find out if this still is the case. Should scip still do this, you could remove the rpath after testing or locally set this path:
export LD_LIBRARY_PATH=${build_dir}/...
make test
Should the RPATH issue have been solved, please remove chrpath from the build dependencies.
I can, however, not test this myself, because the current version has linker problems:
-> linking bin/scip-3.0.0.linux.x86_64.gnu.opt.spx
obj/O.linux.x86_64.gnu.opt/lib/scip/cons_countsols.o: In function `consInitCountsols':
cons_countsols.c:(.text+0xaf8): undefined reference to `__gmpz_set_si'
obj/O.linux.x86_64.gnu.opt/lib/scip/cons_countsols.o: In function `consFreeCountsols':
cons_countsols.c:(.text+0xd01): undefined reference to `__gmpz_clear'
obj/O.linux.x86_64.gnu.opt/lib/scip/cons_countsols.o: In function `includeConshdlrCountsols':
cons_countsols.c:(.text+0x1230): undefined reference to `__gmpz_init'
obj/O.linux.x86_64.gnu.opt/lib/scip/cons_countsols.o: In function `checkSolution':
cons_countsols.c:(.text+0x1cce): undefined reference to `__gmpz_fits_slong_p'
cons_countsols.c:(.text+0x1cd9): undefined reference to `__gmpz_get_si'
cons_countsols.c:(.text+0x1f6d): undefined reference to `__gmpz_add_ui'
cons_countsols.c:(.text+0x2509): undefined reference to `__gmpz_init'
cons_countsols.c:(.text+0x251b): undefined reference to `__gmpz_set_si'
cons_countsols.c:(.text+0x2795): undefined reference to `__gmpz_mul_ui'
cons_countsols.c:(.text+0x27f0): undefined reference to `__gmpz_add'
cons_countsols.c:(.text+0x27fd): undefined reference to `__gmpz_clear'
cons_countsols.c:(.text+0x28d7): undefined reference to `__gmpz_add_ui'
cons_countsols.c:(.text+0x2931): undefined reference to `__gmpz_ui_pow_ui'
obj/O.linux.x86_64.gnu.opt/lib/scip/cons_countsols.o: In function `dispOutputSols':
can your reproduce this?
Comment by leethargo
version 3.0.0-4:
including target 'scipoptlib'
Comment by leethargo
I have a question about these lines in the PKGBUILD:
# A local RPATH is set, get rid of it.
chrpath --delete ${_scip}/bin/scip
Deleting it breaks the 'test' target. So why not just keep it?
Comment by igel
Thanks for the update, vali and thanks for accepting maintainership, leethargo.
I'm going to need this package in the future, so I'll be glad to offer any kind of help with the PKGBUILD, just like I have before.
BTW: I flagged scipoptsuite out of date.
Comment by leethargo
Thanks for the package, vali! I'd be happy to maintain this.