Source: primesieve Version: 7.9+ds-1 User: [email protected] Usertags: regression
Hi Maintainer primesieve's build-examples autopkgtest fails on armhf [1] where it succeeded in the past. I've copied what I hope is the relevant part of the log below. This should be solved by the following patch. The same was done for the make-check-dev autopkgtest previously [2]. --- a/debian/tests/control +++ b/debian/tests/control @@ -9,3 +9,4 @@ Tests: build-examples Depends: primesieve-doc, libprimesieve-dev, build-essential, pkg-config +Restrictions: allow-stderr Regards Graham [1] https://ci.debian.net/packages/p/primesieve/testing/armhf/ [2] https://salsa.debian.org/math-team/primesieve/-/commit/609a0d1b08910aeca1f1359fc472820fad31480b make: Entering directory '/tmp/autopkgtest-lxc.8kdqc97y/downtmp/autopkgtest_tmp/examples/cpp' g++ count_primes.cpp -lprimesieve -o count_primes g++ nth_prime.cpp -lprimesieve -o nth_prime g++ prev_prime.cpp -lprimesieve -o prev_prime g++ primes_vector.cpp -lprimesieve -o primes_vector In file included from /usr/include/c++/12/algorithm:61, from /usr/include/primesieve/StorePrimes.hpp:18, from /usr/include/primesieve.hpp:22, from primes_vector.cpp:4: /usr/include/c++/12/bits/stl_algo.h: In function ‘constexpr _Tp std::max(initializer_list<_Tp>) [with _Tp = double]’: /usr/include/c++/12/bits/stl_algo.h:5746:5: note: parameter passing for argument of type ‘std::initializer_list<double>’ changed in GCC 7.1 5746 | max(initializer_list<_Tp> __l) | ^~~ g++ primesieve_iterator.cpp -lprimesieve -o primesieve_iterator echo "*** count_primes ***" ; ./count_primes ; echo "*** nth_prime ***" ; ./nth_prime ; echo "*** prev_prime ***" ; ./prev_prime ; echo "*** primes_vector ***" ; ./primes_vector ; echo "*** primesieve_iterator ***" ; ./primesieve_iterator ; *** count_primes *** Primes <= 1000: 168 *** nth_prime *** 1000th prime = 7919 *** prev_prime *** Sum of primes <= 10000000000: 2220822432581729238 *** primes_vector *** *** primesieve_iterator *** Sum of primes <= 10000000000: 2220822432581729238 make: Leaving directory '/tmp/autopkgtest-lxc.8kdqc97y/downtmp/autopkgtest_tmp/examples/cpp' autopkgtest [07:36:27]: test build-examples: -----------------------] autopkgtest [07:36:27]: test build-examples: - - - - - - - - - - results - - - - - - - - - - build-examples FAIL stderr: In file included from /usr/include/c++/12/algorithm:61,

