Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make for golang.org package fails "Could not create git repository: import-orig: exit status 1" #190

Closed
hickford opened this issue Dec 18, 2022 · 2 comments

Comments

@hickford
Copy link

dh-make-golang make golang.org/x/oauth2 fails.

It looks like it tries to extract a non-existent tar archive.

2022/12/18 04:34:50 Starting "dh-make-golang v0.6.0 linux/amd64"
2022/12/18 04:34:50 Downloading "golang.org/x/oauth2/..."
2022/12/18 04:34:51 Determining upstream version number
2022/12/18 04:34:51 Found latest tag "v0.3.0"
2022/12/18 04:34:51 Latest tag "v0.3.0" matches master
2022/12/18 04:34:51 Package version is "0.3.0"
2022/12/18 04:34:51 Determining dependencies
2022/12/18 04:34:53 INFO: Hoster does not provide release tarball
2022/12/18 04:34:53 WARNING: A package called "golang-golang-x-oauth2-google-dev" is already in Debian! See https://tracker.debian.org/pkg/golang-golang-x-oauth2-google-dev
2022/12/18 04:34:53 Moving tempfile to "golang-golang-x-oauth2_0.3.0.orig.tar.gz"
2022/12/18 04:34:53 Adding remote "origin" with URL "git@salsa.debian.org:go-team/packages/golang-golang-x-oauth2.git"
2022/12/18 04:34:53 Adding remote "golang" with URL "https://go.googlesource.com/oauth2"
2022/12/18 04:34:53 Running "git fetch golang"
remote: Total 2166 (delta 835), reused 2166 (delta 835)
Receiving objects: 100% (2166/2166), 1.32 MiB | 3.33 MiB/s, done.
Resolving deltas: 100% (835/835), done.
From https://go.googlesource.com/oauth2
 * [new branch]      master     -> golang/master
 * [new tag]         v0.3.0     -> v0.3.0
 * [new tag]         v0.1.0     -> v0.1.0
 * [new tag]         v0.2.0     -> v0.2.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 '/home/matt/golang-golang-x-oauth2_0.3.0.orig.tar.gz': it exited with 2
2022/12/18 04:34:54 Could not create git repository: import-orig: exit status 1
@anthonyfok anthonyfok added this to the v0.7.0 milestone Mar 22, 2024
@anthonyfok
Copy link
Member

Duplicate of #180

@anthonyfok anthonyfok marked this as a duplicate of #180 Mar 22, 2024
@anthonyfok
Copy link
Member

Fixed in b851343

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants