GNU bug report logs - #40153
The guix package fails to build attempting to install something directly under /etc

Previous Next

Package: guix;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Fri, 20 Mar 2020 18:49:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.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 40153 in the body.
You can then email your comments to 40153 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#40153; Package guix. (Fri, 20 Mar 2020 18:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 20 Mar 2020 18:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: bug-guix <bug-guix <at> gnu.org>
Subject: The guix package fails to build attempting to install something
 directly under /etc
Date: Fri, 20 Mar 2020 14:48:46 -0400
Repro:

./pre-inst-env guix build -e '((@@ (gnu packages package-management) current-guix))'

--8<---------------cut here---------------start------------->8---
 /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin/mkdir -p '/gnu/store/n0w0xfnwf7j5h7138x2682rf247syp05-guix-1.0.1-15.0984481+/lib/systemd/system'
 /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin/install -c -m 644 etc/guix-daemon.service etc/guix-publish.service '/gnu/store/n0w0xfnwf7j5h7138x2682rf247syp05-guix-1.0.1-15.0984481+/lib/systemd/system'
 /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin/mkdir -p '/etc/init.d'
/gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin/mkdir: cannot create directory ‘/etc/init.d’: Permission denied
make[3]: *** [Makefile:4851: install-nodist_sysvinitserviceDATA] Error 1
make[3]: Leaving directory '/tmp/guix-build-guix-1.0.1-15.0984481+.drv-0/source'
make[2]: *** [Makefile:5382: install-am] Error 2
make[2]: Leaving directory '/tmp/guix-build-guix-1.0.1-15.0984481+.drv-0/source'
make[1]: *** [Makefile:4899: install-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-guix-1.0.1-15.0984481+.drv-0/source'
make: *** [Makefile:5376: install] Error 2
command "make" "install" failed with status 2
builder for `/gnu/store/k7ca5pbfb4vqfwggj6s9vjpcv8k0swcd-guix-1.0.1-15.0984481+.drv' failed with exit code 1
build of /gnu/store/k7ca5pbfb4vqfwggj6s9vjpcv8k0swcd-guix-1.0.1-15.0984481+.drv failed
View build log at '/var/log/guix/drvs/k7/ca5pbfb4vqfwggj6s9vjpcv8k0swcd-guix-1.0.1-15.0984481+.drv.bz2'.
guix build: error: build of `/gnu/store/k7ca5pbfb4vqfwggj6s9vjpcv8k0swcd-guix-1.0.1-15.0984481+.drv' failed
--8<---------------cut here---------------end--------------->8---




Information forwarded to bug-guix <at> gnu.org:
bug#40153; Package guix. (Fri, 20 Mar 2020 19:20:01 GMT) Full text and rfc822 format available.

Message #8 received at 40153 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 40153 <at> debbugs.gnu.org
Subject: Re: bug#40153: The guix package fails to build attempting to install
 something directly under /etc
Date: Fri, 20 Mar 2020 15:18:56 -0400
On Fri, Mar 20, 2020 at 02:48:46PM -0400, Maxim Cournoyer wrote:
> Repro:
> 
> ./pre-inst-env guix build -e '((@@ (gnu packages package-management) current-guix))'
> 
> /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin/mkdir: cannot create directory ‘/etc/init.d’: Permission denied

I guess it's related to fe60ef998f537e0e71b (guix-install.sh: Install
SysV init script.)




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 20 Mar 2020 23:11:01 GMT) Full text and rfc822 format available.

Notification sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
bug acknowledged by developer. (Fri, 20 Mar 2020 23:11:01 GMT) Full text and rfc822 format available.

Message #13 received at 40153-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 40153-done <at> debbugs.gnu.org,
 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: Re: bug#40153: The guix package fails to build attempting to install
 something directly under /etc
Date: Sat, 21 Mar 2020 00:10:20 +0100
Hi,

Leo Famulari <leo <at> famulari.name> skribis:

> On Fri, Mar 20, 2020 at 02:48:46PM -0400, Maxim Cournoyer wrote:
>> Repro:
>> 
>> ./pre-inst-env guix build -e '((@@ (gnu packages package-management) current-guix))'
>> 
>> /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31/bin/mkdir: cannot create directory ‘/etc/init.d’: Permission denied
>
> I guess it's related to fe60ef998f537e0e71b (guix-install.sh: Install
> SysV init script.)

Indeed.  Fixed in fe4a37276b871e29a7397b0aa940aab2b842ce77.

Thanks!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Apr 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.