[git-buildpackage] Pristine-Tar Not Found... Yet Again.

Erik Ziegenbalg erikziege at gmail.com
Fri Feb 9 19:35:06 CET 2024


Hi Git-BuildPackage Experts,

I'm having trouble getting gbp to build two upstream debian packages:

hwloc: https://salsa.debian.org/debian/hwloc.git
gmp: https://salsa.debian.org/science-team/gmp.git

For both, the Pristine-tar commit/branch/tag etc cannot be found. I've
manually tried to re-import the tar files using gbp import-orig, etc
but no luck. To my understanding, the repos are already set up for gbp
anyways, so I shouldn't have to do that.

Any information on how to get around these errors would be
appreciated. I'm on opensuse tumbleweed 15.5. Specifically, this is an
OpenSuse Build Service error.

Thank you,
Erik

STDOUT:

HWLOC:

localhost:~ # gbp clone https://salsa.debian.org/debian/hwloc.git
gbp:info: Cloning from 'https://salsa.debian.org/debian/hwloc.git'
localhost:~ # cd hwloc/
localhost:~/hwloc # gbp buildpackage --git-notify=off
--git-force-create --git-cleaner="true" --git-ignore-branch
--git-export=origin/master --git-submodules --git-pristine-tar -nc -uc
-us -S --verbose
gbp:warning: Pristine-tar branch "pristine-tar" not found
gbp:info: Creating /root/hwloc_2.10.0.orig.tar.bz2
gbp:error: Error creating hwloc_2.10.0.orig.tar.bz2: Pristine-tar
couldn't checkout "hwloc_2.10.0.orig.tar.bz2": execution failed:
[Errno 2] No such file or directory: 'pristine-tar': 'pristine-tar'
localhost:~/hwloc #

GMP:

localhost:~ # gbp clone https://salsa.debian.org/science-team/gmp.git
gbp:info: Cloning from 'https://salsa.debian.org/science-team/gmp.git'
localhost:~ # cd gmp/
localhost:~/gmp # gbp buildpackage --git-notify=off --git-force-create
--git-cleaner="true" --git-ignore-branch --git-export=origin/master
--git-submodules --git-pristine-tar -nc -uc -us -S --verbose
gbp:warning: Pristine-tar branch "pristine-tar" not found
gbp:info: Creating /root/gmp_6.3.0+dfsg.orig.tar.xz
gbp:error: Error creating gmp_6.3.0+dfsg.orig.tar.xz: Pristine-tar
couldn't checkout "gmp_6.3.0+dfsg.orig.tar.xz": execution failed:
[Errno 2] No such file or directory: 'pristine-tar': 'pristine-tar'
localhost:~/gmp #


More information about the git-buildpackage mailing list