From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 18 07:41:24 2023 Received: (at submit) by debbugs.gnu.org; 18 Feb 2023 12:41:24 +0000 Received: from localhost ([127.0.0.1]:42740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTMWq-00058B-0c for submit@debbugs.gnu.org; Sat, 18 Feb 2023 07:41:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:48360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTMWn-000583-KC for submit@debbugs.gnu.org; Sat, 18 Feb 2023 07:41:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTMWn-0008GV-Bl for guix-patches@gnu.org; Sat, 18 Feb 2023 07:41:21 -0500 Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTMWj-0002t1-SQ for guix-patches@gnu.org; Sat, 18 Feb 2023 07:41:19 -0500 Received: by mail-ed1-x544.google.com with SMTP id dm15so3598181edb.0 for ; Sat, 18 Feb 2023 04:41:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Z/WV7VzbhdB/gmwDoDufBpVltJV9vonA8PenP99ppIQ=; b=aXz2DEyC7iJzsyQ08/zxKhZSC7nyBOgY441vA2ts8Iq3pw9E0y8MaL21wmNqSohQLw sQt6mZ7QDFdPsdcgJfMNRXZLssLU97OlD8n02U6ogAodtg6fbfrQiZ3BL4C7dFOjdmW9 T3joAB8bswEtnImbYw+3lfxrpltr2z13ADQ5DhyNm++HIbuMGEBu5FaahGyBsoOX12QB 8B5lj7KrV2vEc58y6t/D6G/LvqKgNigRf02kl9YMnvszIzjSLjpUypiis9qmwqsHOcPX Q0WnDiIfC7wD43kctw/6cw7WFGieHdf40FlQP9LnpjtJugJf63ObmaYhYtftx31Gew2M q5GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Z/WV7VzbhdB/gmwDoDufBpVltJV9vonA8PenP99ppIQ=; b=WBFocHBS9cBwglplB79PZ3Hf/vG3c1Jm9KY2y6Jte18rNiaWWRRbkWnIgOz6bP/A6t vjYiwRKxUAYcYkS7blUJq2DyFDlnSuigQrUD1N64X1B0eBskMfQ88fS4hauK4kR/A8CK HxUlmaxucWXAANSTrhvPZkOoutx9z1LiZOR/vnabi2di+3wHmMmALjxnS/C53DCDo+8z y5fuT2h6Nn8Aj0VJuZyWDPfNgNp0PZS6uOR51DrD8rn7k8/5nRk15ifwlMbbGvIkHQjG AR1a/XtWjpGmAkbu7a9EQhpEJy5n93Ju/FpDZJApyIhLazJhDBdB2+kE4uOhDWyPj3io zb8w== X-Gm-Message-State: AO0yUKUkJW6MdHzoItpJaY+QXA9E7soqbw8xBjnT0TAWhsXauC+E4APg qUm0o06kHGxkR0MOmBQilGar2jwzfvbU4g2syiUwDrXrj/TIPg== X-Google-Smtp-Source: AK7set9awy/PLKFn9gk58kUnKscoeU1OSqtCEOVv4siCQJ7WgNuXi5VUpZSAadrMOQaTxCvqGdkcPTKd0mTd/OBfFtI= X-Received: by 2002:a17:907:787:b0:8ae:98b3:2b0e with SMTP id xd7-20020a170907078700b008ae98b32b0emr6267568ejb.3.1676724076663; Sat, 18 Feb 2023 04:41:16 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a05:6f02:8341:b0:47:ad96:cfca with HTTP; Sat, 18 Feb 2023 04:41:16 -0800 (PST) From: =?UTF-8?B?6Lev6L6J?= Date: Sat, 18 Feb 2023 12:41:16 +0000 Message-ID: Subject: [PATCH] platforms: allow cross-target mipsel-linux-gnu To: guix-patches Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::544; envelope-from=luhux76@gmail.com; helo=mail-ed1-x544.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) 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.1 (--) >From 9a111fd886b89914bd6bafe8202b8a9a1dce7017 Mon Sep 17 00:00:00 2001 From: LuHui Date: Sat, 18 Feb 2023 20:35:37 +0800 Subject: [PATCH] platforms: allow cross-target mipsel-linux-gnu * guix/platforms/mips.scm (mips-linux) : new variable. * guix/utils.scm (target-mipsel?) : new function. --- guix/platforms/mips.scm | 10 +++++++++- guix/utils.scm | 5 +++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/guix/platforms/mips.scm b/guix/platforms/mips.scm index e6fa9eb292..c37c8bb292 100644 --- a/guix/platforms/mips.scm +++ b/guix/platforms/mips.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2022 Mathieu Othacehe +;;; Copyright =C2=A9 2023 Lu Hui ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,7 +20,7 @@ (define-module (guix platforms mips) #:use-module (guix platform) #:use-module (guix records) - #:export (mips64-linux)) + #:export (mips64-linux mips-linux)) (define mips64-linux (platform @@ -27,3 +28,10 @@ (define mips64-linux (system "mips64el-linux") (linux-architecture "mips") (glibc-dynamic-linker "/lib/ld.so.1"))) + +(define mips-linux + (platform + (target "mipsel-linux-gnu") + (system "mipsel-linux") + (linux-architecture "mips") + (glibc-dynamic-linker "/lib/ld.so.1"))) diff --git a/guix/utils.scm b/guix/utils.scm index 774b80cd25..55af3562eb 100644 --- a/guix/utils.scm +++ b/guix/utils.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2022 Denis 'GNUtoo' Carikli ;;; Copyright =C2=A9 2022 Antero Mejr ;;; Copyright =C2=A9 2023 Philip McGrath +;;; Copyright =C2=A9 2023 Lu Hui ;;; ;;; This file is part of GNU Guix. ;;; @@ -741,6 +742,10 @@ (define* (target-mips64el? #:optional (target (or (%current-target-system) (%current-system)))) (string-prefix? "mips64el-" target)) +(define* (target-mipsel? #:optional (target (or (%current-target-system) + (%current-system)))) + (string-prefix? "mipsel-" target)) + (define* (target-64bit? #:optional (system (or (%current-target-system) (%current-system)))) (any (cut string-prefix? <> system) '("x86_64" "aarch64" "mips64" --=20 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed May 10 09:46:14 2023 Received: (at 61604) by debbugs.gnu.org; 10 May 2023 13:46:14 +0000 Received: from localhost ([127.0.0.1]:45569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwk8z-0005mC-OP for submit@debbugs.gnu.org; Wed, 10 May 2023 09:46:13 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:42658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwk8u-0005le-A0 for 61604@debbugs.gnu.org; Wed, 10 May 2023 09:46:12 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 20F6D12FF; Wed, 10 May 2023 15:46:02 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tbiQRDaZUbfp; Wed, 10 May 2023 15:46:01 +0200 (CEST) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 403172EE; Wed, 10 May 2023 15:46:01 +0200 (CEST) Date: Wed, 10 May 2023 15:45:58 +0200 From: Andreas Enge To: 61604@debbugs.gnu.org Subject: Gnutls Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 61604 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 (-) In the core-updates merge, gnutls-latest has been dropped. So "guix refresh -l gnutls" works, but it shows an amazing number of packages: Building the following 7653 packages would ensure 15845 dependent packages are rebuilt So this should go to some branch, maybe a "core-team" branch? Andreas From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 26 08:49:03 2023 Received: (at 61604) by debbugs.gnu.org; 26 Oct 2023 12:49:03 +0000 Received: from localhost ([127.0.0.1]:60911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvznL-0006l0-EF for submit@debbugs.gnu.org; Thu, 26 Oct 2023 08:49:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qvznJ-0006jt-97 for 61604@debbugs.gnu.org; Thu, 26 Oct 2023 08:49:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qvzmi-0007uO-4h; Thu, 26 Oct 2023 08:48:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=Y4st65rhRMkYSKprJQLRW9ijcm8IYMN5v502BsygG+A=; b=p9pXSmDritiR8Q8t6lAU geRWoJPJEG5p6PBJLtXhk7rO+sbMAqnW3JX2b6zMDEBxH1v3C9ZFo5L4hPQ9PWH6uRDcwkz0cqhvi mAN13kpLyG+WnyiU0CgZlScNQ32NwGm2DRhPNzSHA3TOTjOGRM2FSNkKcVmOtkYgNrwiaKkZekEfZ BlWCdeEKB1HjYLpJLWgVN3LLdnCxvXbJ9Bwj8j8HtCHFI2j146PfX1HltDa7EBL6ZyzgY7LOwraUb fEf1LR+up6BwEQwOI1IlnKIVu0vyxuCpZv2rE+yN+u1wnieZ354se13lMBmQO8qFv9V0H1Ic4wyap fhcuUBjU/M9Bmw==; From: Mathieu Othacehe To: =?utf-8?B?6Lev6L6J?= Subject: Re: [bug#61604] [PATCH] platforms: allow cross-target mipsel-linux-gnu In-Reply-To: (=?utf-8?B?Iui3r+i+iSIncw==?= message of "Sat, 18 Feb 2023 12:41:16 +0000") References: Date: Thu, 26 Oct 2023 14:48:20 +0200 Message-ID: <87pm11k0rv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 61604 Cc: 61604@debbugs.gnu.org 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 (---) Hello, > + (system "mipsel-linux") That system is unsupported in (gnu packages bootstrap). You can either set system to #false so that only cross-compilation is supported, or provided bootstrap packages for that system :). Thanks, Mathieu