[Reproducible-builds] Bug#808456: regina-normal: FTBFS: error: call of overloaded 'gcd(mpz_class&, mpz_class&)' is ambiguous

Chris Lamb lamby at debian.org
Sun Dec 20 10:33:36 UTC 2015


Source: regina-normal
Version: 4.96-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

regina-normal fails to build from source in unstable/amd64:

  [..]

  [  6%] Building CXX object engine/CMakeFiles/regina-engine.dir/enumerate/normaliz/HilbertSeries.cpp.o
  cd /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/builds/debbuild/engine && /usr/bin/c++   -DREGINA_DLL_EXPORTS=1 -Dregina_engine_EXPORTS -I/home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/builds/debbuild/engine -I/home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu  -O3 -DNDEBUG -fPIC   -o CMakeFiles/regina-engine.dir/enumerate/normaliz/HilbertSeries.cpp.o -c /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine/enumerate/normaliz/HilbertSeries.cpp
  /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine/enumerate/normaliz/HilbertSeries.cpp: In member function 'void libnormaliz::HilbertSeries::computeHilbertQuasiPolynomial() const':
  /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine/enumerate/normaliz/HilbertSeries.cpp:352:26: error: call of overloaded 'gcd(mpz_class&, mpz_class&)' is ambiguous
       g = gcd(g,quasi_denom);
                            ^
  In file included from /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine/enumerate/normaliz/HilbertSeries.cpp:25:0:
  /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine/enumerate/normaliz/integer.h:71:22: note: candidate: Integer libnormaliz::gcd(const Integer&, const Integer&) [with Integer = __gmp_expr<__mpz_struct [1], __mpz_struct [1]>]
   template<> mpz_class gcd<mpz_class>(const mpz_class& a, const mpz_class& b);
                        ^
  In file included from /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine/enumerate/normaliz/general.h:37:0,
                   from /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine/enumerate/normaliz/HilbertSeries.h:47,
                   from /home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/engine/enumerate/normaliz/HilbertSeries.cpp:22:
  /usr/include/gmpxx.h:3083:1: note: candidate: __gmp_expr<typename __gmp_resolve_expr<T, V>::value_type, __gmp_binary_expr<__gmp_expr<T, U>, __gmp_expr<V, W>, __gmp_gcd_function> > gcd(const __gmp_expr<T, U>&, const __gmp_expr<V, W>&) [with T = __mpz_struct [1]; U = __mpz_struct [1]; V = __mpz_struct [1]; W = __mpz_struct [1]; typename __gmp_resolve_expr<T, V>::value_type = __mpz_struct [1]]
   __GMP_DEFINE_BINARY_FUNCTION(gcd, __gmp_gcd_function)
   ^
  engine/CMakeFiles/regina-engine.dir/build.make:974: recipe for target 'engine/CMakeFiles/regina-engine.dir/enumerate/normaliz/HilbertSeries.cpp.o' failed
  make[3]: *** [engine/CMakeFiles/regina-engine.dir/enumerate/normaliz/HilbertSeries.cpp.o] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/builds/debbuild'
  CMakeFiles/Makefile2:144: recipe for target 'engine/CMakeFiles/regina-engine.dir/all' failed
  make[2]: *** [engine/CMakeFiles/regina-engine.dir/all] Error 2
  make[2]: Leaving directory '/home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/builds/debbuild'
  Makefile:160: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20151220102316.gcFNRnDhwv/regina-normal-4.96/builds/debbuild'
  debian/rules:44: recipe for target 'build-stamp' failed
  make: *** [build-stamp] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: regina-normal.4.96-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3603 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20151220/787e9a54/attachment.obj>


More information about the Reproducible-builds mailing list