Package: git-buildpackage
Version: 0.9.25
Severity: normal
Control: affects -1 src:rclone
Control: block 1001261 by -1
I'm trying to update the rclone package, using gbp import-orig in the
"usual" way, with uscan, pristine-tar and importing into the
experimental branch.
The import is failing, apparently due to using a git commit in a
filename during the pristine-tar step.
$ git clone g...@salsa.debian.org:go-team/packages/rclone.git
$ cd rclone
$ git checkout upstream; git checkout pristine-tar; git checkout experimental
$ git branch
* experimental
master
pristine-tar
upstream
$ uscan --report
uscan: Newest version of rclone on remote site is 1.58.0, local version is 1.53.3
uscan: => Newer package available from:
=>
https://github.com/rclone/rclone/archive/refs/tags/v1.58.0.tar.gz
$ gbp import-orig --verbose --uscan --pristine-tar --debian-branch=experimental
gbp:debug: ['git', 'rev-parse', '--show-cdup']
gbp:debug: ['git', 'rev-parse', '--is-bare-repository']
gbp:debug: ['git', 'rev-parse', '--git-dir']
gbp:debug: ['git', 'for-each-ref', '--format=%(refname:short)', 'refs/heads/']
gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/upstream']
gbp:debug: ['git', 'status', '--porcelain']
gbp:info: Launching uscan...
gbp:info: Using uscan downloaded tarball ../rclone_1.58.0.orig.tar.gz
What is the upstream version? [1.58.0]
gbp:debug: ['git', 'tag', '-l', 'upstream/1.58.0']
gbp:debug: tar ['-C', '../tmpkiz0ywn3', '-a', '-xf', '../rclone_1.58.0.orig.tar.gz'] []
gbp:debug: Unpacked '../rclone_1.58.0.orig.tar.gz' to '../tmpkiz0ywn3/rclone-1.58.0'
gbp:info: <DebianUpstreamSource path='../rclone_1.58.0.orig.tar.gz' signaturefile=None>
gbp:info: Importing '../rclone_1.58.0.orig.tar.gz' to branch 'upstream'...
gbp:info: Source package is rclone
gbp:info: Upstream version is 1.58.0
gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/upstream']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'upstream']
gbp:debug: ['git', 'add', '-f', '.']
gbp:debug: ['git', 'write-tree']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'upstream']
gbp:debug: ['git', 'commit-tree', '260bd813325c0b30022ab31e09fc3d9ab570e072', '-p', '4d715ab7de2dd24d802fe89bd79048ba674a25ea']
gbp:debug: ['git', 'update-ref', '-m', 'gbp: New upstream version 1.58.0', 'refs/heads/upstream', '70bb7aad80b8c50a88d59be119fbdc5c0f72ad3c', '4d715ab7de2dd24d802fe89bd79048ba674a25ea']
gbp:debug: ['git', 'show-ref', '--verify', 'refs/heads/pristine-tar']
gbp:debug: ['git', 'rev-parse', '--quiet', '--verify', 'pristine-tar']
gbp:debug: ['git', 'ls-tree', '-z', 'upstream', '--']
gbp:debug: ['git', 'mktree', '-z']
gbp:debug: pristine-tar [] ['commit', '../rclone_1.58.0.orig.tar.gz', '260bd813325c0b30022ab31e09fc3d9ab570e072']
gbp:error: Import of ../rclone_1.58.0.orig.tar.gz failed: Couldn't commit to 'pristine-tar' with upstream '260bd813325c0b30022ab31e09fc3d9ab570e072': mkdir /tmp/pristine-tar.iXqSpNTndf/workdir/rclone-1.58.0/cmd/bisync/testdata/test_extended_char_paths/golden/normal-sync._testdir_path1_\346\270\254\350\251\246_\320\240\321\203\321\201\321\201\320\272\320\270\320\271_____\304\233_\303\241\303\261.._testdir_path2_\346\270\254\350\251\246_\320\240\321\203\321\201\321\201\320\272\320\270\320\271_____\304\233_\303\241\303\261.copy1to2.que: File name too long at /usr/bin/pristine-tar line 451.
gbp:error: Error detected, Will roll back changes.
gbp:info: Rolling back branch upstream by resetting it to 4d715ab7de2dd24d802fe89bd79048ba674a25ea
gbp:debug: ['git', 'update-ref', '-m', 'gbp import-orig: failure rollback of upstream', 'refs/heads/upstream', '4d715ab7de2dd24d802fe89bd79048ba674a25ea']
gbp:info: Rolling back branch pristine-tar by resetting it to f92427a73c1a897f36b08dbf40a402c144d75b73
gbp:debug: ['git', 'update-ref', '-m', 'gbp import-orig: failure rollback of pristine-tar', 'refs/heads/pristine-tar', 'f92427a73c1a897f36b08dbf40a402c144d75b73']
gbp:error: Rolled back changes after import error.
gbp:debug: rm ['-rf', '../tmpkiz0ywn3'] []
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.16.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages git-buildpackage depends on:
ii devscripts 2.22.1
ii git 1:2.35.2-1
ii man-db 2.10.2-1
ii python3 3.10.4-1
ii python3-dateutil 2.8.1-6
ii python3-pkg-resources 59.6.0-1.2
ii sensible-utils 0.0.17
Versions of packages git-buildpackage recommends:
ii cowbuilder 0.89
ii pbuilder 0.231
ii pristine-tar 1.49
ii python3-requests 2.27.1+dfsg-1
Versions of packages git-buildpackage suggests:
pn python3-notify2 <none>
ii sudo 1.9.10-3
ii unzip 6.0-26
-- no debconf information