From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wCc8Nhs3VWKiQwEAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 10:23:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mJ3wMxs3VWKRBwEA9RJhRA (envelope-from ) for ; Tue, 12 Apr 2022 10:23:55 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4A9431B43A for ; Tue, 12 Apr 2022 10:23:55 +0200 (CEST) Received: from localhost ([::1]:46782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neBoY-0001bb-7w for larch@yhetil.org; Tue, 12 Apr 2022 04:23:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neBnU-00016j-Mv for guix-devel@gnu.org; Tue, 12 Apr 2022 04:22:48 -0400 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]:56298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1neBnS-0000yu-4B for guix-devel@gnu.org; Tue, 12 Apr 2022 04:22:48 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id HkNf2700L4UW6Th06kNftH; Tue, 12 Apr 2022 10:22:40 +0200 Message-ID: <9b452deaad9d57a37c14530e0417aa85e558821d.camel@telenet.be> Subject: Re: Do we want versioned symbols in ncurses? From: Maxime Devos To: "B. Wilson" , guix-devel@gnu.org Date: Tue, 12 Apr 2022 10:22:33 +0200 In-Reply-To: <3HT81MHBQR6TK.2S4WQS95XXUR5@"@WILSONB.COM> References: <3HT81MHBQR6TK.2S4WQS95XXUR5@"@WILSONB.COM> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-p9fHJgti/hTnC4HjuvVH" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1649751760; bh=Qth/Q1zI0zbF7nlIaNDRKTzmwePap/k+0tKBXr9moSA=; h=Subject:From:To:Date:In-Reply-To:References; b=cuzv+0d/lZ8N351U81mB8xFWRCWpiOOfYnW9E3BEzEbSqtqcqjy3FprPWFKR31QIx DlPpdkYeFZc4zNe5YE2KE2IfETkj5IQu8PLVdD/wGZK0E19n/hlXsDLaEsRm2RBesp 9+wu8uyPcFnMvlItQsNFVxpCKbqbVQFt4OSIC/u80buoUxF3abw9+ZNV+0RAU9CgL7 90GJ5dgTqo34Qqv/kZgyqW21b4rNMlq6q6dJUKmC1j9mHbO1VYQIo+r8/wnnZDIwbI CdWEYZwRZCpU1s2LL/LgA4fHhRbo7GqFTEVPLCECZ/0GY89FPW8QdxZRVm6IFjePtT ae8V6JJLNVNfg== Received-SPF: pass client-ip=2a02:1800:110:4::f00:18; envelope-from=maximedevos@telenet.be; helo=michel.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649751835; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Qth/Q1zI0zbF7nlIaNDRKTzmwePap/k+0tKBXr9moSA=; b=qXTTDjHoCHYCaVmjMvOWf1H7TDUPVW+8/r2uI76BIfRezd/TmZIN3ybthH9eF/l9BNer+o 94i7xC4a3e3rKCbITcped702Ffyba+1BkMfDkW8s6P7wNVZruClS2pw5oCm7UiVl22ydAu VhTlNF6y8eOVzRp2nhgSkcowlySnPxGwZhCpi5CzNh8mmZgJ9IChi/uI0ygYrr+CZKfjEV i+eMCuTLAKQJDbN8+DYVE/dOwz38x528Ks+8H6cKUBVy7khZfCUm6Dbnc1y5NQNhZX35Pj yz/qADEk/i1gD+tB82CNLHAtR1ac3hIxUu4o6TEeqseP6pov2MeVz74H4V5AlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649751835; a=rsa-sha256; cv=none; b=EqjZe3kxsaMtUrJNFBBdkhep2UQ2V4FgSK+xCKjQSWl//QZhEMrWmksCUvKKTPxeNUNeJN uXpgydRlrcdHNMb+GwVLNqzKjEFC8Ct950Rq8utxvwTPoC8c26H1i4HzUHMgqU4UqrKWEp p79QscttmnHlmMIbTCEZdUAAh8jwyN8Ekgyf9M76FhuBw7tq1F+dMR0rbIQaAvxqrKp3Je C/RySaSH4MeF3CIw8CVhgptw1j1XkusU7DJsTWkUG3mkUXLiiNMhHXqZNLu6EmEacaunNE GYbI9LLll4zcTBf+C1hB8ff+r/EiZ7c2SrMsOCwC1xznHIpmFyn80wo77Ixe7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b="cuzv+0d/"; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.36 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b="cuzv+0d/"; dmarc=pass (policy=none) header.from=telenet.be; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4A9431B43A X-Spam-Score: -5.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: gRfpQAj39Imi --=-p9fHJgti/hTnC4HjuvVH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable B. Wilson schreef op di 12-04-2022 om 12:04 [+0900]: > Hey Guix, >=20 > Is there any particular reason why our current ncurses packages builds wi= thout > versioned symbols? Upstream specifies only default versions (i.e. via @@)= , no > forced ones, so IIUC that should make the library drop-in replaceable for > everything we have so far. Am I missing something? >=20 > Building with symbols is easy enough: just configure --with-versioned-sym= s=3Dyes. >=20 > I ran into this after encountering a project that explicitly uses ncurses > symbol versions. It is simple enough to carry a custom ncurses in my pers= onal > channel for this, but if possible I thought it would be cool to have it i= n the > main one. >=20 > Thoughts? Debian has identifier some potential problems, quoted from : > When using this option, quite a lot of internal symbols which are not > part of the API are no longer exported, see the attached list. > Fortunately according to codesearch.debian.net, very few packages > seem > to use any of those symbols: >=20 > - fpc, in fpcsrc/packages/ncurses/src/form.pp, apparently declares > _nc_Default_Form and _nc_Default_Field. Probably nobody really > uses those, but I don't really have a clue of Pascal. >=20 > - cmake has a lot of hits since it includes a very outdated copy of > the form library which is apparently unused. The /usr/bin/ccmake > binary from the cmake-curses-gui package is linked with the system > form library and does not use any private symbols from it. >=20 > - libncursesada and haskell_ncurses declare _nc_has_mouse, but only > if NCURSES_VERSION_PATCH < 20081122. Prior to that date, > _nc_has_mouse was actually part of the API so its removal might > break some old programs. This might be a case where the symbol > should actually be exported in order not to break the ABI. We'll have to investigate if this is also a potential problem here. Greetings, Maxime. --=-p9fHJgti/hTnC4HjuvVH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYlU2yRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7osMAQCRsjVlfaO9pDEGMvlfhdBovCiL XFMqXYeRETCT7CRuMwD/ew0pI/r+t2I1HSt6lyOictxFw054Mu905PC8FnB5RAU= =W0Ly -----END PGP SIGNATURE----- --=-p9fHJgti/hTnC4HjuvVH--