Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202604/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot 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 add an affects on src:jsonnet, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean -Scmake --with python3
debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean -O-Scmake
dh_auto_clean -O-Smakefile
make -j2 clean
make[2]: Entering directory '/<<PKGBUILDDIR>>'
rm -rvf */*~ *~ .*~ */.*.swp .*.swp libjsonnet_test_snippet [too-long-redacted] egg-info jsonnet-bin.tar.gz man
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean -O-Scmake
debian/rules binary
dh binary -Scmake --with python3
dh_update_autotools_config -O-Scmake
[... snipped ...]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/lexer.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/ast.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/pass.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/pass.cpp:19:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
19 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/pass.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/pass.cpp:19:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
19 | namespace jsonnet::internal {
| ^~~~~~~
[ 36%] Building CXX object core/CMakeFiles/libjsonnet.dir/static_analysis.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/c++ -Dlibjsonnet_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -fPIC -MD -MT core/CMakeFiles/libjsonnet.dir/static_analysis.cpp.o -MF CMakeFiles/libjsonnet.dir/static_analysis.cpp.o.d -o CMakeFiles/libjsonnet.dir/static_analysis.cpp.o -c /<<PKGBUILDDIR>>/core/static_analysis.cpp
[ 38%] Building CXX object core/CMakeFiles/libjsonnet_static.dir/static_analysis.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -MD -MT core/CMakeFiles/libjsonnet_static.dir/static_analysis.cpp.o -MF CMakeFiles/libjsonnet_static.dir/static_analysis.cpp.o.d -o CMakeFiles/libjsonnet_static.dir/static_analysis.cpp.o -c /<<PKGBUILDDIR>>/core/static_analysis.cpp
In file included from /<<PKGBUILDDIR>>/core/lexer.h:29,
from /<<PKGBUILDDIR>>/core/ast.h:29,
from /<<PKGBUILDDIR>>/core/static_analysis.cpp:19:
/<<PKGBUILDDIR>>/core/static_error.h:23:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
23 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/lexer.h:30:
/<<PKGBUILDDIR>>/core/unicode.h:24:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/lexer.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/ast.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/lexer.h:29,
from /<<PKGBUILDDIR>>/core/ast.h:29,
from /<<PKGBUILDDIR>>/core/static_analysis.cpp:19:
/<<PKGBUILDDIR>>/core/static_error.h:23:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
23 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/lexer.h:30:
/<<PKGBUILDDIR>>/core/unicode.h:24:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/lexer.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/static_analysis.cpp:20:
/<<PKGBUILDDIR>>/core/static_analysis.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/static_analysis.cpp:23:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
23 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/ast.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/static_analysis.cpp:20:
/<<PKGBUILDDIR>>/core/static_analysis.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/static_analysis.cpp:23:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
23 | namespace jsonnet::internal {
| ^~~~~~~
[ 40%] Building CXX object core/CMakeFiles/libjsonnet.dir/string_utils.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/c++ -Dlibjsonnet_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -fPIC -MD -MT core/CMakeFiles/libjsonnet.dir/string_utils.cpp.o -MF CMakeFiles/libjsonnet.dir/string_utils.cpp.o.d -o CMakeFiles/libjsonnet.dir/string_utils.cpp.o -c /<<PKGBUILDDIR>>/core/string_utils.cpp
[ 42%] Building CXX object core/CMakeFiles/libjsonnet_static.dir/string_utils.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -MD -MT core/CMakeFiles/libjsonnet_static.dir/string_utils.cpp.o -MF CMakeFiles/libjsonnet_static.dir/string_utils.cpp.o.d -o CMakeFiles/libjsonnet_static.dir/string_utils.cpp.o -c /<<PKGBUILDDIR>>/core/string_utils.cpp
In file included from /<<PKGBUILDDIR>>/core/string_utils.cpp:19:
/<<PKGBUILDDIR>>/core/static_error.h:23:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
23 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/lexer.h:30,
from /<<PKGBUILDDIR>>/core/string_utils.h:20,
from /<<PKGBUILDDIR>>/core/string_utils.cpp:20:
/<<PKGBUILDDIR>>/core/unicode.h:24:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/lexer.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/string_utils.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/string_utils.cpp:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/string_utils.cpp:19:
/<<PKGBUILDDIR>>/core/static_error.h:23:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
23 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/lexer.h:30,
from /<<PKGBUILDDIR>>/core/string_utils.h:20,
from /<<PKGBUILDDIR>>/core/string_utils.cpp:20:
/<<PKGBUILDDIR>>/core/unicode.h:24:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/lexer.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/string_utils.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/string_utils.cpp:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
[ 44%] Building CXX object core/CMakeFiles/libjsonnet.dir/vm.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/c++ -Dlibjsonnet_EXPORTS -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -fPIC -MD -MT core/CMakeFiles/libjsonnet.dir/vm.cpp.o -MF CMakeFiles/libjsonnet.dir/vm.cpp.o.d -o CMakeFiles/libjsonnet.dir/vm.cpp.o -c /<<PKGBUILDDIR>>/core/vm.cpp
[ 46%] Building CXX object core/CMakeFiles/libjsonnet_static.dir/vm.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -MD -MT core/CMakeFiles/libjsonnet_static.dir/vm.cpp.o -MF CMakeFiles/libjsonnet_static.dir/vm.cpp.o.d -o CMakeFiles/libjsonnet_static.dir/vm.cpp.o -c /<<PKGBUILDDIR>>/core/vm.cpp
In file included from /<<PKGBUILDDIR>>/core/lexer.h:29,
from /<<PKGBUILDDIR>>/core/ast.h:29,
from /<<PKGBUILDDIR>>/core/desugarer.h:23,
from /<<PKGBUILDDIR>>/core/vm.cpp:24:
/<<PKGBUILDDIR>>/core/static_error.h:23:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
23 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/lexer.h:30:
/<<PKGBUILDDIR>>/core/unicode.h:24:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/lexer.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/ast.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/lexer.h:29,
from /<<PKGBUILDDIR>>/core/ast.h:29,
from /<<PKGBUILDDIR>>/core/desugarer.h:23,
from /<<PKGBUILDDIR>>/core/vm.cpp:24:
/<<PKGBUILDDIR>>/core/static_error.h:23:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
23 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/lexer.h:30:
/<<PKGBUILDDIR>>/core/unicode.h:24:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/lexer.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/ast.h:32:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
32 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/desugarer.h:24:
/<<PKGBUILDDIR>>/core/vm.h:24:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/desugarer.h:26:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
26 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/desugarer.h:24:
/<<PKGBUILDDIR>>/core/vm.h:24:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
24 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/desugarer.h:26:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
26 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/vm.cpp:28:
/<<PKGBUILDDIR>>/core/parser.h:26:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
26 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/vm.cpp:28:
/<<PKGBUILDDIR>>/core/parser.h:26:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
26 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/vm.cpp:31:
/<<PKGBUILDDIR>>/core/state.h:20:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
20 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/vm.cpp:32:
/<<PKGBUILDDIR>>/core/static_analysis.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/vm.cpp:33:
/<<PKGBUILDDIR>>/core/string_utils.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/vm.cpp:36:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
36 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/vm.cpp:31:
/<<PKGBUILDDIR>>/core/state.h:20:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
20 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/vm.cpp:32:
/<<PKGBUILDDIR>>/core/static_analysis.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
In file included from /<<PKGBUILDDIR>>/core/vm.cpp:33:
/<<PKGBUILDDIR>>/core/string_utils.h:22:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
22 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/vm.cpp:36:11: warning: nested namespace definitions only available with ‘-std=c++17’ or ‘-std=gnu++17’ [-Wc++17-extensions]
36 | namespace jsonnet::internal {
| ^~~~~~~
/<<PKGBUILDDIR>>/core/vm.cpp: In member function ‘void jsonnet::internal::{anonymous}::Interpreter::otherJsonToHeap(const jsonnet::internal::json&, bool&, jsonnet::internal::{anonymous}::Value&)’:
/<<PKGBUILDDIR>>/core/vm.cpp:1667:16: warning: enumeration value ‘binary’ not handled in switch [-Wswitch]
1667 | switch (v.type()) {
| ^
/<<PKGBUILDDIR>>/core/vm.cpp: In member function ‘void jsonnet::internal::{anonymous}::Interpreter::otherJsonToHeap(const jsonnet::internal::json&, bool&, jsonnet::internal::{anonymous}::Value&)’:
/<<PKGBUILDDIR>>/core/vm.cpp:1667:16: warning: enumeration value ‘binary’ not handled in switch [-Wswitch]
1667 | switch (v.type()) {
| ^
[ 48%] Linking CXX shared library ../libjsonnet.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/cmake -E cmake_link_script CMakeFiles/libjsonnet.dir/link.txt --verbose=1
[ 51%] Linking CXX static library ../libjsonnet.a
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/cmake -P CMakeFiles/libjsonnet_static.dir/cmake_clean_target.cmake
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/cmake -E cmake_link_script CMakeFiles/libjsonnet_static.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>> [too-long-redacted] nu: ../libmd5.a -lryml -lc4core
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/core && /usr/bin/cmake -E cmake_symlink_library ../libjsonnet.so.0.20.0 ../libjsonnet.so.0 ../libjsonnet.so
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 51%] Built target libjsonnet
/usr/bin/ar qc ../libjsonnet.a CMakeFiles/libjsonnet_static.dir/desugarer.cpp.o CMakeFiles/libjsonnet_static.dir/formatter.cpp.o CMakeFiles/libjsonnet_static.dir/lexer.cpp.o CMakeFiles/libjsonnet_static.dir/libjsonnet.cpp.o CMakeFiles/libjsonnet_static.dir/parser.cpp.o CMakeFiles/libjsonnet_static.dir/pass.cpp.o CMakeFiles/libjsonnet_static.dir/static_analysis.cpp.o CMakeFiles/libjsonnet_static.dir/string_utils.cpp.o CMakeFiles/libjsonnet_static.dir/vm.cpp.o
/usr/bin/ranlib ../libjsonnet.a
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 51%] Built target libjsonnet_static
make -f cmd/CMakeFiles/jsonnet.dir/build.make cmd/CMakeFiles/jsonnet.dir/depend
make -f cmd/CMakeFiles/jsonnetfmt.dir/build.make cmd/CMakeFiles/jsonnetfmt.dir/depend
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/cmd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd/CMakeFiles/jsonnet.dir/DependInfo.cmake "--color=" jsonnet
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/cmd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd/CMakeFiles/jsonnetfmt.dir/DependInfo.cmake "--color=" jsonnetfmt
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make -f cmd/CMakeFiles/jsonnet.dir/build.make cmd/CMakeFiles/jsonnet.dir/build
make -f cmd/CMakeFiles/jsonnetfmt.dir/build.make cmd/CMakeFiles/jsonnetfmt.dir/build
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 55%] Building CXX object cmd/CMakeFiles/jsonnetfmt.dir/jsonnetfmt.cpp.o
[ 55%] Building CXX object cmd/CMakeFiles/jsonnet.dir/jsonnet.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -I/<<PKGBUILDDIR>>/core/../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -MD -MT cmd/CMakeFiles/jsonnet.dir/jsonnet.cpp.o -MF CMakeFiles/jsonnet.dir/jsonnet.cpp.o.d -o CMakeFiles/jsonnet.dir/jsonnet.cpp.o -c /<<PKGBUILDDIR>>/cmd/jsonnet.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -I/<<PKGBUILDDIR>>/core/../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -MD -MT cmd/CMakeFiles/jsonnetfmt.dir/jsonnetfmt.cpp.o -MF CMakeFiles/jsonnetfmt.dir/jsonnetfmt.cpp.o.d -o CMakeFiles/jsonnetfmt.dir/jsonnetfmt.cpp.o -c /<<PKGBUILDDIR>>/cmd/jsonnetfmt.cpp
[ 57%] Building CXX object cmd/CMakeFiles/jsonnetfmt.dir/utils.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -I/<<PKGBUILDDIR>>/core/../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -MD -MT cmd/CMakeFiles/jsonnetfmt.dir/utils.cpp.o -MF CMakeFiles/jsonnetfmt.dir/utils.cpp.o.d -o CMakeFiles/jsonnetfmt.dir/utils.cpp.o -c /<<PKGBUILDDIR>>/cmd/utils.cpp
[ 59%] Linking CXX executable ../jsonnetfmt
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd && /usr/bin/cmake -E cmake_link_script CMakeFiles/jsonnetfmt.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-ld.bfd: warning: libc4core.so.0.2.7, needed by /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so, not found (try using -rpath or -rpath-link)
[ 61%] Building CXX object cmd/CMakeFiles/jsonnet.dir/utils.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd && /usr/bin/c++ -I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/third_party/md5 -I/<<PKGBUILDDIR>>/core -I/<<PKGBUILDDIR>>/cpp -I/<<PKGBUILDDIR>>/core/../include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -std=gnu++11 -MD -MT cmd/CMakeFiles/jsonnet.dir/utils.cpp.o -MF CMakeFiles/jsonnet.dir/utils.cpp.o.d -o CMakeFiles/jsonnet.dir/utils.cpp.o -c /<<PKGBUILDDIR>>/cmd/utils.cpp
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::is_debugger_attached()'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::handle_error(c4::srcloc, char const*, ...)'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::get_error_flags()'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::base64_encode(c4::basic_substring<char>, c4::blob_<char const>)'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::decode_code_point(unsigned char*, unsigned long, unsigned int)'
collect2: error: ld returned 1 exit status
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/jsonnetfmt.dir/link.d CMakeFiles/jsonnetfmt.dir/jsonnetfmt.cpp.o CMakeFiles/jsonnetfmt.dir/utils.cpp.o -o ../jsonnetfmt -L/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu: ../libjsonnet.a ../libmd5.a -lryml
make[4]: *** [cmd/CMakeFiles/jsonnetfmt.dir/build.make:122: jsonnetfmt] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:855: cmd/CMakeFiles/jsonnetfmt.dir/all] Error 2
make[3]: *** Waiting for unfinished jobs....
[ 63%] Linking CXX executable ../jsonnet
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/cmd && /usr/bin/cmake -E cmake_link_script CMakeFiles/jsonnet.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-ld.bfd: warning: libc4core.so.0.2.7, needed by /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so, not found (try using -rpath or -rpath-link)
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::is_debugger_attached()'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::handle_error(c4::srcloc, char const*, ...)'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::get_error_flags()'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::base64_encode(c4::basic_substring<char>, c4::blob_<char const>)'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/lib/gcc/x86_64-linux-gnu/15/../../../x86_64-linux-gnu/libryml.so: undefined reference to `c4::decode_code_point(unsigned char*, unsigned long, unsigned int)'
collect2: error: ld returned 1 exit status
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Ithird_party/md5 -I/usr/include/nlohmann -Iinclude -fPIC -DC4CORE_NO_FAST_FLOAT -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++11 -fPIC -O3 -Wl,-z,relro -Wl,-z,now -Wl,--dependency-file=CMakeFiles/jsonnet.dir/link.d CMakeFiles/jsonnet.dir/jsonnet.cpp.o CMakeFiles/jsonnet.dir/utils.cpp.o -o ../jsonnet -L/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -Wl,-rpath,/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu: ../libjsonnet.a ../libmd5.a -lryml
make[4]: *** [cmd/CMakeFiles/jsonnet.dir/build.make:122: jsonnet] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:822: cmd/CMakeFiles/jsonnet.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:149: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:20: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------