Package: src:rkt
Version: 1.30.0+dfsg-7
Severity: important

Hi!

I've been doing a full rebuild of the Debian archive, building all
source packages targeting armel and armhf using arm64 hardware. We are
planning in future to move all of our 32-bit armel/armhf builds to
using arm64 machines, so this rebuild is to identify packages that
might have problems with this configuration.

I've tried to build rkt for both armel and armhf on top of arm64, and
it's failing its build:

...
        functional tests enabled:               'no'
        incremental build:                      'no'
        features:                               '-TPM +SDJOURNAL'
        ACI arch:                               'arm64'
        go version:                             '1.10.7'
        go arch:                                'arm64'
/usr/bin/make -C _build/src/github.com/rkt/rkt manpages 
GOPATH="/<<PKGBUILDDIR>>"/_build/src2
make[2]: Entering directory '/<<PKGBUILDDIR>>/_build/src/github.com/rkt/rkt'
mkdir -p dist/manpages/
ls 
/<<PKGBUILDDIR>>/_build/src/github.com/rkt/rkt/build-rkt-1.30.0/gopath/src/github.com/rkt/rkt/rkt/*.go
 | \
        grep -vE '_test.go|main.go|_gen.go|_stub.go' | \
        GO15VENDOREXPERIMENT=1 GOOS="linux" GOARCH="arm64" CGO_ENABLED=1 
CC="gcc" CXX="g++" GOPATH="/<<PKGBUILDDIR>>/_build/src2" GOARCH=arm6
4 CC= xargs "go" run 
/<<PKGBUILDDIR>>/_build/src/github.com/rkt/rkt/build-rkt-1.30.0/gopath/src/github.com/rkt/rkt/rkt/manpages_gen.go
# runtime/cgo
In file included from _cgo_export.c:3:
cgo-gcc-export-header-prolog:25:14: error: size of array 
'_check_for_64_bit_pointer_matching_GoInt' is negative
make[2]: *** [rkt/rkt.mk:38: manpages] Error 123
make[2]: Leaving directory '/<<PKGBUILDDIR>>/_build/src/github.com/rkt/rkt'
make[1]: *** [debian/rules:50: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:17: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2018-12-29T19:43:49Z
...

The same problem shows up on both armel and armhf. It looks like it's
mis-detecting the target architecture. The same thing happened in the
official build of armhf on arm-arm-01, another arm64 machine
configured for building armhf:

  
https://buildd.debian.org/status/fetch.php?pkg=rkt&arch=armhf&ver=1.30.0%2Bdfsg-7&stamp=1537164539&raw=0

Full build logs online:

  
https://www.einval.com/debian/arm/rebuild-logs/armel/FAIL/rkt_1.30.0+dfsg-7_armel.log
  
https://www.einval.com/debian/arm/rebuild-logs/armhf/FAIL/rkt_1.30.0+dfsg-7_armhf.log

-- System Information:
Debian Release: 9.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to