D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/slic3r-1.3.0-19.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PsTv6x + umask 022 + cd /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build + test -d /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.N4zEuM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build + rm -rf Slic3r-1.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Slic3r-1.3.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Slic3r-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-buildpl.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-datadir.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-english-locale.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-linker.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-clipper.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-1.3.0-fixtest.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-wayland.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-boost169.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-boost-skip-endianess-check.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-boost-placeholders.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/slic3r-CVE-2020-28591.patch + rm xs/src/clipper.cpp xs/src/clipper.hpp + rm -rf xs/src/poly2tri + sed -i '/src\/poly2tri/d' xs/MANIFEST + rm -rf xs/src/expat + sed -i '/src\/expat/d' xs/MANIFEST + sed -i 's|expat/expat.h|expat.h|g' xs/src/libslic3r/IO/AMF.cpp + sed -i 's|expat/expat.h|expat.h|g' xs/src/libslic3r/IO/TMF.hpp + sed -i s/-std=c++11/-std=gnu++11/ xs/Build.PL + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.OmQyP3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/slic3r-1.3.0-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Slic3r-1.3.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'SYSTEM_LIBS= -lpolyclipping' + SYSTEM_LIBS=' -lpolyclipping' + export 'SYSTEM_LIBS= -lpolyclipping -lexpat' + SYSTEM_LIBS=' -lpolyclipping -lexpat' + export 'SYSTEM_LIBS= -lpolyclipping -lexpat -lpoly2tri' + SYSTEM_LIBS=' -lpolyclipping -lexpat -lpoly2tri' + cd xs + [[ ! -z -lpolyclipping -lexpat -lpoly2tri ]] + echo 'SYSTEM_LIBS is -lpolyclipping -lexpat -lpoly2tri' SYSTEM_LIBS is -lpolyclipping -lexpat -lpoly2tri + perl ./Build.PL installdirs=vendor 'optimize=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' WARNING: the following files are missing in your kit: src/clipper.cpp src/clipper.hpp Please inform the author. Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Slic3r-XS' version '0.01' + ./Build Building Slic3r-XS Processing XS typemap files... Generating main XS file... gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/ConditionalGCode.o src/libslic3r/ConditionalGCode.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/admesh/stlinit.o src/admesh/stlinit.c src/admesh/stlinit.c: In function 'void stl_read(stl_file*, int, int)': src/admesh/stlinit.c:314:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 314 | fscanf(stl->fp, "endsolid\n"); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ src/admesh/stlinit.c:315:13: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | fscanf(stl->fp, "solid%*[^\n]\n"); // name might contain spaces so %*s doesn't work and it also can be empty (just "solid") | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option '-Wno-undefined-var-template' may have been intended to silence earlier diagnostics gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/Surface.o src/libslic3r/Surface.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/PrintObject.o src/libslic3r/PrintObject.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/Layer.o src/libslic3r/Layer.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/GCode.o src/libslic3r/GCode.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/Fill/FillGyroid.o src/libslic3r/Fill/FillGyroid.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/IO/AMF.o src/libslic3r/IO/AMF.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/SurfaceCollection.o src/libslic3r/SurfaceCollection.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/Line.o src/libslic3r/Line.cpp gcc -I/usr/lib64/perl5/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=gnu++11' -DBOOST_LIBS -DNDEBUG -O -Wno-undefined-var-template -Isrc -Ibuildtmp -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' -O2 -g -pipe -Wformat '-Werror=format-security' '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3' '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1' -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection '-fcf-protection=full' -g -o src/libslic3r/GCodeSender.o src/libslic3r/GCodeSender.cpp In file included from /usr/include/boost/smart_ptr/detail/deprecated_macros.hpp:8, from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:22, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:22, from /usr/include/boost/smart_ptr/shared_ptr.hpp:17, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/date_time/time_clock.hpp:17, from /usr/include/boost/thread/thread_time.hpp:9, from /usr/include/boost/thread/lock_types.hpp:18, from /usr/include/boost/thread/pthread/thread_data.hpp:12, from /usr/include/boost/thread/thread_only.hpp:17, from /usr/include/boost/thread/thread.hpp:12, from /usr/include/boost/thread.hpp:13, from src/libslic3r/libslic3r.h:11, from src/libslic3r/GCodeSender.hpp:5, from src/libslic3r/GCodeSender.cpp:2: /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 + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ src/libslic3r/GCodeSender.hpp:40:11: error: 'io_service' in namespace 'Slic3r::asio' does not name a type; did you mean 'use_service'? 40 | asio::io_service io; | ^~~~~~~~~~ | use_service src/libslic3r/GCodeSender.cpp: In constructor 'Slic3r::GCodeSender::GCodeSender()': src/libslic3r/GCodeSender.cpp:56:7: error: class 'Slic3r::GCodeSender' does not have any field named 'io' 56 | : io(), serial(io), can_send(false), sent(0), open(false), error(false), | ^~ src/libslic3r/GCodeSender.cpp:56:20: error: 'io' was not declared in this scope; did you mean 'boost::io'? 56 | : io(), serial(io), can_send(false), sent(0), open(false), error(false), | ^~ | boost::io In file included from /usr/include/boost/io/ios_state.hpp:11, from /usr/include/boost/thread/detail/thread.hpp:38, from /usr/include/boost/thread/thread_only.hpp:22: /usr/include/boost/io_fwd.hpp:13:11: note: 'boost::io' declared here 13 | namespace io { | ^~ src/libslic3r/GCodeSender.cpp: In member function 'bool Slic3r::GCodeSender::connect(std::string, unsigned int)': src/libslic3r/GCodeSender.cpp:103:11: error: 'class Slic3r::GCodeSender' has no member named 'io' 103 | this->io.post(boost::bind(&GCodeSender::do_read, this)); | ^~ src/libslic3r/GCodeSender.cpp:106:40: error: 'Slic3r::asio::io_service' has not been declared 106 | boost::thread t(boost::bind(&asio::io_service::run, &this->io)); | ^~~~~~~~~~ src/libslic3r/GCodeSender.cpp:106:64: error: 'class Slic3r::GCodeSender' has no member named 'io' 106 | boost::thread t(boost::bind(&asio::io_service::run, &this->io)); | ^~ src/libslic3r/GCodeSender.cpp: In member function 'void Slic3r::GCodeSender::disconnect()': src/libslic3r/GCodeSender.cpp:161:11: error: 'class Slic3r::GCodeSender' has no member named 'io' 161 | this->io.post(boost::bind(&GCodeSender::do_close, this)); | ^~ src/libslic3r/GCodeSender.cpp:163:11: error: 'class Slic3r::GCodeSender' has no member named 'io' 163 | this->io.reset(); | ^~ src/libslic3r/GCodeSender.cpp: In member function 'void Slic3r::GCodeSender::send()': src/libslic3r/GCodeSender.cpp:446:11: error: 'class Slic3r::GCodeSender' has no member named 'io' 446 | this->io.post(boost::bind(&GCodeSender::do_send, this)); | ^~ 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/GCodeSender.o from 'src/libslic3r/GCodeSender.cpp' at /usr/share/perl5/ExtUtils/CBuilder/Base.pm line 185. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OmQyP3 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.OmQyP3 (%build) I: [iurt_root_command] ERROR: chroot