Package: polymake
Version: 3.0-1
Severity: serious
Tags: upstream
Justification: FTBFS

On several 32 bit architectures it looks liks there problems related
to the size of integers.

At a guess, it looks like the problem is the difference between
"unsigned int" and "long unsigned int" on these architectures.

Here is a sample from the build log:

/usr/bin/perl /«PKGBUILDDIR»/support/guarded_compiler.pl g++ -c -o normaliz.o 
-fPIC -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
-I/«PKGBUILDDIR»/include/core-wrappers -I/«PKGBUILDDIR»/include/core 
-I/«PKGBUILDDIR»/bundled/libnormaliz/include/app-wrappers 
-I/«PKGBUILDDIR»/bundled/libnormaliz/include/apps 
-I/«PKGBUILDDIR»/include/app-wrappers -I/«PKGBUILDDIR»/include/apps -fopenmp -g 
-O2 -fstack-protector-strong -Wformat -Werror=format-security 
-ftemplate-depth-200 -Wall -Wno-strict-aliasing -Wno-parentheses -fwrapv 
-fopenmp -DPOLYMAKE_APPNAME=polytope -DNDEBUG -DPOLYMAKE_DEBUG=0 -O2 -MD 
-I/«PKGBUILDDIR»/bundled/libnormaliz/external/libnormaliz -std=c++0x 
-DPM_FORCE_TR1  -I/«PKGBUILDDIR»/bundled/libnormaliz/apps/polytope 
-I/«PKGBUILDDIR»/apps/polytope -include src/normaliz.cc 
/«PKGBUILDDIR»/bundled/libnormaliz/apps/polytope/src/perl/wrap-normaliz.cc
In file included from 
/«PKGBUILDDIR»/bundled/libnormaliz/external/libnormaliz/libnormaliz/libnormaliz-all.cpp:31:0,
                 from 
/«PKGBUILDDIR»/bundled/libnormaliz/apps/polytope/src/normaliz.cc:77,
                 from <command-line>:0:
/«PKGBUILDDIR»/bundled/libnormaliz/external/libnormaliz/libnormaliz/full_cone.cpp:
 In instantiation of 'void 
libnormaliz::Full_Cone<Integer>::compute_class_group() [with Integer = 
pm::Integer]':
/«PKGBUILDDIR»/bundled/libnormaliz/external/libnormaliz/libnormaliz/full_cone.cpp:4453:24:
   required from 'void libnormaliz::Full_Cone<Integer>::dual_mode() [with 
Integer = pm::Integer]'
/«PKGBUILDDIR»/bundled/libnormaliz/external/libnormaliz/libnormaliz/cone.cpp:1998:5:
   required from 'void 
libnormaliz::Cone<Integer>::compute_dual_inner(libnormaliz::ConeProperties&) 
[with IntegerFC = pm::Integer; Integer = pm::Integer]'
/«PKGBUILDDIR»/bundled/libnormaliz/external/libnormaliz/libnormaliz/cone.cpp:1849:36:
   required from 'void 
libnormaliz::Cone<Integer>::compute_dual(libnormaliz::ConeProperties&) [with 
Integer = pm::Integer]'
/«PKGBUILDDIR»/bundled/libnormaliz/external/libnormaliz/libnormaliz/cone.cpp:1430:21:
   required from 'libnormaliz::ConeProperties 
libnormaliz::Cone<Integer>::compute(libnormaliz::ConeProperties) [with Integer 
= pm::Integer]'
/«PKGBUILDDIR»/bundled/libnormaliz/apps/polytope/src/normaliz.cc:237:27:   
required from here
/«PKGBUILDDIR»/bundled/libnormaliz/external/libnormaliz/libnormaliz/full_cone.cpp:3658:5:
 error: conversion from 'size_t {aka unsigned int}' to 
'std::vector<pm::Integer, std::allocator<pm::Integer> >::value_type {aka 
pm::Integer}' is ambiguous
     ClassGroup.push_back(Support_Hyperplanes.nr_of_rows()-rk);
     ^
In file included from 
/«PKGBUILDDIR»/include/core-wrappers/polymake/Integer.h:20:0,
                 from 
/«PKGBUILDDIR»/bundled/libnormaliz/apps/polytope/src/normaliz.cc:22,
                 from <command-line>:0:
/«PKGBUILDDIR»/include/core/polymake/Integer.h:168:4: note: candidate: 
pm::Integer::Integer(double)
    Integer(double d)
    ^
/«PKGBUILDDIR»/include/core/polymake/Integer.h:162:4: note: candidate: 
pm::Integer::Integer(int)
    Integer(int i)
    ^
/«PKGBUILDDIR»/include/core/polymake/Integer.h:156:4: note: candidate: 
pm::Integer::Integer(long unsigned int)
    Integer(unsigned long i)
    ^
/«PKGBUILDDIR»/include/core/polymake/Integer.h:150:4: note: candidate: 
pm::Integer::Integer(long long int)
    Integer(long long i)
    ^
/«PKGBUILDDIR»/include/core/polymake/Integer.h:144:4: note: candidate: 
pm::Integer::Integer(long int)
    Integer(long i)
    ^

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages polymake depends on:
ii  g++                         4:5.3.1-1
ii  libbliss1d                  0.72-5
ii  libc6                       2.21-6
ii  libcdd0d                    094g-5
ii  libgcc1                     1:5.3.1-5
ii  libgmp10                    2:6.1.0+dfsg-2
ii  libgmpxx4ldbl               2:6.1.0+dfsg-2
ii  libgomp1                    5.3.1-5
ii  liblrsgmp0                  0.51-2
ii  libmpfr-dev                 3.1.3-2
ii  libmpfr4                    3.1.3-2
ii  libppl13v5                  1:1.1-7.2
ii  libstdc++6                  5.3.1-5
ii  libterm-readline-gnu-perl   1.28-2+b1
ii  libxml-libxml-perl          2.0123+dfsg-1+b1
ii  libxml-libxslt-perl         1.94-2+b1
ii  libxml-writer-perl          0.625-1
ii  libxml2                     2.9.3+dfsg1-1
ii  make                        4.0-8.2
ii  perl                        5.22.1-4
ii  perl-base [perlapi-5.22.1]  5.22.1-4

Versions of packages polymake recommends:
ii  chromium   46.0.2490.71-1
ii  conkeror   1.0~~pre-1+git150730-1
pn  gfan       <none>
ii  graphviz   2.38.0-12+b1
ii  iceweasel  43.0.2-1+b1
ii  sketch     1:0.3.7-1
ii  xdg-utils  1.1.1-1

Versions of packages polymake suggests:
pn  povray            <none>
ii  texlive-pictures  2015.20151225-1

-- no debconf information

Reply via email to