Package: gbp-buildpackage
Version: 0.9.37

Dear git-buildpackage maintainers,

it seems that gbp-buildpackage does not take into account additional origtarballs when run with --git-no-create-orig. It only extracts the main one.

As you can see in <https://salsa.debian.org/gioele/libreoffice/-/jobs/7313516#L101>, gbp-buildpackage correctly uses apt-get source to fetch the 3 origtarballs of src:libreoffice:


```
gbp:error: upstream/25.2.1 is not a valid treeish
Trying apt-get source libreoffice=4:25.2.1-3 ...
Reading package lists...
[...]
Need to get 571 MB of source archives.
Get:1 http://deb.debian.org/debian sid/main libreoffice 4:25.2.1-3 (tar) [59.2 MB] Get:2 http://deb.debian.org/debian sid/main libreoffice 4:25.2.1-3 (tar) [230 MB] Get:3 http://deb.debian.org/debian sid/main libreoffice 4:25.2.1-3 (tar) [282 MB]
Fetched 571 MB in 38s (14.9 MB/s)
Download complete and in download only mode
[...]
'../libreoffice_25.2.1.orig-helpcontent2.tar.xz' -> [...]
'../libreoffice_25.2.1.orig-translations.tar.xz' -> [...]
'../libreoffice_25.2.1.orig.tar.xz' -> [...]
```

but then only extracts one of the origtarballs:

```
gbp:info: Extracting 'libreoffice_25.2.1.orig.tar.xz' to '<BUILD-DIR>/debian/output/libreoffice-tmp'
gbp:info: Exporting 'HEAD' to '<BUILD-DIR>/debian/output/libreoffice-tmp'
gbp:info: Moving '<BUILD-DIR>/debian/output/libreoffice-tmp' to '<BUILD-DIR>/debian/output/libreoffice-25.2.1'
```

As expected, the build process later fails.

Regards,

--
Gioele Barabucci

Reply via email to