Package: src:muon-meson
Version: 0.3.0-3
Severity: serious
Tags: ftbfs patch

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --buildsystem=none --builddir=build
   dh_update_autotools_config -O--buildsystem=none -O--builddir=build
   dh_autoreconf -O--buildsystem=none -O--builddir=build
   dh_auto_configure -O--buildsystem=none -O--builddir=build
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ln -s ../meson-docs subprojects/
CC="x86_64-linux-gnu-gcc" CFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection" LDFLAGS="-Wl,-z,relro -Wl,-z,now" ./bootstrap.sh build
+ dir=build
+ mkdir -p build
+ pkgconf_cmd=
+ command -v pkgconf
+ pkgconf_cmd=pkgconf
+ [ -n pkgconf ]
+ pkgconf libpkgconf
+ pkgconf --cflags libpkgconf
+ pkgconf_cflags=-I/usr/include/pkgconf  -DBOOTSTRAP_HAVE_LIBPKGCONF
+ pkgconf --libs libpkgconf
+ pkgconf_libs=-lpkgconf
+ x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -Wl,-z,relro -Wl,-z,now -Iinclude -I/usr/include/pkgconf 
-DBOOTSTRAP_HAVE_LIBPKGCONF src/amalgam.c -lpkgconf -o build/muon
In file included from src/amalgam.c:33:
src/external/readline_builtin.c: In function ‘muon_readline’:
src/external/readline_builtin.c:23:9: warning: ignoring return value of ‘fgets’ 
declared with attribute ‘warn_unused_result’ [-Wunused-result]
   23 |         fgets(buf, 2048, stdin);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from src/amalgam.c:30:
In function ‘reopen_source’,
    inlined from ‘reopen_source.constprop’ at src/error.c:352:1:
src/error.c:359:36: warning: argument 1 null where non-null expected [-Wnonnull]
  359 |                         src->len = strlen(src->src);
      |                                    ^~~~~~~~~~~~~~~~
In file included from src/args.c:9,
                 from src/amalgam.c:12:
/usr/include/string.h: In function ‘reopen_source.constprop’:
/usr/include/string.h:407:15: note: in a call to function ‘strlen’ declared 
‘nonnull’
  407 | extern size_t strlen (const char *__s)
      |               ^~~~~~
In file included from /usr/include/stdio.h:970,
                 from include/lang/object.h:13,
                 from include/lang/workspace.h:15,
                 from include/args.h:9,
                 from src/args.c:11:
In function ‘fprintf’,
    inlined from ‘tests_output_html’ at src/cmd_test.c:1108:2,
    inlined from ‘tests_run’ at src/cmd_test.c:1234:31:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:10: warning: argument 3 null 
where non-null expected [-Wnonnull]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:954:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h: In function ‘tests_run’:
/usr/include/x86_64-linux-gnu/bits/stdio2-decl.h:49:12: note: in a call to 
function ‘__fprintf_chk’ declared ‘nonnull’
   49 | extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
      |            ^~~~~~~~~~~~~
In function ‘fprintf’,
    inlined from ‘tests_output_html’ at src/cmd_test.c:1108:2,
    inlined from ‘tests_run’ at src/cmd_test.c:1234:31:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:111:10: warning: null format string 
[-Wformat-overflow=]
  111 |   return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  112 |                         __va_arg_pack ());
      |                         ~~~~~~~~~~~~~~~~~
build/muon setup -Dprefix=/usr -Dsamurai=disabled -Dreadline=bestline build
detected compiler gcc '14.2.0' (['x86_64-linux-gnu-gcc']), linker: ld 
(['x86_64-linux-gnu-ld']), static_linker: ar (['x86_64-linux-gnu-ar'])
configuring 'muon', version: 0.3.0
configuring '/<<PKGBUILDDIR>>/build/version.txt'
c compiler: supports argument '-Wendif-labels': YES
c compiler: supports argument '-Wimplicit-fallthrough=2': YES
c compiler: supports argument '-Winit-self': YES
c compiler: supports argument '-Wlogical-op': YES
c compiler: supports argument '-Wmissing-include-dirs': YES
c compiler: supports argument '-Wno-missing-braces': YES
c compiler: supports argument '-Wno-missing-field-initializers': YES
c compiler: supports argument '-Wno-unused-parameter': YES
c compiler: supports argument '-Wold-style-definition': YES
c compiler: supports argument '-Woverflow': YES
c compiler: supports argument '-Wstrict-aliasing=2': YES
c compiler: supports argument '-Wstrict-prototypes': YES
c compiler: supports argument '-Wundef': YES
c compiler: supports argument '-Wvla': YES
c compiler: supports argument '-fstrict-aliasing': YES
c compiler: supports argument '-std=c99': YES
configuring '/<<PKGBUILDDIR>>/build/src/version.c'
found dependency libcurl version 8.10.1
found dependency libarchive version 3.7.4
found dependency libpkgconf version 1.8.1
[tinyjson] entering subproject 'tinyjson'
[tinyjson] detected compiler gcc '14.2.0' (['x86_64-linux-gnu-gcc']), linker: 
ld (['x86_64-linux-gnu-ld']), static_linker: ar (['x86_64-linux-gnu-ar'])
[tinyjson] configuring 'tiny-json', version: undefined
found dependency 'tinyjson' (declared dependency) version undefined static
[bestline] entering subproject 'bestline'
[bestline] detected compiler gcc '14.2.0' (['x86_64-linux-gnu-gcc']), linker: 
ld (['x86_64-linux-gnu-ld']), static_linker: ar (['x86_64-linux-gnu-ar'])
[bestline] configuring 'bestline', version: undefined
found dependency 'bestline' (declared dependency) version undefined static
warn dependency ['tracy'] not found
[meson-docs] entering subproject 'meson-docs'
[meson-docs] configuring 'meson', version: undefined

summary:
- muon 0.3.0
      libcurl: true
      libarchive: true
      libpkgconf: true
      docs: true
setup complete
ninja -C build --verbose
ninja: Entering directory `build'
[1/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I tools -I ../tools -I ../include 
-DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ tools/embedder.p/embedder.c.o -MF 
tools/embedder.p/embedder.c.o.d -o tools/embedder.p/embedder.c.o -c ../tools/embedder.c
[2/123] x86_64-linux-gnu-gcc  -o tools/embedder tools/embedder.p/embedder.c.o 
-Wl,--as-needed -Wl,--no-undefined -g -O2 -Werror=implicit-function-declaration 
-Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-DBOOTSTRAP_NO_SAMU -Wl,-z,relro -Wl,-z,now

[...]

[110/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I . -I .. -I ../include -I 
/usr/include/x86_64-linux-gnu -I /usr/include/p11-kit-1 -I /usr/include/pkgconf -I 
subprojects/tinyjson -I ../subprojects/tinyjson -I subprojects/bestline -I 
../subprojects/bestline -I src/script -DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ 
muon.p/src/version.c.o -MF muon.p/src/version.c.o.d -o muon.p/src/version.c.o -c 
src/version.c
[111/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I . -I .. -I ../include -I 
/usr/include/x86_64-linux-gnu -I /usr/include/p11-kit-1 -I /usr/include/pkgconf -I 
subprojects/tinyjson -I ../subprojects/tinyjson -I subprojects/bestline -I 
../subprojects/bestline -I src/script -DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ 
muon.p/src/platform/posix/rpath_fixer.c.o -MF muon.p/src/platform/posix/rpath_fixer.c.o.d 
-o muon.p/src/platform/posix/rpath_fixer.c.o -c ../src/platform/posix/rpath_fixer.c
[112/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I . -I .. -I ../include -I 
/usr/include/x86_64-linux-gnu -I /usr/include/p11-kit-1 -I /usr/include/pkgconf -I 
subprojects/tinyjson -I ../subprojects/tinyjson -I subprojects/bestline -I 
../subprojects/bestline -I src/script -DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ 
muon.p/src/external/libcurl.c.o -MF muon.p/src/external/libcurl.c.o.d -o 
muon.p/src/external/libcurl.c.o -c ../src/external/libcurl.c
[113/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I . -I .. -I ../include -I 
/usr/include/x86_64-linux-gnu -I /usr/include/p11-kit-1 -I /usr/include/pkgconf -I 
subprojects/tinyjson -I ../subprojects/tinyjson -I subprojects/bestline -I 
../subprojects/bestline -I src/script -DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ 
muon.p/src/external/libarchive.c.o -MF muon.p/src/external/libarchive.c.o.d -o 
muon.p/src/external/libarchive.c.o -c ../src/external/libarchive.c
[114/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I . -I .. -I ../include -I 
/usr/include/x86_64-linux-gnu -I /usr/include/p11-kit-1 -I /usr/include/pkgconf -I 
subprojects/tinyjson -I ../subprojects/tinyjson -I subprojects/bestline -I 
../subprojects/bestline -I src/script -DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ 
muon.p/src/external/libpkgconf.c.o -MF muon.p/src/external/libpkgconf.c.o.d -o 
muon.p/src/external/libpkgconf.c.o -c ../src/external/libpkgconf.c
[115/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I . -I .. -I ../include -I 
/usr/include/x86_64-linux-gnu -I /usr/include/p11-kit-1 -I /usr/include/pkgconf -I 
subprojects/tinyjson -I ../subprojects/tinyjson -I subprojects/bestline -I 
../subprojects/bestline -I src/script -DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ 
muon.p/src/external/tinyjson.c.o -MF muon.p/src/external/tinyjson.c.o.d -o 
muon.p/src/external/tinyjson.c.o -c ../src/external/tinyjson.c
[116/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I . -I .. -I ../include -I 
/usr/include/x86_64-linux-gnu -I /usr/include/p11-kit-1 -I /usr/include/pkgconf -I 
subprojects/tinyjson -I ../subprojects/tinyjson -I subprojects/bestline -I 
../subprojects/bestline -I src/script -DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ 
muon.p/src/external/samurai_null.c.o -MF muon.p/src/external/samurai_null.c.o.d -o 
muon.p/src/external/samurai_null.c.o -c ../src/external/samurai_null.c
[117/123] /<<PKGBUILDDIR>>/build/muon internal exe -R 
subprojects/tinyjson/libtiny-json.a -- x86_64-linux-gnu-ar csrD 
subprojects/tinyjson/libtiny-json.a subprojects/tinyjson/libtiny-json.a.p/tiny-json.c.o
[118/123] x86_64-linux-gnu-gcc -std=c99 -g -O0 -Wpedantic -Wextra -Wall -g -O2 
-Werror=implicit-function-declaration -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security 
-fcf-protection -DBOOTSTRAP_NO_SAMU -Wdate-time -D_FORTIFY_SOURCE=2 -Wendif-labels 
-Wimplicit-fallthrough=2 -Winit-self -Wlogical-op -Wmissing-include-dirs 
-Wno-missing-braces -Wno-missing-field-initializers -Wno-unused-parameter 
-Wold-style-definition -Woverflow -Wstrict-aliasing=2 -Wstrict-prototypes -Wundef -Wvla 
-fstrict-aliasing -std=c99 -DMUON_BOOTSTRAPPED -I . -I .. -I ../include -I 
/usr/include/x86_64-linux-gnu -I /usr/include/p11-kit-1 -I /usr/include/pkgconf -I 
subprojects/tinyjson -I ../subprojects/tinyjson -I subprojects/bestline -I 
../subprojects/bestline -I src/script -DMUON_PLATFORM_posix -DMUON_ENDIAN=0 -MD -MQ 
muon.p/src/external/readline_bestline.c.o -MF muon.p/src/external/readline_bestline.c.o.d 
-o muon.p/src/external/readline_bestline.c.o -c ../src/external/readline_bestline.c
[119/123] /<<PKGBUILDDIR>>/build/muon internal exe -R 
subprojects/bestline/libbestline.a -- x86_64-linux-gnu-ar csrD 
subprojects/bestline/libbestline.a subprojects/bestline/libbestline.a.p/bestline.c.o
[120/123] /<<PKGBUILDDIR>>/build/muon internal exe -c doc/muon.1 -f ../doc/muon.1.scd -e 
/<<PKGBUILDDIR>>/build/.muon/custom_tgt_env/muon_1_scd1_dat -- /usr/bin/scdoc
[121/123] /<<PKGBUILDDIR>>/build/muon internal exe -c doc/meson.build.5 -f 
../doc/meson.build.5.scd -e 
/<<PKGBUILDDIR>>/build/.muon/custom_tgt_env/meson_build_5_scd2_dat -- /usr/bin/scdoc
[122/123] /<<PKGBUILDDIR>>/build/muon internal exe -e 
/<<PKGBUILDDIR>>/build/.muon/custom_tgt_env/meson_reference_33_dat -- 
../subprojects/meson-docs/docs/genrefman.py -q -l fastyaml -g man -o 
subprojects/meson-docs/meson-reference.3 --no-modules
FAILED: subprojects/meson-docs/meson-reference.3
/<<PKGBUILDDIR>>/build/muon internal exe -e 
/<<PKGBUILDDIR>>/build/.muon/custom_tgt_env/meson_reference_33_dat -- 
../subprojects/meson-docs/docs/genrefman.py -q -l fastyaml -g man -o 
subprojects/meson-docs/meson-reference.3 --no-modules
/bin/sh: 1: /<<PKGBUILDDIR>>/build/muon: Permission denied
[123/123] x86_64-linux-gnu-gcc  -o muon muon.p/src/backend/backend.c.o 
muon.p/src/backend/common_args.c.o muon.p/src/backend/ninja.c.o 
muon.p/src/backend/ninja/alias_target.c.o muon.p/src/backend/ninja/build_target.c.o 
muon.p/src/backend/ninja/custom_target.c.o muon.p/src/backend/ninja/rules.c.o 
muon.p/src/backend/output.c.o muon.p/src/datastructures/arr.c.o 
muon.p/src/datastructures/bucket_arr.c.o muon.p/src/datastructures/hash.c.o 
muon.p/src/datastructures/stack.c.o muon.p/src/formats/editorconfig.c.o 
muon.p/src/formats/ini.c.o muon.p/src/formats/lines.c.o muon.p/src/formats/tap.c.o 
muon.p/src/functions/array.c.o muon.p/src/functions/boolean.c.o 
muon.p/src/functions/both_libs.c.o muon.p/src/functions/build_target.c.o 
muon.p/src/functions/compiler.c.o muon.p/src/functions/configuration_data.c.o 
muon.p/src/functions/custom_target.c.o muon.p/src/functions/dependency.c.o 
muon.p/src/functions/dict.c.o muon.p/src/functions/disabler.c.o 
muon.p/src/functions/environment.c.o muon.p/src/functions/external_program.c.o 
muon.p/src/functions/feature_opt.c.o muon.p/src/functions/file.c.o 
muon.p/src/functions/generator.c.o muon.p/src/functions/kernel.c.o 
muon.p/src/functions/kernel/build_target.c.o muon.p/src/functions/kernel/configure_file.c.o 
muon.p/src/functions/kernel/custom_target.c.o muon.p/src/functions/kernel/dependency.c.o 
muon.p/src/functions/kernel/install.c.o muon.p/src/functions/kernel/options.c.o 
muon.p/src/functions/kernel/subproject.c.o muon.p/src/functions/machine.c.o 
muon.p/src/functions/meson.c.o muon.p/src/functions/modules.c.o 
muon.p/src/functions/modules/fs.c.o muon.p/src/functions/modules/keyval.c.o 
muon.p/src/functions/modules/pkgconfig.c.o muon.p/src/functions/modules/python.c.o 
muon.p/src/functions/modules/sourceset.c.o muon.p/src/functions/modules/toolchain.c.o 
muon.p/src/functions/number.c.o muon.p/src/functions/run_result.c.o 
muon.p/src/functions/source_configuration.c.o muon.p/src/functions/source_set.c.o 
muon.p/src/functions/string.c.o muon.p/src/functions/subproject.c.o 
muon.p/src/lang/analyze.c.o muon.p/src/lang/compiler.c.o muon.p/src/lang/eval.c.o 
muon.p/src/lang/fmt.c.o muon.p/src/lang/func_lookup.c.o muon.p/src/lang/lexer.c.o 
muon.p/src/lang/object.c.o muon.p/src/lang/object_iterators.c.o muon.p/src/lang/parser.c.o 
muon.p/src/lang/serial.c.o muon.p/src/lang/string.c.o muon.p/src/lang/typecheck.c.o 
muon.p/src/lang/vm.c.o muon.p/src/lang/workspace.c.o muon.p/src/args.c.o 
muon.p/src/cmd_install.c.o muon.p/src/cmd_test.c.o muon.p/src/coerce.c.o 
muon.p/src/compilers.c.o muon.p/src/embedded.c.o muon.p/src/error.c.o muon.p/src/guess.c.o 
muon.p/src/install.c.o muon.p/src/log.c.o muon.p/src/machine_file.c.o 
muon.p/src/machines.c.o muon.p/src/main.c.o muon.p/src/memmem.c.o muon.p/src/meson_opts.c.o 
muon.p/src/options.c.o muon.p/src/opts.c.o muon.p/src/rpmvercmp.c.o muon.p/src/sha_256.c.o 
muon.p/src/wrap.c.o muon.p/src/platform/assert.c.o muon.p/src/platform/filesystem.c.o 
muon.p/src/platform/mem.c.o muon.p/src/platform/os.c.o muon.p/src/platform/path.c.o 
muon.p/src/platform/run_cmd.c.o muon.p/src/platform/uname.c.o 
muon.p/src/platform/posix/filesystem.c.o muon.p/src/platform/posix/init.c.o 
muon.p/src/platform/posix/log.c.o muon.p/src/platform/posix/os.c.o 
muon.p/src/platform/posix/path.c.o muon.p/src/platform/posix/run_cmd.c.o 
muon.p/src/platform/posix/term.c.o muon.p/src/platform/posix/timer.c.o 
muon.p/src/platform/posix/uname.c.o muon.p/src/platform/posix/rpath_fixer.c.o 
muon.p/src/version.c.o muon.p/src/external/libcurl.c.o muon.p/src/external/libarchive.c.o 
muon.p/src/external/libpkgconf.c.o muon.p/src/external/tinyjson.c.o 
muon.p/src/external/samurai_null.c.o muon.p/src/external/readline_bestline.c.o 
-Wl,--as-needed -Wl,--no-undefined -g -O2 -Werror=implicit-function-declaration 
-Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-DBOOTSTRAP_NO_SAMU -Wl,-z,relro -Wl,-z,now -Wl,--start-group 
/usr/lib/x86_64-linux-gnu/libcurl.so /usr/lib/x86_64-linux-gnu/libarchive.so 
/usr/lib/x86_64-linux-gnu/libpkgconf.so subprojects/tinyjson/libtiny-json.a 
subprojects/bestline/libbestline.a -Wl,--end-group
ninja: build stopped: subcommand failed.
make[1]: *** [debian/rules:19: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary 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/202410/

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

Note: The build does not always fail.

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.

However, before that, please try GRUB_CMDLINE_LINUX="nr_cpus=1"
because (apparently) the failure rate is higher that way.

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.


The attached patch fixes the issue for me, and it's based on the
official instructions here:

https://git.sr.ht/~lattis/muon#install

In short, the fix is to "let muon to build itself". Note that debian/rules
is already using the bootstrapping method of building so we don't
have to add a circular build-depends on itself or anything like that.

Thanks.
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ override_dh_auto_build:
        ln -s ../meson-docs subprojects/
        CC="$(CC_FOR_BUILD)" CFLAGS="$(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD)" 
LDFLAGS="$(LDFLAGS_FOR_BUILD)" ./bootstrap.sh build
        build/muon setup -Dprefix=/usr -Dsamurai=disabled -Dreadline=bestline 
build
-       ninja -C build --verbose
+       build/muon -C build samu
 
 # Meson's fs module tests require HOME to be a valid directory
 override_dh_auto_test:

Reply via email to