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

Bug#777776: apron: ftbfs with GCC-5



Package: src:apron
Version: 0.9.10-6
Severity: normal
Tags: sid stretch
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-5

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-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/apron_0.9.10-6_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, 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-5/porting_to.html

[...]
oct_transfer.c: In function 'oct_meet_tcons_array':
oct_transfer.c:502:9: warning: passing argument 7 of 'ap_generic_meet_intlinearize_tcons_array' from incompatible pointer type [-Wincompatible-pointer-types]
         &oct_meet_lincons_array);
         ^
In file included from oct_transfer.c:18:0:
../apron/ap_generic.h:84:1: note: expected 'void * (*)(ap_manager_t *, bool,  void *, ap_lincons0_array_t *) {aka void * (*)(struct ap_manager_t *, char,  void *, struct ap_lincons0_array_t *)}' but argument is of type 'oct_t * (*)(ap_manager_t *, bool,  oct_t *, ap_lincons0_array_t *) {aka struct _oct_t * (*)(struct ap_manager_t *, char,  struct _oct_t *, struct ap_lincons0_array_t *)}'
 ap_generic_meet_intlinearize_tcons_array(ap_manager_t* man,
 ^
gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused -std=c99 -U__STRICT_ANSI__ -fPIC -O3 -DNDEBUG -I/«PKGBUILDDIR»/debian/tmp/usr/include -I../newpolka -I../apron -I../mlapronidl -I../num -I../itv -I/usr/include -I/usr/include -I/usr/lib/ocaml -I/usr/lib/ocaml -DNUM_DOUBLE -c -o oct_closureD_debug.o oct_closure.c
gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused -std=c99 -U__STRICT_ANSI__ -fPIC -O3 -DNDEBUG -I/«PKGBUILDDIR»/debian/tmp/usr/include -I../newpolka -I../apron -I../mlapronidl -I../num -I../itv -I/usr/include -I/usr/include -I/usr/lib/ocaml -I/usr/lib/ocaml -DNUM_DOUBLE -c -o oct_naryD_debug.o oct_nary.c
gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused -std=c99 -U__STRICT_ANSI__ -fPIC -O3 -DNDEBUG -I/«PKGBUILDDIR»/debian/tmp/usr/include -I../newpolka -I../apron -I../mlapronidl -I../num -I../itv -I/usr/include -I/usr/include -I/usr/lib/ocaml -I/usr/lib/ocaml -DNUM_DOUBLE -c -o oct_representationD_debug.o oct_representation.c
gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused -std=c99 -U__STRICT_ANSI__ -fPIC -O3 -DNDEBUG -I/«PKGBUILDDIR»/debian/tmp/usr/include -I../newpolka -I../apron -I../mlapronidl -I../num -I../itv -I/usr/include -I/usr/include -I/usr/lib/ocaml -I/usr/lib/ocaml -DNUM_DOUBLE -c -o oct_predicateD_debug.o oct_predicate.c
gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused -std=c99 -U__STRICT_ANSI__ -fPIC -O3 -DNDEBUG -I/«PKGBUILDDIR»/debian/tmp/usr/include -I../newpolka -I../apron -I../mlapronidl -I../num -I../itv -I/usr/include -I/usr/include -I/usr/lib/ocaml -I/usr/lib/ocaml -DNUM_DOUBLE -c -o oct_resizeD_debug.o oct_resize.c
ar rcs liboctD_debug.a oct_hmatD_debug.o oct_printD_debug.o oct_transferD_debug.o oct_closureD_debug.o oct_naryD_debug.o oct_representationD_debug.o oct_predicateD_debug.o oct_resizeD_debug.o
ranlib liboctD_debug.a
gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused -std=c99 -U__STRICT_ANSI__ -fPIC -O3 -DNDEBUG -I/«PKGBUILDDIR»/debian/tmp/usr/include -I../newpolka -I../apron -I../mlapronidl -I../num -I../itv -I/usr/include -I/usr/include -I/usr/lib/ocaml -I/usr/lib/ocaml -DNUM_DOUBLE -c -o oct_testD.o oct_test.c
gcc -Wcast-qual -Wswitch -Werror-implicit-function-declaration -Wall -Wextra -Wundef -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wno-unused -std=c99  -U__STRICT_ANSI__ -fPIC -g -O0 -UNDEBUG -I/«PKGBUILDDIR»/debian/tmp/usr/include -I../newpolka -I../apron -I../mlapronidl -I../num -I../itv -I/usr/include -I/usr/include -I/usr/lib/ocaml -I/usr/lib/ocaml -o octtestD oct_testD.o \
-L. -loctD_debug \
-L../newpolka -lpolkaMPQ_debug \
-L../apron -lapron_debug \
-L/usr/lib -lmpfr \
-L/usr/lib -lgmp \
-lm
gcc -shared -L../apron -lm -lgmp -lmpfr -lapron -Wl,-soname,liboctD.so.0 -o liboctD.so oct_hmatD.o oct_printD.o oct_transferD.o oct_closureD.o oct_naryD.o oct_representationD.o oct_predicateD.o oct_resizeD.o
gcc -shared -L../apron -lm -lgmp -lmpfr -lapron -Wl,-soname,liboctD_debug.so.0 -o liboctD_debug.so oct_hmatD_debug.o oct_printD_debug.o oct_transferD_debug.o oct_closureD_debug.o oct_naryD_debug.o oct_representationD_debug.o oct_predicateD_debug.o oct_resizeD_debug.o
make[4]: Leaving directory '/«PKGBUILDDIR»/apron/octagons'
(cd ppl; make)
make[4]: Entering directory '/«PKGBUILDDIR»/apron/ppl'
g++ -Wcast-qual -Wswitch -Wall -Wextra -Wundef -Wcast-align -Wno-unused -fPIC -O3 -DNDEBUG -I../newpolka -I/«PKGBUILDDIR»/debian/tmp/usr/include -I../apron -I../mlapronidl -I../num -I../itv -I/usr/include -I/usr/include -I/usr/include -I/usr/lib/ocaml -I/usr/lib/ocaml -c -o ppl_user.o ppl_user.cc
In file included from ppl_poly.hh:20:0,
                 from ppl_user.hh:20,
                 from ppl_user.cc:20:
/usr/include/x86_64-linux-gnu/ppl.hh:100629:37: error: redeclaration of 'template<class QH> Parma_Polyhedra_Library::Pointset_Powerset<PSET>::Pointset_Powerset(const Parma_Polyhedra_Library::Pointset_Powerset<QH>&, Parma_Polyhedra_Library::Complexity_Class) [with QH = QH; PSET = Parma_Polyhedra_Library::NNC_Polyhedron]' may not have default arguments [-fpermissive]
                     Complexity_Class);
                                     ^
make[4]: *** [ppl_user.o] Error 1
Makefile:142: recipe for target 'ppl_user.o' failed
make[4]: Leaving directory '/«PKGBUILDDIR»/apron/ppl'
make[3]: *** [c] Error 2
Makefile:19: recipe for target 'c' failed
make[3]: Leaving directory '/«PKGBUILDDIR»/apron'
make[2]: *** [all] Error 2
Makefile:9: recipe for target 'all' failed
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: *** [override_dh_auto_build] Error 2
debian/rules:27: recipe for target 'override_dh_auto_build' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
make: *** [build-arch] Error 2
debian/rules:10: recipe for target 'build-arch' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2


Reply to: