Source: python-admesh
Version: 0.98.4-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

python-admesh fails to build from source in unstable/amd64:

  [..]

  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall
  -Wstrict-prototypes -fno-strict-aliasing -g -O2
  -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
  -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python2.7 -c admesh.c -o
  build/temp.linux-x86_64-2.7/admesh.o
  admesh.c:625:69: warning: 'enum stl_type' declared inside parameter
  list
   static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__stl_type(enum
   stl_type value);
                                                                       ^
  admesh.c:625:69: warning: its scope is only this definition or
  declaration, which is probably not what you want
  admesh.c: In function '__pyx_pf_6admesh_3Stl_2__str__':
  admesh.c:1391:47: error: type of formal parameter 1 is incomplete
     __pyx_t_2 =
     __Pyx_PyInt_From_enum__stl_type(__pyx_v_self->_c_stl_file.stats.type);
     if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0];
     __pyx_lineno = 29; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                 ^
  admesh.c: At top level:
  admesh.c:13073:69: warning: 'enum stl_type' declared inside parameter
  list
   static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__stl_type(enum
   stl_type value) {
                                                                       ^
  admesh.c:13073:78: error: parameter 1 ('value') has incomplete type
   static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__stl_type(enum
   stl_type value) {
                                                                                
^
  admesh.c: In function '__Pyx_PyInt_From_enum__stl_type':
  admesh.c:13074:16: error: variable 'neg_one' has initializer but
  incomplete type
       const enum stl_type neg_one = (enum stl_type) -1, const_zero =
       (enum stl_type) 0;
                  ^
  admesh.c:13074:41: error: conversion to incomplete type
       const enum stl_type neg_one = (enum stl_type) -1, const_zero =
       (enum stl_type) 0;
                                           ^
  admesh.c:13074:25: error: storage size of 'neg_one' isn't known
       const enum stl_type neg_one = (enum stl_type) -1, const_zero =
       (enum stl_type) 0;
                           ^
  admesh.c:13074:41: error: variable 'const_zero' has initializer but
  incomplete type
       const enum stl_type neg_one = (enum stl_type) -1, const_zero =
       (enum stl_type) 0;
                                           ^
  admesh.c:13074:74: error: conversion to incomplete type
       const enum stl_type neg_one = (enum stl_type) -1, const_zero =
       (enum stl_type) 0;
                                                                            ^
  admesh.c:13074:55: error: storage size of 'const_zero' isn't known
       const enum stl_type neg_one = (enum stl_type) -1, const_zero =
       (enum stl_type) 0;
                                                         ^
  admesh.c:13077:20: error: invalid application of 'sizeof' to
  incomplete type 'enum stl_type'
           if (sizeof(enum stl_type) < sizeof(long)) {
                      ^
  admesh.c:13079:27: error: invalid application of 'sizeof' to
  incomplete type 'enum stl_type'
           } else if (sizeof(enum stl_type) <= sizeof(unsigned long)) {
                             ^
  admesh.c:13081:27: error: invalid application of 'sizeof' to
  incomplete type 'enum stl_type'
           } else if (sizeof(enum stl_type) <= sizeof(unsigned
           PY_LONG_LONG)) {
                             ^
  admesh.c:13085:20: error: invalid application of 'sizeof' to
  incomplete type 'enum stl_type'
           if (sizeof(enum stl_type) <= sizeof(long)) {
                      ^
  admesh.c:13087:27: error: invalid application of 'sizeof' to
  incomplete type 'enum stl_type'
           } else if (sizeof(enum stl_type) <= sizeof(PY_LONG_LONG)) {
                             ^
  admesh.c:13094:52: error: invalid application of 'sizeof' to
  incomplete type 'enum stl_type'
           return _PyLong_FromByteArray(bytes, sizeof(enum stl_type),
                                                      ^
  admesh.c:13074:55: warning: unused variable 'const_zero'
  [-Wunused-variable]
       const enum stl_type neg_one = (enum stl_type) -1, const_zero =
       (enum stl_type) 0;
                                                         ^
  admesh.c:13074:25: warning: unused variable 'neg_one'
  [-Wunused-variable]
       const enum stl_type neg_one = (enum stl_type) -1, const_zero =
       (enum stl_type) 0;
                           ^
  admesh.c: In function '__pyx_convert__to_py_stl_stats':
  admesh.c:13177:52: error: type of formal parameter 1 is incomplete
             member = __Pyx_PyInt_From_enum__stl_type(s.type); if
             (member == NULL) goto bad;
                                                      ^
  admesh.c: In function '__Pyx_PyInt_From_enum__stl_type':
  admesh.c:13097:1: warning: control reaches end of non-void function
  [-Wreturn-type]
   }
   ^
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  E: pybuild pybuild:262: build: plugin distutils failed with: exit
  code=1: /usr/bin/python setup.py build 
  dh_auto_build: pybuild --build -i python{version} -p 2.7 --dir .
  returned exit code 13
  debian/rules:5: recipe for target 'build' failed
  make: *** [build] Error 25
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    
https://reproducible.debian.net/logs/unstable/amd64/python-admesh_0.98.4-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org / chris-lamb.co.uk
       `-
I: using fakeroot in build.
I: pbuilder: network access will be disabled during build
I: Current time: Sun Sep 20 04:03:48 GMT+12 2015
I: pbuilder-time-stamp: 1442765028
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /run/shm filesystem
I: mounting /dev/pts filesystem
I: Mounting /dev/shm
I: Mounting /sys
I: policy-rc.d already exists
I: Installing the build-deps
 -> Attempting to satisfy build-dependencies
 -> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: amd64
Maintainer: Debian Pbuilder Team <pbuilder-ma...@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by 
pbuilder
 This package was created automatically by pbuilder to satisfy the
 build-dependencies of the package being currently built.
Depends: cython (>= 0.22), cython3 (>= 0.22), debhelper (>= 9), dh-python, 
libadmesh-dev, python-all-dev, python-setuptools, python3-all-dev, 
python3-setuptools
dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in 
'/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Selecting previously unselected package pbuilder-satisfydepends-dummy.
(Reading database ... 20256 files and directories currently installed.)
Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ...
Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ...
dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring 
anyway as you requested:
 pbuilder-satisfydepends-dummy depends on cython (>= 0.22); however:
  Package cython is not installed.
 pbuilder-satisfydepends-dummy depends on cython3 (>= 0.22); however:
  Package cython3 is not installed.
 pbuilder-satisfydepends-dummy depends on dh-python; however:
  Package dh-python is not installed.
 pbuilder-satisfydepends-dummy depends on libadmesh-dev; however:
  Package libadmesh-dev is not installed.
 pbuilder-satisfydepends-dummy depends on python-all-dev; however:
  Package python-all-dev is not installed.
 pbuilder-satisfydepends-dummy depends on python-setuptools; however:
  Package python-setuptools is not installed.
 pbuilder-satisfydepends-dummy depends on python3-all-dev; however:
  Package python3-all-dev is not installed.
 pbuilder-satisfydepends-dummy depends on python3-setuptools; however:
  Package python3-setuptools is not installed.

Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ...
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
Building tag database...
pbuilder-satisfydepends-dummy is already installed at the requested version 
(0.invalid.0)
pbuilder-satisfydepends-dummy is already installed at the requested version 
(0.invalid.0)
The following NEW packages will be installed:
  cython{a} cython3{a} dh-python{a} libadmesh-dev{a} libadmesh1{a} 
  libexpat1{a} libexpat1-dev{a} libmpdec2{a} libpython-all-dev{a} 
  libpython-dev{a} libpython-stdlib{a} libpython2.7{a} libpython2.7-dev{a} 
  libpython2.7-minimal{a} libpython2.7-stdlib{a} libpython3-all-dev{a} 
  libpython3-dev{a} libpython3-stdlib{a} libpython3.4{a} 
  libpython3.4-dev{a} libpython3.4-minimal{a} libpython3.4-stdlib{a} 
  libssl1.0.0{a} mime-support{a} pkg-config{a} python{a} python-all{a} 
  python-all-dev{a} python-dev{a} python-minimal{a} python-pkg-resources{a} 
  python-setuptools{a} python2.7{a} python2.7-dev{a} python2.7-minimal{a} 
  python3{a} python3-all{a} python3-all-dev{a} python3-dev{a} 
  python3-minimal{a} python3-pkg-resources{a} python3-setuptools{a} 
  python3.4{a} python3.4-dev{a} python3.4-minimal{a} 
0 packages upgraded, 45 newly installed, 0 to remove and 0 not upgraded.
Need to get 67.3 MB of archives. After unpacking 147 MB will be used.
Writing extended state information...
Get: 1 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-minimal 
amd64 2.7.10-4 [380 kB]
Get: 2 http://ftp.de.debian.org/debian/ unstable/main python2.7-minimal amd64 
2.7.10-4 [1310 kB]
Get: 3 http://ftp.de.debian.org/debian/ unstable/main python-minimal amd64 
2.7.9-1 [40.3 kB]
Get: 4 http://ftp.de.debian.org/debian/ unstable/main mime-support all 3.59 
[36.4 kB]
Get: 5 http://ftp.de.debian.org/debian/ unstable/main libexpat1 amd64 2.1.0-7 
[80.0 kB]
Get: 6 http://ftp.de.debian.org/debian/ unstable/main libssl1.0.0 amd64 
1.0.2d-1 [1274 kB]
Get: 7 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-stdlib amd64 
2.7.10-4 [1791 kB]
Get: 8 http://ftp.de.debian.org/debian/ unstable/main python2.7 amd64 2.7.10-4 
[259 kB]
Get: 9 http://ftp.de.debian.org/debian/ unstable/main libpython-stdlib amd64 
2.7.9-1 [19.5 kB]
Get: 10 http://ftp.de.debian.org/debian/ unstable/main python amd64 2.7.9-1 
[151 kB]
Get: 11 http://ftp.de.debian.org/debian/ unstable/main libmpdec2 amd64 2.4.1-1 
[85.7 kB]
Get: 12 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-minimal 
amd64 3.4.3-8 [495 kB]
Get: 13 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-stdlib 
amd64 3.4.3-8 [2057 kB]
Get: 14 http://ftp.de.debian.org/debian/ unstable/main libpython3.4 amd64 
3.4.3-8 [1315 kB]
Get: 15 http://ftp.de.debian.org/debian/ unstable/main libexpat1-dev amd64 
2.1.0-7 [126 kB]
Get: 16 http://ftp.de.debian.org/debian/ unstable/main libpython3.4-dev amd64 
3.4.3-8 [22.8 MB]
Get: 17 http://ftp.de.debian.org/debian/ unstable/main python3.4-minimal amd64 
3.4.3-8 [1401 kB]
Get: 18 http://ftp.de.debian.org/debian/ unstable/main python3-minimal amd64 
3.4.3-4 [34.7 kB]
Get: 19 http://ftp.de.debian.org/debian/ unstable/main python3.4 amd64 3.4.3-8 
[219 kB]
Get: 20 http://ftp.de.debian.org/debian/ unstable/main libpython3-stdlib amd64 
3.4.3-4 [18.1 kB]
Get: 21 http://ftp.de.debian.org/debian/ unstable/main dh-python all 2.20150826 
[71.5 kB]
Get: 22 http://ftp.de.debian.org/debian/ unstable/main python3 amd64 3.4.3-4 
[21.1 kB]
Get: 23 http://ftp.de.debian.org/debian/ unstable/main cython amd64 0.23.2-1 
[1536 kB]
Get: 24 http://ftp.de.debian.org/debian/ unstable/main cython3 amd64 0.23.2-1 
[1553 kB]
Get: 25 http://ftp.de.debian.org/debian/ unstable/main libadmesh1 amd64 
0.98.2-2 [23.5 kB]
Get: 26 http://ftp.de.debian.org/debian/ unstable/main pkg-config amd64 0.28-1 
[57.5 kB]
Get: 27 http://ftp.de.debian.org/debian/ unstable/main libadmesh-dev amd64 
0.98.2-2 [6326 B]
Get: 28 http://ftp.de.debian.org/debian/ unstable/main libpython2.7 amd64 
2.7.10-4 [1064 kB]
Get: 29 http://ftp.de.debian.org/debian/ unstable/main libpython2.7-dev amd64 
2.7.10-4 [27.8 MB]
Get: 30 http://ftp.de.debian.org/debian/ unstable/main libpython-dev amd64 
2.7.9-1 [19.6 kB]
Get: 31 http://ftp.de.debian.org/debian/ unstable/main libpython-all-dev amd64 
2.7.9-1 [1008 B]
Get: 32 http://ftp.de.debian.org/debian/ unstable/main libpython3-dev amd64 
3.4.3-4 [18.2 kB]
Get: 33 http://ftp.de.debian.org/debian/ unstable/main libpython3-all-dev amd64 
3.4.3-4 [954 B]
Get: 34 http://ftp.de.debian.org/debian/ unstable/main python-all amd64 2.7.9-1 
[996 B]
Get: 35 http://ftp.de.debian.org/debian/ unstable/main python2.7-dev amd64 
2.7.10-4 [276 kB]
Get: 36 http://ftp.de.debian.org/debian/ unstable/main python-dev amd64 2.7.9-1 
[1182 B]
Get: 37 http://ftp.de.debian.org/debian/ unstable/main python-all-dev amd64 
2.7.9-1 [1024 B]
Get: 38 http://ftp.de.debian.org/debian/ unstable/main python-pkg-resources all 
18.3.1-2 [99.4 kB]
Get: 39 http://ftp.de.debian.org/debian/ unstable/main python-setuptools all 
18.3.1-2 [201 kB]
Get: 40 http://ftp.de.debian.org/debian/ unstable/main python3-all amd64 
3.4.3-4 [932 B]
Get: 41 http://ftp.de.debian.org/debian/ unstable/main python3.4-dev amd64 
3.4.3-8 [417 kB]
Get: 42 http://ftp.de.debian.org/debian/ unstable/main python3-dev amd64 
3.4.3-4 [1152 B]
Get: 43 http://ftp.de.debian.org/debian/ unstable/main python3-all-dev amd64 
3.4.3-4 [958 B]
Get: 44 http://ftp.de.debian.org/debian/ unstable/main python3-pkg-resources 
all 18.3.1-2 [70.1 kB]
Get: 45 http://ftp.de.debian.org/debian/ unstable/main python3-setuptools all 
18.3.1-2 [119 kB]
Fetched 67.3 MB in 2s (26.0 MB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20256 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.10-4_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.10-4) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.10-4_amd64.deb ...
Unpacking python2.7-minimal (2.7.10-4) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.59_all.deb ...
Unpacking mime-support (3.59) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.1.0-7_amd64.deb ...
Unpacking libexpat1:amd64 (2.1.0-7) ...
Selecting previously unselected package libssl1.0.0:amd64.
Preparing to unpack .../libssl1.0.0_1.0.2d-1_amd64.deb ...
Unpacking libssl1.0.0:amd64 (1.0.2d-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.10-4_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.10-4) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.10-4_amd64.deb ...
Unpacking python2.7 (2.7.10-4) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up libpython2.7-minimal:amd64 (2.7.10-4) ...
Setting up python2.7-minimal (2.7.10-4) ...
Setting up python-minimal (2.7.9-1) ...
Selecting previously unselected package python.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 21058 files and directories currently installed.)
Preparing to unpack .../python_2.7.9-1_amd64.deb ...
Unpacking python (2.7.9-1) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.1-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.1-1) ...
Selecting previously unselected package libpython3.4-minimal:amd64.
Preparing to unpack .../libpython3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-minimal:amd64 (3.4.3-8) ...
Selecting previously unselected package libpython3.4-stdlib:amd64.
Preparing to unpack .../libpython3.4-stdlib_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-stdlib:amd64 (3.4.3-8) ...
Selecting previously unselected package libpython3.4:amd64.
Preparing to unpack .../libpython3.4_3.4.3-8_amd64.deb ...
Unpacking libpython3.4:amd64 (3.4.3-8) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../libexpat1-dev_2.1.0-7_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.1.0-7) ...
Selecting previously unselected package libpython3.4-dev:amd64.
Preparing to unpack .../libpython3.4-dev_3.4.3-8_amd64.deb ...
Unpacking libpython3.4-dev:amd64 (3.4.3-8) ...
Selecting previously unselected package python3.4-minimal.
Preparing to unpack .../python3.4-minimal_3.4.3-8_amd64.deb ...
Unpacking python3.4-minimal (3.4.3-8) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.4.3-4_amd64.deb ...
Unpacking python3-minimal (3.4.3-4) ...
Selecting previously unselected package python3.4.
Preparing to unpack .../python3.4_3.4.3-8_amd64.deb ...
Unpacking python3.4 (3.4.3-8) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.4.3-4_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.4.3-4) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20150826_all.deb ...
Unpacking dh-python (2.20150826) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up libssl1.0.0:amd64 (1.0.2d-1) ...
Setting up libpython3.4-minimal:amd64 (3.4.3-8) ...
Setting up libexpat1:amd64 (2.1.0-7) ...
Setting up python3.4-minimal (3.4.3-8) ...
Setting up python3-minimal (3.4.3-4) ...
Processing triggers for libc-bin (2.19-20) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 22173 files and directories currently installed.)
Preparing to unpack .../python3_3.4.3-4_amd64.deb ...
Unpacking python3 (3.4.3-4) ...
Selecting previously unselected package cython.
Preparing to unpack .../cython_0.23.2-1_amd64.deb ...
Unpacking cython (0.23.2-1) ...
Selecting previously unselected package cython3.
Preparing to unpack .../cython3_0.23.2-1_amd64.deb ...
Unpacking cython3 (0.23.2-1) ...
Selecting previously unselected package libadmesh1:amd64.
Preparing to unpack .../libadmesh1_0.98.2-2_amd64.deb ...
Unpacking libadmesh1:amd64 (0.98.2-2) ...
Selecting previously unselected package pkg-config.
Preparing to unpack .../pkg-config_0.28-1_amd64.deb ...
Unpacking pkg-config (0.28-1) ...
Selecting previously unselected package libadmesh-dev:amd64.
Preparing to unpack .../libadmesh-dev_0.98.2-2_amd64.deb ...
Unpacking libadmesh-dev:amd64 (0.98.2-2) ...
Selecting previously unselected package libpython2.7:amd64.
Preparing to unpack .../libpython2.7_2.7.10-4_amd64.deb ...
Unpacking libpython2.7:amd64 (2.7.10-4) ...
Selecting previously unselected package libpython2.7-dev:amd64.
Preparing to unpack .../libpython2.7-dev_2.7.10-4_amd64.deb ...
Unpacking libpython2.7-dev:amd64 (2.7.10-4) ...
Selecting previously unselected package libpython-dev:amd64.
Preparing to unpack .../libpython-dev_2.7.9-1_amd64.deb ...
Unpacking libpython-dev:amd64 (2.7.9-1) ...
Selecting previously unselected package libpython-all-dev:amd64.
Preparing to unpack .../libpython-all-dev_2.7.9-1_amd64.deb ...
Unpacking libpython-all-dev:amd64 (2.7.9-1) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../libpython3-dev_3.4.3-4_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.4.3-4) ...
Selecting previously unselected package libpython3-all-dev:amd64.
Preparing to unpack .../libpython3-all-dev_3.4.3-4_amd64.deb ...
Unpacking libpython3-all-dev:amd64 (3.4.3-4) ...
Selecting previously unselected package python-all.
Preparing to unpack .../python-all_2.7.9-1_amd64.deb ...
Unpacking python-all (2.7.9-1) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.10-4_amd64.deb ...
Unpacking python2.7-dev (2.7.10-4) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.9-1_amd64.deb ...
Unpacking python-dev (2.7.9-1) ...
Selecting previously unselected package python-all-dev.
Preparing to unpack .../python-all-dev_2.7.9-1_amd64.deb ...
Unpacking python-all-dev (2.7.9-1) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_18.3.1-2_all.deb ...
Unpacking python-pkg-resources (18.3.1-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_18.3.1-2_all.deb ...
Unpacking python-setuptools (18.3.1-2) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../python3-all_3.4.3-4_amd64.deb ...
Unpacking python3-all (3.4.3-4) ...
Selecting previously unselected package python3.4-dev.
Preparing to unpack .../python3.4-dev_3.4.3-8_amd64.deb ...
Unpacking python3.4-dev (3.4.3-8) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../python3-dev_3.4.3-4_amd64.deb ...
Unpacking python3-dev (3.4.3-4) ...
Selecting previously unselected package python3-all-dev.
Preparing to unpack .../python3-all-dev_3.4.3-4_amd64.deb ...
Unpacking python3-all-dev (3.4.3-4) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_18.3.1-2_all.deb ...
Unpacking python3-pkg-resources (18.3.1-2) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_18.3.1-2_all.deb ...
Unpacking python3-setuptools (18.3.1-2) ...
Processing triggers for man-db (2.7.3-1) ...
Setting up mime-support (3.59) ...
Setting up libpython2.7-stdlib:amd64 (2.7.10-4) ...
Setting up python2.7 (2.7.10-4) ...
Setting up libpython-stdlib:amd64 (2.7.9-1) ...
Setting up python (2.7.9-1) ...
Setting up libmpdec2:amd64 (2.4.1-1) ...
Setting up libpython3.4-stdlib:amd64 (3.4.3-8) ...
Setting up libpython3.4:amd64 (3.4.3-8) ...
Setting up libexpat1-dev:amd64 (2.1.0-7) ...
Setting up libpython3.4-dev:amd64 (3.4.3-8) ...
Setting up python3.4 (3.4.3-8) ...
Setting up libpython3-stdlib:amd64 (3.4.3-4) ...
Setting up cython (0.23.2-1) ...
Setting up libadmesh1:amd64 (0.98.2-2) ...
Setting up pkg-config (0.28-1) ...
Setting up libadmesh-dev:amd64 (0.98.2-2) ...
Setting up libpython2.7:amd64 (2.7.10-4) ...
Setting up libpython2.7-dev:amd64 (2.7.10-4) ...
Setting up libpython-dev:amd64 (2.7.9-1) ...
Setting up libpython-all-dev:amd64 (2.7.9-1) ...
Setting up libpython3-dev:amd64 (3.4.3-4) ...
Setting up libpython3-all-dev:amd64 (3.4.3-4) ...
Setting up python-all (2.7.9-1) ...
Setting up python2.7-dev (2.7.10-4) ...
Setting up python-dev (2.7.9-1) ...
Setting up python-all-dev (2.7.9-1) ...
Setting up python-pkg-resources (18.3.1-2) ...
Setting up python-setuptools (18.3.1-2) ...
Setting up python3.4-dev (3.4.3-8) ...
Setting up python3 (3.4.3-4) ...
Setting up cython3 (0.23.2-1) ...
Setting up python3-all (3.4.3-4) ...
Setting up python3-dev (3.4.3-4) ...
Setting up python3-all-dev (3.4.3-4) ...
Setting up python3-pkg-resources (18.3.1-2) ...
Setting up python3-setuptools (18.3.1-2) ...
Setting up dh-python (2.20150826) ...
Processing triggers for libc-bin (2.19-20) ...
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Building tag database...
 -> Finished parsing the build-deps
Reading package lists...
Building dependency tree...
Reading state information...
fakeroot is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I: Copying source file
I: copying [python-admesh_0.98.4-1.dsc]
I: copying [./python-admesh_0.98.4.orig.tar.xz]
I: copying [./python-admesh_0.98.4-1.debian.tar.xz]
I: Extracting source
gpgv: keyblock resource `/tmp/buildd/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Thu Aug 13 06:55:34 2015 GMT+12 using RSA key ID CFA7FF06
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./python-admesh_0.98.4-1.dsc
dpkg-source: info: extracting python-admesh in python-admesh-0.98.4
dpkg-source: info: unpacking python-admesh_0.98.4.orig.tar.xz
dpkg-source: info: unpacking python-admesh_0.98.4-1.debian.tar.xz
I: Building the package
I: Running cd tmp/buildd/*/ && env 
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" dpkg-buildpackage -us -uc  -b 
-rfakeroot
dpkg-buildpackage: source package python-admesh
dpkg-buildpackage: source version 0.98.4-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Anton Gladky <gl...@debian.org>
 dpkg-source --before-build python-admesh-0.98.4
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py clean 
running clean
removing '/tmp/buildd/python-admesh-0.98.4/.pybuild/pythonX.Y_2.7/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
I: pybuild base:170: python3.4 setup.py clean 
running clean
removing '/tmp/buildd/python-admesh-0.98.4/.pybuild/pythonX.Y_3.4/build' (and 
everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.4' does not exist -- can't clean it
   dh_clean -O--buildsystem=pybuild
 debian/rules build
dh build --with python2,python3 --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:170: python2.7 setup.py config 
running config
I: pybuild base:170: python3.4 setup.py config 
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:170: /usr/bin/python setup.py build 
running build
running build_ext
generating cadmesh.pxd and admesh.pyx
found /usr/include/admesh/stl.h
cythoning admesh.pyx to admesh.c
building 'admesh' extension
creating build
creating build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes 
-fno-strict-aliasing -g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-I/usr/include/python2.7 -c admesh.c -o build/temp.linux-x86_64-2.7/admesh.o
admesh.c:625:69: warning: 'enum stl_type' declared inside parameter list
 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__stl_type(enum stl_type 
value);
                                                                     ^
admesh.c:625:69: warning: its scope is only this definition or declaration, 
which is probably not what you want
admesh.c: In function '__pyx_pf_6admesh_3Stl_2__str__':
admesh.c:1391:47: error: type of formal parameter 1 is incomplete
   __pyx_t_2 = 
__Pyx_PyInt_From_enum__stl_type(__pyx_v_self->_c_stl_file.stats.type); if 
(unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 29; 
__pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                               ^
admesh.c: At top level:
admesh.c:13073:69: warning: 'enum stl_type' declared inside parameter list
 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__stl_type(enum stl_type 
value) {
                                                                     ^
admesh.c:13073:78: error: parameter 1 ('value') has incomplete type
 static CYTHON_INLINE PyObject* __Pyx_PyInt_From_enum__stl_type(enum stl_type 
value) {
                                                                              ^
admesh.c: In function '__Pyx_PyInt_From_enum__stl_type':
admesh.c:13074:16: error: variable 'neg_one' has initializer but incomplete type
     const enum stl_type neg_one = (enum stl_type) -1, const_zero = (enum 
stl_type) 0;
                ^
admesh.c:13074:41: error: conversion to incomplete type
     const enum stl_type neg_one = (enum stl_type) -1, const_zero = (enum 
stl_type) 0;
                                         ^
admesh.c:13074:25: error: storage size of 'neg_one' isn't known
     const enum stl_type neg_one = (enum stl_type) -1, const_zero = (enum 
stl_type) 0;
                         ^
admesh.c:13074:41: error: variable 'const_zero' has initializer but incomplete 
type
     const enum stl_type neg_one = (enum stl_type) -1, const_zero = (enum 
stl_type) 0;
                                         ^
admesh.c:13074:74: error: conversion to incomplete type
     const enum stl_type neg_one = (enum stl_type) -1, const_zero = (enum 
stl_type) 0;
                                                                          ^
admesh.c:13074:55: error: storage size of 'const_zero' isn't known
     const enum stl_type neg_one = (enum stl_type) -1, const_zero = (enum 
stl_type) 0;
                                                       ^
admesh.c:13077:20: error: invalid application of 'sizeof' to incomplete type 
'enum stl_type'
         if (sizeof(enum stl_type) < sizeof(long)) {
                    ^
admesh.c:13079:27: error: invalid application of 'sizeof' to incomplete type 
'enum stl_type'
         } else if (sizeof(enum stl_type) <= sizeof(unsigned long)) {
                           ^
admesh.c:13081:27: error: invalid application of 'sizeof' to incomplete type 
'enum stl_type'
         } else if (sizeof(enum stl_type) <= sizeof(unsigned PY_LONG_LONG)) {
                           ^
admesh.c:13085:20: error: invalid application of 'sizeof' to incomplete type 
'enum stl_type'
         if (sizeof(enum stl_type) <= sizeof(long)) {
                    ^
admesh.c:13087:27: error: invalid application of 'sizeof' to incomplete type 
'enum stl_type'
         } else if (sizeof(enum stl_type) <= sizeof(PY_LONG_LONG)) {
                           ^
admesh.c:13094:52: error: invalid application of 'sizeof' to incomplete type 
'enum stl_type'
         return _PyLong_FromByteArray(bytes, sizeof(enum stl_type),
                                                    ^
admesh.c:13074:55: warning: unused variable 'const_zero' [-Wunused-variable]
     const enum stl_type neg_one = (enum stl_type) -1, const_zero = (enum 
stl_type) 0;
                                                       ^
admesh.c:13074:25: warning: unused variable 'neg_one' [-Wunused-variable]
     const enum stl_type neg_one = (enum stl_type) -1, const_zero = (enum 
stl_type) 0;
                         ^
admesh.c: In function '__pyx_convert__to_py_stl_stats':
admesh.c:13177:52: error: type of formal parameter 1 is incomplete
           member = __Pyx_PyInt_From_enum__stl_type(s.type); if (member == 
NULL) goto bad;
                                                    ^
admesh.c: In function '__Pyx_PyInt_From_enum__stl_type':
admesh.c:13097:1: warning: control reaches end of non-void function 
[-Wreturn-type]
 }
 ^
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:262: build: plugin distutils failed with: exit code=1: 
/usr/bin/python setup.py build 
dh_auto_build: pybuild --build -i python{version} -p 2.7 --dir . returned exit 
code 13
debian/rules:5: recipe for target 'build' failed
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
I: unmounting /sys filesystem
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//16369 and its subdirectories

Reply via email to