From: ludo@gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw@netris.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 14:19:43 +0200 [thread overview]
Message-ID: <87tww9llls.fsf@gnu.org> (raw)
In-Reply-To: <87383t97yx.fsf@netris.org> (Mark H. Weaver's message of "Tue, 21 Apr 2015 04:55:02 -0400")
[-- Attachment #1: Type: text/plain, Size: 556 bytes --]
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:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 761 bytes --]
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")))
[-- Attachment #3: Type: text/plain, Size: 41 bytes --]
Can you confirm?
Thanks,
Ludo’.
next prev parent reply other threads:[~2015-04-21 12:20 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 [this message]
2015-04-21 16:35 ` Mark H Weaver
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tww9llls.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=20394@debbugs.gnu.org \
--cc=mhw@netris.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).