[pkg-go] Bug#984701: apply Multi-Arch interpreter workaround to golang-github-mattn-go-sqlite3-dev

Helmut Grohne helmut at subdivi.de
Sat Mar 6 18:15:54 GMT 2021


Package: golang-github-mattn-go-sqlite3-dev
Version: 1.6.0~ds1-2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability
Control: affects -1 + src:crowdsec src:docker.io src:gitaly src:go-cve-dictionary src:go-exploitdb src:golang-github-canonical-go-dqlite src:golang-github-cloudflare-cfssl src:golang-github-rubenv-sql-migrate src:gost src:goval-dictionary src:notary src:prometheus-sql-exporter src:terminews src:textql src:vuls

The affected packages cannot satisfy their cross Build-Depends, because
their transitive dependency on golang-github-mattn-go-sqlite3-dev is not
satisfiable. In general, Architecture: all packages can never satisfy
cross Build-Depends unless marked Multi-Arch: foreign or annotated
:native. In this case, the foreign marking would be fatal, because
golang-github-mattn-go-sqlite3-dev depends on and thereby exposes
libsqlite3-dev. The architecture constraint imposed on the
golang-github-mattn-go-sqlite3-dev by consumer packages must be
transferred to libsqlite3-dev. This is known as the Multi-Arch
interpreter problem. The only known workaround is to convert the package
to Architecture: any + Multi-Arch: same. Please consider applying the
attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru golang-github-mattn-go-sqlite3-1.6.0~ds1/debian/changelog golang-github-mattn-go-sqlite3-1.6.0~ds1/debian/changelog
--- golang-github-mattn-go-sqlite3-1.6.0~ds1/debian/changelog	2019-09-16 00:27:54.000000000 +0200
+++ golang-github-mattn-go-sqlite3-1.6.0~ds1/debian/changelog	2021-03-06 19:11:04.000000000 +0100
@@ -1,3 +1,12 @@
+golang-github-mattn-go-sqlite3 (1.6.0~ds1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Apply multiarch interpreter workaround for
+    golang-github-mattn-go-sqlite3-dev: Convert to Arch:any + M-A:same.
+    (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Sat, 06 Mar 2021 19:11:04 +0100
+
 golang-github-mattn-go-sqlite3 (1.6.0~ds1-2) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru golang-github-mattn-go-sqlite3-1.6.0~ds1/debian/control golang-github-mattn-go-sqlite3-1.6.0~ds1/debian/control
--- golang-github-mattn-go-sqlite3-1.6.0~ds1/debian/control	2019-09-16 00:27:54.000000000 +0200
+++ golang-github-mattn-go-sqlite3-1.6.0~ds1/debian/control	2021-03-06 19:11:02.000000000 +0100
@@ -18,7 +18,8 @@
 Testsuite: autopkgtest-pkg-go
 
 Package: golang-github-mattn-go-sqlite3-dev
-Architecture: all
+Architecture: any
+Multi-Arch: same
 Depends: golang-golang-x-net-dev,
          libsqlite3-dev,
          ${misc:Depends},


More information about the Pkg-go-maintainers mailing list