Re: Couldn't commit to pristine-tar - This doesn't look like a tar archive (continued)

Peter Pentchev <[email protected]> Tue, 7 Jul 2026 13:46:25 +0300
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
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

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmpM2PwACgkQZR7vsCUn
3xM6kxAAoOvKEBDrXcY6PCrgLdtnAanpZ9woS5wI9fD2IEmB6qcnfqYyxNiCWU44
SV1MQx9mR6AuRInTyECU1HyPFi3RY4Ine4l5nFGfdHVYc3BFwoyhohbuKJyVyQ3s
6O9Yj4H6LOSwIo4bqt48h/6tN6RMU0OZUj19pz8XeqmGG786i9Yp7nq1rQcPdC3s
8Y7qxWfSYkXz/5mig7kkL4aNqTz1+SpHPUD5+oegMxxYAmAQQl2XBxOX/NYXPAoi
dyFmDqJ/8W39dXFQdLso/aXShL368vAaFCdLxFy8dYIw8Lw19mXwrxuJfu1lQuHM
8bhyHTktBF7s5/sZZGVVduXWe7dvdZtqWs5QfKcwjffBKstD6KQMAqJyUQtYcDF5
SRP9oDuCM4ABWBKfdgQRtO7d+55BlUmUpBW3GhHLJjanasRcglKRpcm5DTP76+ox
9s5bLkyr4yX86qJiBqTH5o3sUPiFa9xFqIdDsOvgRoK5jgBFUOjMbSyekVcf069m
Zqt5esH8y0jL+yAvgwmiogyl9pL9DPvbzY62Kn8/4Fyj1aRFxjhtr2M+PMggvtvR
5JBisYwiqciNzzUHjhje2sRdrT+BWsZenAzsrQN4jToFMH0jjHReqE3mYOS+Ie+y
6jRV+byw0kpL4P523K0qfh3eC4k4MfRCGv7sgmDZloOQL4HQveI=
=YIwU
-----END PGP SIGNATURE-----