[Python-modules-team] Bug#905434: fpylll: FTBFS: error: 'class fplll::MatrixRow<...>' has no member named 'dot_product'

Andreas Beckmann anbe at debian.org
Sat Aug 4 15:28:51 BST 2018


Source: fpylll
Version: 0.4.1+ds1-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

fpylll/experimental recently started to FTBFS, maybe related to the
switch of the default gcc to gcc-8.

[...]
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/build/fpylll-0.4.1+ds1=. -fstack-protector-strong -Wformat -Werror=format-security -W
date-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/lib/python2.7/dist-packages/cysignals -I/usr/include -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c build/src/fpylll/fplll/integer_matr
ix.cpp -o build/temp.linux-amd64-2.7/build/src/fpylll/fplll/integer_matrix.o -std=c++11 -g -O2 -fdebug-prefix-map=/build/fpylll-0.4.1+ds1=. -fstack-protector-strong -Wformat -Werror=format-security
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
build/src/fpylll/fplll/integer_matrix.cpp: In function 'PyObject* __pyx_pf_6fpylll_5fplll_14integer_matrix_16IntegerMatrixRow_10__abs__(__pyx_obj_6fpylll_5fplll_14integer_matrix_IntegerMatrixRow*)':
build/src/fpylll/fplll/integer_matrix.cpp:3285:58: error: 'class fplll::MatrixRow<fplll::Z_NR<__mpz_struct [1]> >' has no member named 'dot_product'
     ((__pyx_v_self->m->_core.mpz[0])[__pyx_v_self->row]).dot_product(__pyx_v_t_mpz, ((__pyx_v_self->m->_core.mpz[0])[__pyx_v_self->row]));
                                                          ^~~~~~~~~~~
build/src/fpylll/fplll/integer_matrix.cpp:3374:65: error: 'class fplll::MatrixRow<fplll::Z_NR<long int> >' has no member named 'dot_product'
     ((__pyx_v_self->m->_core.__pyx_long[0])[__pyx_v_self->row]).dot_product(__pyx_v_t_l, ((__pyx_v_self->m->_core.__pyx_long[0])[__pyx_v_self->row]));
                                                                 ^~~~~~~~~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:338: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build 
dh_auto_build: pybuild --build --test-pytest -i python{version} -p 2.7 returned exit code 13
make: *** [debian/rules:11: build] Error 25


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpylll_0.4.1+ds1-1.log.gz
Type: application/gzip
Size: 9921 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20180804/8326ac11/attachment.gz>


More information about the Python-modules-team mailing list