From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: Re: [Shepherd][PATCH 1/4] build: Build Guile objects before generating man pages. Date: Thu, 28 Jan 2016 00:15:17 +0100 Message-ID: <87zivq4nsq.fsf@gnu.org> References: <1453927534-32056-1-git-send-email-mthl@gnu.org> <1453927534-32056-2-git-send-email-mthl@gnu.org> <8760yeljix.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]:59099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOZJ8-0005ve-Pe for guix-devel@gnu.org; Wed, 27 Jan 2016 18:15:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOZJ7-0007Oi-IB for guix-devel@gnu.org; Wed, 27 Jan 2016 18:15:26 -0500 In-Reply-To: <8760yeljix.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 27 Jan 2016 23:55:34 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Mathieu Lirzin skribis: > >> Before that, man pages were not successfully generated for VPATH builds. > > How so? Using commit bc7757cd1f3d0a162e765d0ecebde052765a6a23: --8<---------------cut here---------------start------------->8--- mthl@godel:~/src/shepherd$ git clean -xdf [...] mthl@godel:~/src/shepherd$ autoreconf -vfi autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force=20 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing Unescaped left brace in regex is deprecated, passed through in regex; marke= d by <-- HERE in m/\${ <-- HERE ([^ \t=3D:+{}]+)}/ at /usr/bin/automake lin= e 3936. configure.ac:53: installing 'build-aux/compile' configure.ac:17: installing 'build-aux/config.guess' configure.ac:17: installing 'build-aux/config.sub' configure.ac:11: installing 'build-aux/install-sh' configure.ac:11: installing 'build-aux/missing' Makefile.am: installing './INSTALL' Makefile.am:65: installing 'build-aux/mdate-sh' Makefile.am:65: installing 'build-aux/texinfo.tex' parallel-tests: installing 'build-aux/test-driver' autoreconf: Leaving directory `.' mthl@godel:~/src/shepherd$ mkdir bd mthl@godel:~/src/shepherd$ cd bd mthl@godel:~/src/shepherd/bd$ ../configure [...] configure: creating ./config.status config.status: creating Makefile config.status: creating examples/Makefile config.status: creating modules/shepherd/system.scm config.status: executing depfiles commands mthl@godel:~/src/shepherd/bd$ make /bin/mkdir -p "`dirname modules/shepherd/config.scm`" /bin/sed -e 's,%PREFIX%,/usr/local,g' -e 's,%modsrcdir%,/home/mthl/src/shep= herd/bd/../modules,g' -e 's,%modbuilddir%,/home/mthl/src/shepherd/bd/module= s,g' -e 's,%localstatedir%,/usr/local/var,g' -e 's,%sysconfdir%,/usr/local/= etc,g' -e 's,%VERSION%,0.3,g' -e 's,%PACKAGE_BUGREPORT%,bug-guix@gnu.org,g'= -e 's,%PACKAGE_NAME%,GNU Shepherd,g' -e 's,%PACKAGE_URL%,http://www.gnu.or= g/software/shepherd/,g' -e 's,%GUILE%,/usr/bin/guile,g' < ../modules/shephe= rd/config.scm.in >modules/shepherd/config.scm make all-recursive make[1]: Entering directory '/home/mthl/src/shepherd/bd' Making all in examples make[2]: Entering directory '/home/mthl/src/shepherd/bd/examples' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/mthl/src/shepherd/bd/examples' make[2]: Entering directory '/home/mthl/src/shepherd/bd' Updating ../version.texi MAKEINFO ../shepherd.info GEN shepherd GEN herd GEN halt GEN reboot HELP2MAN shepherd.1 help2man: impossible de r=C3=A9cup=C3=A9rer l'information =C2=AB=C2=A0--hel= p=C2=A0=C2=BB de ./shepherd Try `--no-discard-stderr' if option outputs to stderr Makefile:1943: recipe for target 'shepherd.1' failed make[2]: [shepherd.1] Error 1 (ignor=C3=A9e) HELP2MAN herd.1 help2man: impossible de r=C3=A9cup=C3=A9rer l'information =C2=AB=C2=A0--hel= p=C2=A0=C2=BB de ./herd Try `--no-discard-stderr' if option outputs to stderr Makefile:1940: recipe for target 'herd.1' failed make[2]: [herd.1] Error 1 (ignor=C3=A9e) HELP2MAN halt.8 help2man: impossible de r=C3=A9cup=C3=A9rer l'information =C2=AB=C2=A0--hel= p=C2=A0=C2=BB de ./halt Try `--no-discard-stderr' if option outputs to stderr Makefile:1940: recipe for target 'halt.8' failed make[2]: [halt.8] Error 1 (ignor=C3=A9e) HELP2MAN reboot.8 help2man: impossible de r=C3=A9cup=C3=A9rer l'information =C2=AB=C2=A0--hel= p=C2=A0=C2=BB de ./reboot Try `--no-discard-stderr' if option outputs to stderr Makefile:1940: recipe for target 'reboot.8' failed make[2]: [reboot.8] Error 1 (ignor=C3=A9e) GUILEC modules/shepherd.go GUILEC modules/shepherd/scripts/halt.go GUILEC modules/shepherd/scripts/herd.go GUILEC modules/shepherd/scripts/reboot.go GUILEC modules/shepherd/config.go GUILEC modules/shepherd/system.go GUILEC modules/shepherd/args.go GUILEC modules/shepherd/service.go GUILEC modules/shepherd/support.go ../modules/shepherd/support.scm:203:2: warning: non-literal format string GUILEC modules/shepherd/runlevel.go ../modules/shepherd/runlevel.scm:106:6: warning: possibly unbound variable = `next-services' GUILEC modules/shepherd/comm.go make[2]: Leaving directory '/home/mthl/src/shepherd/bd' make[1]: Leaving directory '/home/mthl/src/shepherd/bd' mthl@godel:~/src/shepherd/bd$=20 --8<---------------cut here---------------end--------------->8--- Another iteration of =E2=80=98make=E2=80=99 is required to build the man pa= ges. I think this is important enough to be fixed before the release. ;) -- Mathieu Lirzin.