FS#53906 - Source list in poppler PKGBUILD failed to fetch from git repo (ABS)

Attached to Project: Arch Linux
Opened by John Henderson (jwhendy) - Monday, 01 May 2017, 17:32 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 02 May 2017, 14:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: used ABS to compile poppler from source to include pdfsig utility and git address appeared to be incorrect.


Additional info:
* package version(s): 0.54.0
* config and/or log files etc.: attached current PKGBUILD (2017-05-01)


Steps to reproduce:
- install abs
- run "$ sudo abs"
- cp -r /var/abs/extra/poppler ./path/of/choice
- cd ./path/of/choice
- makepkg -s -o
- makepkg will fail to find git address specified


Discussion:
I'm not sure if this is an issue with what arch's servers use to build vs. a "normal user"? I *assumed* that copying a PKGBUILD should work anywhere, but perhaps this is incorrect. Here was my step to fix:

as-is source line:

source=(https://poppler.freedesktop.org/${pkgbase}-${pkgver}.tar.xz
test::git+https://cgit.freedesktop.org/poppler/test/#commit=0d2bfd4)

I visited the https address, which works, and lists the following for clone address:

Clone
git://anongit.freedesktop.org/poppler/test
ssh://git.freedesktop.org/git/poppler/test
https://anongit.freedesktop.org/git/poppler/test

I just changed the source=() list to feature the last one:

source=(https://poppler.freedesktop.org/${pkgbase}-${pkgver}.tar.xz
test::git+https://anongit.freedesktop.org/git/poppler/test/#commit=0d2bfd4)

My apologies if this is expected. Just passing along a courtesy in case it was an actual issue. I searched a bit on gotchas like "When building from ABS, be advised that the default Arch VCS url may not work on local systems" or similar but didn't find anything obvious.
This task depends upon

Closed by  Jan de Groot (JGC)
Tuesday, 02 May 2017, 14:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in trunk.

Loading...