[Pkg-puppet-devel] Bug#984116: facter: ftbfs with GCC-11
Matthias Klose
doko at debian.org
Wed Mar 3 16:12:04 GMT 2021
Package: src:facter
Version: 3.14.12-1
Severity: normal
Tags: sid bookworm
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-11
[This bug is not targeted to the upcoming bullseye release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-11/g++-11, but succeeds to build with gcc-10/g++-10. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.
The full build log can be found at:
http://people.debian.org/~doko/logs/20210228/filtered/gcc11/facter_3.14.12-1_unstable_gcc11.log
The last lines of the build log are at the end of this report.
To build with GCC 11, either set CC=gcc-11 CXX=g++-11 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-11/porting_to.html
GCC 11 defaults to the GNU++17 standard. If your package installs
header files in /usr/include, please don't work around C++17 issues
by choosing a lower C++ standard for the package build, but fix these
issues to build with the C++17 standard.
[...]
[ 24%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/facts/resolvers/zpool_resolver.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/facts/resolvers/zpool_resolver.cc.o -c /<<PKGBUILDDIR>>/lib/src/facts/resolvers/zpool_resolver.cc
[ 25%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/facts/resolvers/zone_resolver.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/facts/resolvers/zone_resolver.cc.o -c /<<PKGBUILDDIR>>/lib/src/facts/resolvers/zone_resolver.cc
[ 26%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/facts/resolvers/zfs_resolver.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/facts/resolvers/zfs_resolver.cc.o -c /<<PKGBUILDDIR>>/lib/src/facts/resolvers/zfs_resolver.cc
[ 26%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/facts/cache.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/facts/cache.cc.o -c /<<PKGBUILDDIR>>/lib/src/facts/cache.cc
[ 27%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/facts/scalar_value.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/facts/scalar_value.cc.o -c /<<PKGBUILDDIR>>/lib/src/facts/scalar_value.cc
[ 28%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/logging/logging.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/logging/logging.cc.o -c /<<PKGBUILDDIR>>/lib/src/logging/logging.cc
[ 28%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/aggregate_resolution.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/aggregate_resolution.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/aggregate_resolution.cc
[ 29%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/chunk.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/chunk.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/chunk.cc
[ 30%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/confine.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/confine.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/confine.cc
[ 30%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/fact.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/fact.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/fact.cc
[ 31%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/module.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/module.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/module.cc
[ 32%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/resolution.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/resolution.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/resolution.cc
[ 32%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/ruby.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/ruby.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/ruby.cc
[ 33%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/ruby_value.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/ruby_value.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/ruby_value.cc
[ 34%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/ruby/simple_resolution.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/ruby/simple_resolution.cc.o -c /<<PKGBUILDDIR>>/lib/src/ruby/simple_resolution.cc
[ 34%] Building CXX object lib/CMakeFiles/libfactersrc.dir/src/util/scoped_file.cc.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -DHAS_LTH_EXPAND -DHAS_LTH_GET_INT -DLEATHERMAN_I18N -DLEATHERMAN_LOGGING_NAMESPACE=\"puppetlabs.facter\" -DLEATHERMAN_USE_LOCALES -DPROJECT_DIR=\"/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu\" -DPROJECT_NAME=\"FACTER\" -DUSE_BLKID -DUSE_CPPHOCON -DUSE_CURL -DUSE_OPENSSL -DUSE_YAMLCPP -Dlibfacter_EXPORTS -I/<<PKGBUILDDIR>>/lib/inc -Wextra -std=c++11 -Wall -Wno-unused-parameter -Wno-unused-local-typedefs -Wno-unknown-pragmas -Wno-missing-field-initializers -Werror -Wno-maybe-uninitialized -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/util/scoped_file.cc.o -c /<<PKGBUILDDIR>>/lib/src/util/scoped_file.cc
In file included from /<<PKGBUILDDIR>>/lib/inc/internal/util/scoped_file.hpp:7,
from /<<PKGBUILDDIR>>/lib/src/util/scoped_file.cc:1:
/usr/include/leatherman/util/scoped_resource.hpp:124:15: error: declaration of ‘operator new’ as non-function
124 | void* operator new(size_t) = delete;
| ^~~~~~~~
/usr/include/leatherman/util/scoped_resource.hpp:124:24: error: expected ‘;’ at end of member declaration
124 | void* operator new(size_t) = delete;
| ^~~
| ;
/usr/include/leatherman/util/scoped_resource.hpp:126:15: error: declaration of ‘operator new []’ as non-function
126 | void* operator new[](size_t) = delete;
| ^~~~~~~~
/usr/include/leatherman/util/scoped_resource.hpp:126:28: error: expected ‘;’ at end of member declaration
126 | void* operator new[](size_t) = delete;
| ^
| ;
/usr/include/leatherman/util/scoped_resource.hpp:126:40: error: redeclaration of ‘int leatherman::util::scoped_resource<T>::size_t’
126 | void* operator new[](size_t) = delete;
| ^~~~~~
/usr/include/leatherman/util/scoped_resource.hpp:124:28: note: previous declaration ‘int leatherman::util::scoped_resource<T>::size_t’
124 | void* operator new(size_t) = delete;
| ^~~~~~
/usr/include/leatherman/util/scoped_resource.hpp:124:44: error: expected primary-expression at end of input
124 | void* operator new(size_t) = delete;
| ^
/usr/include/leatherman/util/scoped_resource.hpp:126:46: error: expected primary-expression at end of input
126 | void* operator new[](size_t) = delete;
| ^
make[3]: *** [lib/CMakeFiles/libfactersrc.dir/build.make:735: lib/CMakeFiles/libfactersrc.dir/src/util/scoped_file.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:237: lib/CMakeFiles/libfactersrc.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:163: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j4 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:10: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the Pkg-puppet-devel
mailing list