Package: dh-make-golang Version: 0.6.0-2+b5 Severity: normal Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** Attempting to use dh-make-golang to create a package from a release on a non-supported hosting provider. In this case, the package was already in Debian, but I don't think that is required to trigger this behavior. This repo was third-party hosted (not GitHub/Gitlab) with release tags. I would like to see a better error message or directions to the user to download/create the appropriate orig tarball. If the package is already in Debian, maybe it makes sense to download it, but I don't know why they would need to use make in that case. Here is the reproducible failure for this bug reports: $ dh-make-golang make -type library -upstream_git_history git.sr.ht/~rjarry/go-opt 2024/02/24 08:54:22 Starting "dh-make-golang v0.6.0 linux/amd64" 2024/02/24 08:54:28 Downloading "git.sr.ht/~rjarry/go-opt/..." 2024/02/24 08:54:35 Determining upstream version number 2024/02/24 08:54:35 Found latest tag "v1.4.0" 2024/02/24 08:54:35 Latest tag "v1.4.0" matches master 2024/02/24 08:54:35 Package version is "1.4.0" 2024/02/24 08:54:35 Determining dependencies 2024/02/24 08:54:35 INFO: Hoster does not provide release tarball 2024/02/24 08:54:49 WARNING: A package called "golang-sourcehut-rjarry-go-opt-dev" is already in Debian! See https://tracker.debian.org/pkg/golang-sourcehut-rjarry-go-opt-dev 2024/02/24 08:54:49 Moving tempfile to "golang-sourcehut-rjarry-go-opt_1.4.0.orig.tar.gz" 2024/02/24 08:54:49 Adding remote "origin" with URL "g...@salsa.debian.org:go-team/packages/golang-sourcehut-rjarry-go-opt.git" 2024/02/24 08:54:49 Adding remote "sourcehut" with URL "https://git.sr.ht/~rjarry/go-opt" 2024/02/24 08:54:50 Running "git fetch sourcehut" remote: Enumerating objects: 102, done. remote: Counting objects: 100% (4/4), done. remote: Compressing objects: 100% (4/4), done. remote: Total 102 (delta 0), reused 4 (delta 0), pack-reused 98 Receiving objects: 100% (102/102), 32.06 KiB | 10.69 MiB/s, done. Resolving deltas: 100% (59/59), done. From https://git.sr.ht/~rjarry/go-opt * [new branch] main -> sourcehut/main * [new tag] v1.4.0 -> v1.4.0 * [new tag] v1.0.0 -> v1.0.0 * [new tag] v1.1.0 -> v1.1.0 * [new tag] v1.2.0 -> v1.2.0 * [new tag] v1.3.0 -> v1.3.0 tar: This does not look like a tar archive gzip: stdin: unexpected end of file tar: Child returned status 1 tar: Error is not recoverable: exiting now gbp:error: Couldn't unpack '/srv/build/golang-sourcehut-rjarry-go-opt_1.4.0.orig.tar.gz': it exited with 2 2024/02/24 08:54:56 Could not create git repository: import-orig: exit status 1 -- System Information: Debian Release: trixie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 6.5.0-21-generic (SMP w/12 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: unable to detect Versions of packages dh-make-golang depends on: ii git 1:2.43.0-1 ii git-buildpackage 0.9.33 ii golang-any 2:1.21~3 ii libc6 2.37-15 ii pristine-tar 1.50 Versions of packages dh-make-golang recommends: ii exim4-daemon-light [mail-transport-agent] 4.97-5 ii golang-golang-x-tools 1:0.17.0+ds-1 dh-make-golang suggests no packages. -- no debconf information -- Loren M. Lang lor...@north-winds.org http://www.north-winds.org/ Public Key: http://www.north-winds.org/lorenl_pubkey.asc Fingerprint: 7896 E099 9FC7 9F6C E0ED E103 222D F356 A57A 98FA
signature.asc
Description: PGP signature