From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#30785: Man pages truncated, repeated Date: Mon, 14 Jan 2019 22:42:49 +0100 Message-ID: <20190114224249.6bd4452f@scratchpost.org> References: <87va2s8row.fsf@ambrevar.xyz> <87tvic8rfq.fsf@ambrevar.xyz> <878szo5w6z.fsf@gnu.org> <87r2dg8nxd.fsf@ambrevar.xyz> <87pnt08ndl.fsf@ambrevar.xyz> <8736pw5mmh.fsf@gnu.org> <87muo48fay.fsf@ambrevar.xyz> <87r2dfy6t0.fsf@gnu.org> <87k1j78vzd.fsf@ambrevar.xyz> <87imyr8rsg.fsf@ambrevar.xyz> <87ef9f8ei5.fsf@ambrevar.xyz> <87a7k3rzio.fsf@gnu.org> <87won78aw8.fsf@ambrevar.xyz> <20190114174240.557e64b5@scratchpost.org> <87va2r89ef.fsf@ambrevar.xyz> <20190114184853.1d1fe010@scratchpost.org> <20190114185054.37ddef40@scratchpost.org> <874labq91k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/m8H=YlIwOoCWxL0ihrKE9Vw"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:48019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gjA0g-0004To-1v for bug-guix@gnu.org; Mon, 14 Jan 2019 16:43:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gjA0e-0000zY-2P for bug-guix@gnu.org; Mon, 14 Jan 2019 16:43:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60115) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gjA0c-0000wY-41 for bug-guix@gnu.org; Mon, 14 Jan 2019 16:43:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gjA0b-00019s-MG for bug-guix@gnu.org; Mon, 14 Jan 2019 16:43:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <874labq91k.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Pierre Neidhardt Cc: 30785@debbugs.gnu.org --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 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--