Source: adequate
Version: 0.16.5
Severity: normal

Hello,

I tried to build adequate with gccgo in order to make it available to more
architectures but unfortunately the code isn't portable enough at the moment:

CGO_CFLAGS="-g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/home/glaubitz/adequate/adequate-0.16.5=. -Wformat 
-Werror=format-security"
CGO_CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2"
CGO_CXXFLAGS="-g -O2 
-ffile-prefix-map=/home/glaubitz/adequate/adequate-0.16.5=. -Wformat 
-Werror=format-security"
CGO_FFLAGS="-g -O2 -ffile-prefix-map=/home/glaubitz/adequate/adequate-0.16.5=."
CGO_LDFLAGS="-Wl,-z,relro"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -pthread -fmessage-length=0 
-fdebug-prefix-map=/tmp/go-build2873516682=/tmp/go-build 
-gno-record-gcc-switches -funwind-tables"
        cd _build && go install -trimpath -v -p 48 
salsa.debian.org/debian/adequate salsa.debian.org/debian/adequate/private
src/salsa.debian.org/debian/adequate/binfmt.go:7:2: cannot find package "cmp" 
in any of:
        /usr/src/cmp (from $GOROOT)
        /home/glaubitz/adequate/adequate-0.16.5/_build/src/cmp (from $GOPATH)
src/salsa.debian.org/debian/adequate/adequate.go:13:2: cannot find package 
"slices" in any of:
        /usr/src/slices (from $GOROOT)
        /home/glaubitz/adequate/adequate-0.16.5/_build/src/slices (from $GOPATH)
dh_auto_build: error: cd _build && go install -trimpath -v -p 48 
salsa.debian.org/debian/adequate salsa.debian.org/debian/adequate/private 
returned exit code 1
make: *** [debian/rules:8: binary-arch] Error 1
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

Not sure whether this is an issue that should be reported with gccgo upstream 
or here.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to