Subject: bug#20394: closed (Re: bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 21 Apr 2015 23:14:02 +0000

Your bug report

#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
20394: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20394
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#20394: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
From: Mark H Weaver <[email-masked]>
To: [email-masked] (Ludovic Courtès)
Cc: [email-masked]
Date: Tue, 21 Apr 2015 19:13:45 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Mark H Weaver <[email-masked]> writes:

> [email-masked] (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

Subject: Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
From: Mark H Weaver <[email-masked]>
To: [email-masked]
Date: Tue, 21 Apr 2015 04:55:02 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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