Source: sfcgal
Version: 1.3.9-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ 
> -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK 
> -DBOOST_CHRONO_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK 
> -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK 
> -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_TIMER_DYN_LINK 
> -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DCGAL_USE_CORE=1 -DCGAL_USE_GMPXX=1 
> -DSFCGAL_BUILD_SHARED -DSFCGAL_EXPORTS 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include 
> -I/<<PKGBUILDDIR>>/src/../CGAL_patches -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra 
> -Wno-long-long -pedantic -Wpointer-arith -Wcast-align -Wcast-qual 
> -Wno-overloaded-virtual -Wformat=2 -Winit-self -Wmissing-include-dirs 
> -Wwrite-strings -Wno-error=undef -O2 -g -DNDEBUG -fPIC -frounding-math 
> -std=gnu++14 -o CMakeFiles/SFCGAL.dir/detail/generator/disc.cpp.o -c 
> /<<PKGBUILDDIR>>/src/detail/generator/disc.cpp
> In file included from 
> /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22,
>                  from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
>                  from 
> /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14,
>                  from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
>                  from 
> /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25,
>                  from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
>                  from /usr/include/boost/shared_ptr.hpp:17,
>                  from /usr/include/CGAL/Object.h:32,
>                  from /usr/include/CGAL/kernel_basic.h:25,
>                  from /usr/include/CGAL/basic.h:35,
>                  from /usr/include/CGAL/Cartesian/Cartesian_base.h:20,
>                  from /usr/include/CGAL/Simple_cartesian.h:20,
>                  from 
> /usr/include/CGAL/Exact_predicates_exact_constructions_kernel.h:20,
>                  from 
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include/SFCGAL/Kernel.h:24,
>                  from 
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include/SFCGAL/detail/generator/building.h:28,
>                  from /<<PKGBUILDDIR>>/src/detail/generator/building.cpp:21:
> /usr/include/boost/bind.hpp:36:1: note: ‘#pragma message: The practice of 
> declaring the Bind placeholders (_1, _2, ...) in the global namespace is 
> deprecated. Please use <boost/bind/bind.hpp> + using namespace 
> boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the 
> current behavior.’
>    36 | BOOST_PRAGMA_MESSAGE(
>       | ^~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/detail/generator/building.cpp: In function 
> ‘std::unique_ptr<SFCGAL::Geometry> SFCGAL::generator::building(const 
> SFCGAL::Polygon&, const FT&, const FT&)’:
> /<<PKGBUILDDIR>>/src/detail/generator/building.cpp:103:98: error: conversion 
> from ‘shared_ptr<Straight_skeleton_2<CGAL::Epick>>’ to non-scalar type 
> ‘shared_ptr<Straight_skeleton_2<CGAL::Epeck>>’ requested
>   103 |     boost::shared_ptr< Straight_skeleton_2 > skeleton = 
> CGAL::create_interior_straight_skeleton_2( polygon ) ;
>       |                                                         
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
> [ 36%] Building CXX object 
> src/CMakeFiles/SFCGAL.dir/detail/generator/hoch.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++ 
> -DBOOST_ALL_DYN_LINK -DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK 
> -DBOOST_CHRONO_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK 
> -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_SERIALIZATION_DYN_LINK 
> -DBOOST_SYSTEM_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_TIMER_DYN_LINK 
> -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DCGAL_USE_CORE=1 -DCGAL_USE_GMPXX=1 
> -DSFCGAL_BUILD_SHARED -DSFCGAL_EXPORTS 
> -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/include 
> -I/<<PKGBUILDDIR>>/src/../CGAL_patches -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra 
> -Wno-long-long -pedantic -Wpointer-arith -Wcast-align -Wcast-qual 
> -Wno-overloaded-virtual -Wformat=2 -Winit-self -Wmissing-include-dirs 
> -Wwrite-strings -Wno-error=undef -O2 -g -DNDEBUG -fPIC -frounding-math 
> -std=gnu++14 -o CMakeFiles/SFCGAL.dir/detail/generator/hoch.cpp.o -c 
> /<<PKGBUILDDIR>>/src/detail/generator/hoch.cpp
> make[3]: *** [src/CMakeFiles/SFCGAL.dir/build.make:852: 
> src/CMakeFiles/SFCGAL.dir/detail/generator/building.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/sfcgal_1.3.9-1_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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.

Reply via email to