From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 May 2020 05:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41120@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158883005411462 (code B ref -1); Thu, 07 May 2020 05:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 May 2020 05:40:54 +0000 Received: from localhost ([127.0.0.1]:41834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWZHC-0002yn-2g for submit@debbugs.gnu.org; Thu, 07 May 2020 01:40:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:38874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWZHA-0002yf-6w for submit@debbugs.gnu.org; Thu, 07 May 2020 01:40:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWZH9-0005ky-Vl for bug-guix@gnu.org; Thu, 07 May 2020 01:40:51 -0400 Received: from flashner.co.il ([178.62.234.194]:59708) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWZH9-0008Q1-3G for bug-guix@gnu.org; Thu, 07 May 2020 01:40:51 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 5352C40212 for ; Thu, 7 May 2020 05:40:49 +0000 (UTC) Date: Thu, 7 May 2020 08:40:15 +0300 From: Efraim Flashner Message-ID: <20200507054015.GG2359@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ISKrrfpKsPiF35CV" Content-Disposition: inline X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/07 01:40:49 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --ISKrrfpKsPiF35CV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable the uvesafb-service which was added to the installation image isn't supported on aarch64 (or probably any non-x86 system) and causes the creation of an installation image to fail. --=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 --ISKrrfpKsPiF35CV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6znzwACgkQQarn3Mo9 g1FSmQ//dYvjRzjweR3hQRK6AlFnH/3hK+gaVAmOmmH0asbLQ5c5u2jNakw56i7F rLEfpPGYvoiv43E1uZV3rNDgzdwnuXBe/9hhQYfocbs1YQ+eH3YDUSidmf0AqEUL JNFlnBmx+mFkGxNqZOvuS6onSkAN6cNVw3G8ZwnEmV8bgljJn5OeHxF+appEnjnG 0rfu48mSIPmUOrBq1Rqw65wynwnTQ6zC0hT1JGhnh3NXhpTZuFmQNq7ZJCzK5JyQ Nj2FByJ3r34wZIRth8ZelMoA8bGxGzyVUO9YOegU2kd+2WR6pJeoCkZhUG25sg6T v/mKdxnJdIIG9oEmHQzNxLMSk3LaPNN3Yl/T7+F7iGFK83WYXQWwkLTMjLtQO1oW ae2WgWT5asFC/fixh4coF/E1bStI8Sj9pk5ru6iqnYXE6xlIRqTTf5JUj02Z/6D+ tp8zr5Rjr0B46uMvWcEW8FG/Y+r/yg+Qi3DhZxxx6099lnkzjsddOrXJ7h+LIeWP P0QsCRTMc/PeThwKJ4Sph1Ws342eKwaYQwJPF4VVeNxmiWkeSqqOf39T18UdqbDw WIzMHKAJq2eVZU8Jdx86hIpPGKdjSV9alNFAwcXKU5mJ9JJoKzbX1CLwZA2/G+oz tEYxI9uCLBUKEQJUXwI3CiVisqO8fh3X9TlAgT1spRtpcmIISDg= =C9GW -----END PGP SIGNATURE----- --ISKrrfpKsPiF35CV-- From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 May 2020 07:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.158883519021866 (code B ref 41120); Thu, 07 May 2020 07:07:02 +0000 Received: (at 41120) by debbugs.gnu.org; 7 May 2020 07:06:30 +0000 Received: from localhost ([127.0.0.1]:41923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWac2-0005gc-6g for submit@debbugs.gnu.org; Thu, 07 May 2020 03:06:30 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:38382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWac1-0005gM-Gi for 41120@debbugs.gnu.org; Thu, 07 May 2020 03:06:29 -0400 Received: by mail-wr1-f46.google.com with SMTP id x17so4976939wrt.5 for <41120@debbugs.gnu.org>; Thu, 07 May 2020 00:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=yM5BKXAQ8S/7SScNUvAubW11RmIO61WEoTnE4xSZzlQ=; b=HGpJF73r3Iv/6dfafog5eqEy+BKCBAkJUucLoDg7B6Fqwy7adibQpm0zUVgGTLbZCZ Gwtv1YB1rvlHLc90UEC2NH3Zo7GdiZChHtsHs8K7VD7gcx3zrWT2fpI28hq0RXtvlNKY TfWhTNEB1kWkUn5McKgrJ1UtmLVZzsdXaGuqbn5bZZx8A0cok8s/WISSxOFBnwoKyKUP /QG08lDuLwWtNbe5rrXwNkdgIi4JrbOMLJZqfJkpsLJMTmM7mAFbvY2o+CbT0lXS0cNa L2XyNxW82kR/Q8YCtXqJn73QW95cOhKfQRgx+fgia4i26sfSiYz4lzPEs24uAbWhN0Ma MMDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=yM5BKXAQ8S/7SScNUvAubW11RmIO61WEoTnE4xSZzlQ=; b=eVE2uXUL4KzS/GtwyLdk9mAnafh8XbEQWQA7vhpAsR/Gkz77iQ+/ze7dQhFkiCYkPV m/W7sCwoOTuZ5PrwkA6gE0UkE7jHVAQKz20hpwkryuU9Mu19VeIccb0/9zeK1XBX1bHM 67LdLlDBEa9lEOrU4cC/MfQky2IwbJIWF5eG/ii//PgClrS4ZZOeiSenXLcQ0ju7wsGu XMcq/b/X+Pe9G3Vm3xGLr7pJeJsS5m9TZhVzq8gtMEovIbxEMonNHPVbwpeIlRZtf0LF /eQ89SGUSj1gtQ8VfSUL4c9efvxdjyWKuE20bggqneXl/bZxksHt1E4aVe5zRssIDTmG KV2g== X-Gm-Message-State: AGi0Pubgi6/fy1DjCEoul07vjUgSfbvuYbAuUzFwifxzYnabqA5ucems ppN/8maheaFRV4yYhaJIQf8OG4vS X-Google-Smtp-Source: APiQypII/awkojM1fGR/9hFSHeBadrYnQMuPUegDaH6X9Q1fdflj9DMWJw8GS/QOfeM0lLyPifFNWw== X-Received: by 2002:a5d:5346:: with SMTP id t6mr8106901wrv.274.1588835183405; Thu, 07 May 2020 00:06:23 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:ace5:4301:4371:b86c]) by smtp.gmail.com with ESMTPSA id u74sm6765774wmu.13.2020.05.07.00.06.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 May 2020 00:06:22 -0700 (PDT) From: Mathieu Othacehe References: <20200507054015.GG2359@E5400> Date: Thu, 07 May 2020 09:06:21 +0200 In-Reply-To: <20200507054015.GG2359@E5400> (Efraim Flashner's message of "Thu, 7 May 2020 08:40:15 +0300") Message-ID: <87wo5ody1e.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Efraim, > the uvesafb-service which was added to the installation image isn't > supported on aarch64 (or probably any non-x86 system) and causes the > creation of an installation image to fail. Thanks for reporting. There's this small snippet in uvesafb-service: --8<---------------cut here---------------start------------->8--- (or (not (and (string-suffix? "linux-gnu" %host-type) (or (string-prefix? "x86_64" %host-type) (string-prefix? "i686" %host-type)))) --8<---------------cut here---------------end--------------->8--- which must then fail? Do you have a specific error message? Thanks, Mathieu From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 May 2020 08:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.158883876330402 (code B ref 41120); Thu, 07 May 2020 08:07:02 +0000 Received: (at 41120) by debbugs.gnu.org; 7 May 2020 08:06:03 +0000 Received: from localhost ([127.0.0.1]:41991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWbXe-0007u6-Pt for submit@debbugs.gnu.org; Thu, 07 May 2020 04:06:03 -0400 Received: from flashner.co.il ([178.62.234.194]:32968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWbXd-0007tI-Cd for 41120@debbugs.gnu.org; Thu, 07 May 2020 04:06:01 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 611D94019F; Thu, 7 May 2020 08:05:55 +0000 (UTC) Date: Thu, 7 May 2020 11:05:22 +0300 From: Efraim Flashner Message-ID: <20200507080522.GI2359@E5400> References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NgG1H2o5aFKkgPy/" Content-Disposition: inline In-Reply-To: <87wo5ody1e.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --NgG1H2o5aFKkgPy/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 07, 2020 at 09:06:21AM +0200, Mathieu Othacehe wrote: >=20 > Hello Efraim, >=20 > > the uvesafb-service which was added to the installation image isn't > > supported on aarch64 (or probably any non-x86 system) and causes the > > creation of an installation image to fail. >=20 > Thanks for reporting. There's this small snippet in uvesafb-service: >=20 > --8<---------------cut here---------------start------------->8--- > (or (not (and (string-suffix? "linux-gnu" %host-type) > (or (string-prefix? "x86_64" %host-type) > (string-prefix? "i686" %host-type)))) > --8<---------------cut here---------------end--------------->8--- >=20 > which must then fail? Do you have a specific error message? >=20 It fails while building v86d. Looking at the or statement, it should probably close after (file-exists? "/dev/fb0") and then the whole thing wrapped in a when or an if. I checked and /dev/fb0 doesn't exist on my machine. Actually that didn't make a difference, it still tried to build v86d. Even changing the '(or (not' to '(if (and (and' it still tries to build v86d. My guess is that it's not evaluating the conditionals until it's time to run the service so it makes sure v86d is there. --=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 --NgG1H2o5aFKkgPy/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6zwT8ACgkQQarn3Mo9 g1G9EQ/9HMsG6glMiP73jRHWpXXu9Vp+HlItKY+IBJvpimU3oULk+E/AF332Wn1R yHl7QjlazFsbCneC1ijZ4FIUTqY02K1lcp3apdbKm++i2/puEUvn/w2scbWVz9+Q LgxaQErYPs6F3jTiWPd391XhKaeN64VylXLqFkJ5HKz5Wmwx+436i7F6MWtDLJiF pQ7coo3liJpYfzf+R8xNem8tCQ2LiyF2oGRKRTMv3Udz24AD7neaBSlOUbE6QfVT cOWWFPDsOlKxl5mpiI0kgOBlS3da7tQFXqcpyHrWPB9/EFdTRPfxg6/mbOXM7ZA3 7NhUWYlZFeZc2mU1NWYtqLLmGebpb8asVRuTKl9GLxzziB6V5Rrzk5WFYEVsr7mO 6eDf1MWTBnG7u5Ibem0L9uPaz0Xqd1OaWBMzBZap5+/UAzL1CQNlR6aBIT9qYeW5 ga3j6K5wcfZ0k0ZURmO0C03e3O9/2uyJFqUWuersC7mMqG6y2mYke5rCwgI4k/tk 4pK2+sJbUhIQECNC1sw8ZOdNUCIFtis3wMsoTAUHHi22fwLLLCuWF49vDbC2W3gM kAuCA9ppdG7kJmpcsoqOHRAgbUJJSCpriFrBBOegrSLfEWfUK5kHsbIybJ3S6qN1 6w7NmamTGYH1BaZ8z3ohT/wZYbAKbn0OaC/KixSekkGs6rLkgQg= =IDvq -----END PGP SIGNATURE----- --NgG1H2o5aFKkgPy/-- From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 May 2020 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.158883919431586 (code B ref 41120); Thu, 07 May 2020 08:14:02 +0000 Received: (at 41120) by debbugs.gnu.org; 7 May 2020 08:13:14 +0000 Received: from localhost ([127.0.0.1]:42013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWbec-0008DN-If for submit@debbugs.gnu.org; Thu, 07 May 2020 04:13:14 -0400 Received: from flashner.co.il ([178.62.234.194]:33026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWbea-0008Cz-LK for 41120@debbugs.gnu.org; Thu, 07 May 2020 04:13:13 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id D0DD34019F; Thu, 7 May 2020 08:13:06 +0000 (UTC) Date: Thu, 7 May 2020 11:12:34 +0300 From: Efraim Flashner Message-ID: <20200507081234.GJ2359@E5400> References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9a9Vq1BJdYBEXpLG" Content-Disposition: inline In-Reply-To: <87wo5ody1e.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --9a9Vq1BJdYBEXpLG Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 07, 2020 at 09:06:21AM +0200, Mathieu Othacehe wrote: >=20 > Hello Efraim, >=20 > > the uvesafb-service which was added to the installation image isn't > > supported on aarch64 (or probably any non-x86 system) and causes the > > creation of an installation image to fail. >=20 > Thanks for reporting. There's this small snippet in uvesafb-service: >=20 > --8<---------------cut here---------------start------------->8--- > (or (not (and (string-suffix? "linux-gnu" %host-type) > (or (string-prefix? "x86_64" %host-type) > (string-prefix? "i686" %host-type)))) > --8<---------------cut here---------------end--------------->8--- >=20 > which must then fail? Do you have a specific error message? >=20 I haven't tested the produced image, but the following builds without trying to also build v86d (start (if (and (and (string-suffix? "linux-gnu" %host-type) (or (string-prefix? "x86_64" %host-type) (string-prefix? "i686" %host-type))) (file-exists? "/dev/fb0")) #~(lambda () ;; uvesafb is only supported on x86 and x86_64. (invoke #+(file-append kmod "/bin/modprobe") "uvesafb" (string-append "v86d=3D" #$v86d "/sbin/v86d") "mode_option=3D1024x768")) #~(lambda () #t))) --=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 --9a9Vq1BJdYBEXpLG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6zwvEACgkQQarn3Mo9 g1G4cA//aPHyDb1CwoqcAPz/UNJ+1JFR127SyvvVeeScdOUh9d8df2xlALZ/5MFK Aq4tHgSucapenGEGL7+nl8cWMQgmyvgC6qxhpYg1+0xvaRI/uG/gBFG+ROowGQKL ndTRq9NuI9PNc5Wqe52vttR47mNWombLqiT9+hu0BFV5nEW5hCGT2NQvTaBRNpnc YUx9G3WgKDCOe0QIX/bA6HurOqfMDMg5g1kDyV+LXf84vrTrGNbN1+i1jzRNdTEe 0HW9s86fSgfLqKRX3GHMwxnXy86H+Uz6GzjcO9T5sQBqb+juXqWlUVQ6kFHMXLLJ FTQ/VeDUHfvrZ6unK9PoT5oSAQQitcvCDttD4y70iLyUTsEjdKglgWhB15FplZKI E0c9AL+wdeniy6xsIg7g0Q/UqHCnx+6eeCPY/Cez9thpKMGlR9jXmVeFic8W0Z8K z4daQmsIZLpsVNgqxeZ31sCjnKcNfB86Wjhi3Occ5JN0CZ8i2Em97dCkrtK0zq7a j8q+kkTUhSbjugZMVhwuw4Uk09p4i44gWPUHbrWUchoGinrQCmJU6PoY4U7uk37V TbUl8x7zNlQJEFpe+EhKK877tBJgHS1A8SvBIfKzHKAC6pO7So7TuZPmAm+sl/6X EfczHm1ZJyKVM3uSFzdJkyLbtXxDGYEv4Zz2F1bQD6GGUbM9/F0= =MoQt -----END PGP SIGNATURE----- --9a9Vq1BJdYBEXpLG-- From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 May 2020 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: Mathieu Othacehe , 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.15888633186538 (code B ref 41120); Thu, 07 May 2020 14:56:01 +0000 Received: (at 41120) by debbugs.gnu.org; 7 May 2020 14:55:18 +0000 Received: from localhost ([127.0.0.1]:43685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWhvh-0001hO-R3 for submit@debbugs.gnu.org; Thu, 07 May 2020 10:55:18 -0400 Received: from pelzflorian.de ([5.45.111.108]:40886 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWhvf-0001hD-93 for 41120@debbugs.gnu.org; Thu, 07 May 2020 10:55:16 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 351E036055C; Thu, 7 May 2020 16:55:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1588863313; bh=PQkn2l9PMcVoON0vgKW1yu7W91jw6uH7cwyLZbRVoGE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=yI1IT+TFdv9/dg8RieNCk9ummQ9p4RDjyet4P86Nl3qsr3ku9ifFAUDVLNBIEjL0l UfisKN1hPGo0mhQ3mai1T3GwP0ncyLG4QY6UcPlSPazSSNp+sHEtSmGLeWEPvZxHRX sWOcsal2ABirROrojKFtZhZUK2A5Kb0XRNm06xd8= Date: Thu, 7 May 2020 16:55:11 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> <20200507081234.GJ2359@E5400> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="cpwgnt7bn2346xsa" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200507081234.GJ2359@E5400> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --cpwgnt7bn2346xsa Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Thu, May 07, 2020 at 11:12:34AM +0300, Efraim Flashner wrote: > I haven't tested the produced image, but the following builds without > trying to also build v86d > > (start > (if (and (and (string-suffix? "linux-gnu" %host-type) > (or (string-prefix? "x86_64" %host-type) > (string-prefix? "i686" %host-type))) > (file-exists? "/dev/fb0")) > #~(lambda () > ;; uvesafb is only supported on x86 and x86_64. > (invoke #+(file-append kmod "/bin/modprobe") > "uvesafb" > (string-append "v86d=" #$v86d "/sbin/v86d") > "mode_option=1024x768")) > #~(lambda () #t))) This way uvesafb is started unconditionally on x86_64, even when it is not needed, leading to video corruption on some boots in QEMU. I have more success with moving the file-exists check into the #~(lambda …) like the attached patch. But I’m not sure it really fixes ARM builds. I tested via qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm -nic user,model=virtio-net-pci -boot menu=on,order=d -drive media=cdrom,file=/gnu/store/0cgbp4y7awk4spg49ajw077xyzk24fi0-iso9660-image and on hardware. With QEMU, uvesafb is needed if and only if nomodeset is passed as a kernel parameter. Now how to build an ARM image for QEMU? Sorry I left such a mess with uvesafb. Regards, Florian --cpwgnt7bn2346xsa Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-installer-Do-not-load-uvesafb-on-non-x86-install-ima.patch" >From 13fd2b590e37095ed4213d7bb85422b48deab9c6 Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Thu, 7 May 2020 13:26:19 +0200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [PATCH] installer: Do not load uvesafb on non-x86 install images. Fixes . Suggested by Efraim Flashner . * gnu/system/install.scm (uvesafb-shepherd-service): Do not build x86-only v86d helper unconditionally. --- gnu/system/install.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 6435c1bff4..ad8a84091c 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -299,16 +299,18 @@ the user's target storage device rather than on the RAM disk." (documentation "Load the uvesafb kernel module if needed.") (provision '(maybe-uvesafb)) (requirement '(file-systems)) - (start #~(lambda () - ;; uvesafb is only supported on x86 and x86_64. - (or (not (and (string-suffix? "linux-gnu" %host-type) - (or (string-prefix? "x86_64" %host-type) - (string-prefix? "i686" %host-type)))) - (file-exists? "/dev/fb0") - (invoke #+(file-append kmod "/bin/modprobe") - "uvesafb" - (string-append "v86d=" #$v86d "/sbin/v86d") - "mode_option=1024x768")))) + (start + (if (and (and (string-suffix? "linux-gnu" %host-type) + (or (string-prefix? "x86_64" %host-type) + (string-prefix? "i686" %host-type))) + (file-exists? "/dev/fb0")) + #~(lambda () + ;; uvesafb is only supported on x86 and x86_64. + (invoke #+(file-append kmod "/bin/modprobe") + "uvesafb" + (string-append "v86d=" #$v86d "/sbin/v86d") + "mode_option=1024x768")) + #~(lambda () #t))) (respawn? #f) (one-shot? #t)))) -- 2.26.1 --cpwgnt7bn2346xsa-- From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 07 May 2020 14:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: Mathieu Othacehe , 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.15888634866853 (code B ref 41120); Thu, 07 May 2020 14:59:02 +0000 Received: (at 41120) by debbugs.gnu.org; 7 May 2020 14:58:06 +0000 Received: from localhost ([127.0.0.1]:43701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWhyQ-0001mT-BO for submit@debbugs.gnu.org; Thu, 07 May 2020 10:58:06 -0400 Received: from pelzflorian.de ([5.45.111.108]:40894 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWhyN-0001mL-UF for 41120@debbugs.gnu.org; Thu, 07 May 2020 10:58:04 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id EC0EB36055C; Thu, 7 May 2020 16:58:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1588863483; bh=dh0VKLVK0cmBjE13YQ9UNowr2KaUiUz/NTpGDV3RbSc=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=K/uc3LbZgOqeJS7tIaqWhjTZu+pavuUI1wiMO6Z5+l4M9Ds2y4QjusxReoRUHr+/2 pjphUbolo1sinjJFNy1gOMFo5VZhsVs1zY19/BScTlhDyoyA78rIF+4B0Hj2z9Wl9+ gj+w1n9OVmq+JoyX3Qm2N7o1KoNp3qOX870ehu9k= Date: Thu, 7 May 2020 16:58:01 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20200507145801.nmedsi44wtparffh@pelzflorian.localdomain> References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> <20200507081234.GJ2359@E5400> <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jq4rpnklvajfivhs" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --jq4rpnklvajfivhs Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Thu, May 07, 2020 at 04:55:13PM +0200, pelzflorian (Florian Pelz) wrote: > I have more success with moving the file-exists check into the > #~(lambda …) like the attached patch. Sorry I forgot to git add. This is the patch. --jq4rpnklvajfivhs Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-installer-Do-not-load-uvesafb-on-non-x86-install-ima.patch" >From f88b1b487d48c959a7ed00d6032ccfe05aa81f0e Mon Sep 17 00:00:00 2001 From: Florian Pelz Date: Thu, 7 May 2020 13:26:19 +0200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [PATCH] installer: Do not load uvesafb on non-x86 install images. Fixes . Suggested by Efraim Flashner . * gnu/system/install.scm (uvesafb-shepherd-service): Do not build x86-only v86d helper unconditionally. --- gnu/system/install.scm | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 6435c1bff4..952dee464f 100644 --- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -299,16 +299,18 @@ the user's target storage device rather than on the RAM disk." (documentation "Load the uvesafb kernel module if needed.") (provision '(maybe-uvesafb)) (requirement '(file-systems)) - (start #~(lambda () - ;; uvesafb is only supported on x86 and x86_64. - (or (not (and (string-suffix? "linux-gnu" %host-type) - (or (string-prefix? "x86_64" %host-type) - (string-prefix? "i686" %host-type)))) - (file-exists? "/dev/fb0") - (invoke #+(file-append kmod "/bin/modprobe") - "uvesafb" - (string-append "v86d=" #$v86d "/sbin/v86d") - "mode_option=1024x768")))) + (start + (if (and (string-suffix? "linux-gnu" %host-type) + (or (string-prefix? "x86_64" %host-type) + (string-prefix? "i686" %host-type))) + #~(lambda () + ;; uvesafb is only supported on x86 and x86_64. + (or (file-exists? "/dev/fb0") + (invoke #+(file-append kmod "/bin/modprobe") + "uvesafb" + (string-append "v86d=" #$v86d "/sbin/v86d") + "mode_option=1024x768"))) + #~(lambda () #t))) (respawn? #f) (one-shot? #t)))) -- 2.26.1 --jq4rpnklvajfivhs-- From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 08 May 2020 09:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian \(Florian Pelz\)" Cc: dannym@scratchpost.org, ludo@gnu.org, janneke@gnu.org, Efraim Flashner , 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.15889289544684 (code B ref 41120); Fri, 08 May 2020 09:10:02 +0000 Received: (at 41120) by debbugs.gnu.org; 8 May 2020 09:09:14 +0000 Received: from localhost ([127.0.0.1]:44592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWz0L-0001DT-RD for submit@debbugs.gnu.org; Fri, 08 May 2020 05:09:14 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWz0K-0001DH-7V for 41120@debbugs.gnu.org; Fri, 08 May 2020 05:09:12 -0400 Received: by mail-wm1-f68.google.com with SMTP id u16so9766287wmc.5 for <41120@debbugs.gnu.org>; Fri, 08 May 2020 02:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=XPe1UQW2O+kRVWRBKCbYPhSpii+Aqhjik61zTMpGH10=; b=UKsuKkqm53zMen6RKBjM7aYbXt21i3Yd/eu7ZSJAJyDq/JMSkxU9qhn5eNj+W3GE7B y87gIvzup20R+kiT3zlTuBFt2bUnoqGBb6C/agEwuAUqtOHLbR/DZurvFx7p+ltPjOEe 5G6WBawBAZfZrc8TcUfZsBqZD1wK+yMse5uPSxiIWLJ+p1cBJP0uHeNKgLxvbYLoBaj7 g8ULKYi6aixWbjHYb4jjK9LVC1GVppDEf3Da0GyTT+/O+a5p5xkMjjDy7PxnRTdB9om0 tkpMsxUk6E+vXSDJTShWXTQLZuSP4F0g1qdruqKIUrJafxzrCivDEBv9yn1LClzbTAX6 sI1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=XPe1UQW2O+kRVWRBKCbYPhSpii+Aqhjik61zTMpGH10=; b=hgYkFM9JaYSH8D0naQqj2zkopXGCo2QT/Tb6fVI4He6udHLqI+TXTgUPKEQVj4egiB S2c3v2c0qamn9o08DAgB+O2TLAVt6xyaWuqcYOhGRRRQtsDzsVqQF6yhgJ/kaK+wH8UU QK38p4uccJXbCaVDpO11zYRTTwIsrAteKcVlwZEz9YGKIPDqLJ47bSgbQ6qcVLwPUmo7 bERQBaeVmBiTtxtJf/NPT6TXw9TQ4qZPrd4AdJ3iOpYyW/WUfRin6L+8VslbgntQqPCZ ew4NNG8KVon9VvlZdf30ukURiptjoXUIixaasKj7uXVgVjb2cuDjXA2Knl2Pz6Kdav3i 0Pjw== X-Gm-Message-State: AGi0PuYC+KVjbja3yXE76BtAST5CAfeanEk3fH93HysXpdxn+Ja5FBmG 7eIv0tXitso71BFUAnPvqxc= X-Google-Smtp-Source: APiQypKnpRbaNgSY3j5+IvGAXQBziq1Cc4Ri67yrpB+X0aQlMkhrselMSpIeuROm2TB43YJsJDcDrg== X-Received: by 2002:a1c:4e12:: with SMTP id g18mr14869064wmh.11.1588928946241; Fri, 08 May 2020 02:09:06 -0700 (PDT) Received: from cervin ([2a01:cb18:832e:5f00:d130:8dab:4aff:8b2]) by smtp.gmail.com with ESMTPSA id q187sm12389777wma.41.2020.05.08.02.09.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2020 02:09:04 -0700 (PDT) From: Mathieu Othacehe References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> <20200507081234.GJ2359@E5400> <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> <20200507145801.nmedsi44wtparffh@pelzflorian.localdomain> Date: Fri, 08 May 2020 11:09:03 +0200 In-Reply-To: <20200507145801.nmedsi44wtparffh@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Thu, 7 May 2020 16:58:01 +0200") Message-ID: <875zd6lro0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Thanks for working on that Florian & Efraim. > + (if (and (string-suffix? "linux-gnu" %host-type) > + (or (string-prefix? "x86_64" %host-type) > + (string-prefix? "i686" %host-type))) > + #~(lambda () > + ;; uvesafb is only supported on x86 and x86_64. > + (or (file-exists? "/dev/fb0") > + (invoke #+(file-append kmod "/bin/modprobe") > + "uvesafb" > + (string-append "v86d=" #$v86d "/sbin/v86d") > + "mode_option=1024x768"))) > + #~(lambda () #t))) > (respawn? #f) > (one-shot? #t)))) The issue with using %host-type at build time is that it won't support system build with --system and --target. For instance if cross-compiling for aarch64-linux-gnu on a x86_64 system, %host-type will be "x86_64-..." and we will try to build v86d for aarch64. We could maybe do something like that: --8<---------------cut here---------------start------------->8--- (define (operating-system-hardware-specific-services) #~(let-system (system target) (cond ((target-arm? system target) '()) ((target-intel? system target) (list uvesafb-shepherd-service))))) (define (operating-system-kernel-specific-services) #~(let-system (system target) (cond ((target-linux? system target) linux-specific-services) ((target-hurd? system target) hurd-specific-services)))) --8<---------------cut here---------------end--------------->8--- This way, uvesafb-shepherd-service would be built and installed only when producing a system targeting an Intel CPU. We could also extend this mechanism to have kernel specific services. That would mean, we need to dig out Ludo patch introducing let-system[1], but I think it was almost ready. Adding janneke, Danny and Ludo to the discussion. WDYT? Thanks, Mathieu [1]: https://lists.gnu.org/archive/html/guix-patches/2017-11/msg00274.html From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 May 2020 12:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "pelzflorian \(Florian Pelz\)" Cc: ludo@gnu.org, 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.158937427330359 (code B ref 41120); Wed, 13 May 2020 12:52:01 +0000 Received: (at 41120) by debbugs.gnu.org; 13 May 2020 12:51:13 +0000 Received: from localhost ([127.0.0.1]:57610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYqqu-0007ta-DD for submit@debbugs.gnu.org; Wed, 13 May 2020 08:51:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYqqo-0007t7-QL for 41120@debbugs.gnu.org; Wed, 13 May 2020 08:51:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35491) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYqqi-0000oY-Vo; Wed, 13 May 2020 08:51:01 -0400 Received: from [2a01:cb18:832e:5f00:7499:6e2e:99e3:10a4] (port=49622 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jYqqi-0006AU-Ee; Wed, 13 May 2020 08:51:00 -0400 From: Mathieu Othacehe References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> <20200507081234.GJ2359@E5400> <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> <20200507145801.nmedsi44wtparffh@pelzflorian.localdomain> <875zd6lro0.fsf@gmail.com> Date: Wed, 13 May 2020 14:50:58 +0200 In-Reply-To: <875zd6lro0.fsf@gmail.com> (Mathieu Othacehe's message of "Fri, 08 May 2020 11:09:03 +0200") Message-ID: <87blms3snh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Hello, > We could maybe do something like that: > > (define (operating-system-hardware-specific-services) > #~(let-system (system target) > (cond > ((target-arm? system target) > '()) > ((target-intel? system target) > (list uvesafb-shepherd-service))))) > > (define (operating-system-kernel-specific-services) > #~(let-system (system target) > (cond > ((target-linux? system target) > linux-specific-services) > ((target-hurd? system target) > hurd-specific-services)))) > > This way, uvesafb-shepherd-service would be built and installed only > when producing a system targeting an Intel CPU. We could also extend > this mechanism to have kernel specific services. > > That would mean, we need to dig out Ludo patch introducing > let-system[1], but I think it was almost ready. Here's a rebased version of Ludo's patch. I'm not sure about the merge resolution in "lower-object", but otherwise it works fine! Ludo, would it be of to push it? Thanks, Mathieu --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gexp-Compilers-can-now-return-lowerable-objects.patch >From dde0a1ca499a4ef0592d10158a00add16386bebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 13 May 2020 14:34:17 +0200 Subject: [PATCH 1/2] gexp: Compilers can now return lowerable objects. * guix/gexp.scm (lower-object): Iterate if LOWERED is a struct. (lower+expand-object): New procedure. (gexp->sexp): Use it. (define-gexp-compiler): Adjust docstring. --- guix/gexp.scm | 71 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 48 insertions(+), 23 deletions(-) diff --git a/guix/gexp.scm b/guix/gexp.scm index 2a4b36519c..a9a4b89ab4 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -226,32 +226,59 @@ procedure to expand it; otherwise return #f." corresponding to OBJ for SYSTEM, cross-compiling for TARGET if TARGET is true. OBJ must be an object that has an associated gexp compiler, such as a ." - (match (lookup-compiler obj) - (#f - (raise (condition (&gexp-input-error (input obj))))) - (lower - ;; Cache in STORE the result of lowering OBJ. - (mlet %store-monad ((target (if (eq? target 'current) - (current-target-system) - (return target))) - (graft? (grafting?))) - (mcached (let ((lower (lookup-compiler obj))) - (lower obj system target)) - obj - system target graft?))))) + (let loop ((obj obj)) + (match (lookup-compiler obj) + (#f + (raise (condition (&gexp-input-error (input obj))))) + (lower + ;; Cache in STORE the result of lowering OBJ. + (mlet* %store-monad + ((target (if (eq? target 'current) + (current-target-system) + (return target))) + (graft? (grafting?)) + (lowered (mcached (let ((lower (lookup-compiler obj))) + (lower obj system target)) + obj + system target graft?))) + (if (and (struct? lowered) (not (eq? lowered obj))) + (loop lowered) + (return lowered))))))) + +(define* (lower+expand-object obj + #:optional (system (%current-system)) + #:key target (output "out")) + "Return as a value in %STORE-MONAD the output of object OBJ expands to for +SYSTEM and TARGET. Object such as , , or +expand to file names, but it's possible to expand to a plain data type." + (let loop ((obj obj) + (expand (and (struct? obj) (lookup-expander obj)))) + (match (lookup-compiler obj) + (#f + (raise (condition (&gexp-input-error (input obj))))) + (lower + (mlet %store-monad ((lowered (lower obj system target))) + ;; LOWER might return something that needs to be further lowered. + (if (struct? lowered) + ;; If we lack an expander, delegate to that of LOWERED. + (if (not expand) + (loop lowered (lookup-expander lowered)) + (return (expand obj lowered output))) + (return lowered))))))) ;lists, vectors, etc. (define-syntax define-gexp-compiler (syntax-rules (=> compiler expander) "Define NAME as a compiler for objects matching PREDICATE encountered in gexps. -In the simplest form of the macro, BODY must return a derivation for PARAM, an -object that matches PREDICATE, for SYSTEM and TARGET (the latter of which is -#f except when cross-compiling.) +In the simplest form of the macro, BODY must return (1) a derivation for +a record of the specified type, for SYSTEM and TARGET (the latter of which is +#f except when cross-compiling), (2) another record that can itself be +compiled down to a derivation, or (3) an object of a primitive data type. The more elaborate form allows you to specify an expander: - (define-gexp-compiler something something? + (define-gexp-compiler something-compiler compiler => (lambda (param system target) ...) expander => (lambda (param drv output) ...)) @@ -1148,12 +1175,10 @@ and in the current monad setting (system type, etc.)" (or n? native?))) refs)) (($ (? struct? thing) output n?) - (let ((target (if (or n? native?) #f target)) - (expand (lookup-expander thing))) - (mlet %store-monad ((obj (lower-object thing system - #:target target))) - ;; OBJ must be either a derivation or a store file name. - (return (expand thing obj output))))) + (let ((target (if (or n? native?) #f target))) + (lower+expand-object thing system + #:target target + #:output output))) (($ (? self-quoting? x)) (return x)) (($ x) -- 2.26.2 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-gexp-Add-let-system.patch >From 8fe7504a0935de7f0c8cba1236f3114d4e368093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 13 May 2020 14:35:20 +0200 Subject: [PATCH 2/2] gexp: Add 'let-system'. * guix/gexp.scm (): New record type. (let-system): New macro. (system-binding-compiler): New procedure. (default-expander): Add catch-all case. * tests/gexp.scm ("let-system", "let-system, target") ("let-system, ungexp-native, target") ("let-system, nested"): New tests. * doc/guix.texi (G-Expressions): Document it. --- doc/guix.texi | 26 +++++++++++++++++++++++++ guix/gexp.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++- tests/gexp.scm | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 126 insertions(+), 1 deletion(-) diff --git a/doc/guix.texi b/doc/guix.texi index d6fbd85fde..0281a4be45 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -7811,6 +7811,32 @@ are also added to the load path of the gexp returned by Return @code{#t} if @var{obj} is a G-expression. @end deffn +@deffn {Scheme Syntax} let-system @var{system} +@deffnx {Scheme Syntax} let-system (@var{system} @var{target}) +Bind @var{system} to the currently targeted system---e.g., +@code{"x86_64-linux"}---within @var{body}. + +In the second case, additionally bind @var{target} to the current +cross-compilation target---a GNU triplet such as +@code{"arm-linux-gnueabihf"}---or @code{#f} if we are not +cross-compiling. + +@code{let-system} is useful in the occasional case where the object +spliced into the gexp depends on the target system, as in this example: + +@example +#~(system* + #+(let-system system + (cond ((string-prefix? "armhf-" system) + (file-append qemu "/bin/qemu-system-arm")) + ((string-prefix? "x86_64-" system) + (file-append qemu "/bin/qemu-system-x86_64")) + (else + (error "dunno!")))) + "-net" "user" #$image) +@end example +@end deffn + G-expressions are meant to be written to disk, either as code building some derivation, or as plain files in the store. The monadic procedures below allow you to do that (@pxref{The Store Monad}, for more diff --git a/guix/gexp.scm b/guix/gexp.scm index a9a4b89ab4..a70b723e57 100644 --- a/guix/gexp.scm +++ b/guix/gexp.scm @@ -112,6 +112,7 @@ gexp-compiler? file-like? lower-object + let-system lower-inputs @@ -195,7 +196,9 @@ returns its output file name of OBJ's OUTPUT." ((? derivation? drv) (derivation->output-path drv output)) ((? string? file) - file))) + file) + (obj ;lists, vectors, etc. + obj))) (define (register-compiler! compiler) "Register COMPILER as a gexp compiler." @@ -324,6 +327,52 @@ The expander specifies how an object is converted to its sexp representation." (derivation-file-name lowered) lowered))) + +;;; +;;; System dependencies. +;;; + +;; Binding form for the current system and cross-compilation target. +(define-record-type + (system-binding proc) + system-binding? + (proc system-binding-proc)) + +(define-syntax let-system + (syntax-rules () + "Introduce a system binding in a gexp. The simplest form is: + + (let-system system + (cond ((string=? system \"x86_64-linux\") ...) + (else ...))) + +which binds SYSTEM to the currently targeted system. The second form is +similar, but it also shows the cross-compilation target: + + (let-system (system target) + ...) + +Here TARGET is bound to the cross-compilation triplet or #f." + ((_ (system target) exp0 exp ...) + (system-binding (lambda (system target) + exp0 exp ...))) + ((_ system exp0 exp ...) + (system-binding (lambda (system target) + exp0 exp ...))))) + +(define-gexp-compiler system-binding-compiler + compiler => (lambda (binding system target) + (match binding + (($ proc) + (with-monad %store-monad + ;; PROC is expected to return a lowerable object. + ;; 'lower-object' takes care of residualizing it to a + ;; derivation or similar. + (return (proc system target)))))) + + ;; Delegate to the expander of the object returned by PROC. + expander => #f) + ;;; ;;; File declarations. diff --git a/tests/gexp.scm b/tests/gexp.scm index 6a42d3eb57..c1d65b2c4e 100644 --- a/tests/gexp.scm +++ b/tests/gexp.scm @@ -322,6 +322,56 @@ (string-append (derivation->output-path drv) "/bin/touch")))))) +(test-equal "let-system" + (list `(begin ,(%current-system) #t) '(system-binding) '()) + (let ((exp #~(begin + #$(let-system system system) + #t))) + (list (gexp->sexp* exp) + (match (gexp-inputs exp) + (((($ (@@ (guix gexp) )) "out")) + '(system-binding)) + (x x)) + (gexp-native-inputs exp)))) + +(test-equal "let-system, target" + (list `(list ,(%current-system) #f) + `(list ,(%current-system) "aarch64-linux-gnu")) + (let ((exp #~(list #$@(let-system (system target) + (list system target))))) + (list (gexp->sexp* exp) + (gexp->sexp* exp "aarch64-linux-gnu")))) + +(test-equal "let-system, ungexp-native, target" + `(here it is: ,(%current-system) #f) + (let ((exp #~(here it is: #+@(let-system (system target) + (list system target))))) + (gexp->sexp* exp "aarch64-linux-gnu"))) + +(test-equal "let-system, nested" + (list `(system* ,(string-append "qemu-system-" (%current-system)) + "-m" "256") + '() + '(system-binding)) + (let ((exp #~(system* + #+(let-system (system target) + (file-append (@@ (gnu packages virtualization) + qemu) + "/bin/qemu-system-" + system)) + "-m" "256"))) + (list (match (gexp->sexp* exp) + (('system* command rest ...) + `(system* ,(and (string-prefix? (%store-prefix) command) + (basename command)) + ,@rest)) + (x x)) + (gexp-inputs exp) + (match (gexp-native-inputs exp) + (((($ (@@ (guix gexp) )) "out")) + '(system-binding)) + (x x))))) + (test-assert "ungexp + ungexp-native" (let* ((exp (gexp (list (ungexp-native %bootstrap-guile) (ungexp coreutils) -- 2.26.2 --=-=-=-- From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 14 May 2020 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: "pelzflorian \(Florian Pelz\)" , 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.158944420115095 (code B ref 41120); Thu, 14 May 2020 08:17:01 +0000 Received: (at 41120) by debbugs.gnu.org; 14 May 2020 08:16:41 +0000 Received: from localhost ([127.0.0.1]:60135 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZ92m-0003vP-Q8 for submit@debbugs.gnu.org; Thu, 14 May 2020 04:16:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZ92l-0003vA-B7 for 41120@debbugs.gnu.org; Thu, 14 May 2020 04:16:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56247) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZ92f-0007Gu-R9; Thu, 14 May 2020 04:16:33 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46958 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZ92e-00086D-N3; Thu, 14 May 2020 04:16:33 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> <20200507081234.GJ2359@E5400> <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> <20200507145801.nmedsi44wtparffh@pelzflorian.localdomain> <875zd6lro0.fsf@gmail.com> <87blms3snh.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?UTF-8?Q?Flor=C3=A9al?= an 228 de la =?UTF-8?Q?R=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: Thu, 14 May 2020 10:16:30 +0200 In-Reply-To: <87blms3snh.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 13 May 2020 14:50:58 +0200") Message-ID: <873683vsm9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Mathieu Othacehe skribis: > Here's a rebased version of Ludo's patch. I'm not sure about the merge > resolution in "lower-object", but otherwise it works fine! > > Ludo, would it be of to push it? I=E2=80=99d like to think a bit more about it. In particular, =E2=80=98let= -system=E2=80=99 is not great because we=E2=80=99d also want to know the target in many cases. Sorry for the delay, I need to swap that in! Ludo=E2=80=99. From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 15 May 2020 22:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 29296-done@debbugs.gnu.org, janneke@gnu.org, "pelzflorian \(Florian Pelz\)" , 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.158958262813460 (code B ref 41120); Fri, 15 May 2020 22:44:02 +0000 Received: (at 41120) by debbugs.gnu.org; 15 May 2020 22:43:48 +0000 Received: from localhost ([127.0.0.1]:39080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZj3U-0003Ux-6y for submit@debbugs.gnu.org; Fri, 15 May 2020 18:43:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZj3P-0003Uc-Ah; Fri, 15 May 2020 18:43:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52450) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZj3J-0004LP-PI; Fri, 15 May 2020 18:43:37 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=59400 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jZj3I-0008C9-Qq; Fri, 15 May 2020 18:43:37 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> <20200507081234.GJ2359@E5400> <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> <20200507145801.nmedsi44wtparffh@pelzflorian.localdomain> <875zd6lro0.fsf@gmail.com> <87blms3snh.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?UTF-8?Q?Flor=C3=A9al?= an 228 de la =?UTF-8?Q?R=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: Sat, 16 May 2020 00:43:34 +0200 In-Reply-To: <87blms3snh.fsf@gnu.org> (Mathieu Othacehe's message of "Wed, 13 May 2020 14:50:58 +0200") Message-ID: <87sgg0stt5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Mathieu, Mathieu Othacehe skribis: > Here's a rebased version of Ludo's patch. I'm not sure about the merge > resolution in "lower-object", but otherwise it works fine! I took another look, and you=E2=80=99re right, it does the job. There were= a couple of issues: returning a self-quoting value as in (let-system s s) wouldn=E2=80=99t work, and also caching wasn=E2=80=99t quite right (could b= e seen by comparing GUIX_PROFILING=3D"add-data-to-store-cache object-cache" before and after). Anyway, it took me much more time than I thought, but it=E2=80=99s here now: 502f609d05 vm: Use 'let-system'. 300a54bb98 utils: 'target-arm32?' & co. take an optional parameter. 644cb40cd8 gexp: Add 'let-system'. d03001a31a gexp: Compilers can now return lowerable objects. Let me know how it goes! Ludo=E2=80=99. From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 18 May 2020 12:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 29296-done@debbugs.gnu.org, 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.1589804222818 (code B ref 41120); Mon, 18 May 2020 12:18:02 +0000 Received: (at 41120) by debbugs.gnu.org; 18 May 2020 12:17:02 +0000 Received: from localhost ([127.0.0.1]:46168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaeha-0000D1-5A for submit@debbugs.gnu.org; Mon, 18 May 2020 08:17:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaehK-0000CC-6b; Mon, 18 May 2020 08:16:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56405) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaehF-0005ps-15; Mon, 18 May 2020 08:16:41 -0400 Received: from lfbn-ann-1-238-30.w86-200.abo.wanadoo.fr ([86.200.197.30]:46138 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jaehE-00046E-A4; Mon, 18 May 2020 08:16:40 -0400 From: Mathieu Othacehe References: <20200507054015.GG2359@E5400> <87wo5ody1e.fsf@gmail.com> <20200507081234.GJ2359@E5400> <20200507145511.zfw5474uzecs2oum@pelzflorian.localdomain> <20200507145801.nmedsi44wtparffh@pelzflorian.localdomain> <875zd6lro0.fsf@gmail.com> <87blms3snh.fsf@gnu.org> <87sgg0stt5.fsf@gnu.org> Date: Mon, 18 May 2020 14:16:36 +0200 In-Reply-To: <87sgg0stt5.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 16 May 2020 00:43:34 +0200") Message-ID: <87o8qlfnff.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hey Ludo, > Anyway, it took me much more time than I thought, but it=E2=80=99s here n= ow: > > 502f609d05 vm: Use 'let-system'. > 300a54bb98 utils: 'target-arm32?' & co. take an optional parameter. > 644cb40cd8 gexp: Add 'let-system'. > d03001a31a gexp: Compilers can now return lowerable objects. > > Let me know how it goes! Thanks a lot, it's a great addition. I plan to use it soon to have kernel/architecture specific services, as I proposed earlier in this thread. Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 20 14:10:14 2021 Received: (at control) by debbugs.gnu.org; 20 Aug 2021 18:10:14 +0000 Received: from localhost ([127.0.0.1]:35524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH8y6-000352-0S for submit@debbugs.gnu.org; Fri, 20 Aug 2021 14:10:14 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:59669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH8y3-00034i-Io for control@debbugs.gnu.org; Fri, 20 Aug 2021 14:10:12 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E62FF5C009B; Fri, 20 Aug 2021 14:10:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 20 Aug 2021 14:10:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:message-id:mime-version:content-type; s=mesmtp; bh=OURT4Mgpa3deWPqSOHMdZoyA98Cf0oq92V8XziHp6DI=; b=y14JB8O+XZxc DOehldXDyQXRqNeFxCEfHDeIBZpKBkeP6uUZw9stmvU3eAOcCOHynQ2b4qY5BY3Y AjSwcNebxLV9uRwKNQmutmeB/hbCpIsJ40jkwcuZAZWDIg0CkFda7xNtYczpwfah Qj0UE2YVbTEaq3EDV8R640XcLVu9veM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=OURT4Mgpa3deWPqSOHMdZoyA98Cf0oq92V8XziHp6 DI=; b=MAgU+YBwdBx/G3k9e6da6vdlHKd7so3t8oAKOYusErhurXcAclgNiQvsA tyqtBOOAUpWCLatoZ2w+KQ8DK4JUjSRa7Yr5J+Q3rXvcCuo9baW6sxK3T3PGqGwz dq0NkanIo8zZYAh60uhMfAoL8rNrbTTQIJD+sFYkNIM2Bskgsok1ZCmheVrryJ43 qOTrA00o9qA/ZDVATlAP6uCRylD6QkRYtWDVTuGjQYVJAsjzacJWdKNwmP65r7VJ EnxxHmvY85DU25H9vy0tXpkVbsyIfkmvpEkB2DiFpo0Ou5YL+UQl4ePBaWZTJlW/ IWvwTPnteSGIDZ21mBOW/9s8xvaWw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrleelgdduvddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucfgmhhpthihuchsuhgsjhgvtghtucdluddtmdenuc fjughrpeffhffvkfggtggusehttdertddttddvnecuhfhrohhmpefnvghoucfhrghmuhhl rghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpe fhjeeigfefvedvfeetheegledtkeevuddtgedtudeiteehteegvdefffduffefffenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrg hmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 20 Aug 2021 14:10:05 -0400 (EDT) Date: Fri, 20 Aug 2021 14:10:03 -0400 From: Leo Famulari To: control@debbugs.gnu.org Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: merge 41120 48393 Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [66.111.4.29 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [66.111.4.29 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) merge 41120 48393 From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Dec 2021 02:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.16407450391652 (code B ref 41120); Wed, 29 Dec 2021 02:31:02 +0000 Received: (at 41120) by debbugs.gnu.org; 29 Dec 2021 02:30:39 +0000 Received: from localhost ([127.0.0.1]:47813 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2Oje-0000Qa-Ob for submit@debbugs.gnu.org; Tue, 28 Dec 2021 21:30:38 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:50731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2Ojc-0000QL-R6 for 41120@debbugs.gnu.org; Tue, 28 Dec 2021 21:30:37 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 7ACF83200F3D; Tue, 28 Dec 2021 21:30:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 28 Dec 2021 21:30:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=vmQp35mUA/6cq6smVufxaxMm PYY930zgd/ZMhkmHfwc=; b=pKzzhlXjJEGqu7ojZ7VgYHqTzMPp/l+yP2T2SU4Z iPtWSmzCrd1rzx6tgEkli4fKXNS/0Uq6d9+w6Lksyy9yBFRcWsKx1jsrFL1h5rJ6 pDoyAAsbYNHHl1SzRvDlMyTJjnvDHGO+s+Uh2oU0P3hGfOMqE6uOvMN12eIYz8gx t+U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=vmQp35 mUA/6cq6smVufxaxMmPYY930zgd/ZMhkmHfwc=; b=YA5Nx0CM1urvjnChEJIF15 p9rpcSPvLjVCKx2tPuKR9x7BF24QriXW0WCT+c+L9du45N2vW/nPgeyYIQabinkf zSJ1xDhrdHmfq3/iWvvUqM1eOTDWtEwd41JkhjX2xBjg4UeSnHw+ITIhcU/HoJ8j I6Y7rn3O9rSSY8JgDnvXy3abwnRxECEVQinqSQf6I/dSq1VFmV0v5o3rTphQPJQi 5pHMOIVRezYGTwe3YvvWhImhPkicdSLTWkzPn7rD5VfQ+/43f3Q8gHgY8OFgcw8x 0G0TpRoq4C/+ANfmrRaiTVVbOffqf6q7v9PXtS+bh6+QfemLJs7kQl0dPwyCj1ug == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddruddvtddggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvg hosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Dec 2021 21:30:29 -0500 (EST) Date: Tue, 28 Dec 2021 21:30:27 -0500 From: Leo Famulari Message-ID: References: <20200507054015.GG2359@E5400> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200507054015.GG2359@E5400> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Thu, May 07, 2020 at 08:40:15AM +0300, Efraim Flashner wrote: > the uvesafb-service which was added to the installation image isn't > supported on aarch64 (or probably any non-x86 system) and causes the > creation of an installation image to fail. This is still an issue, right? From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Dec 2021 08:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.16407660942579 (code B ref 41120); Wed, 29 Dec 2021 08:22:01 +0000 Received: (at 41120) by debbugs.gnu.org; 29 Dec 2021 08:21:34 +0000 Received: from localhost ([127.0.0.1]:48009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2UDG-0000fX-2d for submit@debbugs.gnu.org; Wed, 29 Dec 2021 03:21:34 -0500 Received: from flashner.co.il ([178.62.234.194]:54720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2UDE-0000fG-6G for 41120@debbugs.gnu.org; Wed, 29 Dec 2021 03:21:32 -0500 Received: from localhost (unknown [141.226.10.247]) by flashner.co.il (Postfix) with ESMTPSA id 5B8474024A; Wed, 29 Dec 2021 08:21:25 +0000 (UTC) Date: Wed, 29 Dec 2021 10:20:52 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Leo Famulari , 41120@debbugs.gnu.org References: <20200507054015.GG2359@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fq80ptjsNBbQZAK/" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --fq80ptjsNBbQZAK/ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 28, 2021 at 09:30:27PM -0500, Leo Famulari wrote: > On Thu, May 07, 2020 at 08:40:15AM +0300, Efraim Flashner wrote: > > the uvesafb-service which was added to the installation image isn't > > supported on aarch64 (or probably any non-x86 system) and causes the > > creation of an installation image to fail. >=20 > This is still an issue, right? I believe so. Borrowing from the manual I tried the following command and it showed that it was going to build v86d. guix system image --system=3Darmhf-linux -e '((@ (gnu system install) os-wi= th-u-boot) (@ (gnu system install) installation-os) "A20-OLinuXino-Lime2")'= -n --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --fq80ptjsNBbQZAK/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHMGmAACgkQQarn3Mo9 g1Hu9g/+OSt2igaH2AoEzDWhkWY0wiPvO1UzF/drco0Mu/KQCC2qMMr3g1rYZ84S 1hXi3AXGjnV5ahfq/Xlpv/KnVZLPnhacNOIdAugIvhJcx2caNtZ9Ig0ZVHuB69VD rTklduwoWbjY2ImqiY2vDiUPYL0ULxTwi70XaZj8AJe8USR070OInMXGf9u0ylJ8 TyLY8zPa7Yn+HboVW8adizLLM3/nCvWXBeRsCzkOcY0wfq62y/Pa/X5qiJkgdO9q 4lExwsh0t0DRxBHIbEa3goRwrozJUHmfvM3fVHC+3TycgAtng1NgTc9ERHg01A00 nTPRVQc3oZ74Q2Ef50tEfPD609AbaTQ6rAejNAMTE5GYOYFyv6rbtvlpqak0iikh DgHGkwnAIy79SQuijgHqQ6zeB3yrM4SwKzx6pbOaLLD2An55lc5XrYIWYLiILMWn Qx/rqOvsSfO8YXHJnH4iHRMjW8xp/qEBhzOJHz89r7mgfYRA1RKyPv1Yxa4lt1fy nVzjThsmg1D3ou1P4PBZdQS6FQpoHgHKqCAGSIWoWcyhl1/NSKbP/nIxzA7lidPE pl6lEfdA8HA/vzFUeNw+3qWB4wPyqpUQsbDvIIj8U6QsgSA1LTv0buc6vAXK8/w2 Y6U1iE9rBVoLbJhqcoxdI5infduBS7yXh8m6a7vPH0KPth4U+z8= =/Qqu -----END PGP SIGNATURE----- --fq80ptjsNBbQZAK/-- From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 29 Dec 2021 22:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Efraim Flashner Cc: 41120@debbugs.gnu.org, leo@famulari.name X-Debbugs-Original-Cc: 41120@debbugs.gnu.org, bug-guix@gnu.org, Leo Famulari Received: via spool by submit@debbugs.gnu.org id=B.164081579225140 (code B ref -1); Wed, 29 Dec 2021 22:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Dec 2021 22:09:52 +0000 Received: from localhost ([127.0.0.1]:50556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2h8l-0006XH-VW for submit@debbugs.gnu.org; Wed, 29 Dec 2021 17:09:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:60538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2h8h-0006X3-N7 for submit@debbugs.gnu.org; Wed, 29 Dec 2021 17:09:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2h8h-0004Es-I8 for bug-guix@gnu.org; Wed, 29 Dec 2021 17:09:43 -0500 Received: from [2a02:c205:2020:6054::1] (port=37322 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2h8f-0008DG-PA for bug-guix@gnu.org; Wed, 29 Dec 2021 17:09:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=ID3E9Y8sWPWCc 0Q4n5wg0IOlMTfRRhz7veaWk6ssFMg=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=MqdSFX35JeoYmO/8XPP2h6MVo7NsLAz773CyyY tz914VEL1vccq5HF0M3pF9yIZO7cI8PtW6Cjc4tZOpxVsYFmUva7sQsanumoRGGNU4Mohp 9qudVYyjrMNPdEI2Q9le6JJ+8TUQOl0luziU8nq5auqNKnzYM+z/yrsEuoHOZWa4fFTJ44 Phg1zzJ6Mw06tQDuhAtZDhEdM5NRYnunRj5t/UrIjH9huCV/etECBk+uu5QZ6k+E573hVQ VnVNG6IAz54oJuH+U9u/WnbQWAF1ZcjVOjoM1GX/MKpzh71djRDWDVMuWJ7jAjngfxvl+t Mn4Bx4nOQJLMKfV1NulzFpvQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 9f96b9cd (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 29 Dec 2021 22:09:37 +0000 (UTC) References: <20200507054015.GG2359@E5400> From: Tobias Geerinckx-Rice Date: Wed, 29 Dec 2021 23:03:25 +0100 In-reply-to: BIMI-Selector: v=BIMI1; s=default; Message-ID: <87pmpfdpwd.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.7 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; format=flowed I wrote the attached quick fix, then noticed that this bug is paired with #29296 which seems to propose a whole 'nother mechanism? I'm not sure I grok the latter's advantage yet. Kind regards, T G-R --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-install-Add-uvesafb-service-only-on-x86.patch Content-Transfer-Encoding: quoted-printable From=2029d6ce59a0f3953de627d110adaa7978051ca077 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 29 Dec 2021 23:01:11 +0100 Subject: [PATCH] install: Add uvesafb service only on x86. MIME-Version: 1.0 Content-Type: text/plain; charset=3DUTF-8 Content-Transfer-Encoding: 8bit * gnu/system/install.scm (%installation-services): Turn into=E2=80=A6 (installation-services): =E2=80=A6this procedure. Adjust sole user. Add the uvesafb-service-type only when targetting x86. =2D-- gnu/system/install.scm | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/gnu/system/install.scm b/gnu/system/install.scm index 073d7df1db..36c24992bd 100644 =2D-- a/gnu/system/install.scm +++ b/gnu/system/install.scm @@ -3,7 +3,7 @@ ;;; Copyright =C2=A9 2015 Mark H Weaver ;;; Copyright =C2=A9 2016 Andreas Enge ;;; Copyright =C2=A9 2017 Marius Bakke =2D;;; Copyright =C2=A9 2017, 2019 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2017, 2019, 2021 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2020 Florian Pelz ;;; Copyright =C2=A9 2020 Efraim Flashner ;;; @@ -33,6 +33,7 @@ (define-module (gnu system install) #:use-module (guix modules) #:use-module ((guix packages) #:select (package-version)) #:use-module ((guix store) #:select (%store-prefix)) + #:use-module (guix utils) #:use-module (gnu installer) #:use-module (gnu system locale) #:use-module (gnu services avahi) @@ -303,7 +304,7 @@ (define uvesafb-service-type "Load the @code{uvesafb} kernel module with the right options.") (default-value #t))) =20 =2D(define %installation-services +(define (installation-services) ;; List of services of the installation system. (let ((motd (plain-file "motd" " \x1b[1;37mWelcome to the installation of GNU Guix!\x1b[0m @@ -320,7 +321,9 @@ (define (normal-tty tty) (define bare-bones-os (load "examples/bare-bones.tmpl")) =20 =2D (list (service virtual-terminal-service-type) + (append + (list + (service virtual-terminal-service-type) =20 (service kmscon-service-type (kmscon-configuration @@ -426,13 +429,15 @@ (define bare-bones-os glibc-utf8-locales texinfo guile-3.0) =2D %default-locale-libcs)) + %default-locale-libcs))) =20 =2D ;; Machines without Kernel Mode Setting (those with many old a= nd =2D ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the G= UI =2D ;; installer. Some may also need a kernel parameter like nomo= deset =2D ;; or vga=3D793, but we leave that for the user to specify in = GRUB. =2D (service uvesafb-service-type)))) + (if (or (target-x86-32?) (target-x86-64?)) + ;; x86 machines without Kernel Mode Setting (those with many o= ld and + ;; current AMD GPUs, SiS GPUs, ...) need uvesafb to show the G= UI + ;; installer. Some may also need a kernel parameter like nomo= deset + ;; or vga=3D793, but we leave that for the user to specify in = GRUB. + (list (service uvesafb-service-type)) + '())))) =20 (define %issue ;; Greeting. @@ -496,7 +501,7 @@ (define installation-os (comment "Guest of GNU")))) =20 (issue %issue) =2D (services %installation-services) + (services (installation-services)) =20 ;; We don't need setuid programs, except for 'passwd', which can be ha= ndy ;; if one is to allow remote SSH login to the machine being installed. =2D-=20 2.34.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYczcog0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15XssBAIHTtskPeLlO0Move9HIgNOeVlY6csO8KIR1je48 poz/AQDCu1+x67VvQoOot0UU1hYESmzXYeR9/c0M4Y3YoAj9Cg== =rKtj -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Jun 20 20:11:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41120: uvesafb service is unsupported on aarch64 References: <20200507054015.GG2359@E5400> In-Reply-To: <20200507054015.GG2359@E5400> Resent-From: Pavel Shlyak Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Aug 2022 23:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41120 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41120@debbugs.gnu.org Received: via spool by 41120-submit@debbugs.gnu.org id=B41120.165965423429375 (code B ref 41120); Thu, 04 Aug 2022 23:04:01 +0000 Received: (at 41120) by debbugs.gnu.org; 4 Aug 2022 23:03:54 +0000 Received: from localhost ([127.0.0.1]:55293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJjsf-0007di-Ph for submit@debbugs.gnu.org; Thu, 04 Aug 2022 19:03:54 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:53211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJjsa-0007dR-0u for 41120@debbugs.gnu.org; Thu, 04 Aug 2022 19:03:52 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 85332320092C for <41120@debbugs.gnu.org>; Thu, 4 Aug 2022 19:03:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 04 Aug 2022 19:03:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm1; t=1659654220; x=1659740620; bh=7Uu3AubrkI VFblBrHr1R8cxu08uDkoB6PyWLRmeSp+o=; b=x50TJXITmEHRDQnnqg+MJDpsrS U9ENmoAVfPqSKWZ/aPiu4Asedc6EiqIR/ibC0tdQNT+TnWYDWjzLcdmcJvQvBOqK T1XSEENzmeIbVrzMlDL0kSiXFb0IVnkQSbZNuORVM3Utdfea/9swY0PXvYA05V7c WzJuYqwzwpWr5WdPtmgbiNWmS2vxzo+OwQJg75UMp0DBQzePCIDB8c2IAHXoJEv2 aXzTU5CYbmo16DPXc4DGtaeVXG365jajnS4NXnT9oNUpHzUexoaqIbQzP9+ZQKld BF73D1+m6f65hJhuGjtb4sJMIxnsiDMbH/FAWIeAETH6iBGrc6tnHz/yWnZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1659654220; x=1659740620; bh=7Uu3AubrkIVFblBrHr1R8cxu08uD koB6PyWLRmeSp+o=; b=E9God7XGmQ5Qozu4ujFn2aUOLq/3Kc4VddpWGpwUwEBC wbGJBiy7Aigd+PHpK3ZmK5YAgPeLdKMxWvtGzfaANf2ZnT8PU1riZi9xRS9HmgiA 1z066eyE61WxycM2VNQ2OAcAUOn5Zbujec9JDyZptbt/3pZLEpehkZaPm0sVtBcy I/7Z1AajvzIReK+6bpE41da7o0rBTwAh/HubwBNlbnubuNAk9TDPvbuVKN+wwHJm QVJXp8SUsYvTR2WZnXmpBLNwClvnoa0Gn5tpM4jR96FeGNwDP27k0VbaqrnIJ9Ak 7GMbr+f2NlOwyoRKpbc0J8jTO5802d2oKSahoVNMPw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeftddgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd hhtddvnecuhfhrohhmpefrrghvvghlucfuhhhlhigrkhcuoehprdhshhhlhigrkhesphgr nhhthhgvrhigrdhorhhgqeenucggtffrrghtthgvrhhnpeeugffggeffhffhvdefgfehte dtuddtkeejtdfhleffhfejieevleejieetfeetudenucffohhmrghinhepghhnuhdrohhr ghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehprd hshhhlhigrkhesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Feedback-ID: idda946d0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <41120@debbugs.gnu.org>; Thu, 4 Aug 2022 19:03:39 -0400 (EDT) From: Pavel Shlyak Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Message-Id: Date: Fri, 5 Aug 2022 02:03:37 +0300 X-Mailer: Apple Mail (2.3696.100.31) X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This one is done with https://issues.guix.gnu.org/55806. I suggest = closing it as resolved.= From unknown Fri Jun 20 20:11:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Efraim Flashner Subject: bug#41120: closed (Re: bug#41120: uvesafb service is unsupported on aarch64) Message-ID: References: <87czdej17o.fsf@pelzflorian.de> <20200507054015.GG2359@E5400> X-Gnu-PR-Message: they-closed 41120 X-Gnu-PR-Package: guix Reply-To: 41120@debbugs.gnu.org Date: Fri, 05 Aug 2022 13:00:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1659704402-3863-1" This is a multi-part message in MIME format... ------------=_1659704402-3863-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41120: uvesafb service is unsupported on aarch64 which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 41120@debbugs.gnu.org. --=20 41120: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41120 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1659704402-3863-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41120-done) by debbugs.gnu.org; 5 Aug 2022 12:59:15 +0000 Received: from localhost ([127.0.0.1]:56656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJwv5-0000yp-8F for submit@debbugs.gnu.org; Fri, 05 Aug 2022 08:59:15 -0400 Received: from relay.yourmailgateway.de ([188.68.63.97]:54001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJwv3-0000yh-4c for 41120-done@debbugs.gnu.org; Fri, 05 Aug 2022 08:59:13 -0400 Received: from mors-relay-2501.netcup.net (localhost [127.0.0.1]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4LzlzM6HqDz4y7r; Fri, 5 Aug 2022 14:59:11 +0200 (CEST) Authentication-Results: mors-relay-2501.netcup.net; dkim=permerror (bad message/signature format) Received: from policy02-mors.netcup.net (unknown [46.38.225.53]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4LzlzM5qsFz4y7d; Fri, 5 Aug 2022 14:59:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4LzlzL5vy3z8sZR; Fri, 5 Aug 2022 14:59:10 +0200 (CEST) Received: from florianrock64 (ip5b40552a.dynamic.kabel-deutschland.de [91.64.85.42]) by mxe217.netcup.net (Postfix) with ESMTPSA id F39179E18D; Fri, 5 Aug 2022 14:59:08 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: 41120-done@debbugs.gnu.org Subject: Re: bug#41120: uvesafb service is unsupported on aarch64 References: <20200507054015.GG2359@E5400> Date: Fri, 05 Aug 2022 14:59:07 +0200 In-Reply-To: (Pavel Shlyak's message of "Fri, 5 Aug 2022 02:03:37 +0300") Message-ID: <87czdej17o.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-NC-CID: OJn1kp/TR/xkoiY6bnr5BcRRlBgppSEmsS+xiyLkSjIJ/4XDnQHWqeLV X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41120-done Cc: Pavel Shlyak X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pavel Shlyak writes: > This one is done with https://issues.guix.gnu.org/55806. I suggest closin= g it as resolved. Indeed. With 55806, the uvesafb is added if (supported-package? v86d system), avoiding the need to check the system. I=E2=80=99m Closing by sen= ding a mail to 41120-done@debbugs.gnu.org. Regards, Florian ------------=_1659704402-3863-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 May 2020 05:40:54 +0000 Received: from localhost ([127.0.0.1]:41834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWZHC-0002yn-2g for submit@debbugs.gnu.org; Thu, 07 May 2020 01:40:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:38874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWZHA-0002yf-6w for submit@debbugs.gnu.org; Thu, 07 May 2020 01:40:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWZH9-0005ky-Vl for bug-guix@gnu.org; Thu, 07 May 2020 01:40:51 -0400 Received: from flashner.co.il ([178.62.234.194]:59708) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jWZH9-0008Q1-3G for bug-guix@gnu.org; Thu, 07 May 2020 01:40:51 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 5352C40212 for ; Thu, 7 May 2020 05:40:49 +0000 (UTC) Date: Thu, 7 May 2020 08:40:15 +0300 From: Efraim Flashner To: bug-guix@gnu.org Subject: uvesafb service is unsupported on aarch64 Message-ID: <20200507054015.GG2359@E5400> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ISKrrfpKsPiF35CV" Content-Disposition: inline X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/07 01:40:49 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --ISKrrfpKsPiF35CV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable the uvesafb-service which was added to the installation image isn't supported on aarch64 (or probably any non-x86 system) and causes the creation of an installation image to fail. --=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 --ISKrrfpKsPiF35CV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl6znzwACgkQQarn3Mo9 g1FSmQ//dYvjRzjweR3hQRK6AlFnH/3hK+gaVAmOmmH0asbLQ5c5u2jNakw56i7F rLEfpPGYvoiv43E1uZV3rNDgzdwnuXBe/9hhQYfocbs1YQ+eH3YDUSidmf0AqEUL JNFlnBmx+mFkGxNqZOvuS6onSkAN6cNVw3G8ZwnEmV8bgljJn5OeHxF+appEnjnG 0rfu48mSIPmUOrBq1Rqw65wynwnTQ6zC0hT1JGhnh3NXhpTZuFmQNq7ZJCzK5JyQ Nj2FByJ3r34wZIRth8ZelMoA8bGxGzyVUO9YOegU2kd+2WR6pJeoCkZhUG25sg6T v/mKdxnJdIIG9oEmHQzNxLMSk3LaPNN3Yl/T7+F7iGFK83WYXQWwkLTMjLtQO1oW ae2WgWT5asFC/fixh4coF/E1bStI8Sj9pk5ru6iqnYXE6xlIRqTTf5JUj02Z/6D+ tp8zr5Rjr0B46uMvWcEW8FG/Y+r/yg+Qi3DhZxxx6099lnkzjsddOrXJ7h+LIeWP P0QsCRTMc/PeThwKJ4Sph1Ws342eKwaYQwJPF4VVeNxmiWkeSqqOf39T18UdqbDw WIzMHKAJq2eVZU8Jdx86hIpPGKdjSV9alNFAwcXKU5mJ9JJoKzbX1CLwZA2/G+oz tEYxI9uCLBUKEQJUXwI3CiVisqO8fh3X9TlAgT1spRtpcmIISDg= =C9GW -----END PGP SIGNATURE----- --ISKrrfpKsPiF35CV-- ------------=_1659704402-3863-1-- From unknown Fri Jun 20 20:11:34 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Leo Famulari Subject: bug#48393: closed (Re: bug#41120: uvesafb service is unsupported on aarch64) Message-ID: References: <87czdej17o.fsf@pelzflorian.de> X-Gnu-PR-Message: they-closed 48393 X-Gnu-PR-Package: guix Reply-To: 48393@debbugs.gnu.org Date: Fri, 05 Aug 2022 13:00:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1659704402-3863-3" This is a multi-part message in MIME format... ------------=_1659704402-3863-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #41120: Can't build installer on aarch64 / v86d fails to build on aarch64 which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 48393@debbugs.gnu.org. --=20 41120: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D41120 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1659704402-3863-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 41120-done) by debbugs.gnu.org; 5 Aug 2022 12:59:15 +0000 Received: from localhost ([127.0.0.1]:56656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJwv5-0000yp-8F for submit@debbugs.gnu.org; Fri, 05 Aug 2022 08:59:15 -0400 Received: from relay.yourmailgateway.de ([188.68.63.97]:54001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJwv3-0000yh-4c for 41120-done@debbugs.gnu.org; Fri, 05 Aug 2022 08:59:13 -0400 Received: from mors-relay-2501.netcup.net (localhost [127.0.0.1]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4LzlzM6HqDz4y7r; Fri, 5 Aug 2022 14:59:11 +0200 (CEST) Authentication-Results: mors-relay-2501.netcup.net; dkim=permerror (bad message/signature format) Received: from policy02-mors.netcup.net (unknown [46.38.225.53]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4LzlzM5qsFz4y7d; Fri, 5 Aug 2022 14:59:11 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -2.899 X-Spam-Level: X-Spam-Status: No, score=-2.899 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4LzlzL5vy3z8sZR; Fri, 5 Aug 2022 14:59:10 +0200 (CEST) Received: from florianrock64 (ip5b40552a.dynamic.kabel-deutschland.de [91.64.85.42]) by mxe217.netcup.net (Postfix) with ESMTPSA id F39179E18D; Fri, 5 Aug 2022 14:59:08 +0200 (CEST) From: "pelzflorian (Florian Pelz)" To: 41120-done@debbugs.gnu.org Subject: Re: bug#41120: uvesafb service is unsupported on aarch64 References: <20200507054015.GG2359@E5400> Date: Fri, 05 Aug 2022 14:59:07 +0200 In-Reply-To: (Pavel Shlyak's message of "Fri, 5 Aug 2022 02:03:37 +0300") Message-ID: <87czdej17o.fsf@pelzflorian.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-NC-CID: OJn1kp/TR/xkoiY6bnr5BcRRlBgppSEmsS+xiyLkSjIJ/4XDnQHWqeLV X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41120-done Cc: Pavel Shlyak X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pavel Shlyak writes: > This one is done with https://issues.guix.gnu.org/55806. I suggest closin= g it as resolved. Indeed. With 55806, the uvesafb is added if (supported-package? v86d system), avoiding the need to check the system. I=E2=80=99m Closing by sen= ding a mail to 41120-done@debbugs.gnu.org. Regards, Florian ------------=_1659704402-3863-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 May 2021 02:01:41 +0000 Received: from localhost ([127.0.0.1]:40950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh0fU-0001sa-Rn for submit@debbugs.gnu.org; Wed, 12 May 2021 22:01:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:45268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lh0fR-0001sS-Rz for submit@debbugs.gnu.org; Wed, 12 May 2021 22:01:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh0fR-0004iM-90 for bug-guix@gnu.org; Wed, 12 May 2021 22:01:37 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45921) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh0fO-00059y-4x for bug-guix@gnu.org; Wed, 12 May 2021 22:01:36 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 351BC5C00AB; Wed, 12 May 2021 22:01:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 12 May 2021 22:01:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:subject:message-id:mime-version:content-type; s= mesmtp; bh=qwUKx4C1CCWU6gZOokHrOseupPNcDyVU0vCLHzll7mA=; b=FaDIy DNK5yWAk10zBvW14voZxD8+s92ErH+PqV+7aUxu1qcHUvh4K+G0lrRMpNdfXGhYe sK2lmkJep4AhHc8zNrgs27hwgLcrqunKAuHdLs6YPn81b0b9cNzAHuiGOKC+fDvL cS+p3AAgo/tvNyFL7jlqsCy9W4JEBZqanI+mO4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=qwUKx4C1CCWU6gZOokHrOseupPNcD yVU0vCLHzll7mA=; b=qWWkyquhz6jrSTZTMOuoplzJSEcIjdndLRO24dxHPhXHh Er9Rc92juAah1LfWXFNJW9HKZ5vPYHt9MlOxDB05U3EBo3UlJynnJESWqjCmXoKT FaOgfseZC/zrQKVrz4eu0k5D/rDZHMrRNlydbU6t98zfkZ4khV2f8wSlQ5Cy9XNd iIOG1i26qm97ovlgi9W2bs0+aRqO43UGbZ71Gda5GkUxgeTbmtMQogfm7dkF4cKP t+3WCgdIfsW/VWVTMP0dpG1hy9EIDOKcKbL+MyzyhkuMSUR+jK7ujld8/wOdAvmd CMfDhJqUjqVvdt4MXUZ5tLCTk5sHF5J9M0LPhfQ+g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvdehfedggeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesthdtredttd dtvdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhi rdhnrghmvgeqnecuggftrfgrthhtvghrnhepffehtdeffedtvdeuieefudeujedvkeehff euieejgfdvteelgeehgeefheehuddunecukfhppedutddtrdduuddrudeiledruddukeen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghose hfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 12 May 2021 22:01:32 -0400 (EDT) Date: Wed, 12 May 2021 22:01:29 -0400 From: Leo Famulari To: bug-guix@gnu.org Subject: Can't build installer on aarch64 / v86d fails to build on aarch64 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@famulari.name; helo=out5-smtp.messagingengine.com 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) I tried building the installer on my aarch64 computer, but it fails to build v86d, as shown below. This package v86d is used in the installer's uvesafb-shepherd-service service, which is supposed to not be used on aarch64 (the 'start' action of the service limits use to Intel-compatible systems). ------ $ guix system image -t iso9660 gnu/system/install.scm -v3 [...] starting phase `build' make -e -w -C libs/lrmi-0.10 liblrmi.a /gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc -Wall -g -O2 -I/lib/modules/5.11.19-gnu/source/include -Ilibs/lrmi-0.10 -c -o v86_lrmi.o v86_lrmi.c make[1]: Entering directory '/tmp/guix-build-v86d-0.1.10.drv-0/v86d-0.1.10-checkout/libs/lrmi-0.10' /gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc -c -g -Wall -o lrmi.o lrmi.c /gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc -Wall -g -O2 -I/lib/modules/5.11.19-gnu/source/include -Ilibs/lrmi-0.10 -c -o v86_common.o v86_common.c /gnu/store/ap7hgyv4rjqmhg4a6cb6cypsh3g1f5q4-gcc-7.5.0/bin/gcc -Wall -g -O2 -I/lib/modules/5.11.19-gnu/source/include -Ilibs/lrmi-0.10 -c -o v86.o v86.c lrmi.c:1093:2: warning: #warning "LRMI is not supported on your system!" [-Wcpp] #warning "LRMI is not supported on your system!" ^~~~~~~ In file included from v86_lrmi.c:2:0: libs/lrmi-0.10/lrmi.h:105:2: warning: #warning "LRMI is not supported on your system!" [-Wcpp] #warning "LRMI is not supported on your system!" ^~~~~~~ ar -rs liblrmi.a lrmi.o In file included from v86_lrmi.c:3:0: v86.h:8:10: fatal error: config.h: No such file or directory #include "config.h" ^~~~~~~~~~ In file included from v86_common.c:2:0: v86.h:8:10: fatal error: config.h: No such file or directory #include "config.h" ^~~~~~~~~~ compilation terminated. compilation terminated. make: *** [Makefile:40: v86_lrmi.o] Error 1 ar: make: *** Waiting for unfinished jobs.... creating liblrmi.a make: *** [Makefile:40: v86_common.o] Error 1 make[1]: Leaving directory '/tmp/guix-build-v86d-0.1.10.drv-0/v86d-0.1.10-checkout/libs/lrmi-0.10' In file included from v86.c:17:0: v86.h:8:10: fatal error: config.h: No such file or directory #include "config.h" ^~~~~~~~~~ compilation terminated. make: *** [Makefile:40: v86.o] Error 1 command "make" "-j" "4" failed with status 2 builder for `/gnu/store/ll2g97yxbqrqr4vsn0i5zjhdf3dbigpq-v86d-0.1.10.drv' failed with exit code 1 build of /gnu/store/ll2g97yxbqrqr4vsn0i5zjhdf3dbigpq-v86d-0.1.10.drv failed View build log at '/var/log/guix/drvs/ll/2g97yxbqrqr4vsn0i5zjhdf3dbigpq-v86d-0.1.10.drv.bz2'. cannot build derivation `/gnu/store/afv6x2id02mldbyirv59d7q3vwabkd27-shepherd-maybe-uvesafb.scm.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/fx3cfyff5lcgjd1dr3j2088cgsii0x7n-shepherd-maybe-uvesafb.go.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/3bbh5zpifch3jrb1g050pn5hvsza5dfq-shepherd.conf.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/gnrykng6fgcqg75z26gfyjcnbd3j7gx2-boot.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/yxikf0sqa67ydlbfk99dkw7brh5bg4a8-system.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/dzs47c2p79cj8yycmnxirab3xamcfsy6-image.iso.drv': 1 dependencies couldn't be built guix system: error: build of `/gnu/store/dzs47c2p79cj8yycmnxirab3xamcfsy6-image.iso.drv' failed ------ ------------=_1659704402-3863-3--