From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Help needed packaging rust-cbindgen, a dependency of IceCat 68 Date: Tue, 22 Oct 2019 12:33:51 +0300 Message-ID: <20191022093351.GD1831@E5400> References: <874l012t91.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4zI0WCX1RcnW9Hbu" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54819) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMqY7-0007oG-Ux for guix-devel@gnu.org; Tue, 22 Oct 2019 05:33:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMqY6-0006Xa-Ii for guix-devel@gnu.org; Tue, 22 Oct 2019 05:33:55 -0400 Received: from flashner.co.il ([178.62.234.194]:52864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iMqY6-0006X0-9X for guix-devel@gnu.org; Tue, 22 Oct 2019 05:33:54 -0400 Content-Disposition: inline In-Reply-To: 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Jonathan Brielmaier Cc: guix-devel@gnu.org --4zI0WCX1RcnW9Hbu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 22, 2019 at 11:19:18AM +0200, Jonathan Brielmaier wrote: > On 22.10.19 08:23, Mark H Weaver wrote: > > Hello fellow Guix, > > > > I have good news and bad news. The good news is that thanks to the > > heroic efforts of Amin Bandali , a recently appointed > > co-maintainer of GNU IceCat, there now exists a preliminary version of > > IceCat 68 that builds successfully and works on Trisquel. > > > > The bad news is that IceCat 68 has a new dependency: rust-cbindgen, > > which itself depends on *245* other Rust libraries that are not yet > > packaged for Guix. > > > > I'm very glad for "guix import crate -r", which was able to enumerate > > this list of dependencies for me, and to auto-generate ~267 kilobytes of > > new package definitions, but unfortunately it was only able to deduce > > the license for about half of those. 131 out of 245 of these new > > package definitions have (license #f). I'm not sure what's up with > > that, but it might be necessary to manually determine the licenses of > > these. > > > > Mozilla is scheduled to release Firefox 68.2 ESR today, along with a > > security advisory describing flaws in previous versions of Firefox which > > are fixed in 68.2. Many of these security flaws will affect IceCat 60, > > but the 60 ESR branch is no longer supported upstream. This means that > > we need to get IceCat 68 packaged ASAP. > > > > There are other urgent matters demanding my attention right now, so I > > cannot afford to do all of this work myself. I can take care of > > upgrading and debugging the IceCat 68 package itself -- I already have a > > preliminary patch capable of generating the source tarball -- but I need > > help packaging rust-cbindgen and its 245 dependencies. > > > > Who's willing to help? To get started: "guix import crate -r cbindgen". >=20 > Efraim made a proposal to overhaul the cargo-build-system. I think this > could be pretty interesting for cbindgen. > https://lists.gnu.org/archive/html/guix-devel/2019-10/msg00180.html >=20 > I'm interested in a proper solution here, as Thunderbird needs also > cbindgen to build. Reminds me that I should share the state of my > Thunderbird "package"... Indeed. The short version is to basically treat each of the crates more like the test data, something that gets downloaded but not built independently. Then throw everything into the build system similar to now, but with more manual dependency resolution, and work with it that way. I have one that I tested successfully that I can make shorter but can't share. Throwing together something quickly for this should probably only take an hour or two. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --4zI0WCX1RcnW9Hbu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl2uzP8ACgkQQarn3Mo9 g1G7jA//Rltn/qLKDT0MW+xHfmKghZAFVhYxSG2VF2F4eEydCcrqr+mpb7y78UY+ Axb9DaaPcxfrjPoc67tC9nPZyxBY5opjLj8Ss9slzWpqzQ7lf6KGpt/8ze4r82On fah6yXdS4wa7OGm3oa3jusFcKSLDtmOfa0IcWc2Q6yep9yTTDglC6sm3OKp/f75Q 0LrUsNt8+sBT4YZp+AnCya12yiQ5bkrLK+9UX/DaDFwL9UYwxvbGvCRm/Ekkjqux jJ3Un7n6gT6CajCeRRae+6TgQ5C/lEG8ozItLNdpje4Iry3GcZDGg7TZYBGI6ZRE xG4jJOb5JiP/NzVX+Y8gajpJMITWrPDb7bkLqMmZfQWMvgTCeBSDxrb4YBs2LY4B bMn3h2+MO8+QImSzN4VtHVvHNuR1XcY/3N2g4x4n/868/RZBqG35She+CuQU6bGT Q5D9+a6SSo5iDJ9ul6HtR0Gn/WfboRHLhFQ1vbrLW01d67UByIFKpKtFTKzgBJgJ myI4oIOtaxZMEtatxpE8cP8bopD+KEZCaExGvLQsVS4QJZ4VzkFeWXfYFsi8EWWe qD8QF7cNHewxNB5/uiAbIv9zpcVsCjAKqfOG/BqdTND3aBmK1XmK0yWOOFsh1VL2 eU0cX5UAgk95ooPV3beUT87dEs68le3VinsbQKBFv8DE33pWHes= =iCRj -----END PGP SIGNATURE----- --4zI0WCX1RcnW9Hbu--