Package: src:slic3r
Version: 1.3.0+dfsg1-5
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_update_autotools_config
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -Dxs -- --install_path arch=/usr/lib/slic3r/
dh_auto_configure: warning: Compatibility levels before 10 are deprecated 
(level 9 in use)
        cd xs && /usr/bin/perl -I. Build.PL --installdirs vendor --config "optimize=-g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" --config 
"ld=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro" 
--install_path arch=/usr/lib/slic3r/
WARNING: the following files are missing in your kit:
        src/boost/nowide/args.hpp
        src/boost/nowide/cenv.hpp
        src/boost/nowide/config.hpp
        src/boost/nowide/convert.hpp
        src/boost/nowide/cstdio.hpp
        src/boost/nowide/cstdlib.hpp
        src/boost/nowide/filebuf.hpp
        src/boost/nowide/fstream.hpp
        src/boost/nowide/integration/filesystem.hpp
        src/boost/nowide/iostream.cpp
        src/boost/nowide/iostream.hpp
        src/boost/nowide/stackstring.hpp
        src/boost/nowide/system.hpp
        src/boost/nowide/utf8_codecvt.hpp
        src/boost/nowide/windows.hpp
        src/expat/ascii.h
        src/expat/asciitab.h
        src/expat/COPYING
        src/expat/expat.h
        src/expat/expat_config.h
        src/expat/expat_external.h
        src/expat/iasciitab.h
        src/expat/internal.h
        src/expat/latin1tab.h
        src/expat/nametab.h
        src/expat/README
        src/expat/utf8tab.h
        src/expat/xmlparse.c
        src/expat/xmlrole.c
        src/expat/xmlrole.h
        src/expat/xmltok.c
        src/expat/xmltok.h
        src/expat/xmltok_impl.h
        src/expat/xmltok_impl.inc
        src/expat/xmltok_ns.inc
Please inform the author.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Slic3r-XS' version '0.01'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
xvfb-run -a dh_auto_build -Dxs --parallel -- --install_path 
arch=/usr/lib/slic3r/
dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 
in use)
        cd xs && /usr/bin/perl Build --install_path arch=/usr/lib/slic3r/
Building Slic3r-XS
Processing XS typemap files...
Generating main XS file...
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ 
is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ 
is not valid for C++
g++ -I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE -fPIC -xc++ -Isrc/libslic3r -D_GLIBCXX_USE_C99 
-DHAS_BOOL -DNOGDI -DSLIC3RXS -DBOOST_ASIO_DISABLE_KQUEUE -Dexprtk_disable_rtl_io_file 
-Dexprtk_disable_return_statement -Dexprtk_disable_rtl_vecops -Dexprtk_disable_string_capabilities 
-Dexprtk_disable_enhanced_features -U__STRICT_ANSI__ '-std=c++11' -DBOOST_LIBS -DNDEBUG -O 
-Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -g -O2 
'-Werror=implicit-function-declaration' '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' 
-fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' -fcf-protection -g 
-O2 '-Werror=implicit-function-declaration' '-ffile-prefix-map=/<<PKGBUILDDIR>>=.' 
-fstack-protector-strong -fstack-clash-protection -Wformat '-Werror=format-security' -fcf-protection 
-Wdate-time '-D_FORTIFY_SOURCE=2' -o src/libslic3r/ConditionalGCode.o src/libslic3r/ConditionalGCode.cpp
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ 
is not valid for C++
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ 
is not valid for C++
In file included from /usr/include/c++/14/bits/requires_hosted.h:31,
                 from /usr/include/c++/14/string:38,
                 from src/libslic3r/ConditionalGCode.cpp:1:
/usr/include/x86_64-linux-gnu/c++/14/bits/c++config.h:667:2: warning: #warning 
"__STRICT_ANSI__ seems to have been undefined; this is not supported" [-Wcpp]
  667 | #warning "__STRICT_ANSI__ seems to have been undefined; this is not 
supported"
      |  ^~~~~~~
In file included from src/exprtk/exprtk.hpp:48,
                 from src/libslic3r/ConditionalGCode.cpp:4:
/usr/include/c++/14/limits:2100:30: error: exponent has no digits
 2100 |         return __extension__ 0x1.0p-16382Q;
      |                              ^~~~~~
/usr/include/c++/14/limits:2114:30: error: exponent has no digits
 2114 |         return __extension__ 0x1.ffffffffffffffffffffffffffffp+16383Q;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/14/limits:2183:30: error: exponent has no digits
 2183 |         return __extension__ 0x1.0p-16494Q;
      |                              ^~~~~~
/usr/include/c++/14/limits: In static member function ‘static constexpr __float128 
std::numeric_limits<__float128>::min()’:
/usr/include/c++/14/limits:2100:37: error: unable to find numeric literal operator 
‘operator""Q’
 2100 |         return __extension__ 0x1.0p-16382Q;
      |                                     ^~~~~~
/usr/include/c++/14/limits:2100:37: note: use ‘-fext-numeric-literals’ to 
enable more built-in suffixes
/usr/include/c++/14/limits:2102:7: error: body of ‘constexpr’ function ‘static 
constexpr __float128 std::numeric_limits<__float128>::min()’ not a 
return-statement
 2102 |       }
      |       ^
/usr/include/c++/14/limits: In static member function ‘static constexpr __float128 
std::numeric_limits<__float128>::max()’:
/usr/include/c++/14/limits:2114:64: error: unable to find numeric literal operator 
‘operator""Q’
 2114 |         return __extension__ 0x1.ffffffffffffffffffffffffffffp+16383Q;
      |                                                                ^~~~~~
/usr/include/c++/14/limits:2114:64: note: use ‘-fext-numeric-literals’ to 
enable more built-in suffixes
/usr/include/c++/14/limits:2116:7: error: body of ‘constexpr’ function ‘static 
constexpr __float128 std::numeric_limits<__float128>::max()’ not a 
return-statement
 2116 |       }
      |       ^
/usr/include/c++/14/limits: In static member function ‘static constexpr __float128 
std::numeric_limits<__float128>::denorm_min()’:
/usr/include/c++/14/limits:2183:37: error: unable to find numeric literal operator 
‘operator""Q’
 2183 |         return __extension__ 0x1.0p-16494Q;
      |                                     ^~~~~~
/usr/include/c++/14/limits:2183:37: note: use ‘-fext-numeric-literals’ to 
enable more built-in suffixes
/usr/include/c++/14/limits:2185:7: error: body of ‘constexpr’ function ‘static 
constexpr __float128 std::numeric_limits<__float128>::denorm_min()’ not a 
return-statement
 2185 |       }
      |       ^
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ 
may have been intended to silence earlier diagnostics
error building src/libslic3r/ConditionalGCode.o from 
'src/libslic3r/ConditionalGCode.cpp' at 
/usr/share/perl/5.38/ExtUtils/CBuilder/Base.pm line 185.
dh_auto_build: error: cd xs && /usr/bin/perl Build --install_path 
arch=/usr/lib/slic3r/ returned exit code 2
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202409/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to