[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packaging usql - help to limit the scope of the build?



Thanks!

You patch works to get dh_golang pass and generate the package headers:

--- /home/otto/debian/go-team/debcraft-build-usql-1744309270.479b82f+import.0.19.19/control.log
2025-04-10 21:21:59.419959916 +0300
+++ /home/otto/debian/go-team/debcraft-build-usql-1744394161.882a13f+import.0.19.19/control.log
2025-04-11 20:56:37.169927720 +0300
@@ -3,8 +3,8 @@
 Version: 0.19.19-1
 Architecture: amd64
 Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
-Installed-Size: 17712
-Depends: libc6 (>= 2.34), libsqlite3-0 (>= 3.36.0)
+Installed-Size: 9
+Built-Using: golang-1.24 (= 1.24.2-1), golang-filippo-edwards25519 (=
1.0.0~rc1+git20210721-0.1), golang-github-alecthomas-chroma-v2 (=
2.14.0-1), golang-github-dlclark-regexp2 (= 1.11.0+ds1-1),
golang-github-go-sql-driver-mysql (= 1.9.0-1), golang-github-lib-pq (=
1.10.9-2), golang-github-mattn-go-runewidth (= 0.0.16-1),
golang-github-mattn-go-sqlite3 (= 1.14.27~ds1-1),
golang-github-rivo-uniseg (= 0.4.7-1), golang-github-xo-terminfo (=
0.0~git20220910.abceb7e-1), golang-github-ziutek-mymysql (=
1.5.4+git20170206.23.0582bcf-2), golang-golang-x-exp (=
0.0~git20231006.7918f67-2), golang-golang-x-sys (= 0.22.0-1),
golang-golang-x-term (= 0.22.0-1), golang-golang-x-text (= 0.22.0-1)
 Section: utils
 Priority: optional
 Homepage: https://github.com/xo/usql

..but unfortunately it left the main usql binary out of the package:

--- /home/otto/debian/go-team/debcraft-build-usql-1744309270.479b82f+import.0.19.19/control.log
2025-04-10 21:21:59.419959916 +0300
+++ /home/otto/debian/go-team/debcraft-build-usql-1744394161.882a13f+import.0.19.19/control.log
2025-04-11 20:56:37.169927720 +0300
@@ -3,8 +3,8 @@
 Version: 0.19.19-1
 Architecture: amd64
 Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
-Installed-Size: 17712
-Depends: libc6 (>= 2.34), libsqlite3-0 (>= 3.36.0)
+Installed-Size: 9
+Built-Using: golang-1.24 (= 1.24.2-1), golang-filippo-edwards25519 (=
1.0.0~rc1+git20210721-0.1), golang-github-alecthomas-chroma-v2 (=
2.14.0-1), golang-github-dlclark-regexp2 (= 1.11.0+ds1-1),
golang-github-go-sql-driver-mysql (= 1.9.0-1), golang-github-lib-pq (=
1.10.9-2), golang-github-mattn-go-runewidth (= 0.0.16-1),
golang-github-mattn-go-sqlite3 (= 1.14.27~ds1-1),
golang-github-rivo-uniseg (= 0.4.7-1), golang-github-xo-terminfo (=
0.0~git20220910.abceb7e-1), golang-github-ziutek-mymysql (=
1.5.4+git20170206.23.0582bcf-2), golang-golang-x-exp (=
0.0~git20231006.7918f67-2), golang-golang-x-sys (= 0.22.0-1),
golang-golang-x-term (= 0.22.0-1), golang-golang-x-text (= 0.22.0-1)
 Section: utils
 Priority: optional
 Homepage: https://github.com/xo/usql

(I use Debcraft for builds to I get automatic logs of build artifacts
to be able to compare before and after easily, which I do graphicaly
in meld).

I will continue to play around with the DH_GOLANG_BUILDPKG.


Reply to: