From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: bug#30785: Man pages truncated, repeated Date: Sun, 13 Jan 2019 18:31:10 +0100 Message-ID: <87r2dg8nxd.fsf@ambrevar.xyz> References: <87va2s8row.fsf@ambrevar.xyz> <87tvic8rfq.fsf@ambrevar.xyz> <878szo5w6z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44988) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gijcC-0001gd-3v for bug-guix@gnu.org; Sun, 13 Jan 2019 12:32:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gijcA-0006v8-PN for bug-guix@gnu.org; Sun, 13 Jan 2019 12:32:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58778) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gijcA-0006uy-MZ for bug-guix@gnu.org; Sun, 13 Jan 2019 12:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gijcA-0002Ky-Bt for bug-guix@gnu.org; Sun, 13 Jan 2019 12:32:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <878szo5w6z.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 30785@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Indeed. So the reason that there is an issue at all is that man-db uses libpipeline to run a pipeline of programs. I've used Ludo's trick to see if could get more details: =2D-8<---------------cut here---------------start------------->8--- ambrevar@mimimi ~/projects/guix/gnu/packages$ PIPELINE_DEBUG=3D1 /gnu/store= /fm7jlkf93bh7bw03m8hbha2b5qxjz0kz-man-db-2.8.3/bin/man emacs Starting pipeline: /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin= /gzip -dc /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-emacs-26.1/share/man/= man1/emacs.1.gz [input: {0, /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-ema= cs-26.1/share/man/man1/emacs.1.gz}, output: {-1, NULL}] Started "/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gzip", pi= d 13814 Waiting for pipeline: /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/= bin/gzip -dc /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-emacs-26.1/share/m= an/man1/emacs.1.gz [input: {0, /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-= emacs-26.1/share/man/man1/emacs.1.gz}, output: {-1, NULL}] Active processes (1): "/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gzip" (13814) -= > 0 Starting pipeline: /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin= /gzip -dc /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-emacs-26.1/share/man/= man1/emacs.1.gz [input: {0, /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-ema= cs-26.1/share/man/man1/emacs.1.gz}, output: {-1, NULL}] Started "/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gzip", pi= d 13815 Waiting for pipeline: /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/= bin/gzip -dc /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-emacs-26.1/share/m= an/man1/emacs.1.gz [input: {0, /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-= emacs-26.1/share/man/man1/emacs.1.gz}, output: {-1, NULL}] Active processes (1): "/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gzip" (13815) -= > -1 Active processes (1): "/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gzip" (13815) -= > 0 Starting pipeline: /gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin= /gzip -dc /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-emacs-26.1/share/man/= man1/emacs.1.gz [input: {0, /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-ema= cs-26.1/share/man/man1/emacs.1.gz}, output: {-1, NULL}] Started "/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin/gzip", pi= d 13816 Starting pipeline: (cd /home/ambrevar/.guix-profile/share/man && /gnu/store= /fm7jlkf93bh7bw03m8hbha2b5qxjz0kz-man-db-2.8.3/libexec/man-db/zsoelim) | (c= d /home/ambrevar/.guix-profile/share/man && /gnu/store/fm7jlkf93bh7bw03m8hb= ha2b5qxjz0kz-man-db-2.8.3/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF= -8//IGNORE) | (cd /home/ambrevar/.guix-profile/share/man && /gnu/store/mpjn= 4jfx5i8jxblfj538n22hv56rdnhw-groff-minimal-1.22.3/bin/preconv -e UTF-8) | (= cd /home/ambrevar/.guix-profile/share/man && /gnu/store/mpjn4jfx5i8jxblfj53= 8n22hv56rdnhw-groff-minimal-1.22.3/bin/tbl) | (cd /home/ambrevar/.guix-prof= ile/share/man && /gnu/store/mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff-minimal-= 1.22.3/bin/nroff -mandoc -Tutf8) [input: {-1, NULL}, output: {-1, NULL}] Started "/gnu/store/fm7jlkf93bh7bw03m8hbha2b5qxjz0kz-man-db-2.8.3/libexec/m= an-db/zsoelim", pid 13817 Started "/gnu/store/fm7jlkf93bh7bw03m8hbha2b5qxjz0kz-man-db-2.8.3/libexec/m= an-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE", pid 13818 Started "/gnu/store/mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff-minimal-1.22.3/b= in/preconv", pid 13819 Started "/gnu/store/mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff-minimal-1.22.3/b= in/tbl", pid 13820 Started "/gnu/store/mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff-minimal-1.22.3/b= in/nroff", pid 13821 Starting pipeline: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]= *$/D; }' | LESS=3D-ix8RmPm Manual page emacs(1) ?ltline %lt?L/%L.:byte %bB?= s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page e= macs(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for = help or q to quit)$ MAN_PN=3Demacs(1) less -s [input: {-1, NULL}, output: {= 0, NULL}] Started "sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }'",= pid 13822 Started "less", pid 13823 source pipeline 0 returned error or EOF Active processes (1): "less" (13823) -> 0 /gnu/store/fm7jlkf93bh7bw03m8hbha2b5qxjz0kz-man-db-2.8.3/bin/man: command e= xited with status 127: (cd /home/ambrevar/.guix-profile/share/man && /gnu/s= tore/fm7jlkf93bh7bw03m8hbha2b5qxjz0kz-man-db-2.8.3/libexec/man-db/zsoelim) = | (cd /home/ambrevar/.guix-profile/share/man && /gnu/store/fm7jlkf93bh7bw03= m8hbha2b5qxjz0kz-man-db-2.8.3/libexec/man-db/manconv -f UTF-8:ISO-8859-1 -t= UTF-8//IGNORE) | (cd /home/ambrevar/.guix-profile/share/man && /gnu/store/= mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff-minimal-1.22.3/bin/preconv -e UTF-8)= | (cd /home/ambrevar/.guix-profile/share/man && /gnu/store/mpjn4jfx5i8jxbl= fj538n22hv56rdnhw-groff-minimal-1.22.3/bin/tbl) | (cd /home/ambrevar/.guix-= profile/share/man && /gnu/store/mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff-mini= mal-1.22.3/bin/nroff -mandoc -Tutf8) =2D-8<---------------cut here---------------end--------------->8--- I'm not sure this tells us much. From=20libpipeline's documentation (http://libpipeline.nongnu.org/libpipeline.3.html), it seems that libpipeli= ne accepts "program names", and it's unclear to me if it accepts full paths (w= ould be weird, but we never know). If we can't figure it out, a workaround would be to wrap "man" to add groff-minimal to PATH. Thoughts? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw7dd4ACgkQm9z0l6S7 zH+pVgf/fAzGUEEj9iBwWdgB2oC6xVWvioYA/tI1UnumaU3DOBaMV7Ph7p506s+W pWeB43aked5RfuA0ExkOaTGk926MTkbxgPat5Zwv1ugCn3YqsdcEW+TnGczq8N6S aP2RFxTUazYJ7Blwd0kaxNs0geaeUG5wmlPK0V9jWWr6gjfWZvzM37rSpeyLXbJ5 aiLP9bgVV8bH1+5xrs/6sdxmoapaLtev0LW57aoWuF2gfPSovkg91ZXsBw+AgsH6 uTBNxu5j1eFJYWLD/dVA6uFj+ikLEAFf467jJpuuawqPlhyJNOz0yVpyHfke+jq5 /PdxDrdRaiP/2p5RCZgIHMsHqkkzxQ== =aRMv -----END PGP SIGNATURE----- --=-=-=--