[pkg-go] Bug#1097131: gocryptfs: FTBFS on i386: dh_auto_test: error: cd _build && go test -vet=off -v -p 8 github.com/rfjakob/gocryptfs [...]

Lucas Nussbaum lucas at debian.org
Mon Feb 17 17:18:33 GMT 2025


Source: gocryptfs
Version: 2.5.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-2025-02-15 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, this package failed to build
on i386.

This package currently has binary packages on i386, so this is a regression.

Relevant part (hopefully):
> === RUN   TestTranslate
> --- PASS: TestTranslate (0.00s)
> === RUN   TestTranslateStress
> InoMap: opening spillMap for inomap.QIno{namespaceData:inomap.namespaceData{Dev:0x3039, Tag:0x0}, Ino:0x1000000000000}
> panic: unaligned 64-bit atomic operation
> 
> goroutine 10 [running]:
> internal/runtime/atomic.panicUnaligned()
> 	/usr/lib/go-1.24/src/internal/runtime/atomic/unaligned.go:8 +0x2d
> internal/runtime/atomic.Xadd64(0x883ec94, 0x1)
> 	/usr/lib/go-1.24/src/internal/runtime/atomic/atomic_386.s:125 +0x11
> github.com/rfjakob/gocryptfs/internal/inomap.(*InoMap).NextSpillIno(0x883ec80)
> 	/build/reproducible-path/gocryptfs-2.5.1/_build/src/github.com/rfjakob/gocryptfs/internal/inomap/inomap.go:80 +0xb2
> github.com/rfjakob/gocryptfs/internal/inomap.(*InoMap).spill(0x883ec80, {{0x3039, 0x0}, 0x1000000000000})
> 	/build/reproducible-path/gocryptfs-2.5.1/_build/src/github.com/rfjakob/gocryptfs/internal/inomap/inomap.go:91 +0x9c
> github.com/rfjakob/gocryptfs/internal/inomap.(*InoMap).Translate(0x883ec80, {{0x3039, 0x0}, 0x1000000000000})
> 	/build/reproducible-path/gocryptfs-2.5.1/_build/src/github.com/rfjakob/gocryptfs/internal/inomap/inomap.go:103 +0x17b
> github.com/rfjakob/gocryptfs/internal/inomap.TestTranslateStress.func2()
> 	/build/reproducible-path/gocryptfs-2.5.1/_build/src/github.com/rfjakob/gocryptfs/internal/inomap/inomap_test.go:57 +0xad
> created by github.com/rfjakob/gocryptfs/internal/inomap.TestTranslateStress in goroutine 8
> 	/build/reproducible-path/gocryptfs-2.5.1/_build/src/github.com/rfjakob/gocryptfs/internal/inomap/inomap_test.go:51 +0x1ab
> FAIL	github.com/rfjakob/gocryptfs/internal/inomap	0.024s
> === RUN   TestIsLongName
> --- PASS: TestIsLongName (0.00s)

The full build log is available from:
http://qa-logs.debian.net/2025-02-15/gocryptfs_2.5.1-1_unstable-i386.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-2025-02-15;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-2025-02-15&fusertaguser=lucas@debian.org&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 mark 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.



More information about the Pkg-go-maintainers mailing list