GNU bug report logs -
#20394
Guix 44fd6ef built within guix fails to create /etc/bash_completion.d
Previous Next
Reported by: Mark H Weaver <mhw <at> netris.org>
Date: Tue, 21 Apr 2015 08:56:01 UTC
Severity: normal
Done: Mark H Weaver <mhw <at> netris.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20394 in the body.
You can then email your comments to 20394 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#20394
; Package
guix
.
(Tue, 21 Apr 2015 08:56:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Mark H Weaver <mhw <at> netris.org>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Tue, 21 Apr 2015 08:56:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20394
; Package
guix
.
(Tue, 21 Apr 2015 12:20:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 20394 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Mark H Weaver <mhw <at> 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:
[Message part 2 (text/x-patch, inline)]
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")))
[Message part 3 (text/plain, inline)]
Can you confirm?
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#20394
; Package
guix
.
(Tue, 21 Apr 2015 16:36:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 20394 <at> debbugs.gnu.org (full text, mbox):
ludo <at> gnu.org (Ludovic Courtès) writes:
> Mark H Weaver <mhw <at> 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
Reply sent
to
Mark H Weaver <mhw <at> netris.org>
:
You have taken responsibility.
(Tue, 21 Apr 2015 23:14:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Mark H Weaver <mhw <at> netris.org>
:
bug acknowledged by developer.
(Tue, 21 Apr 2015 23:14:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 20394-done <at> debbugs.gnu.org (full text, mbox):
Mark H Weaver <mhw <at> netris.org> writes:
> ludo <at> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 20 May 2015 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 8 years and 343 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.