[pkg-go] Bug#911695: golang-github-abh-geoip-dev FTBFS: rm: cannot remove '/<<PKGBUILDDIR>>/debian/golang-github-abh-geoip-dev/usr/share/gocode/src/github.com/abh/geoip/test-db': No such file or directory

Helmut Grohne helmut at subdivi.de
Tue Oct 23 16:16:11 BST 2018


Source: golang-github-abh-geoip-dev
Version: 0.0~git20150611-3
Severity: serious
Tags: ftbfs

golang-github-abh-geoip-dev fails to build from source in unstable for
multiple architectures, e.g. amd64:

https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/golang-github-abh-geoip-dev_0.0~git20150611-3.rbuild.log.gz

|  fakeroot debian/rules binary
| dh binary --buildsystem=golang --with=golang
|    dh_testroot -O--buildsystem=golang
|    dh_prep -O--buildsystem=golang
|    dh_installdirs -O--buildsystem=golang
|    debian/rules override_dh_auto_install
| make[1]: Entering directory '/build/1st/golang-github-abh-geoip-dev-0.0~git20150611'
| dh_auto_install -O--buildsystem=golang
|  cd obj-x86_64-linux-gnu && mkdir -p /build/1st/golang-github-abh-geoip-dev-0.0\~git20150611/debian/golang-github-abh-geoip-dev/usr
|  cd obj-x86_64-linux-gnu && cp -r bin /build/1st/golang-github-abh-geoip-dev-0.0\~git20150611/debian/golang-github-abh-geoip-dev/usr
| # remove the demo binary
| rm -r /build/1st/golang-github-abh-geoip-dev-0.0~git20150611/debian/golang-github-abh-geoip-dev/usr/bin
| # remove the demo sources
| rm -r /build/1st/golang-github-abh-geoip-dev-0.0~git20150611/debian/golang-github-abh-geoip-dev/usr/share/gocode/src/github.com/abh/geoip/ex
| # remove the broken test-db symlink
| rm /build/1st/golang-github-abh-geoip-dev-0.0~git20150611/debian/golang-github-abh-geoip-dev/usr/share/gocode/src/github.com/abh/geoip/test-db
| rm: cannot remove '/build/1st/golang-github-abh-geoip-dev-0.0~git20150611/debian/golang-github-abh-geoip-dev/usr/share/gocode/src/github.com/abh/geoip/test-db': No such file or directory
| make[1]: *** [debian/rules:30: override_dh_auto_install] Error 1
| make[1]: Leaving directory '/build/1st/golang-github-abh-geoip-dev-0.0~git20150611'
| make: *** [debian/rules:17: binary] Error 2
| dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

Helmut



More information about the Pkg-go-maintainers mailing list