Draft: Initial packaging (Closes: #890541)
Worklog:
# dh-make-golang make -dep14 -pristine-tar -type program -upstream_git_history -wrap-and-sort ast github.com/ethereum/go-ethereum
2025/08/21 02:29:32 Starting "dh-make-golang v0.8.0 linux/amd64"
2025/08/21 02:29:32 Downloading "github.com/ethereum/go-ethereum/..."
2025/08/21 02:30:14 Determining upstream version number
2025/08/21 02:30:14 Found latest tag "v1.16.2"
2025/08/21 02:30:14 INFO: master is ahead of "v1.16.2" by 59 commits
2025/08/21 02:30:14 Package version is "1.16.2"
2025/08/21 02:30:14 findMains: Running /usr/bin/go list -e -f {{.ImportPath}} {{.Name}} github.com/ethereum/go-ethereum/... in /tmp/dh-make-golang1019409693/src/github.com/ethereum/go-ethereum
2025/08/21 02:30:15 Determining dependencies
2025/08/21 02:30:20 Downloading https://github.com/ethereum/go-ethereum/archive/v1.16.2.tar.gz
2025/08/21 02:30:43 Moving tempfile to "go-ethereum_1.16.2.orig.tar.gz"
2025/08/21 02:30:43 Adding remote "origin" with URL "git@salsa.debian.org:go-team/packages/go-ethereum.git"
2025/08/21 02:30:43 Adding remote "upstreamvcs" with URL "https://github.com/ethereum/go-ethereum"
2025/08/21 02:30:43 Running "git fetch --tags upstreamvcs"
remote: Enumerating objects: 142543, done.
remote: Counting objects: 100% (112/112), done.
remote: Compressing objects: 100% (97/97), done.
remote: Total 142543 (delta 55), reused 19 (delta 15), pack-reused 142431 (from 4)
Receiving objects: 100% (142543/142543), 223.18 MiB | 5.90 MiB/s, done.
Resolving deltas: 100% (89174/89174), done.
From https://github.com/ethereum/go-ethereum
* [new branch] abigen2 -> upstreamvcs/abigen2
* [new branch] berlinterop-devnet-2 -> upstreamvcs/berlinterop-devnet-2
* [new branch] buildbot-testing -> upstreamvcs/buildbot-testing
...
* [new branch] release/1.15 -> upstreamvcs/release/1.15
* [new branch] release/1.16 -> upstreamvcs/release/1.16
* [new branch] release/1.2.1 -> upstreamvcs/release/1.2.1
...
* [new branch] release/1.7 -> upstreamvcs/release/1.7
* [new branch] release/1.8 -> upstreamvcs/release/1.8
* [new branch] release/1.9 -> upstreamvcs/release/1.9
* [new branch] s1na-patch-1 -> upstreamvcs/s1na-patch-1
* [new branch] website -> upstreamvcs/website
* [new tag] 0.2.2 -> 0.2.2
* [new tag] 0.3.0 -> 0.3.0
* [new tag] 0.3.1 -> 0.3.1
* [new tag] 0.5.13 -> 0.5.13
* [new tag] 0.5.14 -> 0.5.14
...
* [new tag] poc5-rc8 -> poc5-rc8
* [new tag] poc5-rc9 -> poc5-rc9
* [new tag] v0.4.1 -> v0.4.1
* [new tag] v0.4.2 -> v0.4.2
...
* [new tag] v1.15.4 -> v1.15.4
* [new tag] v1.15.5 -> v1.15.5
* [new tag] v1.15.6 -> v1.15.6
* [new tag] v1.15.7 -> v1.15.7
* [new tag] v1.15.8 -> v1.15.8
* [new tag] v1.15.9 -> v1.15.9
* [new tag] v1.16.0 -> v1.16.0
* [new tag] v1.16.1 -> v1.16.1
* [new tag] v1.16.2 -> v1.16.2
* [new tag] v1.2.2 -> v1.2.2
* [new tag] v1.2.3 -> v1.2.3
...
2025/08/21 02:32:23 Build-Dependency "github.com/decred/dcrd" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/crate-crypto/go-eth-kzg" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/holiman/billy" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/cockroachdb/pebble" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/status-im/keycard-go" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/cespare/cp" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/cloudflare/cloudflare-go" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/consensys/gnark-crypto" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/holiman/bloomfilter" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/ethereum/go-verkle" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/crate-crypto/go-ipa" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/ferranbt/fastssz" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/protolambda/ztyp" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/protolambda/zrnt" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/influxdata/influxdb-client-go" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/protolambda/bls12-381-util" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/karalabe/hid" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/gballet/go-libpcsclite" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Build-Dependency "github.com/supranational/blst" is not yet available in Debian, or has not yet been converted to use XS-Go-Import-Path in debian/control
2025/08/21 02:32:23 Could not determine description for "github.com/ethereum/go-ethereum": json: cannot unmarshal array into Go struct field Repository.custom_properties of type string
2025/08/21 02:32:23 Could not determine copyright for "github.com/ethereum/go-ethereum": get repo: json: cannot unmarshal array into Go struct field Repository.custom_properties of type string
2025/08/21 02:32:23 Setting debian/watch to track release tarball
2025/08/21 02:32:23 Could not determine author for "github.com/ethereum/go-ethereum": get repo: json: cannot unmarshal array into Go struct field Repository.custom_properties of type string
2025/08/21 02:32:23 Could not determine description for "github.com/ethereum/go-ethereum": json: cannot unmarshal array into Go struct field Repository.custom_properties of type string
2025/08/21 02:32:23 Done!
Packaging successfully created in /tmp/test/go-ethereum
Source: go-ethereum
Binary: go-ethereum
# dh-make-golang estimate github.com/ethereum/go-ethereum
2025/08/21 02:56:02 github.com/Azure/azure-sdk-for-go/sdk/storage/azblob is packaged as github.com/Azure/azure-sdk-for-go in Debian (golang-github-azure-azure-sdk-for-go)
2025/08/21 02:56:02 github.com/aws/aws-sdk-go-v2/config is packaged as github.com/aws/aws-sdk-go-v2 in Debian (golang-github-aws-aws-sdk-go-v2)
2025/08/21 02:56:02 github.com/aws/aws-sdk-go-v2/credentials is packaged as github.com/aws/aws-sdk-go-v2 in Debian (golang-github-aws-aws-sdk-go-v2)
2025/08/21 02:56:02 github.com/aws/aws-sdk-go-v2/service/route53 is packaged as github.com/aws/aws-sdk-go-v2 in Debian (golang-github-aws-aws-sdk-go-v2)
2025/08/21 02:56:02 github.com/cespare/xxhash/v2 has no version string in Debian (golang-github-cespare-xxhash)
2025/08/21 02:56:02 github.com/deckarep/golang-set/v2 has no version string in Debian (golang-github-deckarep-golang-set)
2025/08/21 02:56:02 github.com/golang-jwt/jwt/v4 has no version string in Debian (golang-github-golang-jwt-jwt)
2025/08/21 02:56:02 github.com/go-chi/chi/v5 has no version string in Debian (golang-github-go-chi-chi)
2025/08/21 02:56:02 github.com/labstack/echo/v4 has no version string in Debian (golang-github-labstack-echo)
2025/08/21 02:56:02 github.com/pion/stun/v2 has no version string in Debian (golang-github-pion-stun)
Killed
(out of memory)
# dh-make-golang estimate github.com/ethereum/go-ethereum
go get: 0.02 KiBgo: downloading github.com/ethereum/go-ethereum v1.16.2
go get: 0.02 KiBgo: downloading golang.org/x/crypto v0.36.0
go: downloading github.com/karalabe/hid v1.0.1-0.20240306101548-573246063e52
go: downloading google.golang.org/protobuf v1.34.2
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/protolambda/zrnt v0.34.1
...
go: added google.golang.org/protobuf v1.34.2
go: added gopkg.in/natefinch/lumberjack.v2 v2.2.1
go: added gopkg.in/yaml.v2 v2.4.0
go: added gopkg.in/yaml.v3 v3.0.1
2025/08/21 03:03:13 github.com/Azure/azure-sdk-for-go/sdk/storage/azblob is packaged as github.com/Azure/azure-sdk-for-go in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/config is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/credentials is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/service/route53 is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/Azure/azure-sdk-for-go/sdk/azcore is packaged as github.com/Azure/azure-sdk-for-go in Debian
2025/08/21 03:03:13 github.com/Azure/azure-sdk-for-go/sdk/internal is packaged as github.com/Azure/azure-sdk-for-go in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/feature/ec2/imds is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/internal/configsources is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/internal/ini is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/service/internal/presigned-url is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/service/sso is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/service/ssooidc is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 github.com/aws/aws-sdk-go-v2/service/sts is packaged as github.com/aws/aws-sdk-go-v2 in Debian
2025/08/21 03:03:13 Bringing github.com/ethereum/go-ethereum to Debian requires packaging the following Go modules:
github.com/ethereum/go-ethereum
github.com/cespare/cp
github.com/cloudflare/cloudflare-go
github.com/cockroachdb/pebble
github.com/cespare/xxhash/v2 (github.com/cespare/xxhash in Debian)
github.com/cockroachdb/errors
github.com/cockroachdb/logtags
github.com/cockroachdb/redact
github.com/cockroachdb/fifo
github.com/cockroachdb/redact (2)
github.com/cockroachdb/tokenbucket
github.com/ghemawat/stream
golang.org/x/perf
github.com/aclements/go-moremath
github.com/cockroachdb/logtags (2)
github.com/consensys/gnark-crypto
github.com/consensys/bavard
github.com/mmcloughlin/addchain
rsc.io/tmplfunc
github.com/crate-crypto/go-eth-kzg
github.com/consensys/gnark-crypto (2)
github.com/consensys/bavard (2)
github.com/mmcloughlin/addchain (2)
rsc.io/tmplfunc (2)
github.com/crate-crypto/go-ipa
github.com/consensys/gnark-crypto (3)
github.com/consensys/bavard (3)
github.com/mmcloughlin/addchain (3)
rsc.io/tmplfunc (3)
github.com/deckarep/golang-set/v2 (github.com/deckarep/golang-set in Debian)
github.com/decred/dcrd/dcrec/secp256k1/v4
github.com/decred/dcrd/crypto/blake256
github.com/ethereum/c-kzg-4844/v2
github.com/supranational/blst
github.com/ethereum/go-verkle
github.com/crate-crypto/go-ipa (2)
github.com/consensys/bavard (4)
github.com/consensys/gnark-crypto (4)
github.com/mmcloughlin/addchain (4)
rsc.io/tmplfunc (4)
github.com/ferranbt/fastssz
github.com/emicklei/dot
github.com/prysmaticlabs/gohashtree
github.com/fjl/gencodec
github.com/garslo/gogen
github.com/gballet/go-libpcsclite
github.com/golang-jwt/jwt/v4 (github.com/golang-jwt/jwt in Debian)
github.com/holiman/billy
github.com/holiman/bloomfilter/v2
github.com/influxdata/influxdb-client-go/v2
github.com/deepmap/oapi-codegen
github.com/cyberdelia/templates
github.com/go-chi/chi/v5 (github.com/go-chi/chi in Debian)
github.com/golangci/lint-1
github.com/labstack/echo/v4 (github.com/labstack/echo in Debian)
github.com/matryer/moq
github.com/karalabe/hid
github.com/pion/stun/v2 (github.com/pion/stun in Debian)
github.com/pion/transport/v3 (github.com/pion/transport in Debian)
github.com/protolambda/bls12-381-util
github.com/kilic/bls12-381
github.com/protolambda/zrnt
github.com/kilic/bls12-381 (2)
github.com/protolambda/bls12-381-util (2)
github.com/kilic/bls12-381 (3)
github.com/protolambda/messagediff
github.com/protolambda/ztyp
github.com/protolambda/ztyp (2)
github.com/status-im/keycard-go
github.com/ethereum/go-ethereum (2)
github.com/btcsuite/btcd/btcec/v2 (github.com/btcsuite/btcd/btcec in Debian)
github.com/decred/dcrd/dcrec/secp256k1/v4 (2)
github.com/decred/dcrd/crypto/blake256 (2)
github.com/supranational/blst (2)
github.com/StackExchange/wmi
github.com/go-ole/go-ole
github.com/cespare/xxhash/v2 (2)
github.com/cockroachdb/errors (2)
github.com/cockroachdb/logtags (3)
github.com/cockroachdb/redact (3)
github.com/cockroachdb/fifo (2)
github.com/cockroachdb/logtags (4)
github.com/cockroachdb/redact (4)
github.com/cockroachdb/tokenbucket (2)
github.com/deepmap/oapi-codegen (2)
github.com/cyberdelia/templates (2)
github.com/go-chi/chi/v5 (2)
github.com/golangci/lint-1 (2)
github.com/labstack/echo/v4 (2)
github.com/matryer/moq (2)
github.com/emicklei/dot (2)
github.com/garslo/gogen (2)
github.com/go-ole/go-ole (2)
github.com/kilic/bls12-381 (4)
github.com/pion/transport/v2 (github.com/pion/transport in Debian)
github.com/pion/transport/v3 (2)
github.com/cespare/xxhash v2
github.com/deckarep/golang-set v2
github.com/golang-jwt/jwt v4
github.com/go-chi/chi v5
github.com/labstack/echo v4
github.com/pion/stun v2
github.com/pion/transport v3
github.com/btcsuite/btcd/btcec v2
github.com/pion/transport v2
-> dh-make-golang search ->
golang-github-cespare-xxhash-dev: github.com/cespare/xxhash
golang-github-deckarep-golang-set-dev: github.com/deckarep/golang-set
golang-github-golang-jwt-jwt-v5-dev: github.com/golang-jwt/jwt/v5
golang-github-golang-jwt-jwt-dev: github.com/golang-jwt/jwt
golang-github-go-chi-chi-dev: github.com/go-chi/chi
golang-github-labstack-echo.v3-dev: github.com/labstack/echo.v3
golang-github-labstack-echo.v2-dev: github.com/labstack/echo.v2
golang-github-labstack-echo-dev: github.com/labstack/echo
golang-github-pion-stun-dev: github.com/pion/stun
golang-github-pion-transport-dev: github.com/pion/transport
golang-github-btcsuite-btcd-btcec-dev: github.com/btcsuite/btcd/btcec
golang-github-pion-transport-dev: github.com/pion/transport