FS#67285 - [paper] Consider adding --skip-git to bootstrap command

Attached to Project: Arch Linux
Opened by Felix Yan (felixonmars) - Wednesday, 15 July 2020, 14:16 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 16 July 2020, 06:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Currently if the build environment is dirty (with git installed), the package failed to build:

bootstrap: Consider installing git-merge-changelog from gnulib.
bootstrap: running: git clone --reference '/home/felix/projects/arch/packages/paper/trunk/src/gnulib-d279bc6' 'git://git.sv.gnu.org/gnulib' 'gnulib'
Cloning into 'gnulib'...
fatal: reference repository '/home/felix/projects/arch/packages/paper/trunk/src/gnulib-d279bc6' is not a local repository.
bootstrap: running: git submodule init
fatal: not a git repository (or any of the parent directories): .git
bootstrap: running: git submodule update
fatal: not a git repository (or any of the parent directories): .git
bootstrap: running: mkdir 'build-aux'
./bootstrap: line 2629: m4/gnulib-cache.m4: No such file or directory
bootstrap: Error: Can't find, copy or download required gnulib files,
bootstrap: please provide the location of a complete `gnulib' tree
bootstrap: by setting `gnulib_path' in your `bootstrap.conf' or
bootstrap: with the `--gnulib-srcdir' option - or else specify the
bootstrap: location of your `git' binary by setting `GIT' in the
bootstrap: environment so that a fresh `gnulib' submodule can be
bootstrap: cloned.
==> ERROR: A failure occurred in build().
Aborting...

Adding --skip-git to the bootstrap command fixes this and won't break a clean build too.

Additional info:
* package version(s)
paper 2.0-1
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 16 July 2020, 06:29 GMT
Reason for closing:  Fixed

Loading...