Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Ludovic Courtès <ludo@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 76735) by debbugs.gnu.org; 10 Mar 2025 20:03:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 10 16:03:36 2025 Received: from localhost ([127.0.0.1]:39977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1trjLc-0000lw-0W for submit <at> debbugs.gnu.org; Mon, 10 Mar 2025 16:03:36 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:39820) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1trjLY-0000lY-JC for 76735 <at> debbugs.gnu.org; Mon, 10 Mar 2025 16:03:33 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id E5C3F1C2; Mon, 10 Mar 2025 21:03:25 +0100 (CET) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id VSpqsxoFJrYy; Mon, 10 Mar 2025 21:03:25 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 41A67D2; Mon, 10 Mar 2025 21:03:25 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Simon Josefsson <simon@HIDDEN> Subject: Re: bug#76735: Shepherd parallel make help2man issue In-Reply-To: <87frjl52sg.fsf@HIDDEN> (Simon Josefsson's message of "Sun, 09 Mar 2025 22:09:51 +0100") References: <87tt89z2e1.fsf@HIDDEN> <87bjuaq71c.fsf@HIDDEN> <87frjl52sg.fsf@HIDDEN> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 20 =?utf-8?Q?Vent=C3=B4se?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Cordeau X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 10 Mar 2025 21:03:23 +0100 Message-ID: <87cyeoodpw.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Server: hera X-Rspamd-Queue-Id: E5C3F1C2 X-Spamd-Result: default: False [-6.10 / 15.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM(-3.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spamd-Bar: ------ X-Rspamd-Action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 76735 Cc: 76735 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) Hi Simon, Simon Josefsson <simon@HIDDEN> skribis: > Ah. The Debian packaging intentionally removes the prebuilt manpages > because we want to know that we can rebuild them from source. That is > what is triggering this problem! Oh. That makes perfect sense from a reproducible build perspective. > Thanks for developing that patch. This problem is complex, and I'm not > sure what the best solution really is. Your patch makes the man pages > depend on the binary, and I've had bad experiences with that. If > someone is cross-compile Shepherd (not sure if that's a realistic > situation) then help2man can't run the binary, and in this situation it > would be preferable to fall back on the prebuilt manpages. That doesn't > sound ideal. Right, I had forgotten about cross-compilation (we do rely on it in Guix). So in practice, we have no choice but to build the tarball natively and then (cross-)build from the tarball. > Maybe an uglier solution is to try to run help2man, and if it works, > then fine, but if it doesn't, re-use the prebuilt manpage or fail. Yeah. Or, longer-term, extract command-line metadata from the Guile modules and generate man pages without resorting to =E2=80=98help2man=E2=80=99. Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#76735
; Package guix
.
Full text available.Received: (at 76735) by debbugs.gnu.org; 9 Mar 2025 21:10:29 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 09 17:10:29 2025 Received: from localhost ([127.0.0.1]:34539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1trNun-0002xc-9j for submit <at> debbugs.gnu.org; Sun, 09 Mar 2025 17:10:29 -0400 Received: from uggla.sjd.se ([2001:9b1:8633::107]:44814) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <simon@HIDDEN>) id 1trNui-0002xK-EQ for 76735 <at> debbugs.gnu.org; Sun, 09 Mar 2025 17:10:26 -0400 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=U6H84gzlPT+6cd3PS+CGusnCKYrtnStimy1SLRfAq/o=; t=1741554618; x=1742764218; b=FGFwH+sT0EPohRgE0CTT1HNJa/jY5/8ZIHwfdyMxHaU6A4vbxdGlh5+wvnpksZnA2sLKkQx2qcB 8CGbiIIWjDg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=U6H84gzlPT+6cd3PS+CGusnCKYrtnStimy1SLRfAq/o=; t=1741554618; x=1742764218; b=RRELdOw90h2utkKg8eaH1a/Ws3Zq/XipPka1t1QnsEfdd2xvwsAtpN7WMXqdN7uLxJguOVdxDdW KhTsMD+9b1q7C5cdyQ4ui2oThpTUSpn4Tp3dB6sg2+Uc8Rf2xpSHlzg/KryL69fGDOOZOGujPYORZ jLlloZVEASieP+wZrswVSfWVcNiObM77Chcnfp+K+W/7pMlo/Xz5FXO9zD/MKFoTwUSxb27Jcpg6g cxUpfjF0+lPhOHu47A98x4hdx/ypNxF4md1izXnoZnxhUoaYm8VXPJRCqzDATRzP2VVJ/tEKBpo4o r1nRigzwVV9nuFNXncqmIJ7UAXqywnfy5URbowfD4AX6Ql8iy5Htffq54vjX8MkoVUYkKHqKzYdYl xkZZsqi/SM9OPR8Xf7k2CZhWvZ5HlJll7hStuDIC2jD4gsQ325zn4SMPWXo4I/IqJfxJqHaB2; Received: from h-178-174-130-130.a498.priv.bahnhof.se ([178.174.130.130]:44866 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <simon@HIDDEN>) id 1trNuX-00BbLW-4L; Sun, 09 Mar 2025 21:10:13 +0000 From: Simon Josefsson <simon@HIDDEN> To: Ludovic =?iso-8859-1?Q?Court=E8s?= <ludo@HIDDEN> Subject: Re: bug#76735: Shepherd parallel make help2man issue In-Reply-To: <87bjuaq71c.fsf@HIDDEN> ("Ludovic =?iso-8859-1?Q?Court=E8s?= =?iso-8859-1?Q?=22's?= message of "Sun, 09 Mar 2025 21:32:31 +0100") References: <87tt89z2e1.fsf@HIDDEN> <87bjuaq71c.fsf@HIDDEN> OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:23:250309:ludo@HIDDEN::rl9G0x4XoT11Ykr2:0Yoc X-Hashcash: 1:23:250309:76735 <at> debbugs.gnu.org::MKTsK9pYkDVDfE1H:OmRV Date: Sun, 09 Mar 2025 22:09:51 +0100 Message-ID: <87frjl52sg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76735 Cc: 76735 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s <ludo@HIDDEN> writes: > Hi Simon, > > Simon Josefsson <simon@HIDDEN> skribis: > >> I got the build error below. Presumably it happens because the jobs to >> create the tools has not finished before the help2man jobs has started. > > Am I right that you=E2=80=99re building from a Git checkout? This was during build of Debian packages of Shepherd. They use the tarballs. > The problem is that the Makefile rules for man pages are meant for > developers building the tarball; the tarball already includes man pages, > so someone building from the tarball doesn=E2=80=99t trigger any of these > rules. Ah. The Debian packaging intentionally removes the prebuilt manpages because we want to know that we can rebuild them from source. That is what is triggering this problem! execute_after_dh_auto_clean: rm -fv doc/shepherd.info doc/herd.1 doc/shepherd.1 rm -fv doc/stamp-vti doc/version.texi So maybe this is not so much of an upstream problem after all, and my fault for trying to rebuild the manpages. Maybe we should build from a 'git-archive' snapshot instead... but those doesn't come with PGP signatures right now, although you could do that: https://blog.josefsson.org/2024/04/13/reproducible-and-minimal-source-only-= tarballs/ essentially just: git archive --prefix=3Dshepherd-vX.Y/ -o shepherd-vX.Y-src.tar.gz vX.Y gpg --sign shepherd-vX.Y-src.tar.gz > The changes below fix dependencies, but it also means that now everyone > will be building man pages from source, even if they=E2=80=99re already i= ncluded > in the tarball. That=E2=80=99s probably the right thing to do longer ter= m, but > I=E2=80=99d rather not do it in the middle of a stable series. Thanks for developing that patch. This problem is complex, and I'm not sure what the best solution really is. Your patch makes the man pages depend on the binary, and I've had bad experiences with that. If someone is cross-compile Shepherd (not sure if that's a realistic situation) then help2man can't run the binary, and in this situation it would be preferable to fall back on the prebuilt manpages. That doesn't sound ideal. Maybe an uglier solution is to try to run help2man, and if it works, then fine, but if it doesn't, re-use the prebuilt manpage or fail. /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQNoBAEWCAMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmfOA6AUHHNpbW9uQGpv c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh BLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgIBQkLehFUAAoJENc89jjFPAa+CboA +wUa06RD5e5VTCxvSWtPS75Wq2qBeYGZnf0jvUMxa2n4AP4xkUeAPPnNuMsTm2fs FCDIGaEM2Yn6Vb2huzzT1Fw/BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0 +MTXPPY4xTwGvgUCZf2IKwUJC3oQqgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE 8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J ENc89jjFPAa+GcYA/26YQY05bLtnXiIjTiAzrGQrRXxTHPA8Av7TDFHvIetWAP9s HSoU8OfTwmTiEnGwLlsV7QJclZg3YNz/Ypcp9TqQBrg4BFySz2oSCisGAQQBl1UB BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgwBQkLehDGAAoJENc89jjF PAa+phoA/jrDqIrl/55vUMBhIQv+TP635d2iCTEnyFmbUcP9+gh6APoDsXalVd2c OGxQtSC+TF8PkZMn1TLkJKAjVxr+xx40AgAKCRBRcisI/kdFotQpAPoDHqUdZrDA jheardBHpF6qFKTviBdxyV9eddHBdHmNxwEAwKK4wWcPJhqPFm3OuN17gxqQ9Tha QnsDJBx7ltcJ2ws= =Kkj3 -----END PGP SIGNATURE----- --=-=-=--
bug-guix@HIDDEN
:bug#76735
; Package guix
.
Full text available.Received: (at 76735) by debbugs.gnu.org; 9 Mar 2025 20:32:57 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 09 16:32:57 2025 Received: from localhost ([127.0.0.1]:34446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1trNKN-0001BZ-HL for submit <at> debbugs.gnu.org; Sun, 09 Mar 2025 16:32:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49776) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1trNKH-0001BG-Hu for 76735 <at> debbugs.gnu.org; Sun, 09 Mar 2025 16:32:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1trNKB-0002C5-5m; Sun, 09 Mar 2025 16:32:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=izdy6LM3DH8n/vScJtA8OiVEudrFn56DwppMwQFReMI=; b=WBHsI2OKz0SorX4TBaBL ZaQHUPcKOcaU/CBjM7QCYGV5BUMQQA43KYCq17tf89Dpehpd9LUxxhQ8SYFpW81lb3bLkBIbtKSm3 DUGpOPa1R5O+Yen7N5eyalzVEI0z2ypFln9AM2fo0/eZFlybPGA0dscKS9CVD/MaRCccm6att+Byv DbCPkbh+uG+DRmehoEXHsrIF5ToOGnm2yxUx67noW723bado/HipRwDR9SSDGzoYAdJLobBrgxRqu rpmrAZDuDyHxhIu4P3FIZGB3hv8mq5SpEbXxKxSUJqkIrRUQ1mL8MRmnPNiz2h3hQCAlxuJ3eUA/8 N4LzqyjN8WsZcA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: Simon Josefsson <simon@HIDDEN> Subject: Re: bug#76735: Shepherd parallel make help2man issue In-Reply-To: <87tt89z2e1.fsf@HIDDEN> (Simon Josefsson's message of "Tue, 04 Mar 2025 08:22:14 +0100") References: <87tt89z2e1.fsf@HIDDEN> Date: Sun, 09 Mar 2025 21:32:31 +0100 Message-ID: <87bjuaq71c.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 76735 Cc: 76735 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Simon, Simon Josefsson <simon@HIDDEN> skribis: > I got the build error below. Presumably it happens because the jobs to > create the tools has not finished before the help2man jobs has started. Am I right that you=E2=80=99re building from a Git checkout? The problem is that the Makefile rules for man pages are meant for developers building the tarball; the tarball already includes man pages, so someone building from the tarball doesn=E2=80=99t trigger any of these r= ules. The changes below fix dependencies, but it also means that now everyone will be building man pages from source, even if they=E2=80=99re already inc= luded in the tarball. That=E2=80=99s probably the right thing to do longer term,= but I=E2=80=99d rather not do it in the middle of a stable series. WDYT? Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/Makefile.am b/Makefile.am index 23d1360..9d5e053 100644 --- a/Makefile.am +++ b/Makefile.am @@ -131,15 +131,18 @@ AM_V_HELP2MAN_0 = @echo " HELP2MAN" $@; HELP2MANFLAGS = --source=GNU --info-page=$(PACKAGE_TARNAME) gen_man = $(AM_V_HELP2MAN)LANGUAGE= $(HELP2MAN) $(HELP2MANFLAGS) -doc/shepherd.1: modules/shepherd.scm configure.ac +doc/shepherd.1: shepherd $(nodist_shepherdsub_DATA) modules/shepherd.scm configure.ac + $(MKDIR_P) doc $(gen_man) --name="Service manager for the GNU system" \ --output="$@" "$(top_builddir)/`basename "$@" .1`" -doc/herd.1: modules/shepherd/scripts/herd.scm configure.ac +doc/herd.1: herd $(nodist_shepherdsub_DATA) modules/shepherd/scripts/herd.scm configure.ac + $(MKDIR_P) doc $(gen_man) --name="Control the shepherd(1) service manager" \ --output="$@" "$(top_builddir)/`basename "$@" .1`" -doc/%.8: modules/shepherd/scripts/%.scm configure.ac +doc/%.8: % $(nodist_shepherdsub_DATA) modules/shepherd/scripts/%.scm configure.ac + $(MKDIR_P) doc $(gen_man) --section=8 --output="$@" \ "$(top_builddir)/`basename "$@" .8`" @@ -223,13 +226,13 @@ instantiate = \ # Emit a 'chmod +x' command only if $@ matches one of the scripts. maybe_executable = \ - $(subst $@,chmod +x $@, \ + $(subst $@,chmod +x "$@.tmp", \ $(findstring $@,$(bin_SCRIPTS) $(sbin_SCRIPTS))) %: %.in Makefile $(AM_V_GEN)$(MKDIR_P) "`dirname $@`" ; \ - $(SED) $(instantiate) < $< >$@ ; \ - $(maybe_executable) + $(SED) $(instantiate) < "$<" > "$@.tmp" ; \ + $(maybe_executable) ; mv "$@.tmp" "$@" modules/shepherd/config.scm: modules/shepherd/config.scm.in Makefile $(MKDIR_P) "`dirname $@`" diff --git a/halt.in b/halt.in index 93ac83c..6516cf2 100644 --- a/halt.in +++ b/halt.in @@ -2,6 +2,6 @@ -*- scheme -*- !# -(set! %load-path (cons "%modsrcdir%" %load-path)) +(set! %load-path (append '("%modbuilddir%" "%modsrcdir%") %load-path)) (set! %load-compiled-path (cons "%modbuilddir%" %load-compiled-path)) (apply (@ (shepherd scripts halt) main) (cdr (command-line))) diff --git a/herd.in b/herd.in index e61d26b..09e2fd7 100644 --- a/herd.in +++ b/herd.in @@ -3,7 +3,7 @@ !# (set! %load-path - (append '("%modsrcdir%" "%FIBERS_SOURCE_DIRECTORY%") %load-path)) + (append '("%modbuilddir%" "%modsrcdir%" "%FIBERS_SOURCE_DIRECTORY%") %load-path)) (set! %load-compiled-path (append '("%modbuilddir%" "%FIBERS_OBJECT_DIRECTORY%") %load-compiled-path)) diff --git a/reboot.in b/reboot.in index 254b095..7bd93fa 100644 --- a/reboot.in +++ b/reboot.in @@ -2,6 +2,6 @@ -*- scheme -*- !# -(set! %load-path (cons "%modsrcdir%" %load-path)) +(set! %load-path (append '("%modbuilddir%" "%modsrcdir%") %load-path)) (set! %load-compiled-path (cons "%modbuilddir%" %load-compiled-path)) (apply (@ (shepherd scripts reboot) main) (cdr (command-line))) diff --git a/shepherd.in b/shepherd.in index 29a8227..b61fd35 100644 --- a/shepherd.in +++ b/shepherd.in @@ -3,7 +3,7 @@ !# (set! %load-path - (append '("%modsrcdir%" "%FIBERS_SOURCE_DIRECTORY%") %load-path)) + (append '("%modbuilddir%" "%modsrcdir%" "%FIBERS_SOURCE_DIRECTORY%") %load-path)) (set! %load-compiled-path (append '("%modbuilddir%" "%FIBERS_OBJECT_DIRECTORY%") %load-compiled-path)) --=-=-=--
bug-guix@HIDDEN
:bug#76735
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 4 Mar 2025 07:23:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 04 02:23:43 2025 Received: from localhost ([127.0.0.1]:54853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1tpMcs-0002s0-Ma for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 02:23:43 -0500 Received: from lists.gnu.org ([2001:470:142::17]:36230) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <simon@HIDDEN>) id 1tpMcm-0002r6-Kn for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 02:23:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <simon@HIDDEN>) id 1tpMcG-0004uo-66 for bug-guix@HIDDEN; Tue, 04 Mar 2025 02:23:01 -0500 Received: from uggla.sjd.se ([2001:9b1:8633::107]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <simon@HIDDEN>) id 1tpMc9-0006Hi-91 for bug-guix@HIDDEN; Tue, 04 Mar 2025 02:22:59 -0500 DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=ed2303; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=MlX4KEF6mSlAFmFPRr4aFRRG8qkbMKkCNHqsguIdqUs=; t=1741072967; x=1742282567; b=Ki2FJLqiJCqUIS6Zc7fhoaFLDiEo7Mi3y+Ki9mMD3Hb6kXj ADyEFzqa9ziW7FJSfvoIL1SToCGasihxpkO+ADg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=josefsson.org; s=rsa2303; h=Content-Type:MIME-Version:Message-ID:Date: Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description; bh=MlX4KEF6mSlAFmFPRr4aFRRG8qkbMKkCNHqsguIdqUs=; t=1741072967; x=1742282567; b=BgJYe/hK69fb299WRHb+pBDTz0J2fI6yD8t8HTTuBLAvNNJ Iv13aw6wd5ySNxefayZNtIZecEI3Vgshy+It8EaqHsGASr90/IofoPxTv4jsPKpjGvP2O0qOHDs7i Wr6gJG1rbVx9jFMvTi+yYI4knzmmxqDsZaLKAGMwzl7S139n8r7uuZ4vOoiFdff8URLaF+mj+kqsK Hf9JWXP0Vc4Z5aLUJOIiGz3+bJ4iIrdsRjqJEVx/dIsvNJ4CuGU5Cz75WfARxotCJqqHSJpSW02cE 9jy24EIaEhAUUPMnEXkvQk7bKXhX7vUEfWeWe1/7AvoNNQ2pCn3mU5E7XploGdzIXDjJ+qJca6m1e e7azidxg0MtupXZfkf9E0UK34bFXfhCk54NOBUfe1PEggtaI/3mtpINiPsgG+J7d6ta3Kab1gHjKC xeGZx+40LUECAmy76Hk18y9t; Received: from h-178-174-130-130.a498.priv.bahnhof.se ([178.174.130.130]:56928 helo=kaka) by uggla.sjd.se with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <simon@HIDDEN>) id 1tpMc0-001fYE-3W for bug-guix@HIDDEN; Tue, 04 Mar 2025 07:22:44 +0000 From: Simon Josefsson <simon@HIDDEN> To: bug-guix@HIDDEN Subject: Shepherd parallel make help2man issue User-Agent: Gnus/5.13 (Gnus v5.13) OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt X-Hashcash: 1:23:250304:bug-guix@HIDDEN::9A30bc1c5wBQR60U:KKcI Date: Tue, 04 Mar 2025 08:22:14 +0100 Message-ID: <87tt89z2e1.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@HIDDEN; helo=uggla.sjd.se X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.1 (/) --=-=-= Content-Type: text/plain Hi I got the build error below. Presumably it happens because the jobs to create the tools has not finished before the help2man jobs has started. I will patch around this in the Debian packaging to serialize the build: override_dh_auto_build: # build tools that help2man needs first dh_auto_build $(DH_BUILD_OPTS) -- shepherd herd halt reboot dh_auto_build $(DH_BUILD_OPTS) But it seems like a upstream problem. I know how annoying these kind of bugs are, sorry for another report of this type :) /Simon dh_auto_build make -j42 make[1]: Entering directory '/build/reproducible-path/shepherd-1.0.2' /usr/bin/mkdir -p "`dirname modules/shepherd/config.scm`" /usr/bin/sed -e 's,%PREFIX%,/usr,g' -e 's,%modsrcdir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%modbuilddir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%localstatedir%,/var,g' -e 's,%runstatedir%,/run,g' -e 's,%pkglibdir%,/usr/lib/x86_64-linux-gnu/shepherd,g' -e 's,%sysconfdir%,/etc,g' -e 's,%localedir%,/usr/share/locale,g' -e 's,%VERSION%,1.0.2,g' -e 's,%PACKAGE_BUGREPORT%,bug-guix@HIDDEN,g' -e 's,%PACKAGE_NAME%,GNU Shepherd,g' -e 's,%PACKAGE_URL%,https://www.gnu.org/software/shepherd/,g' -e 's,%FIBERS_SOURCE_DIRECTORY%,/usr/share/guile/site/3.0,g' -e 's,%FIBERS_OBJECT_DIRECTORY%,/usr/lib/x86_64-linux-gnu/guile/3.0/site-ccache,g' -e 's,%GUILE%,/usr/bin/guile-3.0,g' < modules/shepherd/config.scm.in >modules/shepherd/config.scm make all-recursive make[2]: Entering directory '/build/reproducible-path/shepherd-1.0.2' Making all in po make[3]: Entering directory '/build/reproducible-path/shepherd-1.0.2/po' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/build/reproducible-path/shepherd-1.0.2/po' make[3]: Entering directory '/build/reproducible-path/shepherd-1.0.2' /usr/bin/mkdir -p "`dirname shepherd`" ; \ /usr/bin/sed -e 's,%PREFIX%,/usr,g' -e 's,%modsrcdir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%modbuilddir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%localstatedir%,/var,g' -e 's,%runstatedir%,/run,g' -e 's,%pkglibdir%,/usr/lib/x86_64-linux-gnu/shepherd,g' -e 's,%sysconfdir%,/etc,g' -e 's,%localedir%,/usr/share/locale,g' -e 's,%VERSION%,1.0.2,g' -e 's,%PACKAGE_BUGREPORT%,bug-guix@HIDDEN,g' -e 's,%PACKAGE_NAME%,GNU Shepherd,g' -e 's,%PACKAGE_URL%,https://www.gnu.org/software/shepherd/,g' -e 's,%FIBERS_SOURCE_DIRECTORY%,/usr/share/guile/site/3.0,g' -e 's,%FIBERS_OBJECT_DIRECTORY%,/usr/lib/x86_64-linux-gnu/guile/3.0/site-ccache,g' -e 's,%GUILE%,/usr/bin/guile-3.0,g' < shepherd.in >shepherd ; \ chmod +x shepherd /usr/bin/mkdir -p "`dirname herd`" ; \ /usr/bin/sed -e 's,%PREFIX%,/usr,g' -e 's,%modsrcdir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%modbuilddir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%localstatedir%,/var,g' -e 's,%runstatedir%,/run,g' -e 's,%pkglibdir%,/usr/lib/x86_64-linux-gnu/shepherd,g' -e 's,%sysconfdir%,/etc,g' -e 's,%localedir%,/usr/share/locale,g' -e 's,%VERSION%,1.0.2,g' -e 's,%PACKAGE_BUGREPORT%,bug-guix@HIDDEN,g' -e 's,%PACKAGE_NAME%,GNU Shepherd,g' -e 's,%PACKAGE_URL%,https://www.gnu.org/software/shepherd/,g' -e 's,%FIBERS_SOURCE_DIRECTORY%,/usr/share/guile/site/3.0,g' -e 's,%FIBERS_OBJECT_DIRECTORY%,/usr/lib/x86_64-linux-gnu/guile/3.0/site-ccache,g' -e 's,%GUILE%,/usr/bin/guile-3.0,g' < herd.in >herd ; \ chmod +x herd /usr/bin/mkdir -p "`dirname halt`" ; \ /usr/bin/sed -e 's,%PREFIX%,/usr,g' -e 's,%modsrcdir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%modbuilddir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%localstatedir%,/var,g' -e 's,%runstatedir%,/run,g' -e 's,%pkglibdir%,/usr/lib/x86_64-linux-gnu/shepherd,g' -e 's,%sysconfdir%,/etc,g' -e 's,%localedir%,/usr/share/locale,g' -e 's,%VERSION%,1.0.2,g' -e 's,%PACKAGE_BUGREPORT%,bug-guix@HIDDEN,g' -e 's,%PACKAGE_NAME%,GNU Shepherd,g' -e 's,%PACKAGE_URL%,https://www.gnu.org/software/shepherd/,g' -e 's,%FIBERS_SOURCE_DIRECTORY%,/usr/share/guile/site/3.0,g' -e 's,%FIBERS_OBJECT_DIRECTORY%,/usr/lib/x86_64-linux-gnu/guile/3.0/site-ccache,g' -e 's,%GUILE%,/usr/bin/guile-3.0,g' < halt.in >halt ; \ chmod +x halt /usr/bin/mkdir -p "`dirname reboot`" ; \ /usr/bin/sed -e 's,%PREFIX%,/usr,g' -e 's,%modsrcdir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%modbuilddir%,/build/reproducible-path/shepherd-1.0.2/modules,g' -e 's,%localstatedir%,/var,g' -e 's,%runstatedir%,/run,g' -e 's,%pkglibdir%,/usr/lib/x86_64-linux-gnu/shepherd,g' -e 's,%sysconfdir%,/etc,g' -e 's,%localedir%,/usr/share/locale,g' -e 's,%VERSION%,1.0.2,g' -e 's,%PACKAGE_BUGREPORT%,bug-guix@HIDDEN,g' -e 's,%PACKAGE_NAME%,GNU Shepherd,g' -e 's,%PACKAGE_URL%,https://www.gnu.org/software/shepherd/,g' -e 's,%FIBERS_SOURCE_DIRECTORY%,/usr/share/guile/site/3.0,g' -e 's,%FIBERS_OBJECT_DIRECTORY%,/usr/lib/x86_64-linux-gnu/guile/3.0/site-ccache,g' -e 's,%GUILE%,/usr/bin/guile-3.0,g' < reboot.in >reboot ; \ chmod +x reboot LANGUAGE= /bin/bash '/build/reproducible-path/shepherd-1.0.2/build-aux/missing' help2man --source=GNU --info-page=shepherd --output="doc/shepherd.1" "./`basename "doc/shepherd.1" .1`" LANGUAGE= /bin/bash '/build/reproducible-path/shepherd-1.0.2/build-aux/missing' help2man --source=GNU --info-page=shepherd --output="doc/herd.1" "./`basename "doc/herd.1" .1`" make[4]: Entering directory '/build/reproducible-path/shepherd-1.0.2' help2man: can't get `--help' info from ./herd Try `--no-discard-stderr' if option outputs to stderr help2man: can't get `--help' info from ./shepherd Try `--no-discard-stderr' if option outputs to stderr WARNING: 'help2man' is missing on your system. You should only need it if you modified a dependency of a man page. You may want to install the GNU Help2man package: <https://www.gnu.org/software/help2man/> WARNING: 'help2man' is missing on your system. You should only need it if you modified a dependency of a man page. You may want to install the GNU Help2man package: <https://www.gnu.org/software/help2man/> make[3]: *** [Makefile:2252: doc/shepherd.1] Error 127 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:2255: doc/herd.1] Error 127 make[4]: Leaving directory '/build/reproducible-path/shepherd-1.0.2' Updating ./doc/version.texi make[3]: Leaving directory '/build/reproducible-path/shepherd-1.0.2' make[2]: *** [Makefile:1470: all-recursive] Error 1 make[2]: Leaving directory '/build/reproducible-path/shepherd-1.0.2' make[1]: *** [Makefile:871: all] Error 2 make[1]: Leaving directory '/build/reproducible-path/shepherd-1.0.2' dh_auto_build: error: make -j42 returned exit code 2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQNoBAEWCAMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmfGqicUHHNpbW9uQGpv c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh BLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgIBQkLehFUAAoJENc89jjFPAa+CboA +wUa06RD5e5VTCxvSWtPS75Wq2qBeYGZnf0jvUMxa2n4AP4xkUeAPPnNuMsTm2fs FCDIGaEM2Yn6Vb2huzzT1Fw/BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0 +MTXPPY4xTwGvgUCZf2IKwUJC3oQqgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE 8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J ENc89jjFPAa+GcYA/26YQY05bLtnXiIjTiAzrGQrRXxTHPA8Av7TDFHvIetWAP9s HSoU8OfTwmTiEnGwLlsV7QJclZg3YNz/Ypcp9TqQBrg4BFySz2oSCisGAQQBl1UB BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJl/YgwBQkLehDGAAoJENc89jjF PAa+phoA/jrDqIrl/55vUMBhIQv+TP635d2iCTEnyFmbUcP9+gh6APoDsXalVd2c OGxQtSC+TF8PkZMn1TLkJKAjVxr+xx40AgAKCRBRcisI/kdFojplAP46u4PP5uqS umvREUF0Mc/0MJCKp6nWk0hM1T6Bi/iauAD/cHxmuTSvmq6MUd11E25bCguENGas gBOXcZ8aQ+PYOgY= =GF8z -----END PGP SIGNATURE----- --=-=-=--
Simon Josefsson <simon@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#76735
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.