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 ms5.migadu.com with LMTPS id 6AQlIGHDmGMKhAAAbAwnHQ (envelope-from ) for ; Tue, 13 Dec 2022 19:24:33 +0100 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 aGwzIGHDmGMNMgAA9RJhRA (envelope-from ) for ; Tue, 13 Dec 2022 19:24:33 +0100 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 350AE2A0FE for ; Tue, 13 Dec 2022 19:24:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p59wo-0000vx-Nh; Tue, 13 Dec 2022 13:24:10 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p59wg-0000uM-V5 for guix-patches@gnu.org; Tue, 13 Dec 2022 13:24:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p59wg-00084M-N1 for guix-patches@gnu.org; Tue, 13 Dec 2022 13:24:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p59wg-0003Tt-HT for guix-patches@gnu.org; Tue, 13 Dec 2022 13:24:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51737] [PATCH v3 1/8] gnu: Add linux-libre-waydroid. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Dec 2022 18:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51737 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: phodina Cc: Maxime Devos , Ludovic =?UTF-8?Q?Court=C3=A8s?= , "51737@debbugs.gnu.org" <51737@debbugs.gnu.org>, Liliana Marie Prikler , "GNUtoo@cyberdimension.org" Received: via spool by 51737-submit@debbugs.gnu.org id=B51737.167095579513374 (code B ref 51737); Tue, 13 Dec 2022 18:24:02 +0000 Received: (at 51737) by debbugs.gnu.org; 13 Dec 2022 18:23:15 +0000 Received: from localhost ([127.0.0.1]:33835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p59vu-0003Te-Oz for submit@debbugs.gnu.org; Tue, 13 Dec 2022 13:23:15 -0500 Received: from lepiller.eu ([89.234.186.109]:42820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p59vr-0003TY-KG for 51737@debbugs.gnu.org; Tue, 13 Dec 2022 13:23:13 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id f170e3d6; Tue, 13 Dec 2022 18:23:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=oaYlyS6QtZ2T u7PCPlo0A3P12TFnAuB4ZulxnTpuCG8=; b=jAjRbwZOLGxuc0Enuj99h5E6EAuv Mw8mDhvxZCa7gRm1ZZ3PRlcBUBBAuImOFwwfSNVBbrFoxKsojYTTcogqNfzcvftd Bt+h4fQing27ujoAof6rdDVNZYLEAQjMpdNmxSsCD9pKX7WJH1oghU6Bqfe4Wg60 PL5fAIwsiCtdHRzJobvWE5xmcgy1ymtv2lyqI6eVpgiExbq4q4D2rTmqN0ILGbex DyUQgIwMrmx/PURRePFSHrG5ndvilQGqwMM2f2jGBWStP35mJ1EU2zWkfgP/gOO0 hnN64bQ9sPpTgYwSaLBydGCq/1kFqEOXnt8DXBHvjUFDj2fVrZDUqgmLpw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id d5566342 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 13 Dec 2022 18:23:08 +0000 (UTC) Date: Tue, 13 Dec 2022 19:23:06 +0100 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: References: <6DHjUMqjMoW-JFxyBmViVrNgl6CjM63WJ5vn4bejvkbXWdkQa_NSI1l2lfluy4q_PMSinz3DdOq5mM5oVsuoHsrDzMKEqjcUTQ_R7NpAYp0=@protonmail.com> <95979f80d53295fa999af83919909ee786fde125.camel@telenet.be> <8fzx37ONySCMqGXHR4oPO5rd9PWHkHEZVvAb7fGF4EY8pcYugP0Sc8WyO2odhu5SJBfPDbnjkOjxga5n91wMcEKWdSOYYlYKX-ITndH2WUM=@protonmail.com> <9768fe9c925723795a7b9c24504cfec57f5bfde4.camel@gmail.com> Message-ID: <3294542A-ABDB-4C8A-A2C8-C8A55EDECC57@lepiller.eu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----SP4K4YVL7E1R32R3TR5VJZ8OYUOVZY Content-Transfer-Encoding: 7bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670955873; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7eV4PhQYM/o6VcEsWOUvLT5oL6HchUN8IYHXoTla9Bw=; b=rF7SGMhZaixku4f8lKLYSZ4LZsPh4SFkiHlKmfsmgwtyKzmRNJ5lIOxHpXiV25TK7ZIeVr fEa5Kd/wvpftN6pm0Im02p/d5x5ulzom/frpJEySuQGTKyncK48Guysrio/+tcKDmLQVFB dNxBsoHPMFHaZFI/V11pUiqp6xVkz3x37gMtViDQppwAb5K0mdAUJV5fJjqGNMLzB8A+L0 aE4cbOqxCXgCGCAcEE7O+nbn36ba778SGlX9S5253LoQM6O/tkiUfWeG+a5baCnL9syFuX URrfgPR22EnYIOizwEewJ5KyIIwTr5ndGlJt8Er3zTfMXn3ObCd99MnZouNG3w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=jAjRbwZO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670955873; a=rsa-sha256; cv=none; b=DR8Dhz7NTR800Exq0ffhIxffB2gptBZVoGbdaV1x+ksyLFJ552rWtQgqWIz4ya7TgG4qfr rcYapBPmSOuLqZPHcMTInWH2BJ1tF2gNsUiuzcZRKN2n4hUq9KPcdnJlnpnSCu6o9YVpb5 GAwXdetAO2njtElS0fXkTUizgCd8hX97OIn3/uJupeEwlVVX3AM0Z4/UG8LD+HhyTM6WsH GRKIJtOblripttJyawmN7wNoITB+vUMxh8mXujkY1NZ1DbpREiFIJ0rBRG8K5vSFF7y650 h4P6SoeoGn09URJ4x81RgMHGCtDTmb4pSuSFE7fAiTV1NFUNX9J1rrFHLm6BQw== X-Spam: Yes X-Migadu-Spam-Score: 8.73 X-Spam-Score: 8.73 X-Migadu-Queue-Id: 350AE2A0FE X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=jAjRbwZO; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) X-TUID: QJ6TLE48VQfI ------SP4K4YVL7E1R32R3TR5VJZ8OYUOVZY Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I managed to build bionic in the time frame I envisionned, but I have some = issues with recursive module imports when trying to define the base inputs = for the gnu-build-system (and ultimately the blueprint-build-system)=2E One concern I have is that Lineage OS includes some non free components, t= hough I'm not sure what exactly (at least non-free firmware in the kernel, = probably drivers too)=2E Le 13 d=C3=A9cembre 2022 18:10:38 GMT+01:00, phodina a =C3=A9crit=C2=A0: >Hi Julien, > >agreed, though rather than being non-free the issue is more of being opaq= ue as we shouldn't trust what's inside=2E > >There's documentation on how to build one based on Lineage OS=2E [1] > >Do you think if LineageOS would build the Waydroid image as another devic= e it would be acceptable for Guix to download the artifact directly? [2] > >Also how's the bionic library going? > >[1] https://docs=2Ewaydro=2Eid/development/compile-waydroid-lineage-os-ba= sed-images[2] https://wiki=2Elineageos=2Eorg/devices/ > >---- >Petr >------- Original Message ------- >On Tuesday, November 1st, 2022 at 8:04 AM, Julien Lepiller wrote: > >> That sounds good to me=2E We could have a default, though we must at le= ast make sure we don't advertise for a non-free image=2E >> >> Concerning my own work, I'm currently trying to build some base system = libraries=2E I managed to get a working cross-compiler for x86_64-linux-and= roid, and I managed to cross-build a couple libraries=2E I'm hopeful I'll b= e able to build bionic (android's libc) by the end of the week, then a comp= lete cross toolchain that will help build the rest of the system=2E >> >> Le 1 novembre 2022 07:51:17 GMT+01:00, Liliana Marie Prikler a =C3=A9crit : >> >>> Am Montag, dem 31=2E10=2E2022 um 19:30 +0000 schrieb phodina: >>> >>>> Regarding the Waydroid (Android) image=2E >>>> >>>> We are currently unable to build the whole image due to the issues >>>> >>>> summarized by Julien Lepiller on the 10 Years of Guix=2E Thanks for t= he >>>> >>>> presentation! [1] >>>> >>>> However, there is project in Nix that allows to build the image=2E [2= ] >>>> >>>> Would it be possible to use that instead of the one hardcoded in >>>> >>>> Waydroid? >>> >>> IIUC you would have to translate the nix packages there into guix >>> >>> packages, assuming there's a 1:1 translation (which might not be the >>> >>> case since everything's just a derivation in Nix)=2E You also have to >>> >>> take into account different quality guidelines between Guix and Nix = =E2=80=93 >>> >>> Guix tends to be more stringent=2E >>> >>> Since it's possible to specify the URLs via command line, how about >>> >>> simply removing the defaults and making the respective command line >>> >>> options required for the time being? >>> >>> Cheers ------SP4K4YVL7E1R32R3TR5VJZ8OYUOVZY Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I managed to build bionic in the time frame I envi= sionned, but I have some issues with recursive module imports when trying t= o define the base inputs for the gnu-build-system (and ultimately the bluep= rint-build-system)=2E

One concern I have is that Lineage OS includes= some non free components, though I'm not sure what exactly (at least non-f= ree firmware in the kernel, probably drivers too)=2E

Le 13 d=C3=A9cembre 2022 18:10:38 GMT+01:00, phodina <phodin= a@protonmail=2Ecom> a =C3=A9crit=C2=A0:
Hi Julien,

agre= ed, though rather than being non-free the issue is more of being opaque as = we shouldn't trust what's inside=2E

There's documentation on how to= build one based on Lineage OS=2E [1]

Do you think if LineageOS woul= d build the Waydroid image as another device it would be acceptable for Gui= x to download the artifact directly? [2]

Also how's the bionic libra= ry going?

[1] https://docs=2Ewaydro=2Eid/development/compile-wayd= roid-lineage-os-based-images
[2] https://wiki=2Elineageos=2Eorg/devices/



---= -
Petr
------- Original Message -------
On Tuesday, November 1st, 2022 at 8:04 AM, Julien Lepiller <jul= ien@lepiller=2Eeu> wrote:

That sounds good to me=2E We could have a default, though we m= ust at least make sure we don't advertise for a non-free image=2E

Co= ncerning my own work, I'm currently trying to build some base system librar= ies=2E I managed to get a working cross-compiler for x86_64-linux-android, = and I managed to cross-build a couple libraries=2E I'm hopeful I'll be able= to build bionic (android's libc) by the end of the week, then a complete c= ross toolchain that will help build the rest of the system=2E

Le 1 novembre 2022 07:51:17 GMT+01:00, Liliana Marie P= rikler <liliana=2Eprikler@gmail=2Ecom> a =C3=A9crit :
Am Montag, dem 31=2E10=2E2022 um 19:30 =
+0000 schrieb phodina:
= Regarding the Waydroid (Android) image=2E

We are currently unable to= build the whole image due to the issues
summarized by Julien Lepiller o= n the 10 Years of Guix=2E Thanks for the
presentation! [1]

Howeve= r, there is project in Nix that allows to build the image=2E [2]

Wou= ld it be possible to use that instead of the one hardcoded in
Waydroid?<= br>
IIUC you would have to translate the nix packages there int= o guix
packages, assuming there's a 1:1 translation (which might not be = the
case since everything's just a derivation in Nix)=2E You also have = to
take into account different quality guidelines between Guix and Nix = =E2=80=93
Guix tends to be more stringent=2E

Since it's possible = to specify the URLs via command line, how about
simply removing the defa= ults and making the respective command line
options required for the tim= e being?

Cheers

------SP4K4YVL7E1R32R3TR5VJZ8OYUOVZY--