I've noticed that the autopkgtests for this packages are failing with: autopkgtest [23:08:46]: test dh-golang-autopkgtest: /usr/bin/dh_golang_autopkgtest autopkgtest [23:08:46]: test dh-golang-autopkgtest: [----------------------- [info] Testing thrift... [error] Source code not found, even with dev packages installed (golang-thrift-dev) autopkgtest [23:08:47]: test dh-golang-autopkgtest: -----------------------] autopkgtest [23:08:48]: test dh-golang-autopkgtest: - - - - - - - - - - results - - - - - - - - - - dh-golang-autopkgtest FAIL non-zero exit status 2 autopkgtest [23:08:48]: @@@@@@@@@@@@@@@@@@@@ summary dh-golang-autopkgtest FAIL non-zero exit status 2 I was able to fix this locally by just dropping DH_GOPKG in debian/rules, as it seems to conflict with what is expected by XS-Go-Import-Path. --- debian/rules | 2 -- 1 file changed, 2 deletions(-) diff --git a/debian/rules b/debian/rules index e3902452..7d4f8032 100755 --- a/debian/rules +++ b/debian/rules @@ -19,8 +19,6 @@ endif # contain that, let's turn it off for now. #export GO111MODULE=off -# for Go install -export DH_GOPKG=thrift export XDG_CACHE_HOME=$(CURDIR)/go-cache/ # for Ruby install---