#1150078 badger: FTBFS on ppc64el: spurious exit 1 in debian/rules after all tests pass

Package:
badger
Source:
badger
Description:
Fast key-value DB in Go.
Submitter:
Trupti Shirsat
Date:
2026-11-18 01:13:02 UTC
Severity:
normal
Tags:
#1150078#5
Date:
2026-10-05 16:22:53 UTC
From:
To:
Package: badger
Version: 4.8.0-2
Severity: serious
Tags: ftbfs patch
User: debian-powerpc@lists.debian.org
Usertags: ppc64el
X-Debbugs-Cc: debian-powerpc@lists.debian.org,
glaubitz@physik.fu-berlin.de,
pkg-go-maintainers@lists.alioth.debian.org, ah@debian.org

Dear Maintainer,

Your package badger 4.8.0-2 failed to build on ppc64el on the buildd
with below build log:

https://buildd.debian.org/status/fetch.php?pkg=badger&arch=ppc64el&ver=4.8.0-2&stamp=1787222603&raw=0

With below error:
--- PASS: TestAllocatorReuse (3.00s) PASS ok github.com/dgraph-io/badger/y 3.046s debian/rules execute_after_dh_auto_test make[1]: Entering directory '/build/reproducible-path/badger-4.8.0' # intermittent test failure? Failing explicitly. See #1078496 echo "Test failure on ppc64el, see https://bugs.debian.org/1078496" Test failure on ppc64el, see https://bugs.debian.org/1078496 exit 1 make[1]: *** [debian/rules:20: execute_after_dh_auto_test] Error 1 make[1]: Leaving directory '/build/reproducible-path/badger-4.8.0' make: *** [debian/rules:8: binary-arch] Error 2 dpkg-buildpackage: error: debian/rules binary-arch subprocess failed with exit status 2 The build fails only because exit 1 fires unconditionally after all the tests pass. It's because of workaround added for bug #1078496. See debian/rules contains a workaround added for #1078496: ifneq (,$(filter $(DEB_TARGET_ARCH), ppc64el)) ifeq (,$(filter $(DEB_BUILD_OPTIONS), nocheck)) execute_after_dh_auto_test: # intermittent test failure? Failing explicitly. See #1078496 echo "Test failure on ppc64el, see https://bugs.debian.org/1078496" exit 1 endif endif The underlying bug (#1078496) is fixed in Go >= 1.26.6. Debian sid ships Go 1.26.8. All tests pass on ppc64el LPAR. cd skl go test -v -count=10 -run TestConcurrentBasicBigValues === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.15s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.15s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.18s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.15s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.14s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.17s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.17s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.14s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.16s) === RUN TestConcurrentBasicBigValues --- PASS: TestConcurrentBasicBigValues (0.17s) PASS ok github.com/dgraph-io/badger/v4/skl 1.608s cd ../table go test -v -count=10 -run TestTableBigValues === RUN TestTableBigValues --- PASS: TestTableBigValues (0.68s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.67s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.55s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.70s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.74s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.68s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.57s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.56s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.58s) === RUN TestTableBigValues --- PASS: TestTableBigValues (0.59s) PASS ok github.com/dgraph-io/badger/v4/table 6.434s Fix: remove the workaround block from debian/rules (patch is attached). After this I will create MR for same on salsa for easy review. I have tested it on ppc64el system badger package builds successfully with generating files badger_4.8.0-2_ppc64el.deb, badger-dbgsym_4.8.0-2_ppc64el.deb and golang-github-dgraph-io-badger-dev_4.8.0-2_all.deb Regards, -- Trupti Shirsat trupti@linux.ibm.com
#1150078#8
Date:
2026-11-07 07:31:48 UTC
From:
To:
Hello,

Bug #1150078 in badger reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/go-team/packages/badger/-/commit/03993b6eb8f61373f22d7367495f5c292f77ed7f
------------------------------------------------------------------------
debian/rules: Remove ppc64el test workaround; #1078496 bug fixed in Go >= 1.26.6 (Closes: #1150078)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1150078

#1150078#15
Date:
2026-11-18 01:09:16 UTC
From:
To:
The fix was in 4.8.0-3, which was tagged but never uploaded. 4.8.0-4
carries it (no ppc64el workaround left in debian/rules) and built on
ppc64el: https://buildd.debian.org/status/package.php?p=badger
The bug stayed open because the -4 .changes only listed the -4 entry.