From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <87y4ll7832.fsf@netris.org> References: <87383t97yx.fsf@netris.org> <87tww9llls.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykb9a-0002hJ-OT for bug-guix@gnu.org; Tue, 21 Apr 2015 12:36:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ykb9W-0001Lw-OZ for bug-guix@gnu.org; Tue, 21 Apr 2015 12:36:06 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:45664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykb9W-0001Ls-L4 for bug-guix@gnu.org; Tue, 21 Apr 2015 12:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ykb9W-0002cx-EM for bug-guix@gnu.org; Tue, 21 Apr 2015 12:36:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: 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") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 20394@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mark H Weaver 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: ca= nnot create directory =E2=80=98/etc/bash_completion.d=E2=80=99: 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-m= anagement.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=3D/var" > "--sysconfdir=3D/etc" > + (string-append "--with-bash-completion-dir=3D" > + (assoc-ref %outputs "out") > + "/etc/bash_completion.d") > (string-append "--with-libgcrypt-prefix=3D" > (assoc-ref %build-inputs > "libgcrypt"))) > > Can you confirm? Yes, that fixes the problem. Thanks! Mark