Package: src:cvxopt
Version: 1.1.4-1
Severity: important
Tags: jessie sid
Usertags: glpk

Dear Maintainer,

cvxopt fails to build from source against glpk 4.51-1, which is currently
available in experimental. A build log is attached to this report.

The new version of glpk introduces several API changes, most of which are
described in the NEWS file coming with the package.

Note that the severity of the present bug report will be raised once the new
version of glpk is uploaded to sid.

Cheers,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594
 dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: paquet source cvxopt
dpkg-buildpackage: version source 1.1.4-1
dpkg-buildpackage: source changé par Soeren Sonnenburg <so...@debian.org>
 dpkg-source --before-build cvxopt-1.1.4
dpkg-buildpackage: architecture hôte amd64
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
dh_clean 
for buildver in 2.7; do \
                cd /home/sebastien/debian/transitions/glpk/cvxopt-1.1.4 && cd 
src && \
                        python$buildver setup.py clean \
                        -a; \
        done
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
rm -rf debian/python-module-stampdir
find "/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4" -name '*.py[co]' 
-delete
find "/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4" -name __pycache__ 
-type d -empty -delete
find "/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4" -prune -name 
'*.egg-info' -exec rm -rf '{}' ';'
rm -f debian/stamp-docs 
make -C doc clean
make[1]: entrant dans le répertoire « 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/doc »
rm -rf build/*
make[1]: quittant le répertoire « 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/doc »
rm -f -r src/build
 debian/rules build
test -x debian/rules
mkdir -p "src"
/usr/share/cdbs/1/rules/buildcore.mk:109: WARNING:  DEB_COMPRESS_EXCLUDE is a 
deprecated variable
mkdir -p debian/python-module-stampdir
set -e; for buildver in 2.7; do \
                cd /home/sebastien/debian/transitions/glpk/cvxopt-1.1.4 && cd 
src && \
                        python$buildver setup.py build \
                        
--build-base="/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build"; \
        done
running build
running build_py
creating /home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build
creating 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7
creating 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/coneprog.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/msk.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/misc.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/info.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/__init__.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/printing.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/solvers.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/modeling.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
copying python/cvxprog.py -> 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt
running build_ext
building 'gsl' extension
creating 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/temp.linux-x86_64-2.7
creating 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/temp.linux-x86_64-2.7/C
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I/usr/include/gsl -I/usr/include/python2.7 -c 
C/gsl.c -o 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/temp.linux-x86_64-2.7/C/gsl.o
C/gsl.c: In function ‘initgsl’:
C/gsl.c:197:13: warning: variable ‘m’ set but not used 
[-Wunused-but-set-variable]
   PyObject *m;
             ^
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/temp.linux-x86_64-2.7/C/gsl.o
 -lm -lgsl -lblas -o 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt/gsl.so
building 'fftw' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I/usr/include -I/usr/include/python2.7 -c 
C/fftw.c -o 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/temp.linux-x86_64-2.7/C/fftw.o
C/fftw.c: In function ‘initfftw’:
C/fftw.c:1237:13: warning: variable ‘m’ set but not used 
[-Wunused-but-set-variable]
   PyObject *m;
             ^
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions 
-Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/temp.linux-x86_64-2.7/C/fftw.o
 -L/usr/lib/atlas -lfftw3 -lblas -o 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/lib.linux-x86_64-2.7/cvxopt/fftw.so
building 'glpk' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -Wstrict-prototypes -fPIC -I/usr/include -I/usr/include/python2.7 -c 
C/glpk.c -o 
/home/sebastien/debian/transitions/glpk/cvxopt-1.1.4/src/build/temp.linux-x86_64-2.7/C/glpk.o
C/glpk.c:45:25: error: ‘LPX_K_MSGLEV’ undeclared here (not in a function)
     {"LPX_K_MSGLEV",    LPX_K_MSGLEV,   'i'}, 
                         ^
C/glpk.c:46:25: error: ‘LPX_K_SCALE’ undeclared here (not in a function)
     {"LPX_K_SCALE",     LPX_K_SCALE,    'i'},
                         ^
C/glpk.c:47:25: error: ‘LPX_K_DUAL’ undeclared here (not in a function)
     {"LPX_K_DUAL",      LPX_K_DUAL,     'i'},
                         ^
C/glpk.c:48:25: error: ‘LPX_K_PRICE’ undeclared here (not in a function)
     {"LPX_K_PRICE",     LPX_K_PRICE,    'i'},
                         ^
C/glpk.c:49:25: error: ‘LPX_K_RELAX’ undeclared here (not in a function)
     {"LPX_K_RELAX",     LPX_K_RELAX,    'f'},
                         ^
C/glpk.c:50:25: error: ‘LPX_K_TOLBND’ undeclared here (not in a function)
     {"LPX_K_TOLBND",    LPX_K_TOLBND,   'f'},
                         ^
C/glpk.c:51:25: error: ‘LPX_K_TOLDJ’ undeclared here (not in a function)
     {"LPX_K_TOLDJ",     LPX_K_TOLDJ,    'f'},
                         ^
C/glpk.c:52:25: error: ‘LPX_K_TOLPIV’ undeclared here (not in a function)
     {"LPX_K_TOLPIV",    LPX_K_TOLPIV,   'f'},
                         ^
C/glpk.c:53:25: error: ‘LPX_K_ROUND’ undeclared here (not in a function)
     {"LPX_K_ROUND",     LPX_K_ROUND,    'i'},
                         ^
C/glpk.c:54:25: error: ‘LPX_K_OBJLL’ undeclared here (not in a function)
     {"LPX_K_OBJLL",     LPX_K_OBJLL,    'f'},
                         ^
C/glpk.c:55:25: error: ‘LPX_K_OBJUL’ undeclared here (not in a function)
     {"LPX_K_OBJUL",     LPX_K_OBJUL,    'f'},
                         ^
C/glpk.c:56:25: error: ‘LPX_K_ITLIM’ undeclared here (not in a function)
     {"LPX_K_ITLIM",     LPX_K_ITLIM,    'i'},
                         ^
C/glpk.c:57:25: error: ‘LPX_K_ITCNT’ undeclared here (not in a function)
     {"LPX_K_ITCNT",     LPX_K_ITCNT,    'i'}, 
                         ^
C/glpk.c:58:25: error: ‘LPX_K_TMLIM’ undeclared here (not in a function)
     {"LPX_K_TMLIM",     LPX_K_TMLIM,    'f'},
                         ^
C/glpk.c:59:25: error: ‘LPX_K_OUTFRQ’ undeclared here (not in a function)
     {"LPX_K_OUTFRQ",    LPX_K_OUTFRQ,   'i'},
                         ^
C/glpk.c:60:25: error: ‘LPX_K_OUTDLY’ undeclared here (not in a function)
     {"LPX_K_OUTDLY",    LPX_K_OUTDLY,   'f'},
                         ^
C/glpk.c:61:25: error: ‘LPX_K_BRANCH’ undeclared here (not in a function)
     {"LPX_K_BRANCH",    LPX_K_BRANCH,   'i'},
                         ^
C/glpk.c:62:25: error: ‘LPX_K_BTRACK’ undeclared here (not in a function)
     {"LPX_K_BTRACK",    LPX_K_BTRACK,   'i'},
                         ^
C/glpk.c:63:25: error: ‘LPX_K_TOLINT’ undeclared here (not in a function)
     {"LPX_K_TOLINT",    LPX_K_TOLINT,   'f'},
                         ^
C/glpk.c:64:25: error: ‘LPX_K_TOLOBJ’ undeclared here (not in a function)
     {"LPX_K_TOLOBJ",    LPX_K_TOLOBJ,   'f'},
                         ^
C/glpk.c:65:25: error: ‘LPX_K_MPSINFO’ undeclared here (not in a function)
     {"LPX_K_MPSINFO",   LPX_K_MPSINFO,  'i'},
                         ^
C/glpk.c:66:25: error: ‘LPX_K_MPSOBJ’ undeclared here (not in a function)
     {"LPX_K_MPSOBJ",    LPX_K_MPSOBJ,   'i'},
                         ^
C/glpk.c:67:25: error: ‘LPX_K_MPSORIG’ undeclared here (not in a function)
     {"LPX_K_MPSORIG",   LPX_K_MPSORIG,  'i'},
                         ^
C/glpk.c:68:25: error: ‘LPX_K_MPSWIDE’ undeclared here (not in a function)
     {"LPX_K_MPSWIDE",   LPX_K_MPSWIDE,  'i'},
                         ^
C/glpk.c:69:25: error: ‘LPX_K_MPSFREE’ undeclared here (not in a function)
     {"LPX_K_MPSFREE",   LPX_K_MPSFREE,  'i'},
                         ^
C/glpk.c:70:25: error: ‘LPX_K_MPSSKIP’ undeclared here (not in a function)
     {"LPX_K_MPSSKIP",   LPX_K_MPSSKIP,  'i'},
                         ^
C/glpk.c:71:25: error: ‘LPX_K_LPTORIG’ undeclared here (not in a function)
     {"LPX_K_LPTORIG",   LPX_K_LPTORIG,  'i'},
                         ^
C/glpk.c:72:25: error: ‘LPX_K_PRESOL’ undeclared here (not in a function)
     {"LPX_K_PRESOL",    LPX_K_PRESOL,   'i'},
                         ^
C/glpk.c: In function ‘simplex’:
C/glpk.c:129:5: error: unknown type name ‘LPX’
     LPX *lp;
     ^
C/glpk.c:185:5: warning: implicit declaration of function ‘lpx_create_prob’ 
[-Wimplicit-function-declaration]
     lp = lpx_create_prob();
     ^
C/glpk.c:185:8: warning: assignment makes pointer from integer without a cast 
[enabled by default]
     lp = lpx_create_prob();
        ^
C/glpk.c:186:5: warning: implicit declaration of function ‘lpx_add_rows’ 
[-Wimplicit-function-declaration]
     lpx_add_rows(lp, m+p);
     ^
C/glpk.c:187:5: warning: implicit declaration of function ‘lpx_add_cols’ 
[-Wimplicit-function-declaration]
     lpx_add_cols(lp, n);
     ^
C/glpk.c:190:9: warning: implicit declaration of function ‘lpx_set_obj_coef’ 
[-Wimplicit-function-declaration]
         lpx_set_obj_coef(lp, i+1, MAT_BUFD(c)[i]);
         ^
C/glpk.c:191:9: warning: implicit declaration of function ‘lpx_set_col_bnds’ 
[-Wimplicit-function-declaration]
         lpx_set_col_bnds(lp, i+1, LPX_FR, 0.0, 0.0);
         ^
C/glpk.c:191:35: error: ‘LPX_FR’ undeclared (first use in this function)
         lpx_set_col_bnds(lp, i+1, LPX_FR, 0.0, 0.0);
                                   ^
C/glpk.c:191:35: note: each undeclared identifier is reported only once for 
each function it appears in
C/glpk.c:194:9: warning: implicit declaration of function ‘lpx_set_row_bnds’ 
[-Wimplicit-function-declaration]
         lpx_set_row_bnds(lp, i+1, LPX_UP, 0.0, MAT_BUFD(h)[i]);
         ^
C/glpk.c:194:35: error: ‘LPX_UP’ undeclared (first use in this function)
         lpx_set_row_bnds(lp, i+1, LPX_UP, 0.0, MAT_BUFD(h)[i]);
                                   ^
C/glpk.c:196:37: error: ‘LPX_FX’ undeclared (first use in this function)
         lpx_set_row_bnds(lp, i+m+1, LPX_FX, MAT_BUFD(b)[i],
                                     ^
C/glpk.c:205:9: warning: implicit declaration of function ‘lpx_delete_prob’ 
[-Wimplicit-function-declaration]
         free(a);  free(rn);  free(cn);  lpx_delete_prob(lp);
         ^
C/glpk.c:244:5: warning: implicit declaration of function ‘lpx_load_matrix’ 
[-Wimplicit-function-declaration]
     lpx_load_matrix(lp, nnz, rn, cn, a);
     ^
C/glpk.c:292:17: warning: implicit declaration of function ‘lpx_set_int_parm’ 
[-Wimplicit-function-declaration]
                 else lpx_set_int_parm(lp, param_id,
                 ^
C/glpk.c:312:10: warning: implicit declaration of function ‘lpx_set_real_parm’ 
[-Wimplicit-function-declaration]
          lpx_set_real_parm(lp, param_id,
          ^
C/glpk.c:319:5: warning: implicit declaration of function ‘lpx_simplex’ 
[-Wimplicit-function-declaration]
     switch (lpx_simplex(lp)){
     ^
C/glpk.c:321:14: error: ‘LPX_E_OK’ undeclared (first use in this function)
         case LPX_E_OK:
              ^
C/glpk.c:343:17: warning: implicit declaration of function ‘lpx_get_col_prim’ 
[-Wimplicit-function-declaration]
                 MAT_BUFD(x)[i] = lpx_get_col_prim(lp, i+1);
                 ^
C/glpk.c:347:17: warning: implicit declaration of function ‘lpx_get_row_dual’ 
[-Wimplicit-function-declaration]
                 MAT_BUFD(z)[i] = -lpx_get_row_dual(lp, i+1);
                 ^
C/glpk.c:359:14: error: ‘LPX_E_NOPFS’ undeclared (first use in this function)
         case LPX_E_NOPFS:
              ^
C/glpk.c:369:14: error: ‘LPX_E_NODFS’ undeclared (first use in this function)
         case LPX_E_NODFS:
              ^
C/glpk.c: In function ‘integer’:
C/glpk.c:430:5: error: unknown type name ‘LPX’
     LPX *lp;
     ^
C/glpk.c:492:8: warning: assignment makes pointer from integer without a cast 
[enabled by default]
     lp = lpx_create_prob();
        ^
C/glpk.c:498:35: error: ‘LPX_FR’ undeclared (first use in this function)
         lpx_set_col_bnds(lp, i+1, LPX_FR, 0.0, 0.0);
                                   ^
C/glpk.c:501:35: error: ‘LPX_UP’ undeclared (first use in this function)
         lpx_set_row_bnds(lp, i+1, LPX_UP, 0.0, MAT_BUFD(h)[i]);
                                   ^
C/glpk.c:503:37: error: ‘LPX_FX’ undeclared (first use in this function)
         lpx_set_row_bnds(lp, i+m+1, LPX_FX, MAT_BUFD(b)[i],
                                     ^
C/glpk.c:649:2: warning: passing argument 1 of ‘glp_set_col_kind’ from 
incompatible pointer type [enabled by default]
  glp_set_col_kind(lp, k+1, GLP_IV);
  ^
In file included from C/glpk.c:23:0:
/usr/include/glpk.h:514:6: note: expected ‘struct glp_prob *’ but argument is 
of type ‘int *’
 void glp_set_col_kind(glp_prob *P, int j, int kind);
      ^
C/glpk.c:680:2: warning: passing argument 1 of ‘glp_set_col_kind’ from 
incompatible pointer type [enabled by default]
  glp_set_col_kind(lp, k+1, GLP_BV);
  ^
In file included from C/glpk.c:23:0:
/usr/include/glpk.h:514:6: note: expected ‘struct glp_prob *’ but argument is 
of type ‘int *’
 void glp_set_col_kind(glp_prob *P, int j, int kind);
      ^
C/glpk.c:689:5: warning: implicit declaration of function ‘lpx_intopt’ 
[-Wimplicit-function-declaration]
     switch (lpx_intopt(lp)){
     ^
C/glpk.c:691:14: error: ‘LPX_E_OK’ undeclared (first use in this function)
         case LPX_E_OK:
              ^
C/glpk.c:707:17: warning: implicit declaration of function ‘lpx_mip_col_val’ 
[-Wimplicit-function-declaration]
                 MAT_BUFD(x)[i] = lpx_mip_col_val(lp, i+1);
                 ^
C/glpk.c:713:14: error: ‘LPX_E_FAULT’ undeclared (first use in this function)
         case LPX_E_FAULT:
              ^
C/glpk.c:721:7: error: ‘LPX_E_NOPFS’ undeclared (first use in this function)
  case LPX_E_NOPFS:
       ^
C/glpk.c:729:7: error: ‘LPX_E_NODFS’ undeclared (first use in this function)
  case LPX_E_NODFS:
       ^
C/glpk.c:738:14: error: ‘LPX_E_ITLIM’ undeclared (first use in this function)
         case LPX_E_ITLIM:
              ^
C/glpk.c:747:14: error: ‘LPX_E_TMLIM’ undeclared (first use in this function)
         case LPX_E_TMLIM:
              ^
C/glpk.c:756:7: error: ‘LPX_E_SING’ undeclared (first use in this function)
  case LPX_E_SING:
       ^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
make: *** [debian/python-module-stampdir/python-cvxopt] Erreur 1
dpkg-buildpackage: erreur: debian/rules build a produit une erreur de sortie de 
type 2

Attachment: signature.asc
Description: Digital signature

Reply via email to