* bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
@ 2015-04-21 8:55 Mark H Weaver
2015-04-21 12:19 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2015-04-21 8:55 UTC (permalink / raw)
To: 20394
I attempted to update guix-devel to 44fd6ef, but got this error during
the install phase:
--8<---------------cut here---------------start------------->8---
/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
--8<---------------cut here---------------end--------------->8---
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
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
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2015-04-21 12:19 UTC (permalink / raw)
To: Mark H Weaver; +Cc: 20394
[-- 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’.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
2015-04-21 12:19 ` Ludovic Courtès
@ 2015-04-21 16:35 ` Mark H Weaver
2015-04-21 23:13 ` Mark H Weaver
0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2015-04-21 16:35 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 20394
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
2015-04-21 16:35 ` Mark H Weaver
@ 2015-04-21 23:13 ` Mark H Weaver
0 siblings, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2015-04-21 23:13 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 20394-done
Mark H Weaver <mhw@netris.org> writes:
> ludo@gnu.org (Ludovic Courtès) writes:
>
>> 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")))
Pushed in dd3a42e6244ff2c256430cfa5c7689c0cfd81511. I'm closing this bug.
Thanks!
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-04-21 23:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-04-21 23:13 ` Mark H Weaver
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.