Mail archive
alpine-aports

Re: [alpine-aports] [PATCH] testing/pass: upgrade to 1.7

From: Timo Teras <timo.teras_at_iki.fi>
Date: Wed, 22 Mar 2017 08:32:05 +0200

On Mon, 20 Mar 2017 21:34:43 +0800
Ivan Tham <pickfire_at_riseup.net> wrote:

> ---
> testing/pass/APKBUILD | 29 ++++++++++++-----------------
> 1 file changed, 12 insertions(+), 17 deletions(-)

Still fails with:
>>> pass-doc*: Running postcheck for pass-doc
>>> pass-contrib*: Running split function contrib...
>>> pass-contrib*: Preparing subpackage pass-contrib...
>>> pass-contrib*: Running postcheck for pass-contrib
>>> pass-bash-completion*: Running split function bashcomp...
install: can't stat
'/home/tteras/aports/testing/pass/pkg/pass/usr/share/bash-completion/completions/pass':
No such file or directory
>>> ERROR: pass-bash-completion*: bashcomp failed
>>> ERROR: pass*: prepare_subpackages failed
>>> ERROR: pass: all failed

see below:

...

> diff --git a/testing/pass/APKBUILD b/testing/pass/APKBUILD
> index 56f7dd26..ca4740ee 100644
> --- a/testing/pass/APKBUILD
> +++ b/testing/pass/APKBUILD


> _at_@ -18,10 +18,10 @@ subpackages="$pkgname-doc
> $pkgname-fish-completion:fishcomp
> $pkgname-zsh-completion:zshcomp"
> source="http://git.zx2c4.com/password-store/snapshot/password-store-${pkgver}.tar.xz"
> +builddir="$srcdir/password-store-$pkgver"
>
> -_builddir="$srcdir/password-store-$pkgver"
> package() {
> - cd "$_builddir"
> + cd "$builddir"
> make DESTDIR="$pkgdir" \
> FORCE_BASHCOMP=1 \
> FORCE_ZSHCOMP=1 \

Seems the FORCE_*COMP changed. The Makefile has now:
ifneq ($(WITH_ALLCOMP),)
WITH_BASHCOMP := $(WITH_ALLCOMP)
WITH_ZSHCOMP := $(WITH_ALLCOMP)
WITH_FISHCOMP := $(WITH_ALLCOMP)

You need to use WITH_*COMP or set WITH_ALLCOMP instead of FORCE_...

Thanks
Timo


---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Mar 22 2017 - 08:32:05 UTC