[Pkg-puppet-devel] Bug#970408: facter: FTBFS: cc1plus: all warnings being treated as errors
Sebastian Ramacher
sramacher at debian.org
Tue Sep 15 21:14:53 BST 2020
Source: facter
Version: 3.11.0-4.3
Severity: serious
Tags: ftbfs sid bullseye
Justification: fails to build from source (but built successfully in the past)
facter currently fails to build:
| cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib && /usr/bin/c++ -DBOOST_ALL_DYN_LINK -DBOOST_LOG_WITHOUT_WCHAR_T -DBOOST_SYSTEM_NO_DEPRECATED -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 -I/<<PKGBUILDDIR>>/../vendor/nowide/include -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 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -o CMakeFiles/libfactersrc.dir/src/util/bsd/scoped_ifaddrs.cc.o -c /<<PKGBUILDDIR>>/lib/src/util/bsd/scoped_ifaddrs.cc
| In file included from /usr/include/string.h:495,
| from /usr/include/c++/10/cstring:42,
| from /usr/include/boost/regex/v4/regex_workaround.hpp:24,
| from /usr/include/boost/regex/v4/regex.hpp:32,
| from /usr/include/boost/regex.hpp:31,
| from /<<PKGBUILDDIR>>/lib/inc/facter/facts/resolver.hpp:12,
| from /<<PKGBUILDDIR>>/lib/inc/internal/facts/linux/../bsd/../posix/../resolvers/networking_resolver.hpp:7,
| from /<<PKGBUILDDIR>>/lib/inc/internal/facts/linux/../bsd/../posix/networking_resolver.hpp:7,
| from /<<PKGBUILDDIR>>/lib/inc/internal/facts/linux/../bsd/networking_resolver.hpp:7,
| from /<<PKGBUILDDIR>>/lib/inc/internal/facts/linux/networking_resolver.hpp:7,
| from /<<PKGBUILDDIR>>/lib/src/facts/linux/networking_resolver.cc:1:
| In function ‘char* strncpy(char*, const char*, size_t)’,
| inlined from ‘virtual boost::optional<long unsigned int> facter::facts::linux::networking_resolver::get_link_mtu(const string&, void*) const’ at /<<PKGBUILDDIR>>/lib/src/facts/linux/networking_resolver.cc:82:16:
| /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:34: error: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 16 equals destination size [-Werror=stringop-truncation]
| 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cc1plus: all warnings being treated as errors
See
https://buildd.debian.org/status/fetch.php?pkg=facter&arch=amd64&ver=3.11.0-4.3%2Bb1&stamp=1599808837&raw=0
Cheers
--
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-puppet-devel/attachments/20200915/ca2e8077/attachment.sig>
More information about the Pkg-puppet-devel
mailing list