parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Parallel 20220622 ('Bongbong') released


From: Ole Tange
Subject: Re: GNU Parallel 20220622 ('Bongbong') released
Date: Thu, 23 Jun 2022 19:19:14 +0800

On Thu, Jun 23, 2022 at 7:06 PM Jan Engelhardt <jengelh@inai.de> wrote:
>
> On Thursday 2022-06-23 10:30, Ole Tange wrote:
> >GNU Parallel 20220622 ('Bongbong') has been released. It is available
> >for download at: http://ftpmirror.gnu.org/parallel/
> >
> >* 'make install' installs bash+zsh completion files.
>
> Which fails to install.
>
> [    5s] + make install 
> DESTDIR=/home/abuild/rpmbuild/BUILDROOT/gnu_parallel-20220622-0.x86_64
> [    5s] Making install in src
> ...
> [    5s]  /usr/bin/install -c -m 644 parallel_tutorial.7 parallel_book.7 
> parallel_design.7 parallel_alternatives.7 
> '/home/abuild/rpmbuild/BUILDROOT/gnu_parallel-20220622-0.x86_64/usr/share/man/man7'
> [    5s] make[2]: Leaving directory 
> '/home/abuild/rpmbuild/BUILD/parallel-20220622/src'
> [    5s] make[1]: Leaving directory 
> '/home/abuild/rpmbuild/BUILD/parallel-20220622/src'
> [    5s] make[1]: Entering directory 
> '/home/abuild/rpmbuild/BUILD/parallel-20220622'
> [    5s] make[2]: Entering directory 
> '/home/abuild/rpmbuild/BUILD/parallel-20220622'
> [    5s] make[2]: Nothing to be done for 'install-exec-am'.
> [    5s] make  install-data-hook
> [    5s] make[3]: Entering directory 
> '/home/abuild/rpmbuild/BUILD/parallel-20220622'
> [    5s] mkdir -p /usr/share/bash-completion/completions
> [    5s] mkdir -p /usr/share/zsh/site-functions
> [    5s] mkdir: cannot create directory '/usr/share/zsh': Permission denied
>
> I'd fix it myself, but the git tree is out of date with regard to the released
> tarball.

What is causing it to disregard this in Makefile.am?

zshcompletiondir=${datarootdir}/zsh/site-functions
zshcompletion=${zshcompletiondir}/_parallel
install-data-hook:
       mkdir -p ${datarootdir}/bash-completion/completions
       mkdir -p ${zshcompletiondir}

In my Makefile (on Ubuntu) I get:

datarootdir = ${prefix}/share
:
zshcompletiondir = ${datarootdir}/zsh/site-functions
zshcompletion = ${zshcompletiondir}/_parallel

which evaluates correctly.

/Ole



reply via email to

[Prev in Thread] Current Thread [Next in Thread]