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 17:09:51 +0100 Message-ID: <87va2s8row.fsf@ambrevar.xyz> References: <4a0d5e493db8af05dd2292b854ad7d3d@tobias.gr> 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]:59285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1giiKq-0000Om-7T for bug-guix@gnu.org; Sun, 13 Jan 2019 11:10:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1giiKo-0000HW-TI for bug-guix@gnu.org; Sun, 13 Jan 2019 11:10:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58753) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1giiKo-0000HQ-Pv for bug-guix@gnu.org; Sun, 13 Jan 2019 11:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1giiKo-0000S9-H6 for bug-guix@gnu.org; Sun, 13 Jan 2019 11:10:02 -0500 In-Reply-To: <4a0d5e493db8af05dd2292b854ad7d3d@tobias.gr> Sender: "Debbugs-submit" Resent-Message-ID: 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: 30785@debbugs.gnu.org, Tobias Geerinckx-Rice , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Great news, I've (finally) made some progress! On a suggestion from Christopher Baines, I compared the strace of a working man and Guix' man. I noticed that Guix man failed to find "preconv". If I install groff-minimal into my user profile, the issue disappears indeed. So it's just a matter of letting man-db find preconv. I've tried the following substitution: =2D-8<---------------cut here---------------start------------->8--- (substitute* "lib/encodings.c" (("const char \\*groff_preconv =3D NULL;") (string-append "const char *groff_preconv =3D \"" (assoc-ref inputs "groff-minimal") "/bin/preconv" "\";"))) =2D-8<---------------cut here---------------end--------------->8--- Surprisingly, man only displays this on every call: =2D-8<---------------cut here---------------start------------->8--- /gnu/store/6dv1q0s8rlf1ndaqx2qhnkiz9x4840ba-man-db-2.8.3/bin/man: /gnu/stor= e/mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff-minimal-1.22.3/bin/preconv: Segmen= tation fault =2D-8<---------------cut here---------------end--------------->8--- However, calling =2D-8<---------------cut here---------------start------------->8--- echo "h=C3=AAll=C3=B3" | /gnu/store/mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff= -minimal-1.22.3/bin/preconv -e UTF-8 =2D-8<---------------cut here---------------end--------------->8--- works. I'm stuck here... Anyone? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw7YtAACgkQm9z0l6S7 zH9jKQgAnUh6ouz6MdOkRsg1nU10fRE+tD7fwBISw1Teqf1rcDF8RMSWtGEhjFEI O86KHSUMffBMm7UsWBEOPqgpk4pcN5JzUfSEjDUOR4iKVVzios1xR89IkgLkAx4H 2AQYZ9EQ3zEKiC5HT1a7bbuasgzE088R+BZ5wXexRWR3/Vbnv6fn2G9IMku6F1UX v92Zcs0G+M9y1gv9KQUa9bT35PjaQ0HuzE7ozSAd/16YogC4JZO6gLwlhkRVILOZ nWi2VkEtZG7bmvXalzEX4b9d+QfFHhT1Hh+27/uX1faHBGuzhdXnoXDSDdeHArfS FXZQk/6d4TtdwZTJHe/mehEuFPtp5g== =LJ5u -----END PGP SIGNATURE----- --=-=-=--