* shepherd -> guile 2.2?
@ 2017-05-16 8:42 Ricardo Wurmus
2017-05-16 10:45 ` Andy Wingo
2017-05-17 13:02 ` Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Ricardo Wurmus @ 2017-05-16 8:42 UTC (permalink / raw)
To: guix-devel
Hi Guix,
I have built shepherd with guile-2.2, but I noticed a couple of
warnings/errors during the build:
--8<---------------cut here---------------start------------->8---
starting phase `build'
/gnu/store/6908gy3pws0ccys49ni98idwnicchlr2-coreutils-8.26/bin/mkdir -p "`dirname modules/shepherd/config.scm`"
/gnu/store/z763jk8lkragpz2qr2wbrz946lgalx2h-sed-4.4/bin/sed -e 's,%PREFIX%,/gnu/store/7mlrfpazchpr9p2k9dx79ffzh0r5gxyw-shepherd-0.3.2,g' -e 's,%modsrcdir%,/tmp/guix-build-shepherd-0.3.2.drv-0/shepherd-0.3.2/modules,g' -e 's,%modbuilddir%,/tmp/guix-build-shepherd-0.3.2.drv-0/shepherd-0.3.2/modules,g' -e 's,%localstatedir%,/var,g' -e 's,%sysconfdir%,/gnu/store/7mlrfpazchpr9p2k9dx79ffzh0r5gxyw-shepherd-0.3.2/etc,g' -e 's,%VERSION%,0.3.2,g' -e 's,%PACKAGE_BUGREPORT%,bug-guix@gnu.org,g' -e 's,%PACKAGE_NAME%,GNU Shepherd,g' -e 's,%PACKAGE_URL%,http://www.gnu.org/software/shepherd/,g' -e 's,%GUILE%,/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guile,g' < modules/shepherd/config.scm.in >modules/shepherd/config.scm
make all-am
make[1]: Entering directory '/tmp/guix-build-shepherd-0.3.2.drv-0/shepherd-0.3.2'
GEN shepherd
GEN herd
GEN reboot
GEN halt
GUILEC modules/shepherd/scripts/halt.go
GUILEC modules/shepherd.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
GUILEC modules/shepherd/scripts/herd.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
GUILEC modules/shepherd/scripts/reboot.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
GUILEC modules/shepherd/config.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
GUILEC modules/shepherd/system.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
GUILEC modules/shepherd/args.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
GUILEC modules/shepherd/service.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
GUILEC modules/shepherd/support.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
shepherd/support.scm:209:2: warning: non-literal format string
GUILEC modules/shepherd/runlevel.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
shepherd/runlevel.scm:106:6: warning: possibly unbound variable `next-services'
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
GUILEC modules/shepherd/comm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild
;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
shepherd/service.scm:606:8: warning: possibly unbound variable `apply-to-args'
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
make[1]: Leaving directory '/tmp/guix-build-shepherd-0.3.2.drv-0/shepherd-0.3.2'
phase `build' succeeded after 106.9 seconds
--8<---------------cut here---------------end--------------->8---
Is this bad? Should I do something to avoid this?
And lastly: should we keep a guile-2.0 variant of the shepherd, or is it
fine to push this tiny change?
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: shepherd -> guile 2.2?
2017-05-16 8:42 shepherd -> guile 2.2? Ricardo Wurmus
@ 2017-05-16 10:45 ` Andy Wingo
2017-05-16 13:47 ` Fox
2017-05-17 13:02 ` Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Andy Wingo @ 2017-05-16 10:45 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
On Tue 16 May 2017 10:42, Ricardo Wurmus <rekado@elephly.net> writes:
> ;;; WARNING: compilation of /gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild failed:
> ;;; ERROR: failed to create path for auto-compiled file "/gnu/store/5zx29y44nrqj0s8h3jlvlj82k8hj4dxs-guile-2.2.2/bin/guild"
This is because the build does not set XDG_CACHE_HOME. See:
https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00939.html
> Some deprecated features have been used. Set the environment
> variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
> program to get more information. Set it to "no" to suppress
> this message.
Here you will get more info if you set the
GUILE_WARN_DEPRECATED=detailed variable.
> shepherd/support.scm:209:2: warning: non-literal format string
Not a deal-breaker; worth having a look at though.
> shepherd/runlevel.scm:106:6: warning: possibly unbound variable `next-services'
Something to look into.
> shepherd/service.scm:606:8: warning: possibly unbound variable `apply-to-args'
Replace with "apply".
> And lastly: should we keep a guile-2.0 variant of the shepherd, or is it
> fine to push this tiny change?
I would say don't bother keeping it.
Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: shepherd -> guile 2.2?
2017-05-16 10:45 ` Andy Wingo
@ 2017-05-16 13:47 ` Fox
0 siblings, 0 replies; 4+ messages in thread
From: Fox @ 2017-05-16 13:47 UTC (permalink / raw)
To: guix-devel
I run shepherd in debian with guile 2.2.2
it cannot find my apache2, though
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: shepherd -> guile 2.2?
2017-05-16 8:42 shepherd -> guile 2.2? Ricardo Wurmus
2017-05-16 10:45 ` Andy Wingo
@ 2017-05-17 13:02 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-05-17 13:02 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel
Hi Ricardo,
Ricardo Wurmus <rekado@elephly.net> skribis:
> I have built shepherd with guile-2.2, but I noticed a couple of
> warnings/errors during the build:
I’m pretty sure those warnings are due to IOFBF and friends. They’ll
haunt us for years to come. :-)
(But you can happily ignore them.)
> And lastly: should we keep a guile-2.0 variant of the shepherd, or is it
> fine to push this tiny change?
No, we can do that in ‘core-updates’ only.
The reason is that we import code in the Shepherd, via the gexps in the
‘start’ and ‘stop’ fields of <shepherd-service>, and those modules are
currently built with ‘default-guile’, which is 2.0 in master and 2.2 in
‘core-updates’.
So yeah, in ‘core-updates’, we can happily move the Shepherd and mcron
to 2.2, but not in ‘master’.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-17 13:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16 8:42 shepherd -> guile 2.2? Ricardo Wurmus
2017-05-16 10:45 ` Andy Wingo
2017-05-16 13:47 ` Fox
2017-05-17 13:02 ` 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).