[pkg-go] Bug#973100: prometheus-postfix-exporter: FTBFS: src/github.com/alecthomas/kingpin/i18n_init.go:13:2: cannot find package "github.com/nicksnyder/go-i18n/i18n" in any of:

Lucas Nussbaum lucas at debian.org
Tue Oct 27 17:10:26 GMT 2020


Source: prometheus-postfix-exporter
Version: 0.2.0-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang --builddirectory=/<<PKGBUILDDIR>>/build
>    dh_update_autotools_config -O--buildsystem=golang -O--builddirectory=/<<PKGBUILDDIR>>/build
>    dh_autoreconf -O--buildsystem=golang -O--builddirectory=/<<PKGBUILDDIR>>/build
>    dh_auto_configure -O--buildsystem=golang -O--builddirectory=/<<PKGBUILDDIR>>/build
>    debian/rules override_dh_auto_build
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> 	cd build && go install -trimpath -v -p 4 github.com/kumina/postfix_exporter
> src/github.com/alecthomas/kingpin/i18n_init.go:13:2: cannot find package "github.com/nicksnyder/go-i18n/i18n" in any of:
> 	/usr/lib/go-1.15/src/github.com/nicksnyder/go-i18n/i18n (from $GOROOT)
> 	/<<PKGBUILDDIR>>/build/src/github.com/nicksnyder/go-i18n/i18n (from $GOPATH)
> dh_auto_build: error: cd build && go install -trimpath -v -p 4 github.com/kumina/postfix_exporter returned exit code 1
> make[1]: *** [debian/rules:11: override_dh_auto_build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/prometheus-postfix-exporter_0.2.0-2_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-go-maintainers mailing list