From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 09:13:55 2019 Received: (at submit) by debbugs.gnu.org; 12 Apr 2019 13:13:55 +0000 Received: from localhost ([127.0.0.1]:55611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw0A-0003ED-Tv for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:13:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42151) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw09-0003E0-Ly for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:13:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:33159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hEw01-0002pR-SA for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:13:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEw00-00014w-SS for guix-patches@gnu.org; Fri, 12 Apr 2019 09:13:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEvzy-0002ky-Tb for guix-patches@gnu.org; Fri, 12 Apr 2019 09:13:44 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:41852) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hEvzx-0002cm-1K for guix-patches@gnu.org; Fri, 12 Apr 2019 09:13:41 -0400 Received: by mail-wr1-x431.google.com with SMTP id r4so11859649wrq.8 for ; Fri, 12 Apr 2019 06:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=4Ga85N8cbAXUyL8zIdBJBblwmSGyuaIwDsCbjj0tR+0=; b=mQMZP2TDSGoAZuvh5g9qkrI/CCng+W8PUIXBctHi6uBmiiU1I6gPEYRo1VdDiUYn29 M9bjwTm1fYnwPeMaEoqbSa7jkGvCVSzt6Vc0FZoCzEHbnH1iNsTWzBs58EUSY66Quj/J oXeyl/1FhzmFy+2jPmPYMTa5oQ/egcCkkTAlBmnnBgCW37eAGHwBZukHVGnb2KjDrhdC VsAUF3TYxccFQskhbuM0CiJhEGF33vUSJKE3MEUn5Hm4Ys8gaExtxDdUSA9VEmKJcEpq cO0CaECnGAPgLrv0f1zv8P70jq8uNLOv9Dl0ovDz5Dr4wc7Mhv2QaIwzyq0yC2sVmLxf hT/A== 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:date:message-id; bh=4Ga85N8cbAXUyL8zIdBJBblwmSGyuaIwDsCbjj0tR+0=; b=nxE/kIIMzkQqtgV1C1LvR6GlUkWDlcGB9bDFgFV4JoT1gdf4xy9ODKy8LYMYeSZs2x vwR86U19MhI8qgxjdA15j2wR8QZrF/U95Naw6nvqiwErH+5mWsHJF0N0bcAQSFrqqX4q ZRzsYjvylOgUNGyGSFlz9bkg5T6Xbi0rSG/UPohiysR00uxD6rVuxwzpjHt3qqenwZ0a BXZWUeqJ6EYxepZu3Ml9rbfCqODg0acIiJAX2ZXU26yX3Oswbq8CGv+iIvilQfFnzyVr iZ5YyiYCukIwSE+AEm0s3YAxpMXiwlIwI9M2b7vxnXA7Ph/+BRPfhI4ZSaE/Pxx49la2 5zJA== X-Gm-Message-State: APjAAAVTJGAmacf8qiteHrtUMjGlhfbDxEXxOaoLSCZosK0HpDvCy2X9 4SuMPFRvGTzqADUI/JojQmsdq0j/ X-Google-Smtp-Source: APXvYqyBsubbWtDKeBL44j8phUS/dB09utUCdegbloKzlqCMBD8yogaVFewX+0VFPYO0sMUEq9W73w== X-Received: by 2002:adf:fd04:: with SMTP id e4mr36636274wrr.190.1555074816766; Fri, 12 Apr 2019 06:13:36 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id z84sm10028369wmg.24.2019.04.12.06.13.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 06:13:35 -0700 (PDT) From: Mathieu Othacehe To: guix-patches@gnu.org Subject: [PATCH 0/6] Fix some cross-compilation issues. Date: Fri, 12 Apr 2019 15:13:31 +0200 Message-Id: <20190412131331.24892-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Mathieu Othacehe 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 (--) Hello, Here's a first step in the guix system cross compilation support direction. Thanks, Mathieu Mathieu Othacehe (6): gnu: bash-completion: Fix cross-compilation. gnu: groff: Fix cross compilation. gnu: glibc-utf8-locales: Always use native package. gnu: firmware: Fix cross compilation. linux-initrd: Fix cross compilation. gnu: python: Fix cross compilation. gnu/installer.scm | 4 ++-- gnu/packages/bash.scm | 8 ++++++-- gnu/packages/firmware.scm | 5 +++-- gnu/packages/groff.scm | 31 +++++++++++++++++++++++++++-- gnu/packages/package-management.scm | 16 +++++++++------ gnu/packages/python.scm | 5 ++++- gnu/services/base.scm | 6 +++--- gnu/system/linux-initrd.scm | 7 +++++-- guix/profiles.scm | 3 ++- guix/self.scm | 3 ++- 10 files changed, 66 insertions(+), 22 deletions(-) -- 2.17.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 09:16:14 2019 Received: (at 35244) by debbugs.gnu.org; 12 Apr 2019 13:16:15 +0000 Received: from localhost ([127.0.0.1]:55623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2Q-0003Jw-E7 for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:14 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:50422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2J-0003J1-QK for 35244@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:12 -0400 Received: by mail-wm1-f53.google.com with SMTP id z11so11263829wmi.0 for <35244@debbugs.gnu.org>; Fri, 12 Apr 2019 06:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=whYJFem/ce1KVAfvvGHSVyiIN28uIrNft6GaPHPx9gg=; b=N4NkIfodES+aQGA1mgUuYmFfvHwyuh2CUZaTjZNywJFnG+kScFDTpZf4flkOYCvMAD KGeZY0zUxMf0C42ov5/nBTZl4Nf2U4gGrwem8Uxa0WLWGH15zRUP29s0bVwyOUWN331I /m0dNBLuOUsnbx95Uy9n7QhW1GrhsgBAJxaKvdmC/bNfcj10V2UKK1RMoZxOIHe3PseC IIoyZ1d8tiQ9jx8ii6csL3iJ0iGxmd+zqlC7rswsE9mhCqrdK8VBQZxdCBNy4pIeIP0M lj8WcJJeqlrf/3/KwnpC8ScjCztVCPG1f0BhgBiO+Y/Lnk1yVMGthhU2pk3+Sp8jPF+T z70g== 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:date:message-id:mime-version :content-transfer-encoding; bh=whYJFem/ce1KVAfvvGHSVyiIN28uIrNft6GaPHPx9gg=; b=QdtGYc7bE7/el2NUc1SnFHHZ7sQC5g+24P6ymHcOUzA2m74NhsAdTgLFdMHLs0p9yM Ds1VHiEWdBNrPlUv0UN83PwTIoJ5dv5C9z1+TxlsLjYF3wK3ojPAT+acC/cOxTF/2Dfn za1SqM14oAk8mSICiqYcxjvBFmZQ0Ww4Kf+egxe5AZUjWD2rkcv01gWtZVyLBBkU1pTD bYSaxC+f/lEiP8ODt7gUS8mDWAu5ig2BPxXIpV9XiLo2GkzjEQPQLMddrBAyLCpoHZTP 0+s6RFYt+mrxR65NpwuGMY9UaNNSuwP5b1n+3Xl2dDflmWlec6uEg486OEJpt+R7G7VE 4MaQ== X-Gm-Message-State: APjAAAVIobNac+jb3WGVmksD8yZGuCZz/MPx9DP2N1Bj0Kak8ObTbJqi /rH0ow2haMLOAI9myJ/ges6iSfvV X-Google-Smtp-Source: APXvYqzqBHZ9xigo7g9sN083V6VEmaZK+C/cln9Qi5raUGpyCYlrWKkBxf0SLMJX58EernDvc44Fcw== X-Received: by 2002:a1c:6c17:: with SMTP id h23mr605300wmc.122.1555074961767; Fri, 12 Apr 2019 06:16:01 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id d4sm35932882wrv.42.2019.04.12.06.16.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 06:16:01 -0700 (PDT) From: Mathieu Othacehe To: 35244@debbugs.gnu.org Subject: [PATCH 1/6] gnu: bash-completion: Fix cross-compilation. Date: Fri, 12 Apr 2019 15:15:51 +0200 Message-Id: <20190412131556.25282-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 35244 Cc: Mathieu Othacehe 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.3 (-) * gnu/packages/bash.scm (bash-completion)[arguments]: Search for util-linux in native-inputs and inputs during "remove-redundant-completions" phase. --- gnu/packages/bash.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm index fb4e3f4be3..ef93a11085 100644 --- a/gnu/packages/bash.scm +++ b/gnu/packages/bash.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2015, 2017 Leo Famulari ;;; Copyright © 2016, 2017, 2018 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -291,13 +292,16 @@ without modification.") `(#:phases (modify-phases %standard-phases (add-after 'install 'remove-redundant-completions - (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key + inputs native-inputs + outputs #:allow-other-keys) ;; Util-linux comes with a bunch of completion files for ;; its own commands which are more sophisticated and ;; up-to-date than those of bash-completion. Remove those ;; from bash-completion. (let* ((out (assoc-ref outputs "out")) - (util-linux (assoc-ref inputs "util-linux")) + (util-linux (assoc-ref (or native-inputs inputs) + "util-linux")) (completions (string-append out "/share/bash-completion" "/completions")) -- 2.17.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 09:16:17 2019 Received: (at 35244) by debbugs.gnu.org; 12 Apr 2019 13:16:17 +0000 Received: from localhost ([127.0.0.1]:55625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2Q-0003Jy-T7 for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:15 -0400 Received: from mail-wr1-f54.google.com ([209.85.221.54]:39598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2L-0003JA-83 for 35244@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:12 -0400 Received: by mail-wr1-f54.google.com with SMTP id j9so11916432wrn.6 for <35244@debbugs.gnu.org>; Fri, 12 Apr 2019 06:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Qev/i/e3Ck90jGWsFFru/WOFtE5ErVTPTWqOcqPMMkg=; b=oEnbpaOhFFGxK/FgvR3L2ff51BDEM/NqeH+hiilRgWhQWpHNfYZDWdRp8lWYhiUuyr xcXt2h1+4we07HkGZeqgin7KlBx5JbPKXOKwFT+Jga0I6C4tp9WPedsUFx0UDd5tnLCi jr33ID9NIRLUvEi7B4w1xauKgfFKLZKTjCyUS2KHaGEcRL32sOdEa0W/jM0qedbbFTPK OSl87G8fUNSHUl3e5KE8j4ymuGYnVfhPNIVc4GCem3QzwXc+zpfvhRi1klcwqWISsbJU cT3p9mR55UZW6j7lX7GhBGUrTrd45tZQB/8sOXVR8jCkKZUBO0jdAlZ1MhE9w9FTmgGF U7rg== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Qev/i/e3Ck90jGWsFFru/WOFtE5ErVTPTWqOcqPMMkg=; b=rQr27ZVI0CVIAkQjjlz3bm1M4XMmIPWNyGktHbeCfi8iH2q8lh3WfWMTQb5OufQKYN 4Z/FmkCPYasn1T+ID7d894GEhjZkgEreTM6Fy7oW0kOMqEmvqpKhdkxMNDiWMumA54+F oU3GcsPxuoR1Xxi3z029PpSDkyBGYlF5npwMUvc1w7IpzzLoRPwdWu56fznIodWOr858 bT/oOpD07kJteSkvcGOuKKkYd3Q83kpqOeOjNoe9fkcLNB1FxUGOt7T+SrqzvIwam0ZC JhzhIqbtL6EfDv553wqkZsLf0QLmtGpNPqw8JxmvHgKbStDwfsNW0ULKny6c4XQq+Xc1 tyTw== X-Gm-Message-State: APjAAAVa/gwds0nUxqOi7A5/8vvoBWKOj8MguZiRVyxY7cuQo9Zbl0eF m/4aMjBrjXtiIpW3Df3MqxhTMVfL X-Google-Smtp-Source: APXvYqw2ZJDTfL9Ef+MDte+HpZXvI+Z+mD+cnZ+cX0Zv3WfG9rLMXL6YK/3HtmsJxE00p0mbtXTALg== X-Received: by 2002:a5d:6646:: with SMTP id f6mr13325690wrw.68.1555074963154; Fri, 12 Apr 2019 06:16:03 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id d4sm35932882wrv.42.2019.04.12.06.16.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 06:16:02 -0700 (PDT) From: Mathieu Othacehe To: 35244@debbugs.gnu.org Subject: [PATCH 2/6] gnu: groff: Fix cross compilation. Date: Fri, 12 Apr 2019 15:15:52 +0200 Message-Id: <20190412131556.25282-2-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190412131556.25282-1-m.othacehe@gmail.com> References: <20190412131556.25282-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35244 Cc: Mathieu Othacehe 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 (-) * gnu/packages/groff.scm (groff)[arguments]: Replace build phase to pass GROFF_BIN_PATH and GROFFBIN variables when cross-compiling. Also add native groff as an input. --- gnu/packages/groff.scm | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm index cf392f5468..6f01395691 100644 --- a/gnu/packages/groff.scm +++ b/gnu/packages/groff.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2014 Mark H Weaver ;;; Copyright © 2016 Ricardo Wurmus ;;; Copyright © 2017 Ludovic Courtès +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -53,6 +54,7 @@ ;; own HTML doc, nor does it change its capabilities, so we removed netpbm ;; from 'inputs'. + (self-native-input? #t) (inputs `(("ghostscript" ,ghostscript))) (native-inputs `(("bison" ,bison) ("perl" ,perl) @@ -65,7 +67,31 @@ (add-after 'unpack 'setenv (lambda _ (setenv "GS_GENERATE_UUIDS" "0") - #t))))) + #t)) + (replace 'build + (lambda* (#:key + make-flags parallel-build? + native-inputs target #:allow-other-keys) + ;; When cross-compiling, native groff is needed, see: + ;; http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html + (let ((parallel + (if parallel-build? + `("-j" ,(number->string (parallel-job-count))) + '())) + (flags + (if target + (let ((groff (or + (assoc-ref native-inputs "groff") + (assoc-ref native-inputs "self")))) + (append + make-flags + (list + (string-append "GROFF_BIN_PATH=" groff) + (string-append "GROFFBIN=" groff + "/bin/groff")))) + make-flags))) + (apply invoke `("make" ,@parallel ,@flags))) + #t))))) (synopsis "Typesetting from plain text mixed with formatting commands") (description "Groff is a typesetting package that reads plain text and produces @@ -86,7 +112,8 @@ is usually the formatter of \"man\" documentation pages.") ;; Omit the DVI, PS, PDF, and HTML backends. (inputs '()) (native-inputs `(("bison" ,bison) - ("perl" ,perl))) + ("perl" ,perl) + ("groff" ,groff))) (arguments `(#:disallowed-references (,perl) -- 2.17.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 09:16:18 2019 Received: (at 35244) by debbugs.gnu.org; 12 Apr 2019 13:16:19 +0000 Received: from localhost ([127.0.0.1]:55627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2T-0003KD-2G for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:18 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:53072) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2O-0003JJ-Fx for 35244@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:13 -0400 Received: by mail-wm1-f48.google.com with SMTP id a184so11202839wma.2 for <35244@debbugs.gnu.org>; Fri, 12 Apr 2019 06:16:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=tY7JsMUT2twM0z4e6sQsusf8r5hedkxppnh4WWh3EOM=; b=uBUwccW2fAg6wZjeucIuVAGqmTvhCM99PhgAqo32jmKG5XRodqeRUllCHwPzPGJUXx cuLHgctRZ3zkTyrep1G7f37jZgOS7Ob5gWcKXq7qIivwn/xIS37MJubpo497K2zn8rDk Vx50rpyuopfbey3S1QzOS8/l6cpfxw6jINdk7xbfHsb1mudb1snzMLV0EPdFhwnTZ06y cnQIIbphM0LspYgELBQC6p7WMA8N8snxKZmk2dPOhs2rzrCX3RQd6xngFXB1iZNt3at9 MqIFJwVUebiLamj06nQQQUANX64oRDT3rgD46KLvV2ZlMmhu7u53nOVVhzVtcsgTjX4R /MCg== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=tY7JsMUT2twM0z4e6sQsusf8r5hedkxppnh4WWh3EOM=; b=gTdyzvjDiqLDYX3wjcYCOR1aF90cxiAEg3wUTEJxhagJUhmfgMf7bIgmRBitHDE73e qLJ+UOMbQ5cN40HiiJSFWLsgKnhbDupYJCSYUziNdgxIviRPWQ5YcdTMDIW0/OypCR5P Pqr4qsANVq2wUHbd8aM/eGW/bdgJD4kf65xIJ+K2qQD7TpLFY3hmGapQx/cjKKZp7hm4 ka2eLLGK6QHLzrprZFwx3cRfh3tekXNkXeePIav3Wpor2FEXjvBXJCJ4gZtFokzha41A FkvL9a44NdG82u1XBw3yiXDGgCVGNGEkxxYNnDWu0KqYByyAcco9zUKGcgiZKuiEb3vd N1bA== X-Gm-Message-State: APjAAAVXZhk1gfNL4Q/vo0gcCCL9ZKytBHLAtZ6VBKimDOjRmDbSFtXN 3B8hXSCmK3jCzkdBCntu+59Xh4BP X-Google-Smtp-Source: APXvYqzj+eaeKy0bDd19tQhC0wL/IVPOZEe9YfyyqGsfNh+wQcSz5Rv3ov/NHdZhmeV6nx2WHAg0cw== X-Received: by 2002:a1c:a9d4:: with SMTP id s203mr10654019wme.117.1555074966581; Fri, 12 Apr 2019 06:16:06 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id d4sm35932882wrv.42.2019.04.12.06.16.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 06:16:05 -0700 (PDT) From: Mathieu Othacehe To: 35244@debbugs.gnu.org Subject: [PATCH 5/6] linux-initrd: Fix cross compilation. Date: Fri, 12 Apr 2019 15:15:55 +0200 Message-Id: <20190412131556.25282-5-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190412131556.25282-1-m.othacehe@gmail.com> References: <20190412131556.25282-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35244 Cc: Mathieu Othacehe 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 (-) * gnu/system/linux-initrd.scm (default-initrd-modules): Check system name against %current-target-system first in case we are cross-compiling. --- gnu/system/linux-initrd.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/system/linux-initrd.scm b/gnu/system/linux-initrd.scm index 656afd1ddb..c90b87c023 100644 --- a/gnu/system/linux-initrd.scm +++ b/gnu/system/linux-initrd.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès ;;; Copyright © 2016 Mark H Weaver ;;; Copyright © 2016 Jan Nieuwenhuizen -;;; Copyright © 2017 Mathieu Othacehe +;;; Copyright © 2017, 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -273,7 +273,10 @@ FILE-SYSTEMS." (append-map (compose file-system-type-modules file-system-type) file-systems)) -(define* (default-initrd-modules #:optional (system (%current-system))) +(define* (default-initrd-modules + #:optional + (system (or (%current-target-system) + (%current-system)))) "Return the list of modules included in the initrd by default." (define virtio-modules ;; Modules for Linux para-virtualized devices, for use in QEMU guests. -- 2.17.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 09:16:22 2019 Received: (at 35244) by debbugs.gnu.org; 12 Apr 2019 13:16:22 +0000 Received: from localhost ([127.0.0.1]:55629 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2V-0003KW-0O for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:22 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:39111) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2N-0003JF-Bg for 35244@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:14 -0400 Received: by mail-wm1-f52.google.com with SMTP id n25so10983437wmk.4 for <35244@debbugs.gnu.org>; Fri, 12 Apr 2019 06:16:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DEc2rAlEd9pbl5JJmSS9luN7s9avQp4WjCnnYbizeb4=; b=op5YBB+CAWFzNDSpJAKdYHDTSUmKUYsoUwY1yN+6ywkutvxhlzavy33n4tzJ36A/DW q3kKeBnyo4J6/vkbP5NqZCb8aMdrh3QBTYzwXQyS0C51zdEAoeRfV+m+XMHDvzy29vX0 7OC1C94Drii8j9XjrzFfTjY7byCk+hbAwbcnr7ZMFDnt0mL7RRtj16nX8sRdFRtUz4r5 PSC09bynR4QAmm4SY9oEtACKu5EwxletI40Hv4XlQMSwoKge5OcAuT8ODR86FFFU2Tbo NiS7HbXxvsYhhMV9LoE3JaKSwRz6lTwUUCO+3vrcb/CIsjAzOh8D5tHSlOzbLlxK/6TM 4a+g== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DEc2rAlEd9pbl5JJmSS9luN7s9avQp4WjCnnYbizeb4=; b=sZB6rek/kGmp7m/NlY5sJen9fV3AHWLEGpEGEN7W9NpcfLlzstlfAAc/q6cqie7OvC J7LqrWVYeyupLO+eSKPTazQOWxZbzVCw0qGhdt/lWU9HIE+GjUJkOAIEPcUR4+O2OYtf r4Kwc8Vpm3gEzIKKGjlLcq18t0m5IW4y8Wqrg4bIblBk9uPtEOO0NrPqx39a+krwr24B hpVGm2Ic7XZpNbZx1Q9D5tnkTHx3kJPWQcyOKzXpw1u5DMVoVBwl/SK9t2eswfeVP6Y1 U6kJbfO1lBFFaVRv5AiTgu8RE3PwFgeqESUF5AyTAz3hPOpt4hw30L6WYjI7TkmdBwzq oDgA== X-Gm-Message-State: APjAAAV0yOjRFqM7W7xI7Kz95EyFktnnnkj8zzKUNcIRSzMubLv3lZ4J ZfW5K8/NQI6nQi/64dn9PiWissC3 X-Google-Smtp-Source: APXvYqyI1vo1gi3cAZ1OwaxGNhtyATYULUGhdvNpQ31EQO8Ci0pnOYMmsOhTR9wghmJZhBeMdyP2Vw== X-Received: by 2002:a1c:a64d:: with SMTP id p74mr11694389wme.89.1555074965357; Fri, 12 Apr 2019 06:16:05 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id d4sm35932882wrv.42.2019.04.12.06.16.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 06:16:04 -0700 (PDT) From: Mathieu Othacehe To: 35244@debbugs.gnu.org Subject: [PATCH 4/6] gnu: firmware: Fix cross compilation. Date: Fri, 12 Apr 2019 15:15:54 +0200 Message-Id: <20190412131556.25282-4-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190412131556.25282-1-m.othacehe@gmail.com> References: <20190412131556.25282-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 35244 Cc: Mathieu Othacehe 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.3 (-) * gnu/packages/firmware.scm (ath9k-htc-firmware)[phases]: Search for "cross-gcc" in native-inputs in "configure" phase. --- gnu/packages/firmware.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm index 4df4b22843..68476ed826 100644 --- a/gnu/packages/firmware.scm +++ b/gnu/packages/firmware.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2017, 2018 Efraim Flashner ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2018 Vagrant Cascadian +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -59,7 +60,7 @@ '(#:phases (modify-phases %standard-phases (add-before 'configure 'pre-configure - (lambda* (#:key inputs #:allow-other-keys) + (lambda* (#:key native-inputs #:allow-other-keys) (chdir "target_firmware") ;; 'configure' is a simple script that runs 'cmake' with @@ -67,7 +68,7 @@ (substitute* "configure" (("^TOOLCHAIN=.*$") (string-append "TOOLCHAIN=" - (assoc-ref inputs "cross-gcc") + (assoc-ref native-inputs "cross-gcc") "\n"))) #t)) (replace 'install -- 2.17.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 09:16:26 2019 Received: (at 35244) by debbugs.gnu.org; 12 Apr 2019 13:16:26 +0000 Received: from localhost ([127.0.0.1]:55631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2Y-0003Ke-P4 for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:26 -0400 Received: from mail-wm1-f53.google.com ([209.85.128.53]:36115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2M-0003JD-3N for 35244@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:15 -0400 Received: by mail-wm1-f53.google.com with SMTP id h18so10996837wml.1 for <35244@debbugs.gnu.org>; Fri, 12 Apr 2019 06:16:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1l19LfrN4LoFQJPK2/aWVF5HNucP7ayb/09Mx0r9Gao=; b=sqSncxvFch9fQjNST44geYbloRCpZhg6NgW09tha9nBrd4UHIIORpaPQJtyzS1bLHr Z2r+L6N6mEvI63uwYPuTB7C+M2yDGYPUUnTwQinZUfvkMQ2RqD4TmWqz72pDrGPNO8Bo vkjK4lRTQzooeMe20anvscuTDy0m/jXa3BSelq8VZeXewxRjwGM8Y0BJV3gg/Bg49kYE W3hlRpAv+YhpF8i/2EuqsCpR1wiDQM1ug3hZJ/a9qGYNFkCOoq74R4KFAEs9XKW+nTj2 EDmv78r35QD7STCyJpdnViomPW+govBYaKWQl83yBB38o4U4w/n3x9grMQN6jYW2vIY9 mt4g== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1l19LfrN4LoFQJPK2/aWVF5HNucP7ayb/09Mx0r9Gao=; b=LmBVtoej6c1L9K/yzYUORPkrp1EKGEbR95al+YXuEnZUY68TPPf/DP591BzZrcku+Q V/aLXPciruend2wiwhwR1rV1kRXGxRcXReQo4kYl4SnzqU8WgpqgiK2597p5DwAkqqUX kR0LEZiRJXjyEgOgXR71mgMtTVDn7lp5z5lYeqppzZG1iHixORg1G4o1u+x7nnLfQv45 wX5m4AlhxJZ2JHYaPhceZbO5MYDfI3bbVoV5xw3np8x7DWsS/F7VRhzIS47IUlOQWJCF JAL5rl3BnT/GGV9LEO+By8Ev6A5SL03MZAcgzszqy8gjXsyH+Eweo0mMbpqHpWHMarhv lOew== X-Gm-Message-State: APjAAAXVq+pCGSRZm7ZmBBT1QZWQtRmTmccjtrWDcxgFlqdoWvmvjj6L 63cWxch0j3rNYc/vnVGv/j2EY+IO X-Google-Smtp-Source: APXvYqz5317vF20qF75LZeo7qj6byvb97j9nKwYnhxuOPS+oSL3WETdWifJv9C0UeJij7s338plcRQ== X-Received: by 2002:a1c:6c04:: with SMTP id h4mr11238372wmc.135.1555074964296; Fri, 12 Apr 2019 06:16:04 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id d4sm35932882wrv.42.2019.04.12.06.16.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 06:16:03 -0700 (PDT) From: Mathieu Othacehe To: 35244@debbugs.gnu.org Subject: [PATCH 3/6] gnu: glibc-utf8-locales: Always use native package. Date: Fri, 12 Apr 2019 15:15:53 +0200 Message-Id: <20190412131556.25282-3-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190412131556.25282-1-m.othacehe@gmail.com> References: <20190412131556.25282-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 35244 Cc: Mathieu Othacehe 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.3 (-) * gnu/installer.scm (build-compiled-file): Use native glibc-utf8-locales. * gnu/services/base.scm (guix-shepherd-service): Ditto, (guix-publish-shepherd-service): ditto. * guix/profiles.scm (profile-derivation): Ditto. * guix/self.scm (guix-command): Ditto. * gnu/packages/package-management.scm (guix)[inputs]: Move glibc-utf8-locales from here ..., [native-inputs]: ... to here, [phases]: search for glibc-utf8-locales in native-inputs and inputs in 'wrap-program phase. --- gnu/installer.scm | 4 ++-- gnu/packages/package-management.scm | 16 ++++++++++------ gnu/services/base.scm | 6 +++--- guix/profiles.scm | 3 ++- guix/self.scm | 3 ++- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/gnu/installer.scm b/gnu/installer.scm index 50e2e7d85e..bbf2441061 100644 --- a/gnu/installer.scm +++ b/gnu/installer.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2018 Mathieu Othacehe +;;; Copyright © 2018, 2019 Mathieu Othacehe ;;; Copyright © 2019 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. @@ -62,7 +62,7 @@ version of this file." (define set-utf8-locale #~(begin (setenv "LOCPATH" - #$(file-append glibc-utf8-locales "/lib/locale/" + #+(file-append glibc-utf8-locales "/lib/locale/" (version-major+minor (package-version glibc-utf8-locales)))) (setlocale LC_ALL "en_US.utf8"))) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index 4808687227..6720cac783 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2018 Eric Bavier ;;; Copyright © 2019 Efraim Flashner ;;; Copyright © 2019 Vagrant Cascadian +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -217,7 +218,10 @@ (setenv "SHELL" (which "sh")) #t)) (add-after 'install 'wrap-program - (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key + inputs native-inputs + outputs + #:allow-other-keys) ;; Make sure the 'guix' command finds GnuTLS, ;; Guile-JSON, and Guile-Git automatically. (let* ((out (assoc-ref outputs "out")) @@ -230,7 +234,8 @@ "guile-bytestructures")) (ssh (assoc-ref inputs "guile-ssh")) (gnutls (assoc-ref inputs "gnutls")) - (locales (assoc-ref inputs "glibc-utf8-locales")) + (locales (assoc-ref (or native-inputs inputs) + "glibc-utf8-locales")) (deps (list gcrypt json sqlite gnutls git bs ssh)) (effective @@ -258,7 +263,8 @@ `("GUIX_LOCPATH" ":" suffix (,locpath))) #t)))))) - (native-inputs `(("pkg-config" ,pkg-config) + (native-inputs `(("glibc-utf8-locales" ,glibc-utf8-locales) + ("pkg-config" ,pkg-config) ;; XXX: Keep the development inputs here even though ;; they're unnecessary, just so that 'guix environment @@ -288,9 +294,7 @@ ,@(if (and (not (%current-target-system)) (string=? (%current-system) "x86_64-linux")) `(("boot-guile/i686" ,(bootstrap-guile-origin "i686-linux"))) - '()) - - ("glibc-utf8-locales" ,glibc-utf8-locales))) + '()))) (propagated-inputs `(("gnutls" ,gnutls) ("guile-gcrypt" ,guile-gcrypt) diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 65f7ff29c8..760d65e5ca 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2016, 2017 Leo Famulari ;;; Copyright © 2016 David Craven ;;; Copyright © 2016 Ricardo Wurmus -;;; Copyright © 2018 Mathieu Othacehe +;;; Copyright © 2018, 2019 Mathieu Othacehe ;;; Copyright © 2019 Efraim Flashner ;;; ;;; This file is part of GNU Guix. @@ -1638,7 +1638,7 @@ archive' public keys, with GUIX." ;; file names such as 'nss-certs'. See ;; . (string-append "GUIX_LOCPATH=" - #$glibc-utf8-locales "/lib/locale") + #+glibc-utf8-locales "/lib/locale") "LC_ALL=en_US.utf8") #:log-file #$log-file)) @@ -1774,7 +1774,7 @@ archive' public keys, with GUIX." ;; as 'nss-certs'. See . #:environment-variables (list (string-append "GUIX_LOCPATH=" - #$glibc-utf8-locales "/lib/locale") + #+glibc-utf8-locales "/lib/locale") "LC_ALL=en_US.utf8"))) (stop #~(make-kill-destructor))))))) diff --git a/guix/profiles.scm b/guix/profiles.scm index dfc9ba1ca0..252910d0e5 100644 --- a/guix/profiles.scm +++ b/guix/profiles.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2016 Chris Marusich ;;; Copyright © 2017 Huang Ying ;;; Copyright © 2017 Maxim Cournoyer +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -1477,7 +1478,7 @@ are cross-built for TARGET." ;; install a UTF-8 locale. #~(begin (setenv "LOCPATH" - #$(file-append glibc-utf8-locales "/lib/locale/" + #+(file-append glibc-utf8-locales "/lib/locale/" (version-major+minor (package-version glibc-utf8-locales)))) (setlocale LC_ALL "en_US.utf8"))) diff --git a/guix/self.scm b/guix/self.scm index 7ba2764eb9..dc0aba8987 100644 --- a/guix/self.scm +++ b/guix/self.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017, 2018, 2019 Ludovic Courtès +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -421,7 +422,7 @@ load path." (string-append (if locpath (string-append locpath ":") "") - #$(file-append glibc-utf8-locales + #+(file-append glibc-utf8-locales "/lib/locale")))) (let ((guix-main (module-ref (resolve-interface '(guix ui)) -- 2.17.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 12 09:16:27 2019 Received: (at 35244) by debbugs.gnu.org; 12 Apr 2019 13:16:27 +0000 Received: from localhost ([127.0.0.1]:55633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2c-0003Ks-MZ for submit@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:27 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:33685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hEw2P-0003JP-Kf for 35244@debbugs.gnu.org; Fri, 12 Apr 2019 09:16:17 -0400 Received: by mail-wr1-f44.google.com with SMTP id q1so11954942wrp.0 for <35244@debbugs.gnu.org>; Fri, 12 Apr 2019 06:16:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/B/lUy/YsdEySqztggbh917WkL56txfDwBa4dmcxhCM=; b=kfWukoL8VXR/nHQmxSasphD+vFPtRvx4OEEjbt/80gCqGC4NUXf4pAjp/ObaC9gxZ3 MtRqsYtI6UHzjd0zfgMziO3bl+676482Cqg1eooERzXnYTEj12CLUfmtAtcy5zz2z4ec YkKtZHPtagafhSqc7/u9VtfPiVSrS2hp5nlxWiU0jwy2ShLmERMx5HEQq+P0WwDzOPTF NrM3tPyefmnv861fVlzFmBhRrjOIzfzbty0XdmSYfFhLY88uk5WpM6ynzSkZAzxWLpn2 /0GGnHWG8q0nUYNvH4tn1Mn1GZw5pL7iPc7kIixs29HsdupPBJJUfLLKPnM2lRvfcbXl 2c0w== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=/B/lUy/YsdEySqztggbh917WkL56txfDwBa4dmcxhCM=; b=pcQHjVm2zbjNuh3xG3TXjP7QKs7NKThh9tIxb/9xJnjju9Wr58auUrXSviE5dAB3Km 6Nm6357LxyCnP8tna2sKj7t0urCSUsYEa92469sZGX6NZyx6pikmFqbtsLERnKIhxYBd /VJV4pPaFJG2ViwyEzUmGjcqGz0ELRJOLWM3SfJXlluL5AWrjHthqEC81/piA39KbPLT zGl1noRpmHdFO9EzdQtA59SSbRj5eCKZQlYStmeKlr+6qrcC8oIWcSXg3cNohiPoSrW2 sSTVNYCxyxg09j0MvS9N4lMFuUVeNGYeGo+1DmIsLsXAdQf8jsVAajQWbqJS71PVEGqO JtGQ== X-Gm-Message-State: APjAAAVqCqpJ3JxYyjNSozQQx11iNgYBnEuL2aeDEUF4RyxS8ukg04KS FR0mj07ADLpBh+iSbVFlFwkuZsEQ X-Google-Smtp-Source: APXvYqxO+rvbawMtHEcwv577XKjeGV0Mny/Iucbl07w/+btrFojO3RGwHRal32NdrzWHnXS6y7i9Cw== X-Received: by 2002:adf:db0c:: with SMTP id s12mr35913572wri.184.1555074967665; Fri, 12 Apr 2019 06:16:07 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id d4sm35932882wrv.42.2019.04.12.06.16.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Apr 2019 06:16:06 -0700 (PDT) From: Mathieu Othacehe To: 35244@debbugs.gnu.org Subject: [PATCH 6/6] gnu: python: Fix cross compilation. Date: Fri, 12 Apr 2019 15:15:56 +0200 Message-Id: <20190412131556.25282-6-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190412131556.25282-1-m.othacehe@gmail.com> References: <20190412131556.25282-1-m.othacehe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 35244 Cc: Mathieu Othacehe 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.3 (-) * gnu/packages/python.scm (python-2.7)[arguments]: Add a configure flag to disable a check failing when cross-compiling. This is covered here: https://lists.yoctoproject.org/pipermail/poky/2013-June/008997.html --- gnu/packages/python.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 57ced499cb..e3a484f5cd 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -38,7 +38,7 @@ ;;; Copyright © 2017 Frederick M. Muriithi ;;; Copyright © 2017, 2018 Adriano Peluso ;;; Copyright © 2017 Ben Sturmfels -;;; Copyright © 2017, 2018 Mathieu Othacehe +;;; Copyright © 2017, 2018, 2019 Mathieu Othacehe ;;; Copyright © 2017 José Miguel Sánchez García ;;; Copyright © 2017 Roel Janssen ;;; Copyright © 2017, 2018 Kei Kebreau @@ -134,6 +134,9 @@ "--with-system-ffi" ;build ctypes "--with-ensurepip=install" ;install pip and setuptools "--enable-unicode=ucs4" + ;; Disable runtime check failing if cross-compiling, see: + ;; https://lists.yoctoproject.org/pipermail/poky/2013-June/008997.html + "ac_cv_buggy_getaddrinfo=no" (string-append "LDFLAGS=-Wl,-rpath=" (assoc-ref %outputs "out") "/lib")) -- 2.17.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 11:19:36 2019 Received: (at 35244) by debbugs.gnu.org; 14 Apr 2019 15:19:36 +0000 Received: from localhost ([127.0.0.1]:32982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFgut-0000f8-QZ for submit@debbugs.gnu.org; Sun, 14 Apr 2019 11:19:36 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39314) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFgur-0000eq-IW for 35244@debbugs.gnu.org; Sun, 14 Apr 2019 11:19:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFguj-0006Am-5t; Sun, 14 Apr 2019 11:19:25 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=55978 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hFgui-0000Zz-BC; Sun, 14 Apr 2019 11:19:25 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: [bug#35244] [PATCH 1/6] gnu: bash-completion: Fix cross-compilation. References: <20190412131331.24892-1-m.othacehe@gmail.com> <20190412131556.25282-1-m.othacehe@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Germinal an 227 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: Sun, 14 Apr 2019 17:19:22 +0200 In-Reply-To: <20190412131556.25282-1-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Fri, 12 Apr 2019 15:15:51 +0200") Message-ID: <87tvf0k41x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35244 Cc: 35244@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 (---) Mathieu Othacehe skribis: > * gnu/packages/bash.scm (bash-completion)[arguments]: Search for util-linux in > native-inputs and inputs during "remove-redundant-completions" phase. LGTM! From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 11:23:04 2019 Received: (at 35244) by debbugs.gnu.org; 14 Apr 2019 15:23:04 +0000 Received: from localhost ([127.0.0.1]:32990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFgyG-0000mG-B4 for submit@debbugs.gnu.org; Sun, 14 Apr 2019 11:23:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFgyE-0000lZ-Q9 for 35244@debbugs.gnu.org; Sun, 14 Apr 2019 11:23:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFgy9-00084N-Jo; Sun, 14 Apr 2019 11:22:57 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56022 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hFgy6-0000ro-D0; Sun, 14 Apr 2019 11:22:55 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: [bug#35244] [PATCH 2/6] gnu: groff: Fix cross compilation. References: <20190412131556.25282-1-m.othacehe@gmail.com> <20190412131556.25282-2-m.othacehe@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Germinal an 227 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: Sun, 14 Apr 2019 17:22:52 +0200 In-Reply-To: <20190412131556.25282-2-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Fri, 12 Apr 2019 15:15:52 +0200") Message-ID: <87muksk3w3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35244 Cc: 35244@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 (---) Hi, Mathieu Othacehe skribis: > * gnu/packages/groff.scm (groff)[arguments]: Replace build phase to pass > GROFF_BIN_PATH and GROFFBIN variables when cross-compiling. > > Also add native groff as an input. You=E2=80=99d need to mention =E2=80=98self-native-input?=E2=80=99 explicit= ly. > + (self-native-input? #t) However, this field no longer exists: see commit a7646bc5e17a829d23519d0b199a576fb1edbd04, and see 528ea990c3a815cb4b0ded913ea22cdc778839bd for how to adjust your package. > + (replace 'build > + (lambda* (#:key > + make-flags parallel-build? > + native-inputs target #:allow-other-keys) > + ;; When cross-compiling, native groff is needed, see: > + ;; http://www.mail-archive.com/bug-groff@gnu.org/msg01335.h= tml > + (let ((parallel > + (if parallel-build? > + `("-j" ,(number->string (parallel-job-count))) > + '())) > + (flags > + (if target > + (let ((groff (or > + (assoc-ref native-inputs "groff") > + (assoc-ref native-inputs "self")))) > + (append > + make-flags > + (list > + (string-append "GROFF_BIN_PATH=3D" groff) > + (string-append "GROFFBIN=3D" groff > + "/bin/groff")))) > + make-flags))) > + (apply invoke `("make" ,@parallel ,@flags))) If you make it conditional on (%current-target-system) , that=E2=80=99ll av= oid a massive rebuild of the 4K packages that depend on =E2=80=98groff=E2=80=99, = and thus it=E2=80=99ll be applicable on =E2=80=98master=E2=80=99. Could you send an updated patch? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 11:24:36 2019 Received: (at 35244) by debbugs.gnu.org; 14 Apr 2019 15:24:36 +0000 Received: from localhost ([127.0.0.1]:32994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFgzj-0000oj-Pp for submit@debbugs.gnu.org; Sun, 14 Apr 2019 11:24:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFgzh-0000oU-4V for 35244@debbugs.gnu.org; Sun, 14 Apr 2019 11:24:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFgzb-0000e8-1O; Sun, 14 Apr 2019 11:24:27 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56068 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hFgza-0000vi-69; Sun, 14 Apr 2019 11:24:26 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: [bug#35244] [PATCH 3/6] gnu: glibc-utf8-locales: Always use native package. References: <20190412131556.25282-1-m.othacehe@gmail.com> <20190412131556.25282-3-m.othacehe@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Germinal an 227 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: Sun, 14 Apr 2019 17:24:24 +0200 In-Reply-To: <20190412131556.25282-3-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Fri, 12 Apr 2019 15:15:53 +0200") Message-ID: <87imvgk3tj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35244 Cc: 35244@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 (---) Mathieu Othacehe skribis: > * gnu/installer.scm (build-compiled-file): Use native glibc-utf8-locales. > * gnu/services/base.scm (guix-shepherd-service): Ditto, > (guix-publish-shepherd-service): ditto. > * guix/profiles.scm (profile-derivation): Ditto. > * guix/self.scm (guix-command): Ditto. > * gnu/packages/package-management.scm (guix)[inputs]: Move glibc-utf8-loc= ales > from here ..., > [native-inputs]: ... to here, > [phases]: search for glibc-utf8-locales in native-inputs and inputs in > 'wrap-program phase. Do you have evidence that locale data is architecture-independent? It=E2=80=99s not all that clear to me; that it goes to $libdir, not $datadi= r, suggests it=E2=80=99s indeed architecture-dependent. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 11:26:25 2019 Received: (at 35244) by debbugs.gnu.org; 14 Apr 2019 15:26:25 +0000 Received: from localhost ([127.0.0.1]:32998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFh1V-0000ry-6H for submit@debbugs.gnu.org; Sun, 14 Apr 2019 11:26:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFh1T-0000ri-5r for 35244@debbugs.gnu.org; Sun, 14 Apr 2019 11:26:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFh1N-0001cY-JA; Sun, 14 Apr 2019 11:26:17 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56088 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hFh1I-00015Z-Fk; Sun, 14 Apr 2019 11:26:15 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: [bug#35244] [PATCH 4/6] gnu: firmware: Fix cross compilation. References: <20190412131556.25282-1-m.othacehe@gmail.com> <20190412131556.25282-4-m.othacehe@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Germinal an 227 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: Sun, 14 Apr 2019 17:26:11 +0200 In-Reply-To: <20190412131556.25282-4-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Fri, 12 Apr 2019 15:15:54 +0200") Message-ID: <87ef64k3qk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35244 Cc: 35244@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 (---) Mathieu Othacehe skribis: > * gnu/packages/firmware.scm (ath9k-htc-firmware)[phases]: Search for > "cross-gcc" in native-inputs in "configure" phase. The subject line should mention =E2=80=98ath9k-htc-firmware=E2=80=99, not = =E2=80=98firmware=E2=80=99. :-) > (substitute* "configure" > (("^TOOLCHAIN=3D.*$") > (string-append "TOOLCHAIN=3D" > - (assoc-ref inputs "cross-gcc") > + (assoc-ref native-inputs "cross-gcc") > "\n"))) It still works natively, right? It it does, it LGTM! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 11:27:28 2019 Received: (at 35244) by debbugs.gnu.org; 14 Apr 2019 15:27:28 +0000 Received: from localhost ([127.0.0.1]:33002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFh2W-0000tv-Hl for submit@debbugs.gnu.org; Sun, 14 Apr 2019 11:27:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFh2U-0000te-EP for 35244@debbugs.gnu.org; Sun, 14 Apr 2019 11:27:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFh2P-00025A-9J; Sun, 14 Apr 2019 11:27:21 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56104 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hFh2N-0001NF-72; Sun, 14 Apr 2019 11:27:19 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: [bug#35244] [PATCH 6/6] gnu: python: Fix cross compilation. References: <20190412131556.25282-1-m.othacehe@gmail.com> <20190412131556.25282-6-m.othacehe@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Germinal an 227 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: Sun, 14 Apr 2019 17:27:17 +0200 In-Reply-To: <20190412131556.25282-6-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Fri, 12 Apr 2019 15:15:56 +0200") Message-ID: <87a7gsk3oq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35244 Cc: 35244@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 (---) Mathieu Othacehe skribis: > * gnu/packages/python.scm (python-2.7)[arguments]: Add a configure flag to > disable a check failing when cross-compiling. This is covered here: > > https://lists.yoctoproject.org/pipermail/poky/2013-June/008997.html [...] > + ;; Disable runtime check failing if cross-compiling, see: > + ;; https://lists.yoctoproject.org/pipermail/poky/2013-June/= 008997.html > + "ac_cv_buggy_getaddrinfo=3Dno" Can you make it conditional on (%current-target-system)? That way we can apply it on master without rebuilding the world. Otherwise LGTM. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 14 11:29:26 2019 Received: (at 35244) by debbugs.gnu.org; 14 Apr 2019 15:29:26 +0000 Received: from localhost ([127.0.0.1]:33008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFh4P-0000xc-WD for submit@debbugs.gnu.org; Sun, 14 Apr 2019 11:29:26 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hFh4P-0000xO-1C for 35244@debbugs.gnu.org; Sun, 14 Apr 2019 11:29:25 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hFh4J-0003Kw-0q; Sun, 14 Apr 2019 11:29:19 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56134 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hFh4I-0007Va-CO; Sun, 14 Apr 2019 11:29:18 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: [bug#35244] [PATCH 5/6] linux-initrd: Fix cross compilation. References: <20190412131556.25282-1-m.othacehe@gmail.com> <20190412131556.25282-5-m.othacehe@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Germinal an 227 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: Sun, 14 Apr 2019 17:29:16 +0200 In-Reply-To: <20190412131556.25282-5-m.othacehe@gmail.com> (Mathieu Othacehe's message of "Fri, 12 Apr 2019 15:15:55 +0200") Message-ID: <874l70k3lf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35244 Cc: 35244@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 (---) Mathieu Othacehe skribis: > * gnu/system/linux-initrd.scm (default-initrd-modules): Check system name > against %current-target-system first in case we are cross-compiling. LGTM! Glad we=E2=80=99re making process on system cross-compilation! Are you targeting low-end ARMv7 devices? Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 15:42:20 2019 Received: (at 35244) by debbugs.gnu.org; 25 Jun 2019 19:42:21 +0000 Received: from localhost ([127.0.0.1]:33565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfrKe-0000xt-NW for submit@debbugs.gnu.org; Tue, 25 Jun 2019 15:42:20 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfrKc-0000xf-JC for 35244@debbugs.gnu.org; Tue, 25 Jun 2019 15:42:19 -0400 Received: by mail-wr1-f68.google.com with SMTP id k11so19255116wrl.1 for <35244@debbugs.gnu.org>; Tue, 25 Jun 2019 12:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=9rAoOLAguJE1sQ4EjVgfe4hh29YkSwVgsLMeSzYAvgs=; b=vW2BbTuKhxi3GNLkwlAiRfgc2wHvZqN7YCJ15amqeNjYLXW8W47s0pDDpi/Mqtl4AU xZbzgdZnJPjaDEk6HsszXB4LUZFJ7B53BDuBxJgmCcQTa1TqS8Qe+GOG+ZURgzU5gcjG rTJryNfVl37kYdQ5cXWfra2T4Hnm+C4lO2bkJInD6zyQTKnQpmBlXWHRdAR6K1HBACEW Sem2dF0PmIQSXmXxOkrMxHe7YfUUG6PTaADAL+3TqD+vOHgjsbBASTA1Z8DQ4qhONOSX YH0JHoDg3fND8kxbFCMAriAYcVZj49Xna9piJRsMtQD2i5mDMwytzfUBnu2l9uD0MkXH xGyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=9rAoOLAguJE1sQ4EjVgfe4hh29YkSwVgsLMeSzYAvgs=; b=C7QbDCd8Feit7CwoCVOALZCy4WOWXghNsWsagtMdAe4O2RSkHUkhnGCwSDhGKgn6Zf aaQWcRee39TZ7K+KpAStA52TSIdmPU7GJatHyKj2ovaLJvqNZILhlhlGZSw07EnJ7AA0 pD1QJp+FCz23W5AD8x2wowRf5oH577mxkV9mogHE8qjVQMm9wx5ozx6J5KaKOA8TKuSY rhD32ESaDjqCkva/r3X3sRgYNH8Lu+K2haixUOSlB9iQroLRuqLLfat/GAcM4WyYVy6Y 84JcKc+KB+d3micsGyCQbzmz8oPxm0ZuKdCN+L4AuNRnCNGxcTNQ4HXrXqN3oNYbE6vm 2Eew== X-Gm-Message-State: APjAAAXEV+w7fWB7TPw9t3swWwHFUyNeClboCfSMRaNmstCBL/enk+zn q/6ReBk8bd8snaH6AaOFVHeCnrM3 X-Google-Smtp-Source: APXvYqyJDXL/qDWxr0pwI4Kzlny+EyXuGiRhW07M6ycd1AwEY56ynBfIc21GgBBgBosRmvr9u9akHQ== X-Received: by 2002:adf:e8c8:: with SMTP id k8mr643954wrn.285.1561491730305; Tue, 25 Jun 2019 12:42:10 -0700 (PDT) Received: from cervin ([2a01:e34:ec06:7e0:918e:f5ce:ac3d:6ed6]) by smtp.gmail.com with ESMTPSA id w67sm83582wma.24.2019.06.25.12.42.09 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 12:42:09 -0700 (PDT) References: <20190412131331.24892-1-m.othacehe@gmail.com> <20190412131556.25282-1-m.othacehe@gmail.com> <87tvf0k41x.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.2 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#35244] [PATCH 1/6] gnu: bash-completion: Fix cross-compilation. In-reply-to: <87tvf0k41x.fsf@gnu.org> Date: Tue, 25 Jun 2019 21:42:08 +0200 Message-ID: <87y31p78q7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35244 Cc: 35244@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: -1.0 (-) > Mathieu Othacehe skribis: > >> * gnu/packages/bash.scm (bash-completion)[arguments]: Search for util-linux in >> native-inputs and inputs during "remove-redundant-completions" phase. > > LGTM! Pushed as d8dbfbce. Sorry for the looong reaction. Mathieu From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 15:47:51 2019 Received: (at 35244) by debbugs.gnu.org; 25 Jun 2019 19:47:51 +0000 Received: from localhost ([127.0.0.1]:33569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfrPz-00016H-C0 for submit@debbugs.gnu.org; Tue, 25 Jun 2019 15:47:51 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfrPx-000162-RV for 35244@debbugs.gnu.org; Tue, 25 Jun 2019 15:47:50 -0400 Received: by mail-wm1-f65.google.com with SMTP id f17so74821wme.2 for <35244@debbugs.gnu.org>; Tue, 25 Jun 2019 12:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=zf82GwhowSFZP5fSs9VdjsL1B5r5ZTCet7imn/ReufA=; b=QQgN8ujBOxBuqTd80JXjvRLIcP/7K7+GhbGd0Cs1mRSSOeupIssX1hA82kjpeTcRrw E1OIGJ5ssrop0ObhzbpFvBPdFH+lvUzL7rAsR3+bc91q+3Q7pCrVlW5f6iIR8/jnln8A 11hZDIxGLGg+q2np//EfT47OoPFhCmwsS+93iT4iayyaPL40I5+mOWKAla8EXx9mvZ5f CH/fbGw+EP10sAoVkeN7hyYMuOmw45y/MgpfQaAVD65zW++z5WRMli9VZoaoxScHxtBR jJTSP/3RBExn3oXve0HCXlyrHg9e0KmyUfTbxDTQS8mfMxR+LPavN54TmTaopRJP0CGJ 9S1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=zf82GwhowSFZP5fSs9VdjsL1B5r5ZTCet7imn/ReufA=; b=GMS+8tVPdKLwVSVur6uvEo/c3/u0EqIaDU3ewHWB6oqQGWUq8/QwxAzdZMfnK9UBEX QzhnCTVH+2YrXYLuKsi7KAhE1QDRIJ3D7OWTe+yhnDIaWLmsGdK/osuy58ysLIXVjV99 3WR6o+vQJaX6n1GunN9ydV8F/B64DQtyA//i+H1bE58NOEOa7fm/EoHssXfOoCLYynAM 5f7zgJbTYdFN0Lyt3RltvwRbgkjp+wJU01mFOOzhwvZzTnlGBVLM6T59AAt1WOJju2U/ yYwi3EXOrgHOkEATQNaHz0gUUGcV0LzeECsfGQ7qheNM0JgW1vkg1GtjHA2J3Km64k08 9SBg== X-Gm-Message-State: APjAAAVCZ+rN3AMi4Rbavrz6CHASyaEezvUAuhbKPOhifp1eRT0nR/am fBl+85L7Abhs0tLSNO5tYXAe3+oG X-Google-Smtp-Source: APXvYqzmZhXKcrfOU2JbOhshuig7FOfyBrhZ9CYm5ur6LmLnEHqfGGOXe34v4tFN/YqW3dBW/aVAow== X-Received: by 2002:a1c:4956:: with SMTP id w83mr94439wma.67.1561492063695; Tue, 25 Jun 2019 12:47:43 -0700 (PDT) Received: from cervin ([2a01:e34:ec06:7e0:918e:f5ce:ac3d:6ed6]) by smtp.gmail.com with ESMTPSA id l12sm31810134wrb.81.2019.06.25.12.47.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 25 Jun 2019 12:47:42 -0700 (PDT) References: <20190412131556.25282-1-m.othacehe@gmail.com> <20190412131556.25282-5-m.othacehe@gmail.com> <874l70k3lf.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.2 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#35244] [PATCH 5/6] linux-initrd: Fix cross compilation. In-reply-to: <874l70k3lf.fsf@gnu.org> Date: Tue, 25 Jun 2019 21:47:42 +0200 Message-ID: <87woh978gx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35244 Cc: 35244@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: -1.0 (-) > LGTM! Pushed as fdbf4447b. > Glad we=E2=80=99re making process on system cross-compilation! Are you > targeting low-end ARMv7 devices? Yes as well as more powerful aarch64 boards. I would like to use Guix as an alternative to various tools such as Yocto/Buildroot at work. Cross-compiling is the only viable way as target compilation and qemu-binfmt alternatives are way too slow. I'll try to resume the rest of the serie soon. Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 26 04:19:16 2019 Received: (at 35244) by debbugs.gnu.org; 26 Jun 2019 08:19:16 +0000 Received: from localhost ([127.0.0.1]:34176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hg39A-0007ZS-9G for submit@debbugs.gnu.org; Wed, 26 Jun 2019 04:19:16 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:36750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hg398-0007ZF-20 for 35244@debbugs.gnu.org; Wed, 26 Jun 2019 04:19:14 -0400 Received: by mail-wr1-f51.google.com with SMTP id n4so1617744wrs.3 for <35244@debbugs.gnu.org>; Wed, 26 Jun 2019 01:19:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=bZtLnWDsJ02d582NKeamkLcDJxvVVaeMDDaBTtcoNCE=; b=PL8SIzRee4ZUhAQdcAuIpWY+4ZcOOZ2pSoi1juXUuuqEhSN/qyP2ZA6SRnft/jdQeL YlUFg5qbhlBJVkau3lKJe2TJMbrfgoKf6UIRjlYyqZ3mywZPTA/ISfUXW0gWT+/tS81C pjMzNiD37BTQxBdOAQeVzJ2Z9JLWYpOUCAsmbY8eaadtYJpn8fW/XL9oEQw4uzgi7OAv 6P827KRv2aRMqDbB6NYDivN85mkF6X6ufwXKMuwdjkaDB3NfuC0w/jSpqcfIzrTVTBSG hIr8UvCFetgsVgBLf9c0QOLrhQatR1rMwXeC2WSmI49xunuKK0LxlKm0QRzS5DSjyBsb OAoQ== 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:date:message-id:mime-version :content-transfer-encoding; bh=bZtLnWDsJ02d582NKeamkLcDJxvVVaeMDDaBTtcoNCE=; b=HoGudL+IL253PKWa+LVNdZwJKsO2XZyld7Yza9cd4iSAvMyMHvJ7sJGOHoWLc5T5Hd NLbC26n7m8eRlv+zmpirabpphEgqb82onTMjJkk/Sjo9l3hwTdH39FphcMeOYLRJYNmD cgFeNkA/jXnVg8HcMgu+L3WpmydXSazjixi4NmEWqczZARBkIhZPYJhIKa8qIaT0PJ1z 8CsSHZJJmvfA4hKMvM51+sXVNNSzHtwQbOr3YzgPd77DbmONxBloG3iDmj1go0zpgrBx PXJzzgbUSVHO+Qub79cF6SYlxflbs3NiYhMawGYquQ+hGdc/JEh9MEmtuPruySS0NEyP 9acQ== X-Gm-Message-State: APjAAAW5HtGr101MHr7wMpSySC4o11T/c3gBlbyi6DZBYyPU7hpNy/cO ToH/Q13VHknnA1okfC4xFvDRpikS X-Google-Smtp-Source: APXvYqxzWqAaoVu8Dznsh7PuyARWWOYfBtjutWI3WCNEpgpZCBGs0Ianqf1hWDUYCRZDIhPE0kmQ1Q== X-Received: by 2002:a5d:6709:: with SMTP id o9mr2487883wru.301.1561537147730; Wed, 26 Jun 2019 01:19:07 -0700 (PDT) Received: from fuji.Parrot.Biz (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id z6sm16097580wrw.2.2019.06.26.01.19.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 26 Jun 2019 01:19:06 -0700 (PDT) From: Mathieu Othacehe To: 35244@debbugs.gnu.org Subject: [PATCH] gnu: perl: Fix cross-compilation. Date: Wed, 26 Jun 2019 10:19:01 +0200 Message-Id: <20190626081901.12640-1-m.othacehe@gmail.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 35244 Cc: Mathieu Othacehe 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 (-) * gnu/packages/perl.scm (perl)[arguments]: Use cross-libc instead of libc when cross-compiling. --- gnu/packages/perl.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 63b8e387b8..b348a3e088 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2018, 2019 Pierre Neidhardt ;;; Copyright © 2018 Kei Kebreau ;;; Copyright © 2019 Alex Griffin +;;; Copyright © 2019 Mathieu Othacehe ;;; ;;; This file is part of GNU Guix. ;;; @@ -81,7 +82,7 @@ "perl-reproducible-build-date.patch")))) (build-system gnu-build-system) (arguments - '(#:tests? #f + `(#:tests? #f #:configure-flags (let ((out (assoc-ref %outputs "out")) (libc (assoc-ref %build-inputs "libc"))) @@ -130,7 +131,9 @@ (add-after 'install 'remove-extra-references (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (libc (assoc-ref inputs "libc")) + (libc (assoc-ref inputs + ,(if (%current-target-system) + "cross-libc" "libc"))) (config1 (car (find-files (string-append out "/lib/perl5") "^Config_heavy\\.pl$"))) (config2 (find-files (string-append out "/lib/perl5") -- 2.17.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 26 04:58:03 2019 Received: (at 35244) by debbugs.gnu.org; 26 Jun 2019 08:58:03 +0000 Received: from localhost ([127.0.0.1]:34232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hg3kh-0008U6-D6 for submit@debbugs.gnu.org; Wed, 26 Jun 2019 04:58:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hg3kg-0008Te-Ml for 35244@debbugs.gnu.org; Wed, 26 Jun 2019 04:58:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hg3kb-0006Xd-A2; Wed, 26 Jun 2019 04:57:57 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34304 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hg3kZ-00026Q-5G; Wed, 26 Jun 2019 04:57:56 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: [bug#35244] [PATCH 5/6] linux-initrd: Fix cross compilation. References: <20190412131556.25282-1-m.othacehe@gmail.com> <20190412131556.25282-5-m.othacehe@gmail.com> <874l70k3lf.fsf@gnu.org> <87woh978gx.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Messidor an 227 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: Wed, 26 Jun 2019 10:57:53 +0200 In-Reply-To: <87woh978gx.fsf@gmail.com> (Mathieu Othacehe's message of "Tue, 25 Jun 2019 21:47:42 +0200") Message-ID: <877e98k9ke.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35244 Cc: 35244@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, Mathieu Othacehe skribis: >> LGTM! > > Pushed as fdbf4447b. \o/ >> Glad we=E2=80=99re making process on system cross-compilation! Are you >> targeting low-end ARMv7 devices? > > Yes as well as more powerful aarch64 boards. I would like to use Guix as > an alternative to various tools such as Yocto/Buildroot at > work. Cross-compiling is the only viable way as target compilation and > qemu-binfmt alternatives are way too slow. qemu-binfmt might be OK if you get enough substitutes and thus have little to build locally. Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 06:00:23 2019 Received: (at control) by debbugs.gnu.org; 8 Jul 2019 10:00:23 +0000 Received: from localhost ([127.0.0.1]:57891 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkQRb-0004wG-3S for submit@debbugs.gnu.org; Mon, 08 Jul 2019 06:00:23 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:39249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkQRS-0004t2-69 for control@debbugs.gnu.org; Mon, 08 Jul 2019 06:00:14 -0400 Received: by mail-wm1-f42.google.com with SMTP id z23so15716469wma.4 for ; Mon, 08 Jul 2019 03:00:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:from:subject; bh=Q8V14V2YtK/dhka9tnhl1nklG40NnxHCc3W3Bd6JKZY=; b=pHLVQhibN37WVdgMu/iDr4eAx7DPVPvepbMGmSdVpD7uuLGCqptukvYA23zKgIhFYh 0BteuuJdglsAVfHWsHpNvaKXzyAFKXpzHwqF1sH8CILbAzeuppXdm1F0pijVM1U8lKyZ VJ+G2Wc49hmR/8EMRV3iiQaKnMShHpMPM6NqxrHyIXtkGXrdFm8auWAtg3E0XTMdI07L ve5IeUquafHTNk8AbQi+Py9OZP0CukEl5uISocE1Cuisl6PSKfxIMYoi1P/T5uEOrw4Z CKt8yhas89/dvXk5vvYSKIryHm7pxWIOjlE0dNbiyVFybhAiR9s6CYKv+v2g0J4hc1pj ayCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:from:subject; bh=Q8V14V2YtK/dhka9tnhl1nklG40NnxHCc3W3Bd6JKZY=; b=COE6JC7kSswwAzDS8RhpCMnhB+M+o4qYC8NNlXiDHC5t+fOQ7Y50wV2FOhD4yyWv6a dFaVkEDJ/yMVjMUFsyM8+drrIpiG/3zS+pr/QUK8r0yQxZqLoS4kThzh6g2IIONYlVke jaVxvsyxbUtOGej1JDG9WgyrjryhNe7lc2808xZN25FUXDAVOKRwoMOYyVlhhvku/o6M HGUdfcEQni7yGbi3vd2SL71Jr7xoQL/V6bUNkjxpSLdkovqqVqPiAAet8cRs2Fafp5uv XeJsxNw3U1BaBhDTbTCDBAMHHVGlHoqbNrXWzfwhK+IAjDeCgputelb/ancupdVdn7Sb rOCA== X-Gm-Message-State: APjAAAVC2sOlAafuMtkJym94sKHzJRZOyLyd1wGQ+TYukNaSGDc+YrFn 6oPe9Bbyp+JP4+vbnjFvHlSeYNjk X-Google-Smtp-Source: APXvYqx/gLjtevLnaWm7DCqbpQ7gjkXijozGtmUSUCYWcFhj+cIH+ZxF1S7J3n5HoR+/CucjOFmMJA== X-Received: by 2002:a1c:6a11:: with SMTP id f17mr15051090wmc.110.1562580008191; Mon, 08 Jul 2019 03:00:08 -0700 (PDT) Received: from fuji (smtp.parrot.biz. [62.23.167.188]) by smtp.gmail.com with ESMTPSA id e19sm8194966wra.71.2019.07.08.03.00.07 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 08 Jul 2019 03:00:07 -0700 (PDT) Date: Mon, 08 Jul 2019 12:00:06 +0200 Message-Id: <87bly4kfrt.fsf@gmail.com> To: control@debbugs.gnu.org From: Mathieu Othacehe Subject: control message for bug #35244 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: close 35244 quit 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_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (m.othacehe[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.42 listed in list.dnswl.org] 1.3 PDS_NO_HELO_DNS High profile HELO but no A record 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 (/) close 35244 quit From unknown Sun Jun 22 11:47:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 05 Aug 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator