unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#40153: The guix package fails to build attempting to install something directly under /etc
@ 2020-03-20 18:48 Maxim Cournoyer
  2020-03-20 19:18 ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2020-03-20 18:48 UTC (permalink / raw)
  To: 40153

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---

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40153: The guix package fails to build attempting to install something directly under /etc
  2020-03-20 18:48 bug#40153: The guix package fails to build attempting to install something directly under /etc Maxim Cournoyer
@ 2020-03-20 19:18 ` Leo Famulari
  2020-03-20 23:10   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2020-03-20 19:18 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 40153

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.)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#40153: The guix package fails to build attempting to install something directly under /etc
  2020-03-20 19:18 ` Leo Famulari
@ 2020-03-20 23:10   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-03-20 23:10 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 40153-done, Maxim Cournoyer

Hi,

Leo Famulari <leo@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’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-20 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20 18:48 bug#40153: The guix package fails to build attempting to install something directly under /etc Maxim Cournoyer
2020-03-20 19:18 ` Leo Famulari
2020-03-20 23:10   ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).