bug-guix
[Top][All Lists]
Advanced

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

bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_comp


From: Mark H Weaver
Subject: bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
Date: Tue, 21 Apr 2015 12:35:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Mark H Weaver <address@hidden> 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





reply via email to

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