Bug#959623: ppl: FTBFS: swi_cfli.hh:351:35: error: cannot convert ‘int*’ to ‘size_t*’ {aka ‘long unsigned int*’}

Lucas Nussbaum lucas at debian.org
Sun May 3 13:38:53 BST 2020


Source: ppl
Version: 1:1.2-8
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200501 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> /bin/bash ../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../interfaces -I../../../interfaces/Prolog -I/interfaces/Prolog -I../../../src -I/usr/lib/swi-prolog/include -I/usr/include/pl  -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -frounding-math -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -fpermissive -W -Wall -c -o ppl_prolog_Polyhedron.lo `test -f '../ppl_prolog_Polyhedron.cc' || echo './'`../ppl_prolog_Polyhedron.cc
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../interfaces -I../../../interfaces/Prolog -I/interfaces/Prolog -I../../../src -I/usr/lib/swi-prolog/include -I/usr/include/pl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -frounding-math -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -fpermissive -W -Wall -c ../ppl_prolog_common.cc  -fPIC -DPIC -o .libs/ppl_prolog_common.o
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../interfaces -I../../../interfaces/Prolog -I/interfaces/Prolog -I../../../src -I/usr/lib/swi-prolog/include -I/usr/include/pl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -frounding-math -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -fpermissive -W -Wall -c ../ppl_prolog_Polyhedron.cc  -fPIC -DPIC -o .libs/ppl_prolog_Polyhedron.o
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../interfaces -I../../../interfaces/Prolog -I/interfaces/Prolog -I../../../src -I/usr/lib/swi-prolog/include -I/usr/include/pl -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -frounding-math -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -fpermissive -W -Wall -c swi_efli.cc  -fPIC -DPIC -o .libs/swi_efli.o
> In file included from swi_efli.hh:28,
>                  from swi_efli.cc:24:
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::insert(Parma_Polyhedra_Library::dimension_type)’:
> ../../../src/ppl.hh:23729:66: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23729 |       return iterator(insert_precise(key, Coefficient_zero(), itr));
>       |                                                                  ^
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh:23028:46: note:   initializing argument 3 of ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator Parma_Polyhedra_Library::CO_Tree::insert_precise(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference, Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23028 |                                tree_iterator itr);
>       |                                ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::insert(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference)’:
> ../../../src/ppl.hh:23745:51: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23745 |     return iterator(insert_precise(key, data1, itr));
>       |                                                   ^
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh:23028:46: note:   initializing argument 3 of ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator Parma_Polyhedra_Library::CO_Tree::insert_precise(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference, Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23028 |                                tree_iterator itr);
>       |                                ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::erase(Parma_Polyhedra_Library::dimension_type)’:
> ../../../src/ppl.hh:23761:21: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23761 |     return erase(itr);
>       |                     ^
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh:23072:32: note:   initializing argument 1 of ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::erase(Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23072 |   iterator erase(tree_iterator itr);
>       |                  ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh: In static member function ‘static void Parma_Polyhedra_Library::CO_Tree::move_data_element(Parma_Polyhedra_Library::CO_Tree::data_type&, Parma_Polyhedra_Library::CO_Tree::data_type&)’:
> ../../../src/ppl.hh:23961:44: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘Parma_Polyhedra_Library::CO_Tree::data_type’ {aka ‘class __gmp_expr<__mpz_struct [1], __mpz_struct [1]>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 23961 |   std::memcpy(&to, &from, sizeof(data_type));
>       |                                            ^
> In file included from ../../../src/ppl.hh:754,
>                  from swi_efli.hh:28,
>                  from swi_efli.cc:24:
> /usr/include/gmpxx.h:1573:7: note: ‘Parma_Polyhedra_Library::CO_Tree::data_type’ {aka ‘class __gmp_expr<__mpz_struct [1], __mpz_struct [1]>’} declared here
>  1573 | class __gmp_expr<mpz_t, mpz_t>
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~
> In file included from ../ppl_prolog_common_defs.hh:28,
>                  from ../ppl_prolog_Polyhedron.hh:24,
>                  from ../ppl_prolog_Polyhedron.cc:24:
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::insert(Parma_Polyhedra_Library::dimension_type)’:
> ../../../src/ppl.hh:23729:66: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23729 |       return iterator(insert_precise(key, Coefficient_zero(), itr));
>       |                                                                  ^
> In file included from ../ppl_prolog_common_defs.hh:28,
>                  from ../ppl_prolog_common.cc:24:
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::insert(Parma_Polyhedra_Library::dimension_type)’:
> ../../../src/ppl.hh:23729:66: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23729 |       return iterator(insert_precise(key, Coefficient_zero(), itr));
>       |                                                                  ^
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh:23028:46: note:   initializing argument 3 of ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator Parma_Polyhedra_Library::CO_Tree::insert_precise(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference, Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23028 |                                tree_iterator itr);
>       |                                ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::insert(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference)’:
> ../../../src/ppl.hh:23745:51: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23745 |     return iterator(insert_precise(key, data1, itr));
>       |                                                   ^
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh:23028:46: note:   initializing argument 3 of ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator Parma_Polyhedra_Library::CO_Tree::insert_precise(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference, Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23028 |                                tree_iterator itr);
>       |                                ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::erase(Parma_Polyhedra_Library::dimension_type)’:
> ../../../src/ppl.hh:23761:21: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23761 |     return erase(itr);
>       |                     ^
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh:23072:32: note:   initializing argument 1 of ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::erase(Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23072 |   iterator erase(tree_iterator itr);
>       |                  ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh:23028:46: note:   initializing argument 3 of ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator Parma_Polyhedra_Library::CO_Tree::insert_precise(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference, Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23028 |                                tree_iterator itr);
>       |                                ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::insert(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference)’:
> ../../../src/ppl.hh:23745:51: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23745 |     return iterator(insert_precise(key, data1, itr));
>       |                                                   ^
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh:23028:46: note:   initializing argument 3 of ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator Parma_Polyhedra_Library::CO_Tree::insert_precise(Parma_Polyhedra_Library::dimension_type, Parma_Polyhedra_Library::CO_Tree::data_type_const_reference, Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23028 |                                tree_iterator itr);
>       |                                ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh: In member function ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::erase(Parma_Polyhedra_Library::dimension_type)’:
> ../../../src/ppl.hh:23761:21: warning: implicitly-declared ‘constexpr Parma_Polyhedra_Library::CO_Tree::tree_iterator::tree_iterator(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’ is deprecated [-Wdeprecated-copy]
> 23761 |     return erase(itr);
>       |                     ^
> ../../../src/ppl.hh:23444:18: note: because ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator’ has user-provided ‘Parma_Polyhedra_Library::CO_Tree::tree_iterator& Parma_Polyhedra_Library::CO_Tree::tree_iterator::operator=(const Parma_Polyhedra_Library::CO_Tree::tree_iterator&)’
> 23444 |   tree_iterator& operator=(const tree_iterator& itr);
>       |                  ^~~~~~~~
> ../../../src/ppl.hh:23072:32: note:   initializing argument 1 of ‘Parma_Polyhedra_Library::CO_Tree::iterator Parma_Polyhedra_Library::CO_Tree::erase(Parma_Polyhedra_Library::CO_Tree::tree_iterator)’
> 23072 |   iterator erase(tree_iterator itr);
>       |                  ~~~~~~~~~~~~~~^~~
> ../../../src/ppl.hh: In static member function ‘static void Parma_Polyhedra_Library::CO_Tree::move_data_element(Parma_Polyhedra_Library::CO_Tree::data_type&, Parma_Polyhedra_Library::CO_Tree::data_type&)’:
> ../../../src/ppl.hh:23961:44: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘Parma_Polyhedra_Library::CO_Tree::data_type’ {aka ‘class __gmp_expr<__mpz_struct [1], __mpz_struct [1]>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 23961 |   std::memcpy(&to, &from, sizeof(data_type));
>       |                                            ^
> In file included from ../../../src/ppl.hh:754,
>                  from ../ppl_prolog_common_defs.hh:28,
>                  from ../ppl_prolog_common.cc:24:
> /usr/include/gmpxx.h:1573:7: note: ‘Parma_Polyhedra_Library::CO_Tree::data_type’ {aka ‘class __gmp_expr<__mpz_struct [1], __mpz_struct [1]>’} declared here
>  1573 | class __gmp_expr<mpz_t, mpz_t>
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~
> ../../../src/ppl.hh: In static member function ‘static void Parma_Polyhedra_Library::CO_Tree::move_data_element(Parma_Polyhedra_Library::CO_Tree::data_type&, Parma_Polyhedra_Library::CO_Tree::data_type&)’:
> ../../../src/ppl.hh:23961:44: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘Parma_Polyhedra_Library::CO_Tree::data_type’ {aka ‘class __gmp_expr<__mpz_struct [1], __mpz_struct [1]>’} with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
> 23961 |   std::memcpy(&to, &from, sizeof(data_type));
>       |                                            ^
> In file included from ../../../src/ppl.hh:754,
>                  from ../ppl_prolog_common_defs.hh:28,
>                  from ../ppl_prolog_Polyhedron.hh:24,
>                  from ../ppl_prolog_Polyhedron.cc:24:
> /usr/include/gmpxx.h:1573:7: note: ‘Parma_Polyhedra_Library::CO_Tree::data_type’ {aka ‘class __gmp_expr<__mpz_struct [1], __mpz_struct [1]>’} declared here
>  1573 | class __gmp_expr<mpz_t, mpz_t>
>       |       ^~~~~~~~~~~~~~~~~~~~~~~~
> In file included from swi_efli.hh:28,
>                  from swi_efli.cc:24:
> ../../../src/ppl.hh: In constructor ‘Parma_Polyhedra_Library::Topology_Adjusted_Scalar_Product_Sign::Topology_Adjusted_Scalar_Product_Sign(const Parma_Polyhedra_Library::Constraint&)’:
> ../../../src/ppl.hh:42067:58: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42067 |            ? static_cast<SPS_type>(&Scalar_Products::sign)
>       |                                                          ^
> ../../../src/ppl.hh:42068:66: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42068 |            : static_cast<SPS_type>(&Scalar_Products::reduced_sign)) {
>       |                                                                  ^
> ../../../src/ppl.hh: In constructor ‘Parma_Polyhedra_Library::Topology_Adjusted_Scalar_Product_Sign::Topology_Adjusted_Scalar_Product_Sign(const Parma_Polyhedra_Library::Generator&)’:
> ../../../src/ppl.hh:42075:58: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42075 |            ? static_cast<SPS_type>(&Scalar_Products::sign)
>       |                                                          ^
> ../../../src/ppl.hh:42076:66: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42076 |            : static_cast<SPS_type>(&Scalar_Products::reduced_sign)) {
>       |                                                                  ^
> In file included from ../ppl_prolog_common_defs.hh:28,
>                  from ../ppl_prolog_common.cc:24:
> ../../../src/ppl.hh: In constructor ‘Parma_Polyhedra_Library::Topology_Adjusted_Scalar_Product_Sign::Topology_Adjusted_Scalar_Product_Sign(const Parma_Polyhedra_Library::Constraint&)’:
> ../../../src/ppl.hh:42067:58: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42067 |            ? static_cast<SPS_type>(&Scalar_Products::sign)
>       |                                                          ^
> ../../../src/ppl.hh:42068:66: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42068 |            : static_cast<SPS_type>(&Scalar_Products::reduced_sign)) {
>       |                                                                  ^
> ../../../src/ppl.hh: In constructor ‘Parma_Polyhedra_Library::Topology_Adjusted_Scalar_Product_Sign::Topology_Adjusted_Scalar_Product_Sign(const Parma_Polyhedra_Library::Generator&)’:
> ../../../src/ppl.hh:42075:58: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42075 |            ? static_cast<SPS_type>(&Scalar_Products::sign)
>       |                                                          ^
> ../../../src/ppl.hh:42076:66: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42076 |            : static_cast<SPS_type>(&Scalar_Products::reduced_sign)) {
>       |                                                                  ^
> In file included from ../ppl_prolog_common_defs.hh:28,
>                  from ../ppl_prolog_Polyhedron.hh:24,
>                  from ../ppl_prolog_Polyhedron.cc:24:
> ../../../src/ppl.hh: In constructor ‘Parma_Polyhedra_Library::Topology_Adjusted_Scalar_Product_Sign::Topology_Adjusted_Scalar_Product_Sign(const Parma_Polyhedra_Library::Constraint&)’:
> ../../../src/ppl.hh:42067:58: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42067 |            ? static_cast<SPS_type>(&Scalar_Products::sign)
>       |                                                          ^
> ../../../src/ppl.hh:42068:66: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42068 |            : static_cast<SPS_type>(&Scalar_Products::reduced_sign)) {
>       |                                                                  ^
> ../../../src/ppl.hh: In constructor ‘Parma_Polyhedra_Library::Topology_Adjusted_Scalar_Product_Sign::Topology_Adjusted_Scalar_Product_Sign(const Parma_Polyhedra_Library::Generator&)’:
> ../../../src/ppl.hh:42075:58: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42075 |            ? static_cast<SPS_type>(&Scalar_Products::sign)
>       |                                                          ^
> ../../../src/ppl.hh:42076:66: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
> 42076 |            : static_cast<SPS_type>(&Scalar_Products::reduced_sign)) {
>       |                                                                  ^
> In file included from swi_cfli.hh:31,
>                  from swi_efli.hh:31,
>                  from swi_efli.cc:24:
> swi_cfli.hh: In function ‘int Prolog_get_compound_name_arity(Prolog_term_ref, Prolog_atom*, int*)’:
> swi_cfli.hh:351:35: error: cannot convert ‘int*’ to ‘size_t*’ {aka ‘long unsigned int*’}
>   351 |   return PL_get_name_arity(t, ap, ip);
>       |                                   ^~
>       |                                   |
>       |                                   int*
> /usr/lib/swi-prolog/include/SWI-Prolog.h:1251:59: note: in definition of macro ‘PL_get_name_arity’
>  1251 | #define PL_get_name_arity(t,n,a) PL_get_name_arity_sz(t,n,a)
>       |                                                           ^
> /usr/lib/swi-prolog/include/SWI-Prolog.h:478:19: note:   initializing argument 3 of ‘int PL_get_name_arity_sz(term_t, atom_t*, size_t*)’
>   478 |           size_t *arity) WUNUSED;
>       |           ~~~~~~~~^~~~~
> In file included from ./swi_cfli.hh:31,
>                  from ./swi_efli.hh:31,
>                  from ./ppl_prolog_sysdep.hh:24,
>                  from ../ppl_prolog_common_defs.hh:29,
>                  from ../ppl_prolog_common.cc:24:
> ./swi_cfli.hh: In function ‘int Prolog_get_compound_name_arity(Prolog_term_ref, Prolog_atom*, int*)’:
> ./swi_cfli.hh:351:35: error: cannot convert ‘int*’ to ‘size_t*’ {aka ‘long unsigned int*’}
>   351 |   return PL_get_name_arity(t, ap, ip);
>       |                                   ^~
>       |                                   |
>       |                                   int*
> /usr/lib/swi-prolog/include/SWI-Prolog.h:1251:59: note: in definition of macro ‘PL_get_name_arity’
>  1251 | #define PL_get_name_arity(t,n,a) PL_get_name_arity_sz(t,n,a)
>       |                                                           ^
> In file included from ./swi_cfli.hh:31,
>                  from ./swi_efli.hh:31,
>                  from ./ppl_prolog_sysdep.hh:24,
>                  from ../ppl_prolog_common_defs.hh:29,
>                  from ../ppl_prolog_Polyhedron.hh:24,
>                  from ../ppl_prolog_Polyhedron.cc:24:
> ./swi_cfli.hh: In function ‘int Prolog_get_compound_name_arity(Prolog_term_ref, Prolog_atom*, int*)’:
> ./swi_cfli.hh:351:35: error: cannot convert ‘int*’ to ‘size_t*’ {aka ‘long unsigned int*’}
>   351 |   return PL_get_name_arity(t, ap, ip);
>       |                                   ^~
>       |                                   |
>       |                                   int*
> /usr/lib/swi-prolog/include/SWI-Prolog.h:1251:59: note: in definition of macro ‘PL_get_name_arity’
>  1251 | #define PL_get_name_arity(t,n,a) PL_get_name_arity_sz(t,n,a)
>       |                                                           ^
> /usr/lib/swi-prolog/include/SWI-Prolog.h:478:19: note:   initializing argument 3 of ‘int PL_get_name_arity_sz(term_t, atom_t*, size_t*)’
>   478 |           size_t *arity) WUNUSED;
>       |           ~~~~~~~~^~~~~
> /usr/lib/swi-prolog/include/SWI-Prolog.h:478:19: note:   initializing argument 3 of ‘int PL_get_name_arity_sz(term_t, atom_t*, size_t*)’
>   478 |           size_t *arity) WUNUSED;
>       |           ~~~~~~~~^~~~~
> ../ppl_prolog_Polyhedron.cc: In function ‘Prolog_foreign_return_type ppl_new_C_Polyhedron_from_space_dimension(Prolog_term_ref, Prolog_term_ref, Prolog_term_ref)’:
> ../ppl_prolog_Polyhedron.cc:57:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
>    57 |     else
>       |     ^~~~
> ../ppl_prolog_Polyhedron.cc:62:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
>    62 |       Prolog_term_ref tmp = Prolog_new_term_ref();
>       |       ^~~~~~~~~~~~~~~
> ../ppl_prolog_Polyhedron.cc: In function ‘Prolog_foreign_return_type ppl_new_NNC_Polyhedron_from_space_dimension(Prolog_term_ref, Prolog_term_ref, Prolog_term_ref)’:
> ../ppl_prolog_Polyhedron.cc:87:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
>    87 |     else
>       |     ^~~~
> ../ppl_prolog_Polyhedron.cc:92:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
>    92 |       Prolog_term_ref tmp = Prolog_new_term_ref();
>       |       ^~~~~~~~~~~~~~~
> make[8]: *** [Makefile:994: swi_efli.lo] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/05/01/ppl_1.2-8_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list