From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 20394@debbugs.gnu.org
Subject: bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
Date: Tue, 21 Apr 2015 12:35:29 -0400 [thread overview]
Message-ID: <87y4ll7832.fsf@netris.org> (raw)
In-Reply-To: <87tww9llls.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 21 Apr 2015 14:19:43 +0200")
ludo@gnu.org (Ludovic Courtès) writes:
> Mark H Weaver <mhw@netris.org> skribis:
>
>> I attempted to update guix-devel to 44fd6ef, but got this error during
>> the install phase:
>>
>> /gnu/store/7an2gbwqav1pv9kk4xkslrb45qn44j7w-coreutils-8.23/bin/mkdir -p '/etc/bash_completion.d'
>> /gnu/store/7an2gbwqav1pv9kk4xkslrb45qn44j7w-coreutils-8.23/bin/mkdir: cannot create directory ‘/etc/bash_completion.d’: Permission denied
>> Makefile:3000: recipe for target 'install-dist_bashcompletionDATA' failed
>> make[3]: *** [install-dist_bashcompletionDATA] Error 1
>
> I think this is fixed with:
>
> diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
> index 131cbcd..5340d42 100644
> --- a/gnu/packages/package-management.scm
> +++ b/gnu/packages/package-management.scm
> @@ -67,6 +67,9 @@
> `(#:configure-flags (list
> "--localstatedir=/var"
> "--sysconfdir=/etc"
> + (string-append "--with-bash-completion-dir="
> + (assoc-ref %outputs "out")
> + "/etc/bash_completion.d")
> (string-append "--with-libgcrypt-prefix="
> (assoc-ref %build-inputs
> "libgcrypt")))
>
> Can you confirm?
Yes, that fixes the problem.
Thanks!
Mark
next prev parent reply other threads:[~2015-04-21 16:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 8:55 bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d Mark H Weaver
2015-04-21 12:19 ` Ludovic Courtès
2015-04-21 16:35 ` Mark H Weaver [this message]
2015-04-21 23:13 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4ll7832.fsf@netris.org \
--to=mhw@netris.org \
--cc=20394@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.