Summary: | dev-python/cvxopt-1.1.5-r2 USE=glpk with sci-mathematics/glpk-4.50 - C/glpk.c:46:25: error: ‘LPX_K_MSGLEV’ undeclared here (not in a function) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | [OLD] Development | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | frp.bissey, gentoo, jeanfrancis |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/cschwan/sage-on-gentoo/issues/232 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Breaks ppl-0.12.1-r1[lpsol] too, but octave 3.6.4 is OK. See: http://lists.gnu.org/archive/html/help-glpk/2013-04/msg00043.html the release post about glpk 4.49. In particular: Obsolete API routine lpx_check_kkt was replaced by new routine glp_check_kkt. IMPORTANT: All old API routines whose names begin with 'lpx_' were removed from API level and NO MORE AVAILABLE. That's a very serious change that probably would have justified a major version bump. Reported to cvxopt upstream tracker: https://github.com/cvxopt/cvxopt/issues/5 For ppl, it may be time to test ppl 1.0 - if it is compatible with gcc 4.7 and under of course - it will have been out for a year on the 28th of June. In the meantime it may be safer to mask >=sci-mathematics/glpk-4.49. Hum, ppl has switched to new glpk function in a commit from the 16th of May in their git tree. So it is unreleased but could possibly be cherry-picked. 16 Jan 2014; Sébastien Fabbro <bicatali@gentoo.org> +files/cvxopt-1.1.6-glpk.patch, -cvxopt-1.1.5-r2.ebuild, -files/cvxopt-1.1.5-setup.patch, cvxopt-1.1.6.ebuild, metadata.xml: Fixed for glpk versions > 4.49 (bug #473454), fixed for blas/lapck under /opt (bug #498144, thanks kiwifb), removed old (bug #404427, #450992) |
Created attachment 351074 [details] build log Re-emerging cvxopt with the glpk extension after an upgrade of glpk to 4.50 fails due to numerous undefined symbols. x86_64-pc-linux-gnu-gcc -pthread -march=amdfam10 -O2 -ggdb -pipe -fPIC -I/usr/include/python2.7 -c C/glpk.c -o /var/tmp/portage/dev-python/cvxopt-1.1.5-r2/work/cvxopt-1.1.5/src-python2_7/temp.linux-x86_64-2.7/C/glpk.o C/glpk.c:46:25: error: ‘LPX_K_MSGLEV’ undeclared here (not in a function) C/glpk.c:47:25: error: ‘LPX_K_SCALE’ undeclared here (not in a function) C/glpk.c:48:25: error: ‘LPX_K_DUAL’ undeclared here (not in a function) C/glpk.c:49:25: error: ‘LPX_K_PRICE’ undeclared here (not in a function) …