[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#957548: mlgmp: ftbfs with GCC-10



Package: src:mlgmp
Version: 20021123-20
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/mlgmp_20021123-20_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
gcc -Wall -Wno-unused -g -O2 -fPIC -I /usr/lib/ocaml  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mlgmp_z.o mlgmp_z.c
In file included from mlgmp_z.c:13:
conversions.c:68: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   68 | #pragma inline(Int_option_val, mpz_val, alloc_mpz, alloc_init_mpz)
      | 
conversions.c:92: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   92 | #pragma inline(mpq_val, alloc_mpq, alloc_init_mpq)
      | 
gcc -Wall -Wno-unused -g -O2 -fPIC -I /usr/lib/ocaml  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mlgmp_q.o mlgmp_q.c
In file included from mlgmp_q.c:12:
conversions.c:68: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   68 | #pragma inline(Int_option_val, mpz_val, alloc_mpz, alloc_init_mpz)
      | 
conversions.c:92: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   92 | #pragma inline(mpq_val, alloc_mpq, alloc_init_mpq)
      | 
gcc -Wall -Wno-unused -g -O2 -fPIC -I /usr/lib/ocaml  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mlgmp_f.o mlgmp_f.c
In file included from mlgmp_f.c:12:
conversions.c:68: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   68 | #pragma inline(Int_option_val, mpz_val, alloc_mpz, alloc_init_mpz)
      | 
conversions.c:92: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   92 | #pragma inline(mpq_val, alloc_mpq, alloc_init_mpq)
      | 
gcc -Wall -Wno-unused -g -O2 -fPIC -I /usr/lib/ocaml  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mlgmp_fr.o mlgmp_fr.c
In file included from mlgmp_fr.c:12:
conversions.c:68: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   68 | #pragma inline(Int_option_val, mpz_val, alloc_mpz, alloc_init_mpz)
      | 
conversions.c:92: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   92 | #pragma inline(mpq_val, alloc_mpq, alloc_init_mpq)
      | 
mlgmp_fr.c: In function ‘_mlgmp_fr_initialize’:
mlgmp_fr.c:410:1: warning: control reaches end of non-void function [-Wreturn-type]
  410 | }
      | ^
gcc -Wall -Wno-unused -g -O2 -fPIC -I /usr/lib/ocaml  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mlgmp_random.o mlgmp_random.c
gcc -Wall -Wno-unused -g -O2 -fPIC -I /usr/lib/ocaml  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o mlgmp_misc.o mlgmp_misc.c
In file included from mlgmp_misc.c:12:
conversions.c:68: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   68 | #pragma inline(Int_option_val, mpz_val, alloc_mpz, alloc_init_mpz)
      | 
conversions.c:92: warning: ignoring ‘#pragma inline ’ [-Wunknown-pragmas]
   92 | #pragma inline(mpq_val, alloc_mpq, alloc_init_mpq)
      | 
ocamlmklib  -o gmp -oc gmpstub  gmp.cmo \
   gmp.cmx mlgmp_z.o mlgmp_q.o mlgmp_f.o mlgmp_fr.o mlgmp_random.o mlgmp_misc.o -lgmp
/usr/bin/ld: mlgmp_q.o:/<<PKGBUILDDIR>>/conversions.c:70: multiple definition of `_mlgmp_custom_q'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:70: first defined here
/usr/bin/ld: mlgmp_q.o:/<<PKGBUILDDIR>>/conversions.c:35: multiple definition of `_mlgmp_custom_z'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:35: first defined here
/usr/bin/ld: mlgmp_q.o:/<<PKGBUILDDIR>>/conversions.c:118: multiple definition of `_mlgmp_custom_fr'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:118: first defined here
/usr/bin/ld: mlgmp_q.o:/<<PKGBUILDDIR>>/conversions.c:95: multiple definition of `_mlgmp_custom_f'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:95: first defined here
/usr/bin/ld: mlgmp_f.o:/<<PKGBUILDDIR>>/conversions.c:95: multiple definition of `_mlgmp_custom_f'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:95: first defined here
/usr/bin/ld: mlgmp_f.o:/<<PKGBUILDDIR>>/conversions.c:118: multiple definition of `_mlgmp_custom_fr'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:118: first defined here
/usr/bin/ld: mlgmp_f.o:/<<PKGBUILDDIR>>/conversions.c:70: multiple definition of `_mlgmp_custom_q'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:70: first defined here
/usr/bin/ld: mlgmp_f.o:/<<PKGBUILDDIR>>/conversions.c:35: multiple definition of `_mlgmp_custom_z'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:35: first defined here
/usr/bin/ld: mlgmp_fr.o:/<<PKGBUILDDIR>>/conversions.c:118: multiple definition of `_mlgmp_custom_fr'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:118: first defined here
/usr/bin/ld: mlgmp_fr.o:/<<PKGBUILDDIR>>/conversions.c:95: multiple definition of `_mlgmp_custom_f'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:95: first defined here
/usr/bin/ld: mlgmp_fr.o:/<<PKGBUILDDIR>>/conversions.c:70: multiple definition of `_mlgmp_custom_q'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:70: first defined here
/usr/bin/ld: mlgmp_fr.o:/<<PKGBUILDDIR>>/conversions.c:35: multiple definition of `_mlgmp_custom_z'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:35: first defined here
/usr/bin/ld: mlgmp_misc.o:/<<PKGBUILDDIR>>/conversions.c:118: multiple definition of `_mlgmp_custom_fr'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:118: first defined here
/usr/bin/ld: mlgmp_misc.o:/<<PKGBUILDDIR>>/conversions.c:95: multiple definition of `_mlgmp_custom_f'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:95: first defined here
/usr/bin/ld: mlgmp_misc.o:/<<PKGBUILDDIR>>/conversions.c:70: multiple definition of `_mlgmp_custom_q'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:70: first defined here
/usr/bin/ld: mlgmp_misc.o:/<<PKGBUILDDIR>>/conversions.c:35: multiple definition of `_mlgmp_custom_z'; mlgmp_z.o:/<<PKGBUILDDIR>>/conversions.c:35: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:89: dllgmpstub.so] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: