[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:

Martina Ferrari tina at tina.pm
Wed Oct 28 12:27:08 GMT 2020


reassign 973100 golang-github-nicksnyder-go-i18n-dev
retitle 973100 Breaks API without package name change
thanks

This bug is actually on the golang-github-nicksnyder-go-i18n-dev
package. It seems the last upload brought a new API version, which
changes import paths, and probably other API breaks. This should have
been a new binary package and not an upgrade!

On 27/10/2020 17:10, Lucas Nussbaum wrote:
> 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.
> 

-- 
Martina Ferrari (Tina)



More information about the Pkg-go-maintainers mailing list