GNU bug report logs - #30785
Man pages truncated, repeated

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: minor; Reported by: Tobias Geerinckx-Rice <me@HIDDEN>; dated Mon, 12 Mar 2018 21:26:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 15 Jan 2019 12:29:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 15 07:29:22 2019
Received: from localhost ([127.0.0.1]:59594 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjNqM-0007dl-2G
	for submit <at> debbugs.gnu.org; Tue, 15 Jan 2019 07:29:22 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:38844)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gjNqK-0007dd-IW
 for 30785 <at> debbugs.gnu.org; Tue, 15 Jan 2019 07:29:21 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id E48C91BC7;
 Tue, 15 Jan 2019 13:29:19 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 4AvS_rhOS3r9; Tue, 15 Jan 2019 13:29:19 +0100 (CET)
Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id EE82F126C;
 Tue, 15 Jan 2019 13:29:18 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN>
 <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN>
 <20190114184853.1d1fe010@HIDDEN>
 <20190114185054.37ddef40@HIDDEN> <874labq91k.fsf@HIDDEN>
 <20190114224249.6bd4452f@HIDDEN>
 <20190114231406.1a1654ac@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 26 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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: Tue, 15 Jan 2019 13:29:18 +0100
In-Reply-To: <20190114231406.1a1654ac@HIDDEN> (Danny Milosavljevic's
 message of "Mon, 14 Jan 2019 23:14:06 +0100")
Message-ID: <87ef9e2jfl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30785
Cc: Pierre Neidhardt <mail@HIDDEN>, 30785 <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 (/)

Danny Milosavljevic <dannym@HIDDEN> skribis:

> Correction, the file "charset.alias" is only installed for groff for glib=
c < 2.1 .
> The code that reads charset.alias is always created.
> What could possibly go wrong?
>
> Anyway, I suggest the following minimal patch:
>
> diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm
> index 77728a5d7..ee2896367 100644
> --- a/gnu/packages/groff.scm
> +++ b/gnu/packages/groff.scm
> @@ -62,6 +62,16 @@
>      `(#:parallel-build? #f   ; parallel build fails
>        #:phases
>        (modify-phases %standard-phases
> +        (add-after 'unpack 'disable-relocatability
> +          (lambda _
> +            (substitute* "src/libs/libgroff/Makefile.sub"
> +             (("-DENABLE_RELOCATABLE=3D1") ""))
> +            ;; That file contains a crash bug--so make sure that
> +            ;; its contents are not there.
> +            (call-with-output-file "src/libs/libgroff/relocate.cpp"
> +              (lambda (port)
> +                #t))
> +            #t))
>          (add-after 'unpack 'setenv
>            (lambda _
>              (setenv "GS_GENERATE_UUIDS" "0")
>
> I filed an upstream bug report:
>
> https://savannah.gnu.org/bugs/index.php?55475

Neat!  Pierre, can you confirm it fixes the issue?

If it does, I agree with Pierre that you should add a comment
referencing this bug and upstream=E2=80=99s, but apart from that, please go
ahead!

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 22:39:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 17:39:24 2019
Received: from localhost ([127.0.0.1]:59422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjAtA-0002UL-DH
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 17:39:24 -0500
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:39175)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gjAt8-0002UD-Bh
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 17:39:23 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 471661C0005;
 Mon, 14 Jan 2019 22:39:19 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN> <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN> <20190114184853.1d1fe010@HIDDEN>
 <20190114185054.37ddef40@HIDDEN> <874labq91k.fsf@HIDDEN>
 <20190114224249.6bd4452f@HIDDEN>
 <20190114231406.1a1654ac@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <20190114231406.1a1654ac@HIDDEN>
Date: Mon, 14 Jan 2019 23:39:19 +0100
Message-ID: <87h8ea984o.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I suggest your patch explain that crash involves man-db + add a link to thi=
s discussion.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw9D5cACgkQm9z0l6S7
zH/1oggAjI/PZ5bCP8ajxkcbIhF4SWsdKRICvEQ6f2kyeNeg044m0oa4PUbPziny
iDGTuLucvahfemjEoRNzjUfGdTzWeeB5LULtvSg3DdhwrhuOaWKqsPZ1RnEyvaKu
mG4CypvzsO8QSyeCu+aJyriHSv67lP19NHhDZrTk3pjo00I8DHeAsche3vtmH81B
culyAwhUUDUe/fD850wUJ9wi3OYELCSyVswYHY+S7k8PfrvDtlfKIg2rV+aDKgm/
TVm6Rzx5vvH2TNn3FrCmMVwYfA/lX5U5r6qrmoQlrJkvilsZvAgzOhuf5yKk5Yss
sUbTIhUj8KlEwxONC4UA6XvLQWw7Iw==
=dVGZ
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 22:14:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 17:14:17 2019
Received: from localhost ([127.0.0.1]:59417 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjAUp-0001sy-5r
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 17:14:17 -0500
Received: from dd26836.kasserver.com ([85.13.145.193]:43400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1gjAUn-0001sp-JG
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 17:14:14 -0500
Received: from localhost (77.116.158.150.wireless.dyn.drei.com
 [77.116.158.150])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 206383360514;
 Mon, 14 Jan 2019 23:14:12 +0100 (CET)
Date: Mon, 14 Jan 2019 23:14:06 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>, Pierre Neidhardt
 <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
Message-ID: <20190114231406.1a1654ac@HIDDEN>
In-Reply-To: <20190114224249.6bd4452f@HIDDEN>
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN>
 <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN>
 <20190114184853.1d1fe010@HIDDEN>
 <20190114185054.37ddef40@HIDDEN> <874labq91k.fsf@HIDDEN>
 <20190114224249.6bd4452f@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/.Ff+qL3WzRcHQAxZ9IZpbJ+"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: 30785 <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.7 (-)

--Sig_/.Ff+qL3WzRcHQAxZ9IZpbJ+
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Correction, the file "charset.alias" is only installed for groff for glibc =
< 2.1 .
The code that reads charset.alias is always created.
What could possibly go wrong?

Anyway, I suggest the following minimal patch:

diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm
index 77728a5d7..ee2896367 100644
--- a/gnu/packages/groff.scm
+++ b/gnu/packages/groff.scm
@@ -62,6 +62,16 @@
     `(#:parallel-build? #f   ; parallel build fails
       #:phases
       (modify-phases %standard-phases
+        (add-after 'unpack 'disable-relocatability
+          (lambda _
+            (substitute* "src/libs/libgroff/Makefile.sub"
+             (("-DENABLE_RELOCATABLE=3D1") ""))
+            ;; That file contains a crash bug--so make sure that
+            ;; its contents are not there.
+            (call-with-output-file "src/libs/libgroff/relocate.cpp"
+              (lambda (port)
+                #t))
+            #t))
         (add-after 'unpack 'setenv
           (lambda _
             (setenv "GS_GENERATE_UUIDS" "0")

I filed an upstream bug report:

https://savannah.gnu.org/bugs/index.php?55475

--Sig_/.Ff+qL3WzRcHQAxZ9IZpbJ+
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlw9Ca4ACgkQ5xo1VCww
uqUCXAgAnwOqo2MgnJm7HhH+Zl0HKkO/T1POMUBAObPEOx/dhYR0pF+KT3rtaJjU
ax9kmFPPEUtdPcboKdnuJZ3eMxmHXtmdgU5eZT3Ixr8YLFyXTU5Z4P/BEkbO7RAv
BIjoTQtHNce/jOkCDLmHrE2pVxGYG4+xhOW+QpB5sJKhfNBCfv0Jea4+ahHno0Iu
aQufTAAxH4YsB0UlTyDrzoFBz3bPz0BmxIEhmtK3W1tP4+g8DGZN1jNdUwDxrbbb
E+pAF5+JmxBTZ8dPy7ecxyPrH72V8cxzNS5Ov8I0GEChLaXglKqZWy5ZRx8AKwzy
zySlIpbvw9yBFHr4j0rA/F+gAdrkUg==
=hdGf
-----END PGP SIGNATURE-----

--Sig_/.Ff+qL3WzRcHQAxZ9IZpbJ+--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 21:59:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 16:59:29 2019
Received: from localhost ([127.0.0.1]:59408 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjAGX-0001XO-Af
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 16:59:29 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:50093)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gjAGU-0001XE-1E
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 16:59:27 -0500
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay11.mail.gandi.net (Postfix) with ESMTPSA id 0FAD0100004;
 Mon, 14 Jan 2019 21:59:23 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN> <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN> <20190114184853.1d1fe010@HIDDEN>
 <20190114185054.37ddef40@HIDDEN> <874labq91k.fsf@HIDDEN>
 <20190114224249.6bd4452f@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <20190114224249.6bd4452f@HIDDEN>
Date: Mon, 14 Jan 2019 22:59:23 +0100
Message-ID: <87imyq99z8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Maybe I'm judging a bit too fast, but it seems to me that this part of the =
code
is rusty to the point that I wonder if getting down to understanding the ho=
ws
and the whys will ever reveal useful or enlightening at all.  It's rather s=
afe
to bet that nothing will ever depend on man-db's rendering ;)

I feel that it's just easier to apply one of the 3-4 fixes we've already co=
me up
with=C2=A0:p

My two cents :)

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw9BjsACgkQm9z0l6S7
zH/VPgf+IPnC+Tjg1wvREZzSY3CUtUt3AvNQs0Gdv/3RLqjyEwY8kMh/edV+gyLT
6sRpoivCFTRlepz6Q5pXjs4Y9NcBuAulFCzOZgpVOx0aDNrxLEWvs7s/gFpZiA6+
E9q/QECDRFuU6ne7rGJr6lsIuhKZCiWspYNGx3pltXtc9/5pdvB9FnF87SS/v7mJ
IMifEoQ6Bh0rw1maR7xsw/cLT00UFzoyo8IuGZyKBPihMEnLRElOe6NgtzyOGRpq
WZdyfPa+jSEkT7s7fDi2V9htenVMLXFOSbRVY3EiJH7EP0VC5ftj5zp9x7Q6Eu+G
Bs1OIeWEENwXYMpBpldvMot3QTrrdQ==
=4qMR
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 21:42:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 16:42:57 2019
Received: from localhost ([127.0.0.1]:59396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjA0X-00019Z-9x
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 16:42:57 -0500
Received: from dd26836.kasserver.com ([85.13.145.193]:41156)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1gjA0V-00019R-9O
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 16:42:55 -0500
Received: from localhost (77.116.158.150.wireless.dyn.drei.com
 [77.116.158.150])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id BDB673360312;
 Mon, 14 Jan 2019 22:42:53 +0100 (CET)
Date: Mon, 14 Jan 2019 22:42:49 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
To: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>, Pierre Neidhardt
 <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
Message-ID: <20190114224249.6bd4452f@HIDDEN>
In-Reply-To: <874labq91k.fsf@HIDDEN>
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN>
 <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN>
 <20190114184853.1d1fe010@HIDDEN>
 <20190114185054.37ddef40@HIDDEN> <874labq91k.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/m8H=YlIwOoCWxL0ihrKE9Vw"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: 30785 <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.7 (-)

--Sig_/m8H=YlIwOoCWxL0ihrKE9Vw
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Pierre,
Hi Ludo,

On Mon, 14 Jan 2019 21:27:35 +0100
Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> The =E2=80=98set_current_prefix=E2=80=99 logic is extremely fragile; it s=
hould readlink
> from /proc/self/exe on GNU/Linux.
>=20
> But in our case, no relocation happens, so we can just patch it to do:
>=20
>   void set_current_prefix (void)
>   {
>     curr_prefix =3D "/gnu/store/=E2=80=A6";
>   }

I agree.

However, in this case the question is why is it picking up all that stuff a=
nyway.

The relocation is only used in the case of the groff-local localcharset.c b=
eing
used.
It's only a fallback that is used if glibc < 2.1.  I've checked the guix bu=
ild
logs, the glibc version is newer and also found by the 'configure phase of =
groff.

I can't tell about groff-minimal because the build log as given by
"guix build --log-file groff-minimal"
(https://ci.guix.info/log/mpjn4jfx5i8jxblfj538n22hv56rdnhw-groff-minimal-1.=
22.3)
has 0 Bytes.

Anyway, a simple way to disable this weird relocation business would be to =
remove:

./src/libs/libgroff/Makefile.sub:             -DENABLE_RELOCATABLE=3D1 \

However, it would be preferrable to find out why ./src/libs/gnulib/lib/loca=
lcharset.c
(the only user of it) is used at all.  It really shouldn't be.

--Sig_/m8H=YlIwOoCWxL0ihrKE9Vw
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlw9AlkACgkQ5xo1VCww
uqXv6wf/Zb470lajMlVKT0R1jHJHeQArqqXURaolPEVt4/ViAoqgGQ8gDfAViNYE
uyju7agauSNYaaAV64cddJUPm+wD6cDy/Rd78XAxX5mKEMXYidLWsZhBJ/UpCUAX
5VE4HyVC81YtMzanKNUOf8sejQer2FAwlB169JygKxp3GYPSlK05NYxqZdpw0Dq3
BhahL3pyZAEQm4kKTuDRf/xq0kewbW3oPDN5J03IhiApT2wXbrhrdFtOAkxbek4R
/JTWj6svjqRPwvuJMvmBAK4eoaD7j38on+E32LKFfZVeeN04C+hBfhhOjP1DIWTn
fHt3XG0hXD/KcWPdFPrTPUqDF37Pmw==
=0CKC
-----END PGP SIGNATURE-----

--Sig_/m8H=YlIwOoCWxL0ihrKE9Vw--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 20:27:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 15:27:43 2019
Received: from localhost ([127.0.0.1]:59373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj8pi-0007q3-RT
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 15:27:43 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:32880)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gj8pg-0007pt-Ks
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 15:27:41 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 5B2F91240;
 Mon, 14 Jan 2019 21:27:38 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id OiSw2fY9AWir; Mon, 14 Jan 2019 21:27:37 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 59502C9B;
 Mon, 14 Jan 2019 21:27:37 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN>
 <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN>
 <20190114184853.1d1fe010@HIDDEN>
 <20190114185054.37ddef40@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 25 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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, 14 Jan 2019 21:27:35 +0100
In-Reply-To: <20190114185054.37ddef40@HIDDEN> (Danny Milosavljevic's
 message of "Mon, 14 Jan 2019 18:50:54 +0100")
Message-ID: <874labq91k.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30785
Cc: Pierre Neidhardt <mail@HIDDEN>, 30785 <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 (/)

Danny Milosavljevic <dannym@HIDDEN> skribis:

> On Mon, 14 Jan 2019 18:48:53 +0100
> Danny Milosavljevic <dannym@HIDDEN> wrote:
>
>> set_current_prefix() searches for the current program executable file in=
 $PATH,
>> and it can fail and return 0.=20
>>=20
>> In that case, relocatep will probably segfault at the location marked be=
low:
>>=20
>> >   char *relocated_path =3D new char[curr_prefix_len + relative_path_le=
n + 1];
>> >   strcpy(relocated_path, curr_prefix);=20=20
>>                            ^^^^^^^^^^^
>
> This probably happens when argv[0] is not an absolute path, but still the=
 program
> somehow got started, but it is not found in $PATH either.

The =E2=80=98set_current_prefix=E2=80=99 logic is extremely fragile; it sho=
uld readlink
from /proc/self/exe on GNU/Linux.

But in our case, no relocation happens, so we can just patch it to do:

  void set_current_prefix (void)
  {
    curr_prefix =3D "/gnu/store/=E2=80=A6";
  }

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 18:19:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 13:19:24 2019
Received: from localhost ([127.0.0.1]:59316 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj6pX-0002bn-Rx
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 13:19:24 -0500
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:43797)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gj6pV-0002be-Tn
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 13:19:22 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id AC3E420008;
 Mon, 14 Jan 2019 18:19:19 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN> <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN> <20190114184853.1d1fe010@HIDDEN>
 <20190114185054.37ddef40@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <20190114185054.37ddef40@HIDDEN>
Date: Mon, 14 Jan 2019 19:19:19 +0100
Message-ID: <87r2df85lk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

You are right:

    CHARSETALIASDIR=3D/does_not_exist /gnu/store/fm7jlkf93bh7bw03m8hbha2b5q=
xjz0kz-man-db-2.8.3/bin/man nmcli-examples
=20=20=20=20
also works.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw80qcACgkQm9z0l6S7
zH/jRQf+P8hvLeeszH/D3lWsKC6Y7d+k9lW3gA5TOB0Tu3OZPvwjaqDMkRD/8xTn
7Os4snQBKCeNFgNTiABpSRlAn1kNw17aOw/WxXelhodrePywwo1GVpO7LneVXhu/
NVOVz7zGUkts5aDz9xGi9Lea1Dg066AbS6ouuxzMlOCOK5oMpwU+bChaH7U8yAvV
zccPvw3ze38aDWQrL2rIUkxYoI6Gim9jthqQekqdHE/ey/CdeiMhz7DAvNn0vsOt
Jqt0D8BNV/ErMb0Vxbat72LRA634rUzYDc7waSgcsJ9aJ7IcZ3xejewCeoVQ/Vgs
j+EBscdKqEunkoFFoU1k5gNc2Ny8vQ==
=uniS
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 17:51:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 12:51:01 2019
Received: from localhost ([127.0.0.1]:59300 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj6O4-0001vT-W9
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 12:51:01 -0500
Received: from dd26836.kasserver.com ([85.13.145.193]:49620)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1gj6O3-0001vL-IS
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 12:50:59 -0500
Received: from localhost (77.116.158.150.wireless.dyn.drei.com
 [77.116.158.150])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 7F2D13360312;
 Mon, 14 Jan 2019 18:50:58 +0100 (CET)
Date: Mon, 14 Jan 2019 18:50:54 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
Message-ID: <20190114185054.37ddef40@HIDDEN>
In-Reply-To: <20190114184853.1d1fe010@HIDDEN>
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN>
 <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN>
 <20190114184853.1d1fe010@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_//2MztRSy15pGtkdF1EeVoc."; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--Sig_//2MztRSy15pGtkdF1EeVoc.
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 14 Jan 2019 18:48:53 +0100
Danny Milosavljevic <dannym@HIDDEN> wrote:

> set_current_prefix() searches for the current program executable file in =
$PATH,
> and it can fail and return 0.=20
>=20
> In that case, relocatep will probably segfault at the location marked bel=
ow:
>=20
> >   char *relocated_path =3D new char[curr_prefix_len + relative_path_len=
 + 1];
> >   strcpy(relocated_path, curr_prefix); =20
>                            ^^^^^^^^^^^

This probably happens when argv[0] is not an absolute path, but still the p=
rogram
somehow got started, but it is not found in $PATH either.

--Sig_//2MztRSy15pGtkdF1EeVoc.
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlw8y/4ACgkQ5xo1VCww
uqVM8Qf/SAFeklUJo3Mv1is/dXFg4/OXowJs4SCg6uC0ihjPVzhC66sWT4P0LBub
Rtoru0CihxtoReshCRXvqaFjx5XpZxbZKCmmzFO7tb/qvpzv5+1XsyGLSUPN7kuK
S/fdjvpkcsSjh1IKq7FKlEOAfBCc7baclUiSszx+DfN/MqgREryLWyfleymLX17C
vvAz/spjJPF/Ihbo8VbqawZXF938fcQyZZd3MKzW0aCDa2bBMdHwHbFUxCzLMY9v
ZsKJ5Pul08WAlnnD1uN/GkrXtlUPc9/Oza1p6HaXO2RNPvC44qXDght6/sMI2Cd6
a6jZJ8TKnW/Zvb8VrbuUzrqyqLk3CQ==
=RdXh
-----END PGP SIGNATURE-----

--Sig_//2MztRSy15pGtkdF1EeVoc.--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 17:49:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 12:49:01 2019
Received: from localhost ([127.0.0.1]:59296 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj6M8-0001sK-3t
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 12:49:01 -0500
Received: from dd26836.kasserver.com ([85.13.145.193]:49462)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1gj6M6-0001sC-7O
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 12:48:58 -0500
Received: from localhost (77.116.158.150.wireless.dyn.drei.com
 [77.116.158.150])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 2C29F3360312;
 Mon, 14 Jan 2019 18:48:57 +0100 (CET)
Date: Mon, 14 Jan 2019 18:48:53 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
Message-ID: <20190114184853.1d1fe010@HIDDEN>
In-Reply-To: <87va2r89ef.fsf@HIDDEN>
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN>
 <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/YHThlfTVEz2F=82.blfO.JU"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--Sig_/YHThlfTVEz2F=82.blfO.JU
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

set_current_prefix() searches for the current program executable file in $P=
ATH,
and it can fail and return 0.=20

In that case, relocatep will probably segfault at the location marked below:

>   char *relocated_path =3D new char[curr_prefix_len + relative_path_len +=
 1];
>   strcpy(relocated_path, curr_prefix);
                           ^^^^^^^^^^^

--Sig_/YHThlfTVEz2F=82.blfO.JU
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlw8y4UACgkQ5xo1VCww
uqW+KwgAluLGTferra2kIPLo1NCFxUDzgPNaEU57Z5RIgUDKy03O6kybJEZj6QGR
RvchAAFUPT5Ra2vwgdnsX9UGgdI9cmIRfRef4JX6xsTvdzs9i/vwtwcYm6sIoCX+
ZYSK/WKE5Y8zKdX0Q3JrGRc9Dbq8JZfmigzs3t8NaNmSke5hMHUB3xws3bv2BZPQ
718KeKR8HEvbu5OkOjIKYScxYtF5A5bcZVDff36/vNKjVQJ8V4gKr/sRbypvek30
6eY/HjM33EOzad0QcwOjDYiX/RKundwBy2XPAgBu7V3xzmRG23/mnvYdon3nqFy+
QkakHSKcEKvqqHYl+eMvizmqyrM7nA==
=s96+
-----END PGP SIGNATURE-----

--Sig_/YHThlfTVEz2F=82.blfO.JU--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 17:46:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 12:46:10 2019
Received: from localhost ([127.0.0.1]:59292 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj6JO-0001oh-K4
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 12:46:10 -0500
Received: from dd26836.kasserver.com ([85.13.145.193]:49272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1gj6JM-0001oX-Cq
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 12:46:09 -0500
Received: from localhost (77.116.158.150.wireless.dyn.drei.com
 [77.116.158.150])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 8DC563360312;
 Mon, 14 Jan 2019 18:46:06 +0100 (CET)
Date: Mon, 14 Jan 2019 18:46:00 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
Message-ID: <20190114184600.2ba0df7b@HIDDEN>
In-Reply-To: <87va2r89ef.fsf@HIDDEN>
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN>
 <20190114174240.557e64b5@HIDDEN>
 <87va2r89ef.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/hQaX=z0YSLs=Z75=.eV8zXO"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--Sig_/hQaX=z0YSLs=Z75=.eV8zXO
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Pierre,

On Mon, 14 Jan 2019 17:57:12 +0100
Pierre Neidhardt <mail@HIDDEN> wrote:

> > (libs/libgroff/localcharset.c's locale_charset looks overly complicated=
, WTF?) =20
>=20
> Oh dear... relocatep.cpp is not much better, here is the offending functi=
on:
>=20
> --8<---------------cut here---------------start------------->8---
> // Strip the installation prefix and replace it
> // with the current installation prefix; return the relocated path.
> char *relocatep(const char *path)
> {
> #if DEBUG
>   fprintf(stderr, "relocatep: path =3D %s\n", path);
>   fprintf(stderr, "relocatep: INSTALLPATH =3D %s\n", INSTALLPATH);
>   fprintf(stderr, "relocatep: INSTALLPATHLEN =3D %d\n", INSTALLPATHLEN);
> #endif
>   if (!curr_prefix)
>     set_current_prefix();
>   if (strncmp(INSTALLPATH, path, INSTALLPATHLEN))
>     return strsave(path);
>   char *relative_path =3D (char *)path + INSTALLPATHLEN;
>   size_t relative_path_len =3D strlen(relative_path);
>   char *relocated_path =3D new char[curr_prefix_len + relative_path_len +=
 1];
>   strcpy(relocated_path, curr_prefix);
>   strcat(relocated_path, relative_path);
> #if DEBUG
>   fprintf(stderr, "relocated_path: %s\n", relocated_path);
> #endif /* DEBUG */
>   return relocated_path;
> }
> --8<---------------cut here---------------end--------------->8---
>=20
> I don't even get the use case of the function...  From locale_charset, it=
 seems
> that the argument is LIBDIR.

It's used inside get_charset_aliases, which reads the file "charset.alias".
We have only one alias in our file "charset.alias" (in GuixSD), so let's try
ignoring it completely for now.

What happens if you don't mess with LC_ALL but set the environment variable
CHARSETALIASDIR to "/does_not_exist" ?

> Can you see a fix then?

If the avove also works, we can just patch get_charset_aliases to always re=
turn
the empty string (or a string literal).

The one alias we do have in "charset.alias" is:

ISO_646.IRV:1983 ASCII

Alternatively, we could patch get_charset_aliases so it always takes our
charset.alias from our libiconv (without get_charset_aliases calling
"relocate").

Still it would be interesting to find the Segmentation fault (that's
not supposed to ever happen).

--Sig_/hQaX=z0YSLs=Z75=.eV8zXO
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlw8ytgACgkQ5xo1VCww
uqWIkggAgsjG/kijvzd5jJOoGOamFkICCFK77wMYepSfQBkSeAqzr0uaPWHcEYxs
6KQ1kpXDuPFl1laTJ5DvwcdfZttC6grW2pVI13bQii5f65pKxvES+FPQsH8MzbAK
MD04aDzn7ZKyeTmqw18QQVg0rw/5NWixyq/Cnt3mr8wvcbvNPxMGrOnvxIPFi8CO
s/1uHVy7uuOf2G5ZzY3grt8Hi410aSbsuyMq2nNkqS5+c0V/KP4yaJjtXeIuTF0G
0QMbeN6TMqqiv9hQKhPNSbulEg/6WGvraG1/3lmE7i9z3mTJehiaujjik96Jr2EP
ckmGO1Xat8ol3BxRwlelgk1xXrDiOg==
=JvOe
-----END PGP SIGNATURE-----

--Sig_/hQaX=z0YSLs=Z75=.eV8zXO--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 16:57:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 11:57:18 2019
Received: from localhost ([127.0.0.1]:59269 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj5Y6-0000fN-2G
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 11:57:18 -0500
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:38017)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gj5Y3-0000fD-TB
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 11:57:16 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 46C732000C;
 Mon, 14 Jan 2019 16:57:13 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN> <20190114174240.557e64b5@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <20190114174240.557e64b5@HIDDEN>
Date: Mon, 14 Jan 2019 17:57:12 +0100
Message-ID: <87va2r89ef.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


> (libs/libgroff/localcharset.c's locale_charset looks overly complicated, =
WTF?)

Oh dear... relocatep.cpp is not much better, here is the offending function:

=2D-8<---------------cut here---------------start------------->8---
// Strip the installation prefix and replace it
// with the current installation prefix; return the relocated path.
char *relocatep(const char *path)
{
#if DEBUG
  fprintf(stderr, "relocatep: path =3D %s\n", path);
  fprintf(stderr, "relocatep: INSTALLPATH =3D %s\n", INSTALLPATH);
  fprintf(stderr, "relocatep: INSTALLPATHLEN =3D %d\n", INSTALLPATHLEN);
#endif
  if (!curr_prefix)
    set_current_prefix();
  if (strncmp(INSTALLPATH, path, INSTALLPATHLEN))
    return strsave(path);
  char *relative_path =3D (char *)path + INSTALLPATHLEN;
  size_t relative_path_len =3D strlen(relative_path);
  char *relocated_path =3D new char[curr_prefix_len + relative_path_len + 1=
];
  strcpy(relocated_path, curr_prefix);
  strcat(relocated_path, relative_path);
#if DEBUG
  fprintf(stderr, "relocated_path: %s\n", relocated_path);
#endif /* DEBUG */
  return relocated_path;
}
=2D-8<---------------cut here---------------end--------------->8---

I don't even get the use case of the function...  From locale_charset, it s=
eems
that the argument is LIBDIR.

So maybe INSTALLPATH and/or LIBDIR is not properly set when we compile grof=
f.

> Maybe argv[0] is still the cause, but try setting the environment variable
> LC_ALL to "C" to disable locales before invoking "man".  Does this make i=
t not
> crash?

This works indeed!  Can you see a fix then?

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw8v2gACgkQm9z0l6S7
zH8j+wf+Ov4Y67ShCnDAdyX6njbDJ4tpA2KQ8qX9QOcTn4NOpoqZvnX9xLZDD6Pv
fJpMz1GNiFLOmkNAjusd9aaj6q47DFPVvQZrAaI/eoFBskc4LT3y5xTBI1EHMwsb
E+OKdymoQCPuey/whWgiIlvpjMTaCn5Ve+AEMm30UYegDSUDqqTj4h76QiBjd65C
yvtZwEZTIZTFvmR8sr9038gB9lxbjtOR5yHzpfG6d8gI3S+ksdXw6YpzX2Qkc5AE
9PxBcPdG8ZIjhze8YtFDquUMvfoJ4hWCy29qVZpQgqHP9n5rqDMFmXFiytEiKwnX
RjGE02wbhHrfbbsU/YVBDkiQ956L7w==
=oZWe
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 16:43:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 11:43:10 2019
Received: from localhost ([127.0.0.1]:59261 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj5KJ-0000LT-GF
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 11:43:10 -0500
Received: from dd26836.kasserver.com ([85.13.145.193]:43946)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1gj5KH-0000L4-Rk
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 11:43:02 -0500
Received: from localhost (77.116.158.150.wireless.dyn.drei.com
 [77.116.158.150])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 29A123360099;
 Mon, 14 Jan 2019 17:43:00 +0100 (CET)
Date: Mon, 14 Jan 2019 17:42:54 +0100
From: Danny Milosavljevic <dannym@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
Message-ID: <20190114174240.557e64b5@HIDDEN>
In-Reply-To: <87won78aw8.fsf@HIDDEN>
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
 <87won78aw8.fsf@HIDDEN>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/yiN7AVndgyZspZC1kINxnkY"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?ISO-8859-1?Q?Court=E8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--Sig_/yiN7AVndgyZspZC1kINxnkY
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Pierre,

locale_charset, implemented in groff, uses nl_langinfo(CODESET)--and just a=
 few
days ago we had a bug report that CP437 doesn't work there.  Maybe it's rel=
ated.

(libs/libgroff/localcharset.c's locale_charset looks overly complicated, WT=
F?)

Maybe argv[0] is still the cause, but try setting the environment variable
LC_ALL to "C" to disable locales before invoking "man".  Does this make it =
not
crash?

--Sig_/yiN7AVndgyZspZC1kINxnkY
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlw8vA4ACgkQ5xo1VCww
uqV94QgAig+osoRkxB4FvEwQo+y18Wah95dx9t3lkt1PNTfLFal7Lr+02l5t8nYN
/XkbKSg+t4Rs4QonLprx3x48MZzUSftdBF5saFwR3JRvgD55NfAmHVruVLY/XOVX
IZPdeeKkTZ7oJPqe/NOqIjV7P84cv9bTt2NqGV7Xy2MRwl9ZN0OB8I6/fy5z21wl
F8wn5A3o1qdSFb9hdq+g7H9GRt5licXK8Wcn74zz79E0FKHvdc5RCs1ye2zkifKx
4jkaRbckNniXaZL6TynCGk6Z7qSw4YkIRJ+8+qG5dg3Vg+SpHLd4PESE9GMS/nnc
WE2gj/AMfEP+wMXkmsKaTLN2BD8w8Q==
=ejkE
-----END PGP SIGNATURE-----

--Sig_/yiN7AVndgyZspZC1kINxnkY--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 16:25:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 11:25:00 2019
Received: from localhost ([127.0.0.1]:59235 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj52p-0008LK-Ra
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 11:25:00 -0500
Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48697)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gj52o-0008LC-D7
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 11:24:59 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id F38B3E0006;
 Mon, 14 Jan 2019 16:24:55 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN> <87a7k3rzio.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <87a7k3rzio.fsf@HIDDEN>
Date: Mon, 14 Jan 2019 17:24:55 +0100
Message-ID: <87won78aw8.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: =?utf-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>,
 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


ludo@HIDDEN (Ludovic Court=C3=A8s) writes:
> Maybe it=E2=80=99s just that the inferior is still running, no?

Well, it should finish in a fraction of a second.

sudo sh -c "echo '/tmp/core_%e.%p' >  /proc/sys/kernel/core_pattern"

>   ulimit -c unlimited
>   man whatever that causes the crash
>   gdb /path/to/preconv core

Smart!

This gave me no coredump at first because the pipeline "cd" into the
store/profile, which is readonly.  So I did

=2D-8<---------------cut here---------------start------------->8---
sudo sh -c "echo '/tmp/core_%e.%p' > /proc/sys/kernel/core_pattern"
=2D-8<---------------cut here---------------end--------------->8---

and then the segfault would generate a core.  From which GDB gives me:

=2D-8<---------------cut here---------------start------------->8---
Core was generated by `preconv -e UTF-8'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __stpcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcpy-sse2-u=
naligned.S:298
298     ../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: No such file o=
r directory.
(gdb) bt
#0  __stpcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcpy-sse2-u=
naligned.S:298
#1  0x00000000004062c3 in relocatep ()
#2  0x0000000000405b5d in locale_charset ()
#3  0x0000000000402445 in main ()
(gdb)=20
=2D-8<---------------cut here---------------end--------------->8---

I haven't looked at the code yet, but here is my clue: argv[0], the program
name, is too long and overflows some string.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw8t9cACgkQm9z0l6S7
zH/ZZAgAo3/DC64I329daJhf32v3TS/j8Mm2pfnzmPAjgydF8s76SMWj8ACe9bVs
zkYVqJxXDO0qYxNfYH2aTDTaw5yV8oKEow2OsyX0iUutE6nJYKqYUZ/eGH4ob/Mq
HWAdJZAl7T9r7pyrGvYyAyNVM99wqP2luceOxXQ4O3HxAgn2FSOHaalgHGl5aYtD
A8hzZi+l52RitODIBaQc6xXiQF2T6bm36k4Cm7Wwk5cKO14TaxqjVIeq46Es4IJv
hD9py9ydwTW+uQHEu+YNB+P6etf/H36BMfgr883CLB5Kg/J4nyo9DqKzY6IeOaaY
9v4VcyCt79Qg3z/XUH47W+b2yPX13g==
=wXw4
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 16:10:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 11:10:28 2019
Received: from localhost ([127.0.0.1]:59231 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj4om-00080T-AS
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 11:10:28 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:59424)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gj4ok-00080I-DL
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 11:10:27 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id D047D1B53;
 Mon, 14 Jan 2019 17:10:24 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Ogv3qLQ9NOrQ; Mon, 14 Jan 2019 17:10:24 +0100 (CET)
Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id EBE29C61;
 Mon, 14 Jan 2019 17:10:23 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
 <87ef9f8ei5.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 25 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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, 14 Jan 2019 17:10:23 +0100
In-Reply-To: <87ef9f8ei5.fsf@HIDDEN> (Pierre Neidhardt's message of
 "Mon, 14 Jan 2019 16:06:58 +0100")
Message-ID: <87a7k3rzio.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30785
Cc: =?utf-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>,
 30785 <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 (/)

Pierre Neidhardt <mail@HIDDEN> skribis:

>> https://sourceware.org/gdb/onlinedocs/gdb/Forks.html
>>=20
>> this might help here.
>
> Thanks G=C3=A1bor.
> So I tried the following in gdb:
>
>> set follow-for-mode child
>> set detach-on-fork off
>> run emacs
> [inferior 2 completes]
>> inferior 1
> [inferior 3 completes]
>> inferior 1
> [inferior 4 completes]
>> inferior 1
> [inferior 5 hangs]
>
> GDB seems to be stuck on the 5th inferior.  Maybe this is not so reliable.

Maybe it=E2=80=99s just that the inferior is still running, no?

>> Can we trigger the segfault without libpipeline?
>
> "preconv" by itself seems to work perfectly.  It even works in man if it'=
s in
> the PATH.  It only breaks from libpipeline.

What about reproducing the segfault and getting a core dump?  Roughly
you can do:

  ulimit -c unlimited
  man whatever that causes the crash
  gdb /path/to/preconv core

HTH!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 15:07:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 10:07:04 2019
Received: from localhost ([127.0.0.1]:59202 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gj3pP-0006UE-Lo
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 10:07:03 -0500
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:43649)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gj3pN-0006Tn-85
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 10:07:02 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 36066FF807;
 Mon, 14 Jan 2019 15:06:58 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
 <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: =?utf-8?Q?G=C3=A1bor?= Boskovits <boskovits@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
Date: Mon, 14 Jan 2019 16:06:58 +0100
Message-ID: <87ef9f8ei5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


> https://sourceware.org/gdb/onlinedocs/gdb/Forks.html
>=20
> this might help here.

Thanks G=C3=A1bor.
So I tried the following in gdb:

> set follow-for-mode child
> set detach-on-fork off
> run emacs
[inferior 2 completes]
> inferior 1
[inferior 3 completes]
> inferior 1
[inferior 4 completes]
> inferior 1
[inferior 5 hangs]

GDB seems to be stuck on the 5th inferior.  Maybe this is not so reliable.

> Can we trigger the segfault without libpipeline?

"preconv" by itself seems to work perfectly.  It even works in man if it's =
in
the PATH.  It only breaks from libpipeline.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw8pZIACgkQm9z0l6S7
zH+f9AgAiv19AcHCAfO7T29s+Ec7n2TSoXb/PjnII0sXHyLld25Bfh2Ay1xjDyno
ep1A7cjn3U95JIQjBGoIgG2LBLabh+DUgnebfIhFe7351n5wwoTkbCh70raUVmHx
iJHsucg7PM01RjQo6BPxSutTUacacQeBbj2jqE+gkbMRcAqzU7kF5ysPXnUQQ0Vq
ZLH/JzXXVuFn6C2qS50nu/wOfUaxwnR8sl1ZJbT3kBhWcDvw9mL44gaI1e8eVU08
dEsYpcwoIC/AuHY1Ai5mOBS+W0QrkscTOYruv49Yv5as/FH7Pb7e/sVi500Txrfy
s9XH/M36tZCSYj6Kh0BlGBySqEA0hg==
=Peqv
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 11:00:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 06:00:14 2019
Received: from localhost ([127.0.0.1]:58328 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gizyX-0006rY-NH
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 06:00:13 -0500
Received: from mail-io1-f47.google.com ([209.85.166.47]:44663)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <boskovits@HIDDEN>) id 1gizyV-0006rC-Tq
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 06:00:12 -0500
Received: by mail-io1-f47.google.com with SMTP id r200so17244961iod.11
 for <30785 <at> debbugs.gnu.org>; Mon, 14 Jan 2019 03:00:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=Mz/MX73OfQBziVBqytFgWJPEnr9k/3O8cpCOCAR4K2Y=;
 b=kJ1LguoS7QSa4rjA+5gZZG1/MguD4NzsG1OelhZK4Esb1ZTPCcdetzBUgC5HTciMaN
 XlrlJRuj4eyrXPtyu4HT3Sdm5mwed91D8ZbRKdXVwotB2aRGfVutYolx+myr/XgL6bmh
 L128hVmQwsrNeFGpJtKS2f3m0xfiBQDC9N79aBdv2TyEbbgmwvStl6wDUPId+rISD5Xa
 lEwKPSBOskmScShsg3OLK2TKUbzaVAUpiCljb/Xnk+GXhh/StrB1d2wkTufLWXexzYhQ
 Zoik2u0hn7oDqW4XN6KR4Es6Yarx9R+uYKfs8/OAudvu7avy7hj9cjISu4fiPCI1FzST
 gtNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=Mz/MX73OfQBziVBqytFgWJPEnr9k/3O8cpCOCAR4K2Y=;
 b=NqYp4P/1cIryCZYcNjk7/UxGsi/5vW228lGRO6n0iMrFMn86slMuSrnH7gJ9W2cOIK
 qbODLxhXzfnLrpHAZvdJoeNcK+hEsmTDRZ/VMM/zmbijcS9JTRAhYe/aJvMMKRtMY02d
 ZK1ZIPxIbr75uBKFBXD2h2/Ynp51NpmYOxpypRUtNq0mu6UcXvg6gF2DSM1HFby3H7Jb
 Es6RUeSm6rN5nLtxsXflF3Ih3jc+WRQVHaRHwWWiEjcrXp+zHGampBRAy6NTjiJGul1r
 mkUkaqPfzXsW/pLIZa7oSZArKw7Y7AqV6DrRtBs6J8Z0PXdaM8Fbu3cYA08Zyv85M1b/
 CPGQ==
X-Gm-Message-State: AJcUukcbge3JXE7lKyQWV90PbgNfzbRq3L5D9iH160f2qVsDRNukgOu0
 KjBjQWxBZ+JTjAQ5wCseW+vg86F5XKZvGm3OaQ==
X-Google-Smtp-Source: ALg8bN6JZvMxEbuIvIUj8vVGT/k0s844GQ+IMFKOW547GCTYkjEewIC46NQtfHna0QsLPEO8HRqiUS1p0L0BzPgLqL0=
X-Received: by 2002:a5e:9511:: with SMTP id r17mr14827418ioj.224.1547463605831; 
 Mon, 14 Jan 2019 03:00:05 -0800 (PST)
MIME-Version: 1.0
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN>
 <8736pw5mmh.fsf@HIDDEN> <87muo48fay.fsf@HIDDEN>
 <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN> <87imyr8rsg.fsf@HIDDEN>
In-Reply-To: <87imyr8rsg.fsf@HIDDEN>
From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= <boskovits@HIDDEN>
Date: Mon, 14 Jan 2019 11:59:48 +0100
Message-ID: <CAE4v=piFa2EVq=CO=6DQw+X3-3102-GvrpSZ0KNfC3Tba6hsrA@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
To: Pierre Neidhardt <mail@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 30785
Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>, 30785 <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 (-)

Hello Pierre,

Pierre Neidhardt <mail@HIDDEN> ezt =C3=ADrta (id=C5=91pont: 2019. jan=
.
14., H, 11:42):
>
> Hmmm... Not sure how to trace that with GDB.
> I'm not sure how to handle child processes.
>

https://sourceware.org/gdb/onlinedocs/gdb/Forks.html

this might help here.

> The offending libpipeline call is "pipeline_pump" in src/man.c:2329 in th=
e
> "display" function.
>
> I'd need more time to investigate this, time which I don't have at the mo=
ment,
> sorry :(
>
> --
> Pierre Neidhardt
> https://ambrevar.xyz/

Can we trigger the segfault without libpipeline?

If it is so, then IMO preconv is at fault...

Best regards,
g_bor




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 10:20:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 05:20:06 2019
Received: from localhost ([127.0.0.1]:58323 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gizLi-0005aR-EY
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 05:20:06 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:33377)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gizLg-0005aF-9G
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 05:20:05 -0500
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay11.mail.gandi.net (Postfix) with ESMTPSA id AEEDA100010;
 Mon, 14 Jan 2019 10:20:00 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
 <87k1j78vzd.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <87k1j78vzd.fsf@HIDDEN>
Date: Mon, 14 Jan 2019 11:19:59 +0100
Message-ID: <87imyr8rsg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Marius Bakke <mbakke@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>,
 Christopher Baines <mail@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hmmm... Not sure how to trace that with GDB.
I'm not sure how to handle child processes.

The offending libpipeline call is "pipeline_pump" in src/man.c:2329 in the
"display" function.

I'd need more time to investigate this, time which I don't have at the mome=
nt,
sorry :(

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw8Yk8ACgkQm9z0l6S7
zH+zCAf/TBi8uJpbPicWnh42PCDMMMVvvgImk/IL3DIZvr6C4bVrE0uU7HvN34hP
/uTVSdCS4js84gI88zYBVLFjbqpR6zvn6meo+Nv+2s1gv67l6jDATg4ORGMfzs9p
Eu6rOZXQz4FZ8x+j99iSLY8IzKfmniWE895MPwyyp7d4Sm/1WIrIAjwTQHasTdkK
KyGfAeBvrqjlGTFVrPc+lHgjmy1Ln9xISw+7y5Ur6JRZcDuC/xEbJMbt5oLYqvjC
DzO12wYg54kun1t+/rBJPzs8Yj461LTYcCxXfDxi+Nm2oFjZDJgEMEtMk5DtTesm
RhyGp2uuUdviDu7NP1guD+iSVKLjAA==
=qs+K
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 08:49:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 03:49:32 2019
Received: from localhost ([127.0.0.1]:58291 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gixw3-0001Fh-LC
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 03:49:31 -0500
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:36135)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gixw1-0001FW-J5
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 03:49:30 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id CDDDDC0018;
 Mon, 14 Jan 2019 08:49:26 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN> <87r2dfy6t0.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <87r2dfy6t0.fsf@HIDDEN>
Date: Mon, 14 Jan 2019 09:49:26 +0100
Message-ID: <87k1j78vzd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Marius Bakke <mbakke@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>,
 Christopher Baines <mail@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


> Did you get a backtrace of =E2=80=98preconv=E2=80=99 showing that the seg=
fault is in
> libpipeline?

I'm not sure what you mean.  preconv is only run from libpipeline, and acco=
rding
to the debug output and the error message above, preconv segfaults.

I'll try to run a GDB session on it later.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw8TRYACgkQm9z0l6S7
zH/6nggAmh/52Hm/kxevQVcXjkCx2UkDmpo3MpxVHZNzTzgzAODRLGa4iIY4o4ky
lRG7ik0V76xyIf6x9Zacm/Z/zZnoM8zptx022cIP3GzGoAXRuCSGRP063kM9AUCq
A7Iz2ia6yM3U9Y+Oi6pXwIrulXALXpmeuml6SmdpiuQ8/oZSfDHCOgnoKVDT86hi
shhYxoKsEKdeTXi16BqlSA8H+hIkQ9CArTslz73K6AdJv2ETlUXTRekLAShkfWBP
hLpSyhegLxhHZe7uRurwtwb7Pp4+Lrp3CROs+DPN/wzL2KvCHItppDfgqmfNeLgG
A0G1So3znbnIdj5WSQUXtPq6ras6zg==
=L/xD
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Jan 2019 08:36:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 14 03:36:33 2019
Received: from localhost ([127.0.0.1]:58272 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gixjV-0000sx-0s
	for submit <at> debbugs.gnu.org; Mon, 14 Jan 2019 03:36:33 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:56518)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gixjT-0000sp-AG
 for 30785 <at> debbugs.gnu.org; Mon, 14 Jan 2019 03:36:31 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 8BB741166;
 Mon, 14 Jan 2019 09:36:29 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 2fLi4z8ORYZi; Mon, 14 Jan 2019 09:36:28 +0100 (CET)
Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 74AA81103;
 Mon, 14 Jan 2019 09:36:28 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
 <87muo48fay.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 25 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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, 14 Jan 2019 09:36:27 +0100
In-Reply-To: <87muo48fay.fsf@HIDDEN> (Pierre Neidhardt's message of
 "Sun, 13 Jan 2019 21:37:25 +0100")
Message-ID: <87r2dfy6t0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30785
Cc: Marius Bakke <mbakke@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>,
 Christopher Baines <mail@HIDDEN>, 30785 <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,

Pierre Neidhardt <mail@HIDDEN> skribis:

>> It would have the same effect as Marius=E2=80=99 commit
>> 296551a2e9310d4a030ee49530e9367e73aaeecf, wouldn=E2=80=99t it?
>
> I tested and it works! :)
>
>> My understanding, at this point, is that we need to find out why
>> =E2=80=98preconv=E2=80=99 segfaults, no?
>
> I'm not completely sure but it seems that libpipeline breaks preconv for =
one of
> those two reasons:

Did you get a backtrace of =E2=80=98preconv=E2=80=99 showing that the segfa=
ult is in
libpipeline?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Jan 2019 20:37:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 13 15:37:31 2019
Received: from localhost ([127.0.0.1]:58102 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gimVf-0006hv-Li
	for submit <at> debbugs.gnu.org; Sun, 13 Jan 2019 15:37:31 -0500
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:59987)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gimVd-0006hk-6d
 for 30785 <at> debbugs.gnu.org; Sun, 13 Jan 2019 15:37:29 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 6DA35FF802;
 Sun, 13 Jan 2019 20:37:26 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN> <8736pw5mmh.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <8736pw5mmh.fsf@HIDDEN>
Date: Sun, 13 Jan 2019 21:37:25 +0100
Message-ID: <87muo48fay.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Marius Bakke <mbakke@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>,
 Christopher Baines <mail@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


> It would have the same effect as Marius=E2=80=99 commit
> 296551a2e9310d4a030ee49530e9367e73aaeecf, wouldn=E2=80=99t it?

I tested and it works! :)

> My understanding, at this point, is that we need to find out why
> =E2=80=98preconv=E2=80=99 segfaults, no?

I'm not completely sure but it seems that libpipeline breaks preconv for on=
e of
those two reasons:
=2D Because it's a path (maybe the slashes create a problem?).
=2D Because it's not in the PATH.

Very weird indeed.  The libpipeline developers could probably tell us more.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw7oYUACgkQm9z0l6S7
zH8uHAf9FSkg18o4cC+LYDZT6J/3Cu3SXkMpLT1OC+QHWyNlxX/e8jsSXYT3WruL
vbKLQkJCxxRLa9jFkk+ocXhLZwSj3ugHzAk8brtHLRCjzcrgeZLTEv5lq6DgTrBS
6kSOFyI7jIJWTWEjNYzzz7+PYlZWRMtw0WKAU+LghfRAaBzm1FYyqnQpywJDUf1a
VIQK+/q91q/pfwZYEs8B0ADw7NfCT08C2dcu6utZssRJlzmokC/cQaVeIxay1KBB
Xp+6U6CFsAzxBHMGcHp9a3dZz03p/3mbzLFCNpdpA0yDwjNig4FB/tJW6j6RTnSl
ngUIjtTnvysONLlqZ38M6CGTINdnuw==
=ITa8
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Jan 2019 20:27:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 13 15:27:40 2019
Received: from localhost ([127.0.0.1]:58097 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gimM8-0006Ta-Mw
	for submit <at> debbugs.gnu.org; Sun, 13 Jan 2019 15:27:40 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:51738)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gimM5-0006TQ-RM
 for 30785 <at> debbugs.gnu.org; Sun, 13 Jan 2019 15:27:38 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 267641B41;
 Sun, 13 Jan 2019 21:27:36 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id Wktjsd1tisyv; Sun, 13 Jan 2019 21:27:35 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 1E0BF1B3F;
 Sun, 13 Jan 2019 21:27:34 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
 <87pnt08ndl.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 24 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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: Sun, 13 Jan 2019 21:27:34 +0100
In-Reply-To: <87pnt08ndl.fsf@HIDDEN> (Pierre Neidhardt's message of
 "Sun, 13 Jan 2019 18:43:02 +0100")
Message-ID: <8736pw5mmh.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30785
Cc: Marius Bakke <mbakke@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>,
 Christopher Baines <mail@HIDDEN>, 30785 <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 (/)

Pierre Neidhardt <mail@HIDDEN> skribis:

> My proposed patch:
>
> (add-after 'install 'wrap-program
>            (lambda* (#:key inputs outputs #:allow-other-keys)
>             (let* ((out  (assoc-ref outputs "out"))
>                    (groff (assoc-ref inputs "groff-minimal")))
>               (wrap-program (string-append out "/bin/man")
>                 `("PATH" ":" prefix (,(string-append groff "/bin")))))
>             #t))

It would have the same effect as Marius=E2=80=99 commit
296551a2e9310d4a030ee49530e9367e73aaeecf, wouldn=E2=80=99t it?

My understanding, at this point, is that we need to find out why
=E2=80=98preconv=E2=80=99 segfaults, no?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Jan 2019 17:43:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 13 12:43:14 2019
Received: from localhost ([127.0.0.1]:58070 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gijn0-0002bf-75
	for submit <at> debbugs.gnu.org; Sun, 13 Jan 2019 12:43:14 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:37009)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gijmx-0002bU-F2
 for 30785 <at> debbugs.gnu.org; Sun, 13 Jan 2019 12:43:12 -0500
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay11.mail.gandi.net (Postfix) with ESMTPSA id DD361100003;
 Sun, 13 Jan 2019 17:43:05 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN> <87r2dg8nxd.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <87r2dg8nxd.fsf@HIDDEN>
Date: Sun, 13 Jan 2019 18:43:02 +0100
Message-ID: <87pnt08ndl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Marius Bakke <mbakke@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>,
 Christopher Baines <mail@HIDDEN>, 30785 <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.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

My proposed patch:

=2D-8<---------------cut here---------------start------------->8---
(add-after 'install 'wrap-program
           (lambda* (#:key inputs outputs #:allow-other-keys)
            (let* ((out  (assoc-ref outputs "out"))
                   (groff (assoc-ref inputs "groff-minimal")))
              (wrap-program (string-append out "/bin/man")
                `("PATH" ":" prefix (,(string-append groff "/bin")))))
            #t))
=2D-8<---------------cut here---------------end--------------->8---

Not completely ideal, but at least man-db would be fully functional for Guix
1.0! :)

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw7eKYACgkQm9z0l6S7
zH/Ouwf/bEI9wGRYBa1W1qQRfBWyGL5KyuE2oKC2QRfKdwvowkEwGta32GDYvzuS
lTEkuuMaQEtV+G92vC1NuZxt5TQCWXh2ELuhZGpY5+jnT1k8P2NA+F0/9PBzvaDq
yhAQRJsnpA2BxuZWBgLr+KK1uSFPhx9kgNnlSytMREU8ftn+ihlWNxlZZUsvDopz
GjPFv9iHXNI7DOexJhdwK8lVgN0LUhApwrWHaePwTWRc2P0JPq7C0wnkqeWZPFaE
xdHhne7ICX/f/vBhZBBX1DpoOephCTOnArKvjsVUfMloUXfuS86gqQ7OKZ1u2j5S
0r07DaIZalhJL/JRHKOvEzgCcsvxyw==
=s6Rc
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Jan 2019 17:31:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 13 12:31:16 2019
Received: from localhost ([127.0.0.1]:58059 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gijbQ-0002Jt-Bw
	for submit <at> debbugs.gnu.org; Sun, 13 Jan 2019 12:31:16 -0500
Received: from relay2-d.mail.gandi.net ([217.70.183.194]:51017)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1gijbO-0002Jj-0p
 for 30785 <at> debbugs.gnu.org; Sun, 13 Jan 2019 12:31:15 -0500
X-Originating-IP: 86.246.38.102
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 1668640003;
 Sun, 13 Jan 2019 17:31:10 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
 <878szo5w6z.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <878szo5w6z.fsf@HIDDEN>
Date: Sun, 13 Jan 2019 18:31:10 +0100
Message-ID: <87r2dg8nxd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
Cc: Marius Bakke <mbakke@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>,
 Christopher Baines <mail@HIDDEN>, 30785 <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.7 (-)

--=-=-=
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-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Jan 2019 17:00:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 13 12:00:58 2019
Received: from localhost ([127.0.0.1]:58049 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gij86-0001cN-Iq
	for submit <at> debbugs.gnu.org; Sun, 13 Jan 2019 12:00:58 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:49778)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gij84-0001cE-Fp
 for 30785 <at> debbugs.gnu.org; Sun, 13 Jan 2019 12:00:57 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id A70E5156E;
 Sun, 13 Jan 2019 18:00:54 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id hWZwggTCPoAG; Sun, 13 Jan 2019 18:00:54 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id AD023A4A;
 Sun, 13 Jan 2019 18:00:53 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Pierre Neidhardt <mail@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
References: <87va2s8row.fsf@HIDDEN> <87tvic8rfq.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 24 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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: Sun, 13 Jan 2019 18:00:52 +0100
In-Reply-To: <87tvic8rfq.fsf@HIDDEN> (Pierre Neidhardt's message of
 "Sun, 13 Jan 2019 17:15:21 +0100")
Message-ID: <878szo5w6z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30785
Cc: Marius Bakke <mbakke@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>,
 Christopher Baines <mail@HIDDEN>, 30785 <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 (/)

Pierre Neidhardt <mail@HIDDEN> skribis:

> And... from the log I just noticed that Marius had arrived to the same
> conclusion 8 months ago :(
>
> That'll teach me to look at logs before getting started...

Heheh.  :-)

Another useful debugging tip is setting PIPELINE_DEBUG=3D1.

Anyway I hope we=E2=80=99ll soon squash that bug!

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Jan 2019 16:15:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 13 11:15:27 2019
Received: from localhost ([127.0.0.1]:58038 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1giiQ2-0000a0-ND
	for submit <at> debbugs.gnu.org; Sun, 13 Jan 2019 11:15:26 -0500
Received: from relay11.mail.gandi.net ([217.70.178.231]:49649)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1giiQ0-0000Zr-24
 for 30785 <at> debbugs.gnu.org; Sun, 13 Jan 2019 11:15:24 -0500
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay11.mail.gandi.net (Postfix) with ESMTPSA id B4AE2100005;
 Sun, 13 Jan 2019 16:15:21 +0000 (UTC)
References: <87va2s8row.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: 30785 <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me@HIDDEN>, Christopher
 Baines <mail@HIDDEN>, Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 Marius Bakke <mbakke@HIDDEN>  
Subject: Re: bug#30785: Man pages truncated, repeated
In-reply-to: <87va2s8row.fsf@HIDDEN>
Date: Sun, 13 Jan 2019 17:15:21 +0100
Message-ID: <87tvic8rfq.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
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.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

And... from the log I just noticed that Marius had arrived to the same
conclusion 8 months ago :(

That'll teach me to look at logs before getting started...

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlw7ZBkACgkQm9z0l6S7
zH8puAf/dscc9wdjxJRincTas5a5K9OBN6D5orMKOuxQzSR6FBEEddwcR4F/G2yz
eHKl54eWFJKJXPIaCROF/5rkeivGXTelQ/01Y/Ankmxxjwav9F4pJEwAHGa/411K
W6FFrbW2oXE6w3mK3BiU2FwFSeYvipSrVI54WK07MIjlD3VUNNd1UUwtr95v0RB7
5Bo6ApuhAe6coEjRyJUSifPwAFGCrMKox9FLTfOHKcGbtuo6Aqs5J5r4TBW9gXnQ
Wbnm0MMqvks7eQQDOQm/iSxX2wHIlZvD0VMHkpmvlLXNqVf6Y1epv7uJMXrNl1rN
SxXhvMonNiK+fY7nBWnoRbJ6UdiTIQ==
=JAx6
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Jan 2019 16:09:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 13 11:09:57 2019
Received: from localhost ([127.0.0.1]:58034 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1giiKi-0000Rk-VW
	for submit <at> debbugs.gnu.org; Sun, 13 Jan 2019 11:09:57 -0500
Received: from relay12.mail.gandi.net ([217.70.178.232]:52553)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1giiKg-0000Ra-OJ
 for 30785 <at> debbugs.gnu.org; Sun, 13 Jan 2019 11:09:55 -0500
Received: from mimimi (lfbn-1-802-102.w86-246.abo.wanadoo.fr [86.246.38.102])
 (Authenticated sender: mail@HIDDEN)
 by relay12.mail.gandi.net (Postfix) with ESMTPSA id 5D401200002;
 Sun, 13 Jan 2019 16:09:52 +0000 (UTC)
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <mail@HIDDEN>
To: 30785 <at> debbugs.gnu.org, Tobias Geerinckx-Rice <me@HIDDEN> ,
 Christopher Baines <mail@HIDDEN> , Ludovic =?utf-8?Q?Court=C3=A8s?=
 <ludo@HIDDEN>  
Subject: bug#30785: Man pages truncated, repeated
Date: Sun, 13 Jan 2019 17:09:51 +0100
Message-ID: <87va2s8row.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
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.7 (-)

--=-=-=
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-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 20 Aug 2018 10:33:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 20 06:33:03 2018
Received: from localhost ([127.0.0.1]:55087 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1frhUd-0002nK-8o
	for submit <at> debbugs.gnu.org; Mon, 20 Aug 2018 06:33:03 -0400
Received: from mail-wm0-f51.google.com ([74.125.82.51]:39286)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ambrevar@HIDDEN>) id 1frhUc-0002mq-Gi
 for 30785 <at> debbugs.gnu.org; Mon, 20 Aug 2018 06:33:02 -0400
Received: by mail-wm0-f51.google.com with SMTP id q8-v6so13399690wmq.4
 for <30785 <at> debbugs.gnu.org>; Mon, 20 Aug 2018 03:33:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=user-agent:from:to:subject:date:message-id:mime-version;
 bh=rQx1hLAAfq+X8bp37Snf7mJWtJdVd60dXKCfX2PYOYo=;
 b=iXjzt3aboXBDh83DA4pJAmirDk2Cuep8tia+7sQ/6B5+5Bs9YReKIm/IUSPlASSKVZ
 H8jkLhYk5r8Yam3fTANWwArfi6aACinA+wWuUeyk971gIlgLFnNHvo0yuBlg5gYaUf0k
 WGsv3HnqM+FH7TXaf9LQ6QpDrLR+YgmNRAzpnxQCYxNbppvbrz5uUpe8HbwCo+/0Ew7h
 pWX7Uc/L6JMnPQfJb+5uEOnPSijzJf25nwbeQEzQmWiZ8R8xa3S4FbkDI+NzwcMQG4IX
 0ApQJRIDmpQN4zrptPIslbM2sZoEA9XmCGFLn3mdk2iDyH/WsYi68NlQ64tjuoOpaD/y
 sjhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:user-agent:from:to:subject:date:message-id
 :mime-version;
 bh=rQx1hLAAfq+X8bp37Snf7mJWtJdVd60dXKCfX2PYOYo=;
 b=nqWn6dckCySF7B+j8jqPBgzg3A1mAG7ZlIUSOrtiHU2XMc+oqeXr6n5fcofSZkmil9
 EfWBGSq6/KbDDklOAeFnmVqHWVOAsR7zFqTK/0aeSFSn9R+Uu0Bcd5mWcCwMms42Q9M8
 bzwIpv1/bM9yAPKqazU/j9dJ7hCh11+8VZ114Zz5+thjPr1bNSp5W6DyVS95KZCaF75R
 TrP8KEc121SbCWHYD81dmd9jblCwTqpSLig3dgTma9WcmaFJHpqrCNbnuDWA0pHoXJNq
 IdwW0pafC0Bk6jloiu7wPbC2vMSgdXyk9K9lbzlgeLs5IF5iQnaBigct+QyOomuzg9xW
 NqcA==
X-Gm-Message-State: APzg51DQ5Ul6u5hz0GGkDmZVRVY+G3GN7sYOnfb0Rz5FKsiAhv2z+BC7
 3q7iI9J0J/J4iCSAB8UxlBY7jtOAXQk=
X-Google-Smtp-Source: ANB0VdZbFU0inaNWj1NYIp9JpTZ2mRcH/AHuEuHlHPCadZYSNRMKuA3Y35VLOV2XJDMpqmj7xTQYIQ==
X-Received: by 2002:a1c:2f95:: with SMTP id
 v143-v6mr1114768wmv.99.1534761176628; 
 Mon, 20 Aug 2018 03:32:56 -0700 (PDT)
Received: from mimimi (static-176-158-6-134.ftth.abo.bbox.fr. [176.158.6.134])
 by smtp.gmail.com with ESMTPSA id
 i23-v6sm11939337wmf.24.2018.08.20.03.32.55
 for <30785 <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 20 Aug 2018 03:32:56 -0700 (PDT)
User-agent: mu4e 1.0; emacs 26.1
From: Pierre Neidhardt <ambrevar@HIDDEN>
To: 30785 <at> debbugs.GNU.org
Subject: Re: Man pages truncated, repeated
Date: Mon, 20 Aug 2018 12:32:55 +0200
Message-ID: <87tvnp2uqw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30785
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
Content-Transfer-Encoding: quoted-printable

The 'man' program from the 'man-db' Guix package has an issue with UTF-8
man pages: the page is truncated and sometimes the truncation is
repeated a couple of times.

The bug does not occur when non-ASCII characters are removed.
I haven't tried with other non-ASCII encodings.

There must be something wrong with the way we package man-db.

See https://lists.gnu.org/archive/html/help-guix/2018-05/msg00084.html
for a discussion.

=2D-=20
Pierre Neidhardt
https://ambrevar.xyz/

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlt6mNcACgkQm9z0l6S7
zH8keQgAiybO4kJgZElkuPJ3b2gGpf1bBuvrIhgZcyO4Eo9KMPBARuuynUjsZ2+i
uWfGdYlFY1+uwdqk+DJcXakfJs/cuCAwMizUx4uUPo835vnQUMbU6hl8+UdIHl9v
m0wGp9sd+Qo8Oq22fUP1I9QngTKSMYDRqJfCQGNgZia+U62AgU6xX29xuzT3pkzX
PqUrCn7Wv/OD7KozzOiEQ1qSqAv+87Y43pNXfiRc31VnN3Mg4OD8DwnhrzG0moJD
HHndZRs5m7tRthzBvLWmf0BIKQoA0IH2S78E0pplkFRciQeWEWP5lcdkH0KwVPig
QU6GwtQS53+nc8lG9E3SaXaH/Pt7jw==
=Ubuq
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 6 May 2018 22:06:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 06 18:06:52 2018
Received: from localhost ([127.0.0.1]:51723 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fFRnw-0007nZ-7o
	for submit <at> debbugs.gnu.org; Sun, 06 May 2018 18:06:52 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57717)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1fFRnu-0007nP-37
 for 30785 <at> debbugs.gnu.org; Sun, 06 May 2018 18:06:50 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id A00FA21221;
 Sun,  6 May 2018 18:06:49 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Sun, 06 May 2018 18:06:49 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; bh=/HhiVDIm5sEBiwSeBnyjvvK3tQAu9ht84WkDwSFova8=; b=WT1EhDzH
 SeNDDJU+XGk3Ee8RvDZQB/xArPMCWArkJY3GzaQIJ4mrpm1j81oCMtUa/iSNhXr4
 ijM7tGZzvwTpCGR7ry23k5DTHYm4a2khd3yyvr8gfVjwO5UrgG82nqFZmIC6dj/r
 yo6NqO0021z0k8io+9RY4HHTcgd+Y+drbIs1Tc6d2UNVz14NikOH6isF7MstiGF8
 0l1KtPEMXVItMr/54ZNmjNPpgNC5lK+UXFs92Eb3WHdfuE5WaGRMTB6aWwQ6i6zi
 e8tQoLN6sftq3PlIiz4DTt78BDxwQuRJl6wwrFQziW3oC9PSciiwYOHbiuoC6/aq
 1arb3NGp1bkg9g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=/HhiVDIm5sEBiwSeBnyjvvK3tQAu9
 ht84WkDwSFova8=; b=Bd+y+aWDfxggedikYpx/PfgG1DdKzphcFaMlztaRpqsRy
 /jPA8Sl1jiEzHeUdvS8gJL1gCDtasbp/n+Scvi/07nsN2xm9P5A/5S5gACLySoTR
 RTLBdbCjhiTpOlZGGCT3aeozIs5cCImY3ufCyF8Hujow5vaVcYLleWzSLP1zAcvG
 DAUYteGWqHJtb80ef+ICaX5NnmhifHYM3dhWGs42P6NrBUbYo3YAOhb/xnJrsm5b
 nvrQvZZu4nKPr6L9Xs100lVBNU2ohhbKq7ELYEf9btMjzPqKmz2mTlg9NoauLsFe
 N6fh18yKPuA49PiJr716NHzALz2KADfWIDD0lBNmA==
X-ME-Sender: <xms:eXzvWgIsbTE-7Orsn4A-wn6D32gcneOZhxmBPdS1c2zVJ5tpYzo4Cg>
Received: from localhost (95.92-221-151.customer.lyse.net [92.221.151.95])
 by mail.messagingengine.com (Postfix) with ESMTPA id 2F6B210255;
 Sun,  6 May 2018 18:06:49 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>, 30785 <at> debbugs.gnu.org
Subject: Re: bug#30785: Man pages truncated, repeated
In-Reply-To: <874ljkhoug.fsf@HIDDEN>
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
 <87zi3advd9.fsf@HIDDEN> <878t8xhjbw.fsf@HIDDEN>
 <874ljkhoug.fsf@HIDDEN>
User-Agent: Notmuch/0.26.2 (https://notmuchmail.org) Emacs/25.3.1
 (x86_64-pc-linux-gnu)
Date: Mon, 07 May 2018 00:06:47 +0200
Message-ID: <874ljkh214.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
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.7 (-)

reopen 30785

Marius Bakke <mbakke@HIDDEN> writes:

> Marius Bakke <mbakke@HIDDEN> writes:
>
>> Marius Bakke <mbakke@HIDDEN> writes:
>>
>>> Tobias Geerinckx-Rice <me@HIDDEN> writes:
>>>
>>>> Guix,
>>>>
>>>> Perhaps he's just getting old, but our man has a tendency to forget 
>>>> where he was, start over from the beginning, and repeat himself several 
>>>> times:
>>>>
>>>>    $ guix package -i knot rofi
>>>>    $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
>>>>    NAME
>>>>    DESCRIPTION
>>>>    NAME
>>>>    DESCRIPTION
>>>>    NAME
>>>>    DESCRIPTION
>>>>    NAME
>>>>    DESCRIPTION
>>>>    NAME
>>>>    $
>>>
>>> One thing rofi.1 and knot.conf.5 have in common is that they are both
>>> unicode.  Whereas working pages are ASCII.
>>
>> This ultimately turned out to be due to man-db not finding "preconv".
>>
>> The attached patches fixes it.
>
> I pushed the fix as 296551a2e9310d4a030ee49530e9367e73aaeecf.

This patch caused `man` to segfault when invoked outside `guix
environment`(!) so I reverted it for now.

To be continued...




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785-done <at> debbugs.gnu.org:


Received: (at 30785-done) by debbugs.gnu.org; 6 May 2018 13:54:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 06 09:54:03 2018
Received: from localhost ([127.0.0.1]:51106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fFK70-0005Mv-Rv
	for submit <at> debbugs.gnu.org; Sun, 06 May 2018 09:54:03 -0400
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:56805)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1fFK6z-0005Mj-V3
 for 30785-done <at> debbugs.gnu.org; Sun, 06 May 2018 09:54:02 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 8EB28218C4;
 Sun,  6 May 2018 09:54:01 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Sun, 06 May 2018 09:54:01 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; bh=ZynvBQHTuEWMHHbc38JftKihqm5UwW4E0cdSSpbNF78=; b=pZLnIsrm
 MrsmJi6BFauzdQ63N6zU7CsAO+Tye+B7rl1UfJgV+TW88uano5GpKvr2Kx5IE1jK
 0wRJ6ZfB8RJY9oVQ21eXZjVVERNMDd/s7unzw0bknZqtysZ1nZAV6sZHGYstSQI4
 xCBvME/AOHGBK/mCtjYlMvccsRIaRI4MJJAI4qXUvZMO9M1JMdIZuftgksowKthm
 U+i/zXBX2yBSil2E/rAjV8sHbz7Ky+yQbd8LUt6K0/qGFp9Q9WE15phby6eozon2
 vRXflcfbg54PTpVty0bIiVnwtV38OLG0eVPWQPivxorp/DY+kVQZoXD90RgR/cSE
 OoN3NNfEIO4T5w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=ZynvBQHTuEWMHHbc38JftKihqm5Uw
 W4E0cdSSpbNF78=; b=Bo/4LbeC9+BmOOqVsFL9Ptgupq5n7MrsHGaGNPUmQHhtH
 R6XI+O9uDJ7Vvgrxt97WjK8p0M+7WiEMrMpx4/M3lv9adxqk3ppmACqnk5PtWcjk
 XNGFD3C+Y2rQYJZMH46/Tc24zx05ry6kgKp0ZgfIc7/eoA/lS49M5iSiM338LAoA
 rakfXU9l73vaNPQjChFRqW0sQV4EnngdfYZPD7jbLLANGP6NY+dnOHsDOcFmIVak
 8f4F5VLZRRa2nLzriEcOt8ccJ7OYGai9cwIAVG3kAZVThgght2vAe//dEJ1tVPjO
 nUmyK1YlHCl4q5hp9BYzN4LUW8umIaTip78PpIjYQ==
X-ME-Sender: <xms:-QjvWilh5LiX03uFRyZz_2PpTvsaOMMMLqiANG2_v2uawfdXGeO_xw>
Received: from localhost (95.92-221-151.customer.lyse.net [92.221.151.95])
 by mail.messagingengine.com (Postfix) with ESMTPA id 1E9B91025D;
 Sun,  6 May 2018 09:54:01 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>, 30785-done <at> debbugs.gnu.org
Subject: Re: bug#30785: Man pages truncated, repeated
In-Reply-To: <878t8xhjbw.fsf@HIDDEN>
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
 <87zi3advd9.fsf@HIDDEN> <878t8xhjbw.fsf@HIDDEN>
User-Agent: Notmuch/0.26.1 (https://notmuchmail.org) Emacs/25.3.1
 (x86_64-pc-linux-gnu)
Date: Sun, 06 May 2018 15:53:59 +0200
Message-ID: <874ljkhoug.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785-done
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.7 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Marius Bakke <mbakke@HIDDEN> writes:

> Marius Bakke <mbakke@HIDDEN> writes:
>
>> Tobias Geerinckx-Rice <me@HIDDEN> writes:
>>
>>> Guix,
>>>
>>> Perhaps he's just getting old, but our man has a tendency to forget=20
>>> where he was, start over from the beginning, and repeat himself several=
=20
>>> times:
>>>
>>>    $ guix package -i knot rofi
>>>    $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
>>>    NAME
>>>    DESCRIPTION
>>>    NAME
>>>    DESCRIPTION
>>>    NAME
>>>    DESCRIPTION
>>>    NAME
>>>    DESCRIPTION
>>>    NAME
>>>    $
>>
>> One thing rofi.1 and knot.conf.5 have in common is that they are both
>> unicode.  Whereas working pages are ASCII.
>
> This ultimately turned out to be due to man-db not finding "preconv".
>
> The attached patches fixes it.

I pushed the fix as 296551a2e9310d4a030ee49530e9367e73aaeecf.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlrvCPcACgkQoqBt8qM6
VPrRxwf/fWaxXlkuS1UnDLcPlz2i5dvwT7jInSE0QWe5I5JmuqA+6g4dHKE8Uz84
qv6PJjZnCPetbHBI65bHDESMzUbAaHAN+CR/K5rDrYAcUD700+tT8CyneG26DzEA
DpgOhTixU5uq+L5tmiYMYk4ocT6I+jC0JPOoT4nVzwOj+YQlH90rbZNHQfqy9sDK
Q34+X8wBNDViwQD3z5fTqyLBUImbECzRUI2EUMj83IIDPYlMgPw4g9pawGpAFKba
7nAv397N0mskTEiBEEODhP6gSd78UAOsn5/YAKSigT2BKNSBpY+YIrN485sn9Lq6
P+OJrQRR4Asd0K63yOra7MtthLqFkQ==
=dN7q
-----END PGP SIGNATURE-----
--=-=-=--




Notification sent to Tobias Geerinckx-Rice <me@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Marius Bakke <mbakke@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 5 May 2018 21:40:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 05 17:40:55 2018
Received: from localhost ([127.0.0.1]:50887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fF4vH-0004Cj-GW
	for submit <at> debbugs.gnu.org; Sat, 05 May 2018 17:40:55 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:33469)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1fF4vF-0004Ca-M6
 for 30785 <at> debbugs.gnu.org; Sat, 05 May 2018 17:40:54 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 4D21221CB6;
 Sat,  5 May 2018 17:40:53 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute5.internal (MEProxy); Sat, 05 May 2018 17:40:53 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; bh=mpvQ15TPVfUN20XvABtfE9dFW6zFkr6uZaX27iocfoo=; b=ZrOa2FRj
 O5hEUnzbEggz4oYbWdIzLuuDRCZ0C2YQ9xbMTiwnjFW4WTCGHunEu4mWzFFKSH/N
 vlKza6SqgtQizIIqiC6hih6xXoeUaGU/ocshGXJOOgd1khrTX2/DKuu+KBZsP5yD
 pJRYuV9FuikAg/9j/aObKUYJteM1KHMHD+kvrkwCGzNBKVynQ1IKe5c67ZJPRD5x
 44KHZ93KhBOLyxtZLQXMmD3fimHL5pDBI5gC6ndDTxPL8zOT54I0yiccztU0VrV3
 FqQB8U2joN7ecT/Y0u8ImXMdGeVnL2l23qXEpvrZwy4R17jgo83IpryMWNzBn5zD
 wLY4Xk6LUVtYlA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=mpvQ15TPVfUN20XvABtfE9dFW6zFk
 r6uZaX27iocfoo=; b=CDdgdbTHNSeF+D1iZJq648ZuTz6FOmm/PywBT8b7Oqw6v
 EpMlcEH+4x8q8o/UKouLrWMjf/K4ZAe93qTJ6B9YkgS+QxkKm2WFNBRXWDlg24HS
 4J0tTJV0z1KWfmxVR5UosxImr5XRPKTd4qTLljl7/Kuqoz4IybKcZwc3KlQd2+8c
 45a7rIkZ8gFDILILxM+ihDifoFSI4izexV3NbLdoUjlHtnujgKzUjdAfz2dJcCfn
 ONEsavMgzv//DGlO1OPHEwtRtKukIoM2qXic4FXBdcy2M/L05ExLG/lHqXYfSpTZ
 WZnGAYhV1i3H8qJ9nvKDZxTJ1mYh99RhUnz0T31Og==
X-ME-Sender: <xms:5STuWi_ZDj4XOgZH6FQsHHXUhxsh2UZ4oyV6izyCJCRiPKtzd9NwMw>
Received: from localhost (95.92-221-151.customer.lyse.net [92.221.151.95])
 by mail.messagingengine.com (Postfix) with ESMTPA id D44051025C;
 Sat,  5 May 2018 17:40:52 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>, 30785 <at> debbugs.gnu.org
Subject: Re: bug#30785: Man pages truncated, repeated
In-Reply-To: <87zi3advd9.fsf@HIDDEN>
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
 <87zi3advd9.fsf@HIDDEN>
User-Agent: Notmuch/0.26.1 (https://notmuchmail.org) Emacs/25.3.1
 (x86_64-pc-linux-gnu)
Date: Sat, 05 May 2018 23:40:51 +0200
Message-ID: <878t8xhjbw.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
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.7 (-)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Marius Bakke <mbakke@HIDDEN> writes:

> Tobias Geerinckx-Rice <me@HIDDEN> writes:
>
>> Guix,
>>
>> Perhaps he's just getting old, but our man has a tendency to forget=20
>> where he was, start over from the beginning, and repeat himself several=
=20
>> times:
>>
>>    $ guix package -i knot rofi
>>    $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
>>    NAME
>>    DESCRIPTION
>>    NAME
>>    DESCRIPTION
>>    NAME
>>    DESCRIPTION
>>    NAME
>>    DESCRIPTION
>>    NAME
>>    $
>
> One thing rofi.1 and knot.conf.5 have in common is that they are both
> unicode.  Whereas working pages are ASCII.

This ultimately turned out to be due to man-db not finding "preconv".

The attached patches fixes it.

Adding preconv adds ~0.1 MiB to the groff-minimal closure size.

WDYT?


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=bug-30785.patch
Content-Transfer-Encoding: quoted-printable

From=2042b43fca11ab1f9417499aea252ae7a871a53b1b Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@HIDDEN>
Date: Sat, 5 May 2018 23:13:16 +0200
Subject: [PATCH 1/2] gnu: groff-minimal: Preserve 'preconv' executable.

* gnu/packages/groff.scm (groff-minimal)[arguments]: Add 'preconv' to the l=
ist
of kept programs.
=2D--
 gnu/packages/groff.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm
index 5f1b8d0ed..77728a5d7 100644
=2D-- a/gnu/packages/groff.scm
+++ b/gnu/packages/groff.scm
@@ -101,7 +101,7 @@ is usually the formatter of \"man\" documentation pages=
.")
                    ;; Keep only the programs that man-db needs at run time,
                    ;; and make sure we don't pull in Perl.
                    (let ((out  (assoc-ref outputs "out"))
=2D                         (kept '("eqn" "neqn" "pic" "tbl" "refer"
+                         (kept '("eqn" "neqn" "pic" "tbl" "refer" "preconv"
                                  "nroff" "groff" "troff" "grotty")))
                      (for-each (lambda (file)
                                  (unless (member (basename file) kept)
=2D-=20
2.17.0


From=20095d0db7db77261f59e6582af3a9b18b61dcb630 Mon Sep 17 00:00:00 2001
From: Marius Bakke <mbakke@HIDDEN>
Date: Sat, 5 May 2018 23:30:04 +0200
Subject: [PATCH 2/2] gnu: man-db: Embed absolute reference to 'preconv'.

Fixes <https://bugs.gnu.org/30785>.
Reported by Tobias Geerinckx-Rice <me@HIDDEN>.

* gnu/packages/man.scm (man-db)[arguments]: Rename 'patch-iconv-path' to
'patch-absolute-paths'.  Add substitution for "preconv".
=2D--
 gnu/packages/man.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm
index ca6fd351d..f0bb2b66e 100644
=2D-- a/gnu/packages/man.scm
+++ b/gnu/packages/man.scm
@@ -80,11 +80,19 @@ a flexible and convenient way.")
                               (string-append "#!" (which "sh")))))
                          (remove file-is-directory?
                                  (find-files "src/tests" ".*"))))))
=2D         (add-after 'unpack 'patch-iconv-path
+         (add-after 'unpack 'patch-absolute-paths
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "src/man.c"
                (("\"iconv\"")
                 (string-append "\"" (which "iconv") "\"")))
+             ;; Embed an absolute reference to "preconv", otherwise it
+             ;; falls back to searching in PATH and ultimately fails
+             ;; to render unicode data (see <https://bugs.gnu.org/30785>).
+             (substitute* "lib/encodings.c"
+               (("groff_preconv =3D NULL")
+                (string-append "groff_preconv =3D \""
+                               (assoc-ref inputs "groff-minimal")
+                               "/bin/preconv\"")))
              #t)))
        #:configure-flags
        (let ((groff (assoc-ref %build-inputs "groff"))
=2D-=20
2.17.0


--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlruJOMACgkQoqBt8qM6
VPomNwf/aPyVJbCl09RlxyEDuBUck6w8jtd/7QtsGaFKS2urESn9AmMYFuIQkOcq
1Zwdf25tPsARdyCvDV8vU6xgACMkttIsnIxowBI5ZSZZ/cl3xkrKhyMReWTWyfU6
fbH1l+SLtQ9BXBrZxbQ+cbHZcfQc/8tvzLNyC6A3jKcnWNlFmG/3anWOKBwzNTTl
8yfZHm1tN9cxo5cZ6dJvIkRo6EChuRN1WuMr0aqabRmx5CWy4la5VP4key9l4eaH
xr9zhfGLeFqmqGoDlL2obXZmxPhBdFFriIDEJ0EcW0hXZ/efo+UPaEju26WlxhH5
o52SY3Z0+cK3IL5R+uln/cdFaqPnJQ==
=RWfx
-----END PGP SIGNATURE-----
--==-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 5 May 2018 01:31:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 04 21:31:56 2018
Received: from localhost ([127.0.0.1]:50105 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fEm3H-0003qq-Qd
	for submit <at> debbugs.gnu.org; Fri, 04 May 2018 21:31:55 -0400
Received: from cascadia.aikidev.net ([173.255.214.101]:46549)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1fEm3F-0003qd-Pg
 for 30785 <at> debbugs.gnu.org; Fri, 04 May 2018 21:31:54 -0400
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id 0F6461B6DB
 for <30785 <at> debbugs.gnu.org>; Fri,  4 May 2018 18:31:46 -0700 (PDT)
From: Vagrant Cascadian <vagrant@HIDDEN>
To: 30785 <at> debbugs.gnu.org
Subject: Re: Man pages truncated, repeated
In-Reply-To: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
Date: Fri, 04 May 2018 18:31:32 -0700
Message-ID: <87d0yaq45n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 30785
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
Content-Transfer-Encoding: quoted-printable

On 2018-03-12, Tobias Geerinckx-Rice wrote:
> Perhaps he's just getting old, but our man has a tendency to forget=20
> where he was, start over from the beginning, and repeat himself several=20
> times:
>
>    $ guix package -i knot rofi
>    $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
>    NAME
>    DESCRIPTION
>    NAME

I'm seeing this same behavior with the gpg-agent manpage as well, for
what it's worth.

  $ man gpg-agent | grep ^NAME
  <standard input>:172: warning [p 2, 10.5i]: cannot
  adjust line
  <standard input>:172: warning [p 6, 4.8i]: cannot
  adjust line
  NAME
  <standard input>:172: warning [p 9, 10.0i]: cannot
  adjust line
  NAME
  NAME
  NAME

Grepping the file directly:

  $ zgrep NAME $(dirname $(readlink $(which gpg)))/../share/man/man1/gpg-ag=
ent.1.gz
  .SH NAME
  identified in the environment variable
  \fBLISTEN_FDNAMES\fR (see
=20=20

Interestingly enough, gpg manpage from the same package doesn't seem to
have the issue:

  $ man gpg | grep ^NAME
  NAME
  <standard input>:1481: warning [p 19, 7.2i]: cannot adjust line

I've also copied the gpg-agent.1.gz file to a Debian system running the
same upstream version of man 2.8.3, and that has no issue. So it's
something specific to the guix version of the "man" command.


live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlrtCXQACgkQt4uC1IFL
kbbCeRAArurHAVpUjFGre2APjzmr75KU9B6g8MTA1PkI9VL4iMez3cLZaxh4k4fo
KdvzLNCrNbvA6IBMnx7qHrZHKKxxjhnoyLfgMPCrvtwuFfoczBenqT6Oh0zsxDko
6yN2tjHVyPE7zuZJK6NIqz22Q55c14Vm4do0Ju4iiOoNk4qcmGdbPZ9HPGDVMZmn
CYn2aw4mvN8xuziO37xBntrdEutjU0oNec9mtaXcbvLCrLpqk6WGFFBKue96dEHD
1Por++aF9VPMaTQrg3oaO2aF9mIMMIH61X48U3LdPb4eZtPSoVWdgDyBYV5bhIwy
VSqvGngoVBWzmzDP/yQ8W4r0y/Rny9FmdA0eGdJIwab5Mpcof4oXGz0eWOZyNWpO
Fw42u03aUWkPcGoVNvOluNkCF6Yx+VXRpqWCUjK0L9OpsltxOmzEpmex7+vVkIFs
nsaqTAP9689j6JSvN2aKH3ThMZRn5MQKDy1OL6lSu9uwG0Tv+yGoWp/6KCSMnJXU
1SuNLG+ekDYE5E4SYcoGXrtS20WYvlSPJmsVUdmQWBH16t5OJSKQL5slUer91CHN
OD+2aOfq7hJIuopypVaxlczSW5BNFb8jVHwlv3qfO93qeaUjX2XbNns6Mr04O2K9
xcirSePuF4q3AXM3CDckN4VLIYLlyGWjx4szZB5QxmCDkjwBesE=
=kPdz
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.
Severity set to 'minor' from 'normal' Request was from ludo@HIDDEN (Ludovic Courtès) to control <at> debbugs.gnu.org. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 15 Mar 2018 00:40:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 14 20:40:25 2018
Received: from localhost ([127.0.0.1]:33810 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ewGwT-0003wl-DH
	for submit <at> debbugs.gnu.org; Wed, 14 Mar 2018 20:40:25 -0400
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48195)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1ewGwP-0003wa-Ao
 for 30785 <at> debbugs.gnu.org; Wed, 14 Mar 2018 20:40:23 -0400
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.nyi.internal (Postfix) with ESMTP id 9628F20F24;
 Wed, 14 Mar 2018 20:40:20 -0400 (EDT)
Received: from frontend2 ([10.202.2.161])
 by compute5.internal (MEProxy); Wed, 14 Mar 2018 20:40:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 content-type:date:from:in-reply-to:message-id:mime-version
 :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=
 fm2; bh=uNgRCX9pbBJsyhwOBvKbaqMNSxMB8xv2fua1x2S+deg=; b=fg+dDeos
 wELybF9fDEGDRBkH0eGE4qtLuUZ0z3/L2Mz/Nn/ZgAIxTb8w1G0exWSon1WJv97C
 PERzp9EJrxaWXfS8Tv3P/fZVtTNN3Vfo47ZR7ltjsNJp8MoH3zmc13e/OSgPH5+0
 Erm3UPQYW2qh9O4f0nRY/OHrfri93ySgm7ur30dVj1qxyl7N9pIALYZJen3iHEhQ
 TXRb6aeaSdZkOCoxTif2K0jwgqvv5ic4/lvLK8No/AaQqppP2yRPiVpp6u2m03nj
 aof5Rz21wUWMMQh/AAZqwV0kAPXcU5bj2WpTXCyRoLw5wwzDqXtpSyv6pUq1Wfna
 6TYCJ3yWocWPtg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-sender
 :x-me-sender:x-sasl-enc; s=fm2; bh=uNgRCX9pbBJsyhwOBvKbaqMNSxMB8
 xv2fua1x2S+deg=; b=cIytjBC2ZDioZHiFiFF8xjc+iE7VI3iMO+cvjzQzmBn4S
 jTazZZovUeDf4V+ZRN1yc1rS2kW5b1tFmO5rID170RyDtxN2QhxDju9bZvRKY2NE
 XmTtmMP+5ZBDwtzEsbf5byFFOmWRW/4Ns8Pc/NbOfvAHXFILWFQqffTqEA6nj4ZQ
 WByvC09UZjwQ2kpjZMqXuTVEO4JAc+3OQ4cgAPbdW57qfFYwHuGqTlOz30HJiQ7s
 ObTRO86brfjR5KZjJsC0mVwLFUXD5hrls7xFYVmkY/Vdxwp6+KLrxpEy9xWHqyf/
 Wi7IPOSem2KBiW7R9brDtcTO67zab4wK4ItJi9UrQ==
X-ME-Sender: <xms:9MCpWvXa3lqPLs34UdmlpOaKy5UmmIalVn5TVdzZrxY6w40mhM1Thw>
Received: from localhost (ti0019a400-2817.bb.online.no [88.90.102.17])
 by mail.messagingengine.com (Postfix) with ESMTPA id 2694F240DC;
 Wed, 14 Mar 2018 20:40:20 -0400 (EDT)
From: Marius Bakke <mbakke@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>, 30785 <at> debbugs.gnu.org
Subject: Re: bug#30785: Man pages truncated, repeated
In-Reply-To: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
User-Agent: Notmuch/0.26 (https://notmuchmail.org) Emacs/25.3.1
 (x86_64-pc-linux-gnu)
Date: Thu, 15 Mar 2018 01:40:18 +0100
Message-ID: <87zi3advd9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 30785
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.7 (/)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Tobias Geerinckx-Rice <me@HIDDEN> writes:

> Guix,
>
> Perhaps he's just getting old, but our man has a tendency to forget=20
> where he was, start over from the beginning, and repeat himself several=20
> times:
>
>    $ guix package -i knot rofi
>    $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
>    NAME
>    DESCRIPTION
>    NAME
>    DESCRIPTION
>    NAME
>    DESCRIPTION
>    NAME
>    DESCRIPTION
>    NAME
>    $

One thing rofi.1 and knot.conf.5 have in common is that they are both
unicode.  Whereas working pages are ASCII.

I've tried running groff and nroff manually on rofi.1, but haven't been
able to reproduce the duplicate sections.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlqpwPIACgkQoqBt8qM6
VPonrgf/aYbZ8PBsq/IIm+7ovwA9H6GIw+RuVZ+FzRWrGrH/Mmyb5K8pqoQAmjla
X+xCU6aw73YemW/Z9xXBDw+h4xroDZo559EsCIjpMfvrNwPvzL77a8L51J74wNKH
UqvHYX6AOvYSxoQGBUdQEa62+OZUZDKAOnx246gFomSofM+02+/1BSI63g8rWzwA
wWgjewAM1Tqt8R3oIVJBGriFe+qxZVSWQoTMAiDkwLz/sO2ro6tHYavctwPZLEpx
D1/vRjmLin7ewwsA2C3WYfyLJEzv8mMuAfdr2uTkMgjWKbSp85y+ziFllaKNI1ej
sUuZLzigHNKn5hbD8jmgEJ0MWgm5gg==
=SEzg
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Mar 2018 13:43:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 14 09:43:18 2018
Received: from localhost ([127.0.0.1]:60533 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ew6gY-0003jo-6q
	for submit <at> debbugs.gnu.org; Wed, 14 Mar 2018 09:43:18 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:43938)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1ew6gW-0003jf-1R
 for 30785 <at> debbugs.gnu.org; Wed, 14 Mar 2018 09:43:16 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 6A6EF129F8;
 Wed, 14 Mar 2018 14:43:15 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id mhTWkSRidOHG; Wed, 14 Mar 2018 14:43:14 +0100 (CET)
Received: from jurong (eth-west-pareq2-46-193-3-68.wb.wifirst.net
 [46.193.3.68])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id ABC38129D8;
 Wed, 14 Mar 2018 14:43:14 +0100 (CET)
Date: Wed, 14 Mar 2018 14:43:13 +0100
From: Andreas Enge <andreas@HIDDEN>
To: Tobias Geerinckx-Rice <me@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
Message-ID: <20180314134313.GA3487@jurong>
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
User-Agent: Mutt/1.9.3 (2018-01-21)
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 30785
Cc: 30785 <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 (/)

Hello,

On Mon, Mar 12, 2018 at 10:24:46PM +0100, Tobias Geerinckx-Rice wrote:
>   $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
>   NAME
>   DESCRIPTION
>   NAME
>   DESCRIPTION
>   NAME
>   DESCRIPTION
>   NAME
>   DESCRIPTION
>   NAME
>   $
> 
> There's also some stderr...
>   <standard input>:25: error: end of file while defining macro `UNINDENT'

with Guix on Debian (git commit 464f5447396fcec9b43f7eab71d5d42b522a157f),
I am not seeing this problem:
$ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
NAME
DESCRIPTION

and no stderr. This uses the "man" binary from Debian (/usr/bin/man) and
/gnu/store/a9w7mm0mrgrakl9khmi91ybp34ly4iqc-knot-2.6.5/share/man/man5/knot.conf.5.gz

What is your distribution? Could it be that the problem is in the "man" binary and
not in the man page?

Actually, also this does work:
$ /gnu/store/kh2av28w5rd3fbidqssp0fzv661hb9l5-man-db-2.7.6.1/bin/man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
NAME
DESCRIPTION

Maybe your store is corrupted?

Or did I misunderstand the problem?

Andreas





Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 14 Mar 2018 13:22:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 14 09:22:11 2018
Received: from localhost ([127.0.0.1]:60528 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ew6M6-0003Cs-MW
	for submit <at> debbugs.gnu.org; Wed, 14 Mar 2018 09:22:11 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:43802)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ew6M4-0003Cj-Mi
 for 30785 <at> debbugs.gnu.org; Wed, 14 Mar 2018 09:22:09 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 94227129FB;
 Wed, 14 Mar 2018 14:22:07 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id FCLyoDuzkpoa; Wed, 14 Mar 2018 14:22:04 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 73285129F9;
 Wed, 14 Mar 2018 14:22:04 +0100 (CET)
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Tobias Geerinckx-Rice <me@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
 <87woyfzmks.fsf@HIDDEN> <238e425929fb44d3f8261a5f5b2945c0@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 24 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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: Wed, 14 Mar 2018 14:22:03 +0100
In-Reply-To: <238e425929fb44d3f8261a5f5b2945c0@HIDDEN> (Tobias
 Geerinckx-Rice's message of "Tue, 13 Mar 2018 23:01:09 +0100")
Message-ID: <87bmfqyepw.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30785
Cc: 30785 <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 (+)

Hi,

Tobias Geerinckx-Rice <me@HIDDEN> skribis:

> On 2018-03-13 22:34, ludo@HIDDEN wrote:
>>> However, even longer man pages such as bash(1) render without fail, so
>>> there might be something special about the two examples above that
>>> triggers this behaviour.
>>
>> I suspect something wrong with =E2=80=98knot.conf.5.gz=E2=80=99, but I d=
on=E2=80=99t have
>> tangible evidence.
>
> Yup, that's about as far as I got before giving up and submitting to
> the wisdom of the crowd. We need someone who knows something =E2=80=94
> anything =E2=80=94 about man pages, or someone who can reproduce this on
> another distro. I had no luck searching for similar bug reports.
>
> ...or do you mean with the knot.conf page *specifically*, as opposed
> to the rofi one? Is your suspicion based on something you saw in
> there?

I didn=E2=80=99t check the rofi one.  The knot.conf one is generated by some
=E2=80=9Cdocutils=E2=80=9D, a reStructuredText thing, which is where my unf=
ounded
suspicion comes from.  :-)

We=E2=80=99d need to analyze the nroff =E2=80=9Ccode=E2=80=9D in there to u=
nderstand what=E2=80=99s
going on.

> For the record: apparently this doesn't happen on Debian, according to
> some fellow on IRC named =E2=80=98civodul=E2=80=99. There goes my brief h=
ope that this
> was an (exclusively) upstream problem after all.

I think I know that person.  ;-)  Perhaps we could check how Debian
generates the page.  Do they have a patch for =E2=80=9Cdocutils=E2=80=9D?  =
Should we try
with a different version to see if that helps?

Cheers,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Mar 2018 22:01:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 13 18:01:20 2018
Received: from localhost ([127.0.0.1]:60106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1evryx-0002La-To
	for submit <at> debbugs.gnu.org; Tue, 13 Mar 2018 18:01:20 -0400
Received: from tobias.gr ([51.15.135.5]:53592)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1evryw-0002LS-7w
 for 30785 <at> debbugs.gnu.org; Tue, 13 Mar 2018 18:01:18 -0400
Received: by tobias.gr (OpenSMTPD) with ESMTP id 67793550;
 Tue, 13 Mar 2018 22:01:15 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=
 mime-version:content-type:content-transfer-encoding:date:from:to
 :cc:subject:in-reply-to:references:message-id; s=2018; i=
 me@HIDDEN; bh=CFy+XSFLEzu0PvoyWSVC6kIeHDDpluN7Gt1qyvdMvvY=; b=
 mpf2r8eVNySDS+E6y6S9pCGgmJcH9frmswp5g11uO6sUFQNBVisagiASn+ULGe3N
 6jgxoS2cOaMpQDY6rg4hRI/lKi+4e+F/XgueV6LEytsQR0qTheoHwfQU4wWcFgnJ
 51VJm8dh4b3rhfoeoHCPFxdkZtcRPdDK1Dc0+eZbrriPi4yYoasafVzBFZyuxuaS
 Qyy4XySmvcrnwqGVhXhvZE/UEBuEOYukCdFrk9lseSZXM83hWdfIXBBjsuMCcg8C
 iKuuIY4/1mN8g2CHoxFePnTXXEv0yLh1Z5P0gUVY9yJXkbgrG6R9X/vQsbNSqMTD
 ByzPa0VxUr3s8tKD/Z03Ag==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 3e225a35
 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO); 
 Tue, 13 Mar 2018 22:01:12 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: 8bit
Date: Tue, 13 Mar 2018 23:01:09 +0100
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: ludo@HIDDEN
Subject: Re: bug#30785: Man pages truncated, repeated
Organization: tobias.gr
In-Reply-To: <87woyfzmks.fsf@HIDDEN>
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
 <87woyfzmks.fsf@HIDDEN>
Message-ID: <238e425929fb44d3f8261a5f5b2945c0@HIDDEN>
X-Sender: me@HIDDEN
User-Agent: Roundcube Webmail
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 30785
Cc: 30785 <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: -2.3 (--)

Ludo',

On 2018-03-13 22:34, ludo@HIDDEN wrote:
>> However, even longer man pages such as bash(1) render without fail, so
>> there might be something special about the two examples above that
>> triggers this behaviour.
> 
> I suspect something wrong with ‘knot.conf.5.gz’, but I don’t have
> tangible evidence.

Yup, that's about as far as I got before giving up and submitting to the 
wisdom of the crowd. We need someone who knows something — anything — 
about man pages, or someone who can reproduce this on another distro. I 
had no luck searching for similar bug reports.

...or do you mean with the knot.conf page *specifically*, as opposed to 
the rofi one? Is your suspicion based on something you saw in there?

It's not the .gz part: opening the uncompressed page with man directly 
has the same result.

--

For the record: apparently this doesn't happen on Debian, according to 
some fellow on IRC named ‘civodul’. There goes my brief hope that this 
was an (exclusively) upstream problem after all.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at 30785 <at> debbugs.gnu.org:


Received: (at 30785) by debbugs.gnu.org; 13 Mar 2018 21:34:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 13 17:34:49 2018
Received: from localhost ([127.0.0.1]:60034 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1evrZI-000854-Tc
	for submit <at> debbugs.gnu.org; Tue, 13 Mar 2018 17:34:49 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:36276)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1evrZG-00084t-BN
 for 30785 <at> debbugs.gnu.org; Tue, 13 Mar 2018 17:34:47 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id C457812826;
 Tue, 13 Mar 2018 22:34:45 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 6dlHb53dxJGo; Tue, 13 Mar 2018 22:34:45 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 9CC00127CE;
 Tue, 13 Mar 2018 22:34:44 +0100 (CET)
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Tobias Geerinckx-Rice <me@HIDDEN>
Subject: Re: bug#30785: Man pages truncated, repeated
References: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 23 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
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: Tue, 13 Mar 2018 22:34:43 +0100
In-Reply-To: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN> (Tobias
 Geerinckx-Rice's message of "Mon, 12 Mar 2018 22:24:46 +0100")
Message-ID: <87woyfzmks.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 30785
Cc: 30785 <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 (+)

Hello,

Tobias Geerinckx-Rice <me@HIDDEN> skribis:

> Perhaps he's just getting old, but our man has a tendency to forget
> where he was, start over from the beginning, and repeat himself
> several times:
>
>   $ guix package -i knot rofi
>   $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'

[...]

> However, even longer man pages such as bash(1) render without fail, so
> there might be something special about the two examples above that
> triggers this behaviour.

I suspect something wrong with =E2=80=98knot.conf.5.gz=E2=80=99, but I don=
=E2=80=99t have
tangible evidence.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Mar 2018 21:25:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 12 17:25:04 2018
Received: from localhost ([127.0.0.1]:57581 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1evUwK-00043L-Ga
	for submit <at> debbugs.gnu.org; Mon, 12 Mar 2018 17:25:04 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40590)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <me@HIDDEN>) id 1evUwJ-00042o-Dp
 for submit <at> debbugs.gnu.org; Mon, 12 Mar 2018 17:25:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <me@HIDDEN>) id 1evUwD-0001Uw-I1
 for submit <at> debbugs.gnu.org; Mon, 12 Mar 2018 17:24:58 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FILL_THIS_FORM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:56212)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <me@HIDDEN>) id 1evUwD-0001Us-FL
 for submit <at> debbugs.gnu.org; Mon, 12 Mar 2018 17:24:57 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59793)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <me@HIDDEN>) id 1evUwC-0008Uq-Di
 for bug-guix@HIDDEN; Mon, 12 Mar 2018 17:24:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <me@HIDDEN>) id 1evUwB-0001Tz-FJ
 for bug-guix@HIDDEN; Mon, 12 Mar 2018 17:24:56 -0400
Received: from tobias.gr ([2001:470:cc92::1]:46520)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <me@HIDDEN>) id 1evUwB-0001T3-2R
 for bug-guix@HIDDEN; Mon, 12 Mar 2018 17:24:55 -0400
Received: by tobias.gr (OpenSMTPD) with ESMTP id e2109890
 for <bug-guix@HIDDEN>; Mon, 12 Mar 2018 21:24:51 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=
 mime-version:content-type:content-transfer-encoding:date:from:to
 :subject:message-id; s=2018; i=me@HIDDEN; bh=TjmPRGDY8NSpzD6k
 tycbp6E24mAJOBjF7e5Ruc9qxAw=; b=pZbJC3ff4VYqX7WOz9Krz3BjNiTDCCyw
 9iCx0KLYB9lUtyObsZWzL5b28vsajustt0U9CpdkKyjAewRcQAp7EMTqEfT9qL52
 OTmf1qnpXV9Noy8KUFfYvUmOzoFZ8WKQwI+3P9MgF8+NLaVsngq2zSzLsdnxGPVE
 j04zj7gII6GAJ81ZMdqbyUxbfCaWnsNh9M9aWivZcPF6MlOxL1sc8mzj7DLrjXMn
 7G1SzwZwGAJnLjQwHmF0B8zU2CewwIOeR7RR/VO7Yx9/YvUgJnhxasLxmTzVaoW3
 nL0Oc5Ni9hU1sbQqN9D/wOUTuz/YIiMt7PmQ/J56FKLu/HOk0KWSow==
Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 95f2b60a
 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for <bug-guix@HIDDEN>;
 Mon, 12 Mar 2018 21:24:49 +0000 (UTC)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 12 Mar 2018 22:24:46 +0100
From: Tobias Geerinckx-Rice <me@HIDDEN>
To: bug-guix@HIDDEN
Subject: Man pages truncated, repeated
Organization: tobias.gr
Message-ID: <4a0d5e493db8af05dd2292b854ad7d3d@HIDDEN>
X-Sender: me@HIDDEN
User-Agent: Roundcube Webmail
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
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: -5.0 (-----)

Guix,

Perhaps he's just getting old, but our man has a tendency to forget 
where he was, start over from the beginning, and repeat himself several 
times:

   $ guix package -i knot rofi
   $ man 5 knot.conf | grep -E '^(NAME|DESCRIPTION)'
   NAME
   DESCRIPTION
   NAME
   DESCRIPTION
   NAME
   DESCRIPTION
   NAME
   DESCRIPTION
   NAME
   $

There's also some stderr...

   <standard input>:25: error: end of file while defining macro 
`UNINDENT'

...but I think that's just a symptom of the input being cut short; man 
rofi(1) prints no such error yet suffers the same fate.

The affected man pages themselves are not truncated, nor do they repeat:

   $ zgrep '\.SH' `man -w knot.conf`
   .SH NAME
   .SH DESCRIPTION
   .SH COMMENTS
   .SH INCLUDES
   .SH MODULE SECTION
   .SH SERVER SECTION
   .SH KEY SECTION
   .SH ACL SECTION
   .SH CONTROL SECTION
   .SH STATISTICS SECTION
   .SH KEYSTORE SECTION
   .SH SUBMISSION SECTION
   .SH POLICY SECTION
   .SH REMOTE SECTION
   .SH TEMPLATE SECTION
   .SH ZONE SECTION
   .SH LOGGING SECTION
   .SH AUTHOR
   .SH COPYRIGHT
   $

However, even longer man pages such as bash(1) render without fail, so 
there might be something special about the two examples above that 
triggers this behaviour.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.




Acknowledgement sent to Tobias Geerinckx-Rice <me@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#30785; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 15 Jan 2019 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.