Source: golang-github-containers-toolbox
Version: 0.0.99.3-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: [email protected]
Usertags: ftbfs-20220813 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=8 meson test
> ninja: Entering directory `/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> ninja: no work to do.
> 1/3 shellcheck go-build-wrapper OK 0.04s
> 2/3 shellcheck profile.d FAIL 0.07s exit status 1
> >>> MALLOC_PERTURB_=218 /usr/bin/shellcheck --shell=sh
> >>> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../profile.d/toolbox.sh
>
> 3/3 toolbox go unit tests OK 5.02s
>
> Ok: 2
> Expected Fail: 0
> Fail: 1
> Unexpected Pass: 0
> Skipped: 0
> Timeout: 0
>
> Full log written to
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-logs/testlog.txt
> cd obj-x86_64-linux-gnu && tail -v -n \+0 meson-logs/testlog.txt
> ==> meson-logs/testlog.txt <==
> Log of Meson test suite run on 2022-08-14T03:15:59.817487
>
> Inherited environment: GO111MODULE=off SCHROOT_GID=1001
> DEB_HOST_MULTIARCH=x86_64-linux-gnu LC_ALL=C.UTF-8
> DEB_HOST_GNU_SYSTEM=linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu
> DEB_TARGET_ARCH_LIBC=gnu FFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong' DEB_BUILD_ARCH_ENDIAN=little
> DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_BUILD_ARCH_BITS=64
> DEB_BUILD_OPTIONS=parallel=8
> GOPATH=/<<PKGBUILDDIR>>:/<<PKGBUILDDIR>>/debian/tmp:/<<PKGBUILDDIR>>/debian/gocode:/usr/share/gocode
> DEB_HOST_ARCH=amd64 DEB_TARGET_ARCH_ENDIAN=little
> SOURCE_DATE_EPOCH=1654780763 GOCACHE=/<<PKGBUILDDIR>>/debian/tmp/go-build
> OBJCXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong -Wformat -Werror=format-security'
> DEB_HOST_ARCH_BITS=64 LANG=C.UTF-8 MAKEFLAGS=w SCHROOT_GROUP=user42
> DEB_TARGET_ARCH=amd64 DH_INTERNAL_OPTIONS=-O--buildsystem=meson
> DEB_HOST_GNU_CPU=x86_64 DEB_BUILD_ARCH_LIBC=gnu MFLAGS=-w
> DEB_TARGET_ARCH_BITS=64 ASFLAGS='' DEB_BUILD_ARCH_CPU=amd64
> LC_COLLATE=C.UTF-8 SCHROOT_ALIAS_NAME=unstable DEB_HOST_ARCH_OS=linux
> SHELL=/bin/sh FCFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong' DEB_HOST_ARCH_CPU=amd64 SCHROOT_USER=user42
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> DEB_BUILD_ARCH_ABI=base DEB_BUILD_ARCH=amd64 DEB_HOST_ARCH_LIBC=gnu
> SCHROOT_SESSION_ID=sid-amd64-sbuild-41feb787-f865-4cb4-9f4f-2223f12641ea
> GCJFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
> -fstack-protector-strong' DEB_TARGET_ARCH_CPU=amd64
> DEB_HOST_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_ARCH_OS=linux LOGNAME=user42
> CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
> DEB_TARGET_MULTIARCH=x86_64-linux-gnu DEB_BUILD_GNU_CPU=x86_64
> DEB_TARGET_ARCH_OS=linux USER=user42 DEB_HOST_ARCH_ABI=base
> DEB_BUILD_MULTIARCH=x86_64-linux-gnu LDFLAGS=-Wl,-z,relro
> DEB_TARGET_GNU_TYPE=x86_64-linux-gnu DEB_TARGET_ARCH_ABI=base CFLAGS='-g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security' SCHROOT_UID=1001 SCHROOT_COMMAND='dpkg-buildpackage
> --sanitize-env -us -uc -rfakeroot -sa' DFLAGS=-frelease
> DEB_TARGET_GNU_CPU=x86_64 APT_CONFIG=/var/lib/sbuild/apt.conf
> HOME=/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home
> DEB_RULES_REQUIRES_ROOT=no DEB_TARGET_GNU_SYSTEM=linux-gnu
> DEB_HOST_ARCH_ENDIAN=little OBJCFLAGS='-g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security' SCHROOT_CHROOT_NAME=sid-amd64-sbuild
> DH_INTERNAL_BUILDFLAGS=1 CXXFLAGS='-g -O2
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
> -Werror=format-security' DH_INTERNAL_OVERRIDE=dh_auto_test MAKELEVEL=2
> XDG_RUNTIME_DIR=/tmp/dh-xdg-rundir-D8KrgYg3 MESON_TESTTHREADS=8
>
> ==================================== 1/3 =====================================
> test: shellcheck go-build-wrapper
> start time: 03:15:59
> duration: 0.04s
> result: exit status 0
> command: MALLOC_PERTURB_=212 /usr/bin/shellcheck
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../src/go-build-wrapper
> ==============================================================================
>
> ==================================== 2/3 =====================================
> test: shellcheck profile.d
> start time: 03:15:59
> duration: 0.07s
> result: exit status 1
> command: MALLOC_PERTURB_=218 /usr/bin/shellcheck --shell=sh
> /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../profile.d/toolbox.sh
> ----------------------------------- stdout -----------------------------------
>
> In /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../profile.d/toolbox.sh line 83:
> term_just_first_character="${TERM%$term_without_first_character}"
> ^---------------------------^
> SC2295 (info): Expansions inside ${..} need to be quoted separately,
> otherwise they match as patterns.
>
> Did you mean:
> term_just_first_character="${TERM%"$term_without_first_character"}"
>
> For more information:
> https://www.shellcheck.net/wiki/SC2295 -- Expansions inside ${..} need to
> b...
> ==============================================================================
>
> ==================================== 3/3 =====================================
> test: toolbox go unit tests
> start time: 03:15:59
> duration: 5.02s
> result: exit status 0
> command: MALLOC_PERTURB_=57 /usr/bin/go test -v ./...
> ----------------------------------- stdout -----------------------------------
> ? _/<<PKGBUILDDIR>>/src [no test files]
> ? _/<<PKGBUILDDIR>>/src/cmd [no test files]
> ? pkg/podman [no test files]
> === RUN TestShellRun
> === RUN TestShellRun/OK
> === RUN TestShellRun/FAIL_NonExisting_Command
> === RUN TestShellRun/FAIL_Unexpected_Command_Result
> --- PASS: TestShellRun (0.00s)
> --- PASS: TestShellRun/OK (0.00s)
> --- PASS: TestShellRun/FAIL_NonExisting_Command (0.00s)
> --- PASS: TestShellRun/FAIL_Unexpected_Command_Result (0.00s)
> === RUN TestShellRunWithExitCode
> === RUN TestShellRunWithExitCode/OK_Without_stderr_and_info_log_level
> === RUN TestShellRunWithExitCode/OK_Without_stderr_and_debug_log_level
> === RUN TestShellRunWithExitCode/OK_With_stderr_and_info_log_level
> === RUN TestShellRunWithExitCode/FAIL_NonExisting_Command
> === RUN TestShellRunWithExitCode/FAIL_Unexpected_Command_Result
> --- PASS: TestShellRunWithExitCode (0.00s)
> --- PASS: TestShellRunWithExitCode/OK_Without_stderr_and_info_log_level
> (0.00s)
> --- PASS: TestShellRunWithExitCode/OK_Without_stderr_and_debug_log_level
> (0.00s)
> --- PASS: TestShellRunWithExitCode/OK_With_stderr_and_info_log_level
> (0.00s)
> --- PASS: TestShellRunWithExitCode/FAIL_NonExisting_Command (0.00s)
> --- PASS: TestShellRunWithExitCode/FAIL_Unexpected_Command_Result (0.00s)
> PASS
> ok pkg/shell 0.009s
> === RUN TestImageReferenceCanBeID
> === RUN TestImageReferenceCanBeID/Valid_ID_(random_6_chars)
> === RUN TestImageReferenceCanBeID/Valid_ID_(random_64_chars)
> === RUN TestImageReferenceCanBeID/Valid_ID_(Podman_short)
> === RUN TestImageReferenceCanBeID/Valid_ID_(Podman_long)
> === RUN TestImageReferenceCanBeID/Invalid_ID_(random_<6_chars)
> === RUN TestImageReferenceCanBeID/Invalid_ID_(random_>64_chars)
> === RUN
> TestImageReferenceCanBeID/Invalid_ID_(image_URI;_whole_alphabet_+_slash)
> --- PASS: TestImageReferenceCanBeID (0.00s)
> --- PASS: TestImageReferenceCanBeID/Valid_ID_(random_6_chars) (0.00s)
> --- PASS: TestImageReferenceCanBeID/Valid_ID_(random_64_chars) (0.00s)
> --- PASS: TestImageReferenceCanBeID/Valid_ID_(Podman_short) (0.00s)
> --- PASS: TestImageReferenceCanBeID/Valid_ID_(Podman_long) (0.00s)
> --- PASS: TestImageReferenceCanBeID/Invalid_ID_(random_<6_chars) (0.00s)
> --- PASS: TestImageReferenceCanBeID/Invalid_ID_(random_>64_chars) (0.00s)
> --- PASS:
> TestImageReferenceCanBeID/Invalid_ID_(image_URI;_whole_alphabet_+_slash)
> (0.00s)
> === RUN TestParseRelease
> === RUN TestParseRelease/Fedora;_f34;_valid
> === RUN TestParseRelease/Fedora;_33;_valid
> === RUN TestParseRelease/Fedora;_-3;_invalid;_less_than_0
> === RUN TestParseRelease/Fedora;_foo;_invalid;_non-numeric
> === RUN TestParseRelease/RHEL;_8.3;_valid
> === RUN TestParseRelease/RHEL;_8.42;_valid
> === RUN TestParseRelease/RHEL;_8;_invalid;_missing_point_release
> === RUN TestParseRelease/RHEL;_8.2foo;_invalid;_non-float
> === RUN TestParseRelease/RHEL;_-2.1;_invalid;_less_than_0
> --- PASS: TestParseRelease (0.00s)
> --- PASS: TestParseRelease/Fedora;_f34;_valid (0.00s)
> --- PASS: TestParseRelease/Fedora;_33;_valid (0.00s)
> --- PASS: TestParseRelease/Fedora;_-3;_invalid;_less_than_0 (0.00s)
> --- PASS: TestParseRelease/Fedora;_foo;_invalid;_non-numeric (0.00s)
> --- PASS: TestParseRelease/RHEL;_8.3;_valid (0.00s)
> --- PASS: TestParseRelease/RHEL;_8.42;_valid (0.00s)
> --- PASS: TestParseRelease/RHEL;_8;_invalid;_missing_point_release (0.00s)
> --- PASS: TestParseRelease/RHEL;_8.2foo;_invalid;_non-float (0.00s)
> --- PASS: TestParseRelease/RHEL;_-2.1;_invalid;_less_than_0 (0.00s)
> PASS
> ok pkg/utils 0.005s
> ? pkg/version [no test files]
> ==============================================================================
>
>
> Summary of Failures:
>
> 2/3 shellcheck profile.d FAIL 0.07s exit status 1
>
> Ok: 2
> Expected Fail: 0
> Fail: 1
> Unexpected Pass: 0
> Skipped: 0
> Timeout: 0
> dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8
> MESON_TESTTHREADS=8 meson test returned exit code 1
The full build log is available from:
http://qa-logs.debian.net/2022/08/13/golang-github-containers-toolbox_0.0.99.3-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220813;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220813&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.