Le mardi 07 juillet 2026 à 13:46 +0300, Peter Pentchev a écrit :
> On Mon, Jul 06, 2026 at 11:30:50PM +0200, Julien Puydt wrote:
> > Le samedi 04 juillet 2026 à 21:11 +0500, Andrey Rakhmatullin a
> > écrit :
> > > On Sat, Jul 04, 2026 at 06:09:24PM +0200, Julien Puydt wrote:
> > > > > > It doesn't happen in a chroot.
> > > > >
> > > > > I thought you said it does.
> > > >
> > > > I rechecked and it doesn't. I think I mixed up somewhere...
> > >
> > > Well then the problem is mot likely in /usr/local or something
> > > like
> > > that.
> >
> > Nothing in /usr/local...
> >
> > Is there a way to actually debug what goes sideways?
> >
> > I'm a bit desperate...
>
> Well, gbp import-orig does have a -v (verbose) option, and I am not
> in
> a position to test it right now, but it may be possible to get
> pristine-tar to also display verbose output if you set PRISTINE_TAR=-
> v
> in your environment, although I'm not sure if the actual subcommand
> that gbp-import-orig will pass to it will not override that.
>
> Otherwise, you could always try putting something like:
>
> #!/bin/sh
>
> exec /usr/bin/pristine-tar -v "$@"
>
> ...in ~/bin/pristine-tar and see if gbp-import-orig picks it up
> (after
> prepending it to the program search patch, of course).
>
> G'luck,
> Peter
On my box with the PRISTINE_TAR=--verbose trick:
jpuydt@efrim:~/Debian/math/eclib$ gbp import-orig --uscan
gbp:info: Launching uscan...
Newest version of eclib on remote site is 20260707, local version is
20250627
=> Newer package available from:
=>
https://github.com/JohnCremona/eclib/archive/refs/tags/20260707.tar.gz
Leaving ../eclib_20260707.orig.tar.gz where it is.
gbp:info: Using uscan downloaded tarball ../eclib_20260707.orig.tar.gz
What is the upstream version? [20260707]
gbp:info: Importing '../eclib_20260707.orig.tar.gz' to branch
'upstream'...
gbp:info: Source package is eclib
gbp:info: Upstream version is 20260707
gbp:error: Import of ../eclib_20260707.orig.tar.gz failed: Couldn't
commit to 'pristine-tar' with upstream
'53684f64c3ddb3a2ad14fc918fe7f2cfc5a766d7': pristine-tar: git archive -
-format=tar 53684f64c3ddb3a2ad14fc918fe7f2cfc5a766d7 | (cd
'/tmp/pristine-tar.DSr8HpadJL' && tar x)
pristine-tar: mkdir /tmp/pristine-tar.JippK57DpY/workdir
pristine-tar: mv /tmp/pristine-tar.DSr8HpadJL /tmp/pristine-
tar.JippK57DpY/workdir/eclib-20260707
pristine-tar: tar cf /tmp/pristine-tar.JippK57DpY/recreatetarball --
owner 0 --group 0 --numeric-owner -C /tmp/pristine-
tar.JippK57DpY/workdir --no-recursion --mode 0644 --null --files-from
/tmp/pristine-tar.JippK57DpY/nulledmanifest
pristine-tar: pristine-gz -v --no-debug --no-keep gendelta
../eclib_20260707.orig.tar.gz /tmp/pristine-tar.WM9tiji_lM/wrapper
pristine-gz: gzip -dc < ../eclib_20260707.orig.tar.gz > /tmp/pristine-
tar.gPbUsvxvaH/test
pristine-gz: zgz --gnu -n -F -T 0 -c < /tmp/pristine-
tar.gPbUsvxvaH/test > /tmp/pristine-tar.gPbUsvxvaH/test.gz
pristine-gz: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.gPbUsvxvaH/test.gz ../eclib_20260707.orig.tar.gz /tmp/pristine-
tar.gPbUsvxvaH/tmpdelta
pristine-gz: zgz --gnu -n --rsyncable -F -T 0 -c < /tmp/pristine-
tar.gPbUsvxvaH/test > /tmp/pristine-tar.gPbUsvxvaH/test.gz
pristine-gz: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.gPbUsvxvaH/test.gz ../eclib_20260707.orig.tar.gz /tmp/pristine-
tar.gPbUsvxvaH/tmpdelta
pristine-gz: zgz --gnu -n --new-rsyncable -F -T 0 -c < /tmp/pristine-
tar.gPbUsvxvaH/test > /tmp/pristine-tar.gPbUsvxvaH/test.gz
pristine-gz: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.gPbUsvxvaH/test.gz ../eclib_20260707.orig.tar.gz /tmp/pristine-
tar.gPbUsvxvaH/tmpdelta
pristine-gz: zgz --gnu -n --16-rsyncable -F -T 0 -c < /tmp/pristine-
tar.gPbUsvxvaH/test > /tmp/pristine-tar.gPbUsvxvaH/test.gz
pristine-gz: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.gPbUsvxvaH/test.gz ../eclib_20260707.orig.tar.gz /tmp/pristine-
tar.gPbUsvxvaH/tmpdelta
pristine-gz: zgz -n -F -T 0 -c < /tmp/pristine-tar.gPbUsvxvaH/test >
/tmp/pristine-tar.gPbUsvxvaH/test.gz
pristine-gz: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.gPbUsvxvaH/test.gz ../eclib_20260707.orig.tar.gz /tmp/pristine-
tar.gPbUsvxvaH/tmpdelta
pristine-gz: zgz -n --quirk perl -F -T 0 -c < /tmp/pristine-
tar.gPbUsvxvaH/test > /tmp/pristine-tar.gPbUsvxvaH/test.gz
pristine-gz: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.gPbUsvxvaH/test.gz ../eclib_20260707.orig.tar.gz /tmp/pristine-
tar.gPbUsvxvaH/tmpdelta
pristine-gz: zgz -n --quirk perl -1 -F -T 0 -c < /tmp/pristine-
tar.gPbUsvxvaH/test > /tmp/pristine-tar.gPbUsvxvaH/test.gz
pristine-gz: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.gPbUsvxvaH/test.gz ../eclib_20260707.orig.tar.gz /tmp/pristine-
tar.gPbUsvxvaH/tmpdelta
pristine-gz: zgz -n --quirk buggy-bsd -F -T 0 -c < /tmp/pristine-
tar.gPbUsvxvaH/test > /tmp/pristine-tar.gPbUsvxvaH/test.gz
pristine-gz: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.gPbUsvxvaH/test.gz ../eclib_20260707.orig.tar.gz /tmp/pristine-
tar.gPbUsvxvaH/tmpdelta
pristine-gz: tar czf /tmp/pristine-tar.WM9tiji_lM/wrapper -C
/tmp/pristine-tar.Lteh7r1pZu params filename timestamp delta type
version
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
pristine-tar: xdelta3 encode -0 -f -D -s /tmp/pristine-
tar.JippK57DpY/recreatetarball /tmp/pristine-tar.WM9tiji_lM/origtarball
/tmp/pristine-tar.WM9tiji_lM/delta
error: excessively large binary delta for /tmp/pristine-
tar.WM9tiji_lM/origtarball
(Please consider filing a bug report.)
pristine-tar: failed to generate delta
gbp:error: Error detected, Will roll back changes.
gbp:info: Rolling back branch upstream by resetting it to
2c515e8e0c1ef62bcc19fdb0156cf22eee6d0e1a
gbp:info: Rolling back branch pristine-tar by resetting it to
499816cb1e61767199987cc6642f85fc03c4b108
gbp:error: Rolled back changes after import error.
and in the chroot? Nothing... perhaps when everything goes well,
pristine-tar does not say anything:
gbp:info: Launching uscan...
Newest version of eclib on remote site is 20260707, local version is
20250627
=> Newer package available from:
=>
https://github.com/JohnCremona/eclib/archive/refs/tags/20260707.tar.gz
Leaving ../eclib_20260707.orig.tar.gz where it is.
gbp:info: Using uscan downloaded tarball ../eclib_20260707.orig.tar.gz
What is the upstream version? [20260707]
gbp:info: Importing '../eclib_20260707.orig.tar.gz' to branch
'upstream'...
gbp:info: Source package is eclib
gbp:info: Upstream version is 20260707
gbp:info: Replacing upstream source on 'master'
gbp:info: Successfully imported version 20260707 of
../eclib_20260707.orig.tar.gz
JP