From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 19:11:18 2022 Received: (at submit) by debbugs.gnu.org; 11 Aug 2022 23:11:18 +0000 Received: from localhost ([127.0.0.1]:55185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMHKf-0004zz-SQ for submit@debbugs.gnu.org; Thu, 11 Aug 2022 19:11:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:33438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMHKa-0004zn-BJ for submit@debbugs.gnu.org; Thu, 11 Aug 2022 19:11:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMHKa-0001Rl-64 for guix-patches@gnu.org; Thu, 11 Aug 2022 19:11:12 -0400 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:42900) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMHKY-0001VK-4I for guix-patches@gnu.org; Thu, 11 Aug 2022 19:11:11 -0400 Received: by mail-qk1-x72a.google.com with SMTP id c28so5557347qko.9 for ; Thu, 11 Aug 2022 16:11:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=Mg/VNZebDe8wUtZYYWS1kC4jRRW/2UGVfhgBe75ZNTw=; b=PDy55MvZwwfcOdkvj+NWyi8d9UHi8YuYIhpWHxGqFSqFgLHrwl1ExHKRolsecnytIJ eIYqLtFxUM+TS1Ar4NIdNIenVg2dk0ETrTEQ+BGhsROsSXYOZVSB0WW/noIvdn++d/G/ /c+ECwC9VHL+J83ahwqxML4ElTsWPyAgQI3NrfVxVTpFq0NZnlwkeXMhcAAnQj89nenS LUZRrafVWy/OEUtwVKRGSZvCzcaMq9jEXWvWMxL4LBx82aS1yQMzbzAfbFErWhhMk/d8 3A1UPKOin5q28R/asFibkhw7Ab4/tUfeEgkU/3VGFKsPqmtf3qUVOsdoT+m1VJ7AuvR5 r2lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=Mg/VNZebDe8wUtZYYWS1kC4jRRW/2UGVfhgBe75ZNTw=; b=plC+jsipl5Sk9ysFe6KSL4Q1zGlG6i1r4NK2ihpoDH8YS7KvawsjIwGyedwkLrcdgE 94NFhN/XDkudkbmpdy1K+ZfIlkAJ1f1QvsIx/qRoDIDjjPuPjX1EuAiMLiw+NTDXELVY 9Db24rtNk72UK9FEZYIMlvip4xJqaSQZiT1DTRjrbZzkgsNOgRb0sIaUPnUH61Ha91gg h44ZYes9DBlbmsoD6VeNLvmPLyaemGsQeW/h2LNQic15X+of8h6w8XiLcILkHhHsJeRL ylMSm1qPBDLb+1LmKyWLWiEZEccGZbixE1DWjeLgcJjbnrF3Vlwgrh/a1sJ5cx2q1NTM 7Lgw== X-Gm-Message-State: ACgBeo39bYmQBQkXJnYhMttNHMe6WbZIbwsLXrAly+ZXu2aakWmPrc+v JN5isTEJvldCVNBVwcyOQQylv3jIDuw= X-Google-Smtp-Source: AA6agR5zEosUMNqFCBFFP+G2O1RTa0PJZ5FhJJgcbcVCgyz2BGEUVuT5a7KuRQ9C85yAgb6QATmCQw== X-Received: by 2002:a05:620a:43a1:b0:6b9:287d:3440 with SMTP id a33-20020a05620a43a100b006b9287d3440mr1025240qkp.53.1660259468442; Thu, 11 Aug 2022 16:11:08 -0700 (PDT) Received: from kalantha.lan ([204.111.132.134]) by smtp.gmail.com with ESMTPSA id bm34-20020a05620a19a200b006bac157ec19sm391529qkb.123.2022.08.11.16.11.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 16:11:07 -0700 (PDT) From: Andrew Patterson To: guix-patches@gnu.org Subject: [PATCH] gnu: polkit: Fix cross-compiling Date: Thu, 11 Aug 2022 19:11:00 -0400 Message-Id: <20220811231100.22090-1-andrewpatt7@gmail.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::72a; envelope-from=andrewpatt7@gmail.com; helo=mail-qk1-x72a.google.com 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, 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Andrew Patterson 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 (--) The polkit package used to refer to docbook-xsl via inputs rather native inputs, which obviously doesn't work when cross-compiling. --- gnu/packages/polkit.scm | 165 ++++++++++++++++++++-------------------- 1 file changed, 83 insertions(+), 82 deletions(-) diff --git a/gnu/packages/polkit.scm b/gnu/packages/polkit.scm index a75608cd43..dd0cf42e5d 100644 --- a/gnu/packages/polkit.scm +++ b/gnu/packages/polkit.scm @@ -9,6 +9,7 @@ ;;; Copyright © 2018 Ricardo Wurmus ;;; Copyright © 2021 Morgan Smith ;;; Copyright © 2021 Maxim Cournoyer +;;; Copyright © 2022 Andrew Patterson ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ (define-module (gnu packages polkit) #:use-module ((guix licenses) #:select (lgpl2.0+)) + #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix memoization) @@ -55,92 +57,91 @@ (define-public polkit-mozjs (name "polkit") (version "0.120") (source (origin - (method url-fetch) - (uri (string-append - "https://www.freedesktop.org/software/polkit/releases/" - name "-" version ".tar.gz")) - (sha256 - (base32 - "00zfg9b9ivkcj2jcf5b92cpvvyljz8cmfwj86lkvy5rihnd5jypf")) - (patches (search-patches "polkit-configure-elogind.patch" - "polkit-CVE-2021-4034.patch")) - (modules '((guix build utils))) - (snippet - '(begin - (use-modules (guix build utils)) - ;; Disable broken test. - (substitute* "test/Makefile.in" - (("SUBDIRS = mocklibc . polkit polkitbackend") - "SUBDIRS = mocklibc . polkit")) - ;; Disable a test that requires Python, D-Bus and a few - ;; libraries and fails with "ERROR: timed out waiting for bus - ;; process to terminate". - (substitute* "test/polkitbackend/Makefile.am" - (("TEST_PROGS \\+= polkitbackendjsauthoritytest-wrapper.py") - "")) - ;; Guix System's polkit - ;; service stores actions under /etc/polkit-1/actions. - (substitute* "src/polkitbackend/polkitbackendinteractiveauthority.c" - (("PACKAGE_DATA_DIR \"/polkit-1/actions\"") - "PACKAGE_SYSCONF_DIR \"/polkit-1/actions\"")) - ;; Set the setuid helper's real location. - (substitute* "src/polkitagent/polkitagentsession.c" - (("PACKAGE_PREFIX \"/lib/polkit-1/polkit-agent-helper-1\"") - "\"/run/setuid-programs/polkit-agent-helper-1\"")))))) + (method url-fetch) + (uri (string-append + "https://www.freedesktop.org/software/polkit/releases/" + name "-" version ".tar.gz")) + (sha256 + (base32 + "00zfg9b9ivkcj2jcf5b92cpvvyljz8cmfwj86lkvy5rihnd5jypf")) + (patches (search-patches "polkit-configure-elogind.patch" + "polkit-CVE-2021-4034.patch")) + (modules '((guix build utils))) + (snippet '(begin + (use-modules (guix build utils)) + ;; Disable broken test. + (substitute* "test/Makefile.in" + (("SUBDIRS = mocklibc . polkit polkitbackend") + "SUBDIRS = mocklibc . polkit")) + ;; Disable a test that requires Python, D-Bus and a few + ;; libraries and fails with "ERROR: timed out waiting for bus + ;; process to terminate". + (substitute* "test/polkitbackend/Makefile.am" + (("TEST_PROGS \\+= polkitbackendjsauthoritytest-wrapper.py") + "")) + ;; Guix System's polkit + ;; service stores actions under /etc/polkit-1/actions. + (substitute* "src/polkitbackend/polkitbackendinteractiveauthority.c" + (("PACKAGE_DATA_DIR \"/polkit-1/actions\"") + "PACKAGE_SYSCONF_DIR \"/polkit-1/actions\"")) + ;; Set the setuid helper's real location. + (substitute* "src/polkitagent/polkitagentsession.c" + (("PACKAGE_PREFIX \"/lib/polkit-1/polkit-agent-helper-1\"") + "\"/run/setuid-programs/polkit-agent-helper-1\"")))))) (build-system gnu-build-system) - (inputs - (list expat linux-pam elogind mozjs nspr)) - (propagated-inputs - (list glib)) ; required by polkit-gobject-1.pc - (native-inputs - (list pkg-config - `(,glib "bin") ;for glib-mkenums - intltool - gobject-introspection - libxslt ;for man page generation - docbook-xsl)) ;for man page generation + (inputs (list expat linux-pam elogind mozjs nspr)) + (propagated-inputs (list glib)) ;required by polkit-gobject-1.pc + (native-inputs (list pkg-config + `(,glib "bin") ;for glib-mkenums + intltool + gobject-introspection + libxslt ;for man page generation + docbook-xsl)) ;for man page generation (arguments - `(#:configure-flags '("--sysconfdir=/etc" - "--enable-man-pages" - ;; Prevent ‘configure: error: cannot check for - ;; file existence when cross compiling’. - ,@(if (%current-target-system) - '("--with-os-type=unknown") - '())) - #:phases - (modify-phases %standard-phases - (add-after - 'unpack 'fix-introspection-install-dir - (lambda* (#:key outputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out"))) - (substitute* (find-files "." "Makefile.in") - (("@INTROSPECTION_GIRDIR@") - (string-append out "/share/gir-1.0/")) - (("@INTROSPECTION_TYPELIBDIR@") - (string-append out "/lib/girepository-1.0/")))))) - (add-after 'unpack 'fix-manpage-generation - (lambda* (#:key inputs #:allow-other-keys) - (let ((xsldoc (string-append (assoc-ref inputs "docbook-xsl") - "/xml/xsl/docbook-xsl-" - ,(package-version docbook-xsl)))) - (substitute* '("docs/man/Makefile.am" "docs/man/Makefile.in") - (("http://docbook.sourceforge.net/release/xsl/current") - xsldoc))))) - (replace - 'install - (lambda* (#:key outputs (make-flags '()) #:allow-other-keys) - ;; Override sysconfdir during "make install", to avoid attempting - ;; to install in /etc, and to instead install the skeletons in the - ;; output directory. - (let ((out (assoc-ref outputs "out"))) - (apply invoke "make" "install" - (string-append "sysconfdir=" out "/etc") - (string-append "polkit_actiondir=" - out "/share/polkit-1/actions") - make-flags))))))) + (list #:configure-flags `(list "--sysconfdir=/etc" "--enable-man-pages" + ;; Prevent ‘configure: error: cannot check for + ;; file existence when cross compiling’. + ,@(if (%current-target-system) + '("--with-os-type=unknown") + '())) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-introspection-install-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (substitute* (find-files "." "Makefile.in") + (("@INTROSPECTION_GIRDIR@") + (string-append out "/share/gir-1.0/")) + (("@INTROSPECTION_TYPELIBDIR@") + (string-append out "/lib/girepository-1.0/")))))) + (add-after 'unpack 'fix-manpage-generation + (lambda* (#:key native-inputs #:allow-other-keys) + (let ((xsldoc (string-append (assoc-ref + native-inputs + "docbook-xsl") + "/xml/xsl/docbook-xsl-" + #$(package-version docbook-xsl)))) + (substitute* '("docs/man/Makefile.am" + "docs/man/Makefile.in") + (("http://docbook.sourceforge.net/release/xsl/current") + xsldoc))))) + (replace 'install + (lambda* (#:key outputs + (make-flags '()) #:allow-other-keys) + ;; Override sysconfdir during "make install", to avoid attempting + ;; to install in /etc, and to instead install the skeletons in the + ;; output directory. + (let ((out (assoc-ref outputs "out"))) + (apply invoke + "make" + "install" + (string-append "sysconfdir=" out "/etc") + (string-append "polkit_actiondir=" out + "/share/polkit-1/actions") + make-flags))))))) (home-page "https://www.freedesktop.org/wiki/Software/polkit/") (synopsis "Authorization API for privilege management") - (description "Polkit is an application-level toolkit for defining and + (description + "Polkit is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes. It is a framework for centralizing the decision making process with respect to granting access to privileged operations -- 2.37.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 04:29:45 2022 Received: (at 57146) by debbugs.gnu.org; 12 Aug 2022 08:29:45 +0000 Received: from localhost ([127.0.0.1]:55572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQ37-00030n-6X for submit@debbugs.gnu.org; Fri, 12 Aug 2022 04:29:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMQ34-00030X-U6 for 57146@debbugs.gnu.org; Fri, 12 Aug 2022 04:29:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMQ2z-0004uM-FR; Fri, 12 Aug 2022 04:29:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=f6NuLbU2PAbMxwD7oj6b7OnSaBL1OJSqrA5fnOSv2eM=; b=g0t4fP7N3kMNQRiqHEW5 WDbCR3lH6dud5nv+r/JFcfjwqTzJJH1fYcPRgNpMZWT+o58mKrYGJ3QRCaWnYPh1h4n36Hr6mmeta yYgbH/EjIfMqk2QMT1/auj0YLWyp1+SMTAgxro135F0bDRdotq20izBD5utU50utyrKJ9usmHPFa3 BIApXne5AikaEGbqALC/TIPU6a+1WD91flRQVB1QQELN0W6l1yUoaMgnAvfvqZ8PVXyh14DPSLk1e KWEsUWLbo4PRUgDdZWuwX5LCZ7aHL+X6NeW5KkSxKXZAo4n6q0J9shjXSvkalYKdZuoBTxezfDKE6 IVsG78lvQRK8hg==; Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:51306 helo=meije) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMQ2z-00052h-2a; Fri, 12 Aug 2022 04:29:37 -0400 From: Mathieu Othacehe To: Andrew Patterson Subject: Re: bug#57146: [PATCH] gnu: polkit: Fix cross-compiling References: <20220811231100.22090-1-andrewpatt7@gmail.com> Date: Fri, 12 Aug 2022 10:29:34 +0200 In-Reply-To: <20220811231100.22090-1-andrewpatt7@gmail.com> (Andrew Patterson's message of "Thu, 11 Aug 2022 19:11:00 -0400") Message-ID: <87bksp27bl.fsf@gnu.org> 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57146 Cc: 57146@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 Andrew, > The polkit package used to refer to docbook-xsl via inputs rather native = inputs, > which obviously doesn't work when cross-compiling. Thanks for working on that. It looks like this patch is breaking host compilation: --8<---------------cut here---------------start------------->8--- error: in phase 'fix-manpage-generation': uncaught exception: wrong-type-arg "string-append" "Wrong type (expecting ~A): ~S" ("string" #f= ) (#f)=20 phase `fix-manpage-generation' failed after 0.0 seconds Backtrace: 9 (primitive-load "/gnu/store/k2p4qxc23g871rm5q50bcx45f3m=E2=80= =A6") In guix/build/gnu-build-system.scm: 906:2 8 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) --8<---------------cut here---------------end--------------->8--- Also you are doing a lot of things at the same time: fixing indentation, introducing gexps, fixing cross-compilation. It would be great if you could do that in separate patches to ease the review process. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 05:43:17 2022 Received: (at 57146) by debbugs.gnu.org; 12 Aug 2022 09:43:17 +0000 Received: from localhost ([127.0.0.1]:55689 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMRCH-0004xZ-K5 for submit@debbugs.gnu.org; Fri, 12 Aug 2022 05:43:17 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:59467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMRCD-0004xH-12 for 57146@debbugs.gnu.org; Fri, 12 Aug 2022 05:43:16 -0400 Date: Fri, 12 Aug 2022 09:42:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeandudey.tech; s=protonmail3; t=1660297385; x=1660556585; bh=Md/6M5Tj4vgLxD8kGRehyrTrtFUzZW01ERm3Pow1Law=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=HUWAOp5IZgwDrEBIs19HtGP0s5yfgdKsHTuiQtcQkl/QacNeDZGz7x4RKutkQgS0h kOtR9XvLjCkOavBNH0WTmle2fyv9uUrLHTvsRvq2V7C2RNei8M+npRwZfjbKmef0ma abtrvMpjdtMrT2QDzAYof0Gr6OYPAx3puvOoi7v3uQxOCbjaAz+SJr7TyC/nony4wY qsVUcUn5VSwY0mnHD0z6bGdGjJRX5psxy56E2G10mYMCPD89UbdIzQuV+9th5WzPqj 5Yk6ZM5umXrCFWxMx6B51xndoFlCh6hp8PRuF5cfeewphGBLVZGJPF+dnbv2qhOsqB RgKirlwa0liQg== To: "57146@debbugs.gnu.org" <57146@debbugs.gnu.org> From: Jean Pierre De Jesus DIAZ Subject: [PATCH] gnu: polkit: Fix cross-compiling Message-ID: Feedback-ID: 20187791:user:proton 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: 57146 Cc: Mathieu Othacehe , "andrewpatt7@gmail.com" 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: , Reply-To: Jean Pierre De Jesus DIAZ Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This issue is already solved: https://issues.guix.gnu.org/56252 >Pushed to 'staging' in 7767d30f55, thanks! Was fixed for both polkit-mozjs and polkit-duktape. =E2=80=94 Jean-Pierre De Jesus DIAZ From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 05:57:22 2022 Received: (at 57146) by debbugs.gnu.org; 12 Aug 2022 09:57:22 +0000 Received: from localhost ([127.0.0.1]:55700 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMRPu-0005Lm-Dt for submit@debbugs.gnu.org; Fri, 12 Aug 2022 05:57:22 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:37623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMRPs-0005LY-1b for 57146@debbugs.gnu.org; Fri, 12 Aug 2022 05:57:20 -0400 Date: Fri, 12 Aug 2022 09:57:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeandudey.tech; s=protonmail3; t=1660298233; x=1660557433; bh=K8smlakWLfoVQOj/kQXuItAgIoGMeBqq7hniSVqb3zM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=TUMudVDrKQ1kSfkgZJrng+gHiW2u6du/Za5RpSWmtPVZXRC81i7lq8LacisA8G/Yx Vuk/vubsYjyQZAVqca43CuuJk6KuqEAcQePcUvbvjHucMNm9XDIwIpcWTbGtU7+Sd8 9/RBZX0BSCjBGpAty1/+OieWOazyHDcDal53qcQUokuQ2gSRnqyWhtB1MwxpVAOV6D fGDqESZ1h5DdtWEQnHa2LuALXQtoms9mewt5gEVc9/GA0v+5YjPrJkJnjNqDXGxcQk lUupKQbMnNhkirlsZVzSN1iJ92yP2+kLcuO5IfYyVJgf56LtCqKGRajJ2xIne6NnZK 9o/ok9DWDqAag== To: "57146@debbugs.gnu.org" <57146@debbugs.gnu.org> From: Jean Pierre De Jesus DIAZ Subject: Re: [PATCH] gnu: polkit: Fix cross-compiling Message-ID: In-Reply-To: References: Feedback-ID: 20187791:user:proton 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: 57146 Cc: Mathieu Othacehe , "andrewpatt7@gmail.com" 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: , Reply-To: Jean Pierre De Jesus DIAZ Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) However, the patch to introduce G-Expressions is welcome as I did only fix the inputs/native-inputs usage. >+ (let ((out (assoc-ref outputs "out"))) Can be removed probably, and replace `out' here: >+ (string-append "sysconfdir=3D" out "= /etc") >+ (string-append "polkit_actiondir=3D"= out >+ "/share/polkit-1/acti= ons") By #$output. But, rethinking it again, I would investigate if this phase can be removed and instead use `#:make-flags' if possible directly as make-flags can be specified as a G-Expression. >+ (lambda* (#:key outputs #:allow-other-keys) >+ (let ((out (assoc-ref outputs "out"))) >+ (substitute* (find-files "." "Makefile.in") >+ (("@INTROSPECTION_GIRDIR@") >+ (string-append out "/share/gir-1.0/")) >+ (("@INTROSPECTION_TYPELIBDIR@") >+ (string-append out "/lib/girepository-1.= 0/")))))) Same here. And then: >+ (lambda* (#:key outputs #:allow-other-keys) Is just then: --8<---------------cut here---------------start------------->8--- (lambda _ ...) --8<---------------cut here---------------start------------->8--- >+ (list #:configure-flags `(list "--sysconfdir=3D/etc" "--enable-man-p= ages" >+ ;; Prevent =E2=80=98configure: error:= cannot check for >+ ;; file existence when cross compilin= g=E2=80=99. >+ ,@(if (%current-target-system) >+ '("--with-os-type=3Dunknown") >+ '())) G-Expressions can be used here too, e.g: --8<---------------cut here---------------start------------->8--- (list #:configure-flags #~(list "--sysconfdir=3D/etc" "--enable-man-pages" ;; Prevent =E2=80=98configure: error: cannot= check for ;; file existence when cross compiling= =E2=80=99. #$@(if (%current-target-system) '("--with-os-type=3Dunknown") '())) --8<---------------cut here---------------start------------->8--- =E2=80=94 Jean-Pierre De Jesus DIAZ ------- Original Message ------- On Friday, August 12th, 2022 at 11:42 AM, Jean Pierre De Jesus DIAZ wrote: > This issue is already solved: >=20 > https://issues.guix.gnu.org/56252 >=20 > > Pushed to 'staging' in 7767d30f55, thanks! >=20 >=20 > Was fixed for both polkit-mozjs and polkit-duktape. >=20 > =E2=80=94 > Jean-Pierre De Jesus DIAZ From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 17:27:34 2022 Received: (at 57146) by debbugs.gnu.org; 12 Aug 2022 21:27:34 +0000 Received: from localhost ([127.0.0.1]:59061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMcBp-00077r-Us for submit@debbugs.gnu.org; Fri, 12 Aug 2022 17:27:34 -0400 Received: from mail-qk1-f175.google.com ([209.85.222.175]:39561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMcBo-00077b-Ih for 57146@debbugs.gnu.org; Fri, 12 Aug 2022 17:27:33 -0400 Received: by mail-qk1-f175.google.com with SMTP id t11so1744253qkt.6 for <57146@debbugs.gnu.org>; Fri, 12 Aug 2022 14:27:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:from:to:cc; bh=hDx0zgXch9mnrdlkSrHCi7fGf8S4A43ZqabxntQj+b0=; b=pL7qmwNManrKduZLwGkC4a9PoqKeNuD6GHHNaj6n4C3hJoFzMIDo5wUWB/rTec27w9 CK78JgB4dWu/Ci507Roc8vSuRc4IP1Y0IkK14tbJED+nOwkaTSZm+CoE3Nbca1is3mu0 a612gHZ5OqovqXl1oFMKKwnvsOkcIuOUVENfGLHCdTSjGpgfdRSvyW8bAxsJb/OY9NgD OlxB4yA7FWSp9NzCa5dBTiUIU7lAvRsuOlUCpN/ybTaP1wNL4ft0YP15aUXB4xEw2t6U xqjnhclDx3sBhWE184fBk8HGpDzvGsEuCQgeYSSOZVD43YORj0lI1T243QY5Jt7cCF0I EkrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:in-reply-to:date :subject:cc:to:from:user-agent:references:x-gm-message-state:from:to :cc; bh=hDx0zgXch9mnrdlkSrHCi7fGf8S4A43ZqabxntQj+b0=; b=YGToZOPisb9x+l7zZjQtyIA0DmlWTkKiWEixsGsW5L+BSLxeORvGJPEn8znb0v3jTe mr+Z4vD6AJWtJi0yptjlpItK5cUPsluqaWqdEfAVZXWI9OqU0Z8jXeJM2aIY8U8V7LuP fEe5Gou3NVyb4HJdMs/vx4ghjfYZssKVUBMfY3MamdniPFd1DI+ycYbCMwaEL5m8y42K orCE1Nlh+oDWxaFSZ08kYyA0mjlhAI59MGadMj5ATuR2Gbb2VfnMMVZCT1Tu7Ma35agd Axn2WmdxyrWw1djKCNCh3VVjyr+67r9tJJHrmH000pC7qUr7yoznyPUpaufYELxQJnwp a7mA== X-Gm-Message-State: ACgBeo3eb3oN+0G1m0KX7/YSsQEwJCsHYqjfsg2AP3x1XmpONCUeIakD WoTTgr/spAfV1UaVc74RjUR/m6IKXdw= X-Google-Smtp-Source: AA6agR5eclxzhS50qoKtmkrbZU7PvpUlBL7biMPrmUYq97uoiqQXoBulwGMje5QoUmGhzmiV9MW9bg== X-Received: by 2002:a37:42d7:0:b0:6b9:ba92:e712 with SMTP id p206-20020a3742d7000000b006b9ba92e712mr4402774qka.582.1660339646763; Fri, 12 Aug 2022 14:27:26 -0700 (PDT) Received: from kalantha ([204.111.132.134]) by smtp.gmail.com with ESMTPSA id bp19-20020a05622a1b9300b00342fdc4004fsm2286569qtb.52.2022.08.12.14.27.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 14:27:26 -0700 (PDT) References: <20220811231100.22090-1-andrewpatt7@gmail.com> <87bksp27bl.fsf@gnu.org> User-agent: mu4e 1.8.7; emacs 28.1.90 From: Andrew Patterson To: Mathieu Othacehe Subject: Re: bug#57146: [PATCH] gnu: polkit: Fix cross-compiling Date: Fri, 12 Aug 2022 17:24:39 -0400 In-reply-to: <87bksp27bl.fsf@gnu.org> Message-ID: <87ilmxnoea.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 57146 Cc: 57146@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: -0.8 (/) > Thanks for working on that. It looks like this patch is breaking=20 > host > compilation: > > error: in phase 'fix-manpage-generation': uncaught exception: > wrong-type-arg "string-append" "Wrong type (expecting ~A): ~S"=20 > ("string" #f) (#f)=20 > phase `fix-manpage-generation' failed after 0.0 seconds > Backtrace: > 9 (primitive-load=20 > "/gnu/store/k2p4qxc23g871rm5q50bcx45f3m=E2=80=A6") > In guix/build/gnu-build-system.scm: > 906:2 8 (gnu-build #:source _ #:outputs _ #:inputs _=20 > #:phases . #) Huh. Looking at Jean Pierre's patch, apparently native-inputs=20 only exists when cross-compiling, good to know. > Also you are doing a lot of things at the same time: fixing=20 > indentation, > introducing gexps, fixing cross-compilation. It would be great=20 > if you > could do that in separate patches to ease the review process. I'll make sure to keep that in mind in the future, sorry. --=20 Andrew Patterson From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 17:43:47 2022 Received: (at 57146) by debbugs.gnu.org; 12 Aug 2022 21:43:47 +0000 Received: from localhost ([127.0.0.1]:59077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMcRV-0007Wh-47 for submit@debbugs.gnu.org; Fri, 12 Aug 2022 17:43:47 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:38511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMcRP-0007WQ-FJ for 57146@debbugs.gnu.org; Fri, 12 Aug 2022 17:43:43 -0400 Received: by mail-qv1-f45.google.com with SMTP id l8so1545335qvr.5 for <57146@debbugs.gnu.org>; Fri, 12 Aug 2022 14:43:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc; bh=0Y+lNZ+0unEBLjHXV4sbx9WUJ1wSxHSJDR1ZaNL4TGM=; b=By/9GAJJaTMcECnwv3B9goPr7OhZ9doXNOgpA6cofix6lm0lVZuxBXVKthrxR1ljBh T+af2ZU6XxdrdXTzRNdsh8DcnJatPD/3aNHx4eam6JoN3lT9agW+mEPG0YzSvb8sSw/d cXGHZCOedSyvzVaUyNowzy6+zcJQBM1Dpq1nzmRVDz+YbkXoa5Nb+p/F4lgerHcifW5M soefPK4awe0b/yT0pB5E71LXngkdjyMUAt3S2xjsaixmpqpgqzOybyzC+ftGaD5vmZIH FznAPcgjvS12Ex5U9byEITWqDi9QlnRRos47LMegmPCQO4RLy1G5Z2Wbz786rs0Sia9V lvKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc; bh=0Y+lNZ+0unEBLjHXV4sbx9WUJ1wSxHSJDR1ZaNL4TGM=; b=LYqOQpdL6b5Ol/cDrvH8VJqc6N7R0H+yNZUbrba8h5+9ItyxIwNN1mWxJvhCJr7iY/ BWXOK0X6AulFHBT0KUKEkhyOX5KdovlZkrDrjBYHefIXx2DFssWF2EozR9jVfDkxH+hJ A2wMkggIyJ3s+S8b3nEI8CWYBdUW2ezDw80phcW4IEeFYuC5ubqEvKAqHdGP/5dbjBRr pHjHHOQJ6HRzOlZNVZrGOGCN9SiQ6+UsnY7mhJ4DO8K8AJbeJ/hIumcF5A/+7krtPT/v hy2/V8jUX+sBV9K1gXBqyd+zEW2ma07WRlTnI6D3KtgU00HaludrAcyIshsGWvWsWDFb tyUA== X-Gm-Message-State: ACgBeo2owo6Ceyaa8S2qRpJp2K2r8A/I8mSWvjIWgxe6APzV7K75qtTe lr6LqPAQ1BclC0fhq5I6rU8= X-Google-Smtp-Source: AA6agR6EvD9KgEb/IF+uh4vSOSNhsbYkFx6Sy8PFRnkXQozZ67XhGPZJ8b9BS6/k3CVYKE71epCJmw== X-Received: by 2002:ad4:5bc6:0:b0:477:34c5:c6cb with SMTP id t6-20020ad45bc6000000b0047734c5c6cbmr5051762qvt.55.1660340613778; Fri, 12 Aug 2022 14:43:33 -0700 (PDT) Received: from kalantha ([204.111.132.134]) by smtp.gmail.com with ESMTPSA id f8-20020a05620a15a800b006b928ba8989sm2459592qkk.23.2022.08.12.14.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 14:43:33 -0700 (PDT) References: User-agent: mu4e 1.8.7; emacs 28.1.90 From: Andrew Patterson To: Jean Pierre De Jesus DIAZ Subject: Re: [PATCH] gnu: polkit: Fix cross-compiling Date: Fri, 12 Aug 2022 17:27:58 -0400 In-reply-to: Message-ID: <87edxlnnnf.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 57146 Cc: Mathieu Othacehe , "57146@debbugs.gnu.org" <57146@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: -0.8 (/) Thanks for the suggestions! I'll try and work on this some. Should I continue sending patches in this thread, or start a new one? -- Andrew Patterson From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 18:49:12 2022 Received: (at 57146) by debbugs.gnu.org; 12 Aug 2022 22:49:12 +0000 Received: from localhost ([127.0.0.1]:59224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMdSp-0000ql-Nd for submit@debbugs.gnu.org; Fri, 12 Aug 2022 18:49:11 -0400 Received: from mail-4022.proton.ch ([185.70.40.22]:28763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMdSj-0000qB-BL for 57146@debbugs.gnu.org; Fri, 12 Aug 2022 18:49:10 -0400 Date: Fri, 12 Aug 2022 22:48:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeandudey.tech; s=protonmail3; t=1660344538; x=1660603738; bh=u3+zCktQtO4REf17h2SrkX+f89GmKSEVx3ZN+wHKcpM=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=Yyvb8nxuuhit6zWF37DhHSx7FBUoM3VuWa5odZ1TO6BcBe20gnKsCs1dEa+MtzbZF YZtqzeH3wbSEDQfkGreq7dDcXRUi5W5c+SoML5YiArfmF3OFNSXGtViuTodr63mOMG 58lEF01QAw7jOAiXrCE/OrWvxzGf2YB3b6XgK3hEp3gdXUHmh+s33do2HipPC3dAfo gx5lMoyE/Tc9CZyKzZRP6RfhmASsPFZmnvQkVozi/3+gzUdW0vBhypXxKYoU3FqhHC QUVSJg2ux72Ch5y+gpRzQ8TWwOPTh+jrkaoWVXwdASYeHXJA/UCBinOA1qyJvbf8ij O5qGPJWruWQfg== To: andrewpatt7@gmail.com From: Jean Pierre De Jesus DIAZ Subject: Re: [PATCH] gnu: polkit: Fix cross-compiling Message-ID: In-Reply-To: <87edxlnnnf.fsf@gmail.com> References: <87edxlnnnf.fsf@gmail.com> Feedback-ID: 20187791:user:proton MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="b1_kFLkGbicyQyhCJeT60vvkXNIwCkSPC92VLupHmrhdTo" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57146 Cc: othacehe@gnu.org, 57146@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: , Reply-To: Jean Pierre De Jesus DIAZ Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is a multi-part message in MIME format. --b1_kFLkGbicyQyhCJeT60vvkXNIwCkSPC92VLupHmrhdTo Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 T24gdGhpcyBzYW1lIHRocmVhZCBieSByZXBseWluZyB0byA1NzE0NkBkZWJidWdzLmdudS5vcmcK LS0tLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLS0tLQpPbiBBdWcgMTIsIDIwMjIsIDIzOjI3 LCBBbmRyZXcgUGF0dGVyc29uIHdyb3RlOgoKPiBUaGFua3MgZm9yIHRoZSBzdWdnZXN0aW9ucyEg SSdsbCB0cnkgYW5kIHdvcmsgb24gdGhpcyBzb21lLiBTaG91bGQgSSBjb250aW51ZSBzZW5kaW5n IHBhdGNoZXMgaW4gdGhpcyB0aHJlYWQsIG9yIHN0YXJ0IGEgbmV3IG9uZT8gLS0gQW5kcmV3IFBh dHRlcnNvbg== --b1_kFLkGbicyQyhCJeT60vvkXNIwCkSPC92VLupHmrhdTo Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 T24gdGhpcyBzYW1lIHRocmVhZCBieSByZXBseWluZyB0byA1NzE0NkBkZWJidWdzLmdudS5vcmc8 YnI+LS0tLS0tLS0gT3JpZ2luYWwgTWVzc2FnZSAtLS0tLS0tLTxicj5PbiBBdWcgMTIsIDIwMjIs IDIzOjI3LCBBbmRyZXcgUGF0dGVyc29uIDwgYW5kcmV3cGF0dDdAZ21haWwuY29tPiB3cm90ZTo8 YmxvY2txdW90ZSBjbGFzcz0icHJvdG9ubWFpbF9xdW90ZSI+PGJyPlRoYW5rcyBmb3IgdGhlIHN1 Z2dlc3Rpb25zISAgSSdsbCB0cnkgYW5kIHdvcmsgb24gdGhpcyBzb21lLg0KDQpTaG91bGQgSSBj b250aW51ZSBzZW5kaW5nIHBhdGNoZXMgaW4gdGhpcyB0aHJlYWQsIG9yIHN0YXJ0IGEgbmV3DQpv bmU/DQoNCi0tDQpBbmRyZXcgUGF0dGVyc29uDQo8L2Rpdj4= --b1_kFLkGbicyQyhCJeT60vvkXNIwCkSPC92VLupHmrhdTo-- From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 06:07:17 2022 Received: (at 57146) by debbugs.gnu.org; 14 Aug 2022 10:07:17 +0000 Received: from localhost ([127.0.0.1]:35976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNAWb-0005Bd-8a for submit@debbugs.gnu.org; Sun, 14 Aug 2022 06:07:17 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]:37629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNAWY-0005BP-Te for 57146@debbugs.gnu.org; Sun, 14 Aug 2022 06:07:16 -0400 Date: Sun, 14 Aug 2022 10:06:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeandudey.tech; s=protonmail3; t=1660471628; x=1660730828; bh=qDmgsU2ATSntfrgVS+fpNJiyoMKbV1Tcm+Fd08Buh8k=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=JqnbaiP5cg1ngkCYhkub6BNtshxEBfXsj+3HWGAQM2VCcaD1euNYj6SEM5PWx5G3X OxcMOZPlpmeHoaGT9O0Yafj4FLbflqOrGRFQi+GO9w/U2pmJddrXOMFDS97rxExFJ6 u+yoR5+RI5/he3UE52xAhdhw+hhL1wY9kCm9eIfpWCdSCvCPFAuue9TUE8kq8E1LTZ GnMGd2uK+bXjOxpqIR4BxE7RuqVM7HuJt8nlhU3e+sEXGcj08+REHg/+dTyGbx8Lw6 WUHMJMnilKX6kkiAicqGUoPfz+XTAhoDrUu7xXT/9gTAJTxaufvHNXWZEsB/h7Y8TP hieNSW3weNWRA== To: andrewpatt7@gmail.com From: Jean Pierre De Jesus DIAZ Subject: Re: [PATCH] gnu: polkit: Fix cross-compiling Message-ID: In-Reply-To: References: <87edxlnnnf.fsf@gmail.com> Feedback-ID: 20187791:user:proton 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: 57146 Cc: othacehe@gnu.org, 57146@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: , Reply-To: Jean Pierre De Jesus DIAZ Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Don't know what happened that made my mail send an empty message :). Yes you can send the updated patch to this same thread at: 57146@debbugs.gnu.org =E2=80=94 Jean-Pierre De Jesus DIAZ ------- Original Message ------- On Saturday, August 13th, 2022 at 12:48 AM, Jean Pierre De Jesus DIAZ wrote: > On this same thread by replying to 57146@debbugs.gnu.org > -------- Original Message -------- > On Aug 12, 2022, 23:27, Andrew Patterson < andrewpatt7@gmail.com> wrote: >=20 > >=20 > > Thanks for the suggestions! I'll try and work on this some. Should I co= ntinue sending patches in this thread, or start a new one? -- Andrew Patter= son From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 03 17:23:55 2023 Received: (at 57146) by debbugs.gnu.org; 3 Jan 2023 22:23:55 +0000 Received: from localhost ([127.0.0.1]:46971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCphL-0007pZ-6P for submit@debbugs.gnu.org; Tue, 03 Jan 2023 17:23:55 -0500 Received: from mail-qt1-f170.google.com ([209.85.160.170]:36671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCphJ-0007pK-68 for 57146@debbugs.gnu.org; Tue, 03 Jan 2023 17:23:53 -0500 Received: by mail-qt1-f170.google.com with SMTP id v14so22960769qtq.3 for <57146@debbugs.gnu.org>; Tue, 03 Jan 2023 14:23:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=FR0mBo7zIWPc7Rjy45ePJ2R6UdKpoWcO+4lq9RI2k7w=; b=B+CYqsBT9xHSdi2f9tsszxOXeQibzM+AaYTB0FZe25jvqlbJMrT6RgHGi98dAi+EQc S4ttwThL1v4GICu6EBkIgBui0qs3WIigQaPvgAdm1RP3byeObzob4apTX0eym9TfNsc+ rlXiGfv5Od0aGyaFXZ+igTqWcABHNp92sb4vTQO3hSKj+siN5HNqfvoaTpynls+dH5mb 1Sm6uowAU26OCPewcT8oTSEQF2Lh8I7RTHrRzMFKc8itg9CKSzkKko36To4nvGojjxWV 70yVpqN9NcH1oDeg/v08bZbSZf1wkE6d2B1J2TNRzYKVftttDx1FCh3SYc/QBzfeLILI MCtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FR0mBo7zIWPc7Rjy45ePJ2R6UdKpoWcO+4lq9RI2k7w=; b=PNBY2Y4EGuttCdkizXo3zvpSozwD+nZd/RtwXP1PwQM/6fYB+zmIZBxXjO50/9EKIz nULktVa2RRhLv574lv9Gzg9rgLoT8YpHicWBMFBGpv7/+XwzYp40zrShFs4naRD/Rs+Q D/SuJnSrB/SW+RcGKoySGkkUUDuPLOIFjYRZxfgFRyIfiRJvfNYIBHZwXZJ5jez2jQfk z5jgRTd23iOzSpc8t/7CgEgp8kM1g88ZHfV116JqNJYB9/OKexxE+9TH6djgHFrCVarm Rgvi/RajKHvgtra4cGcMn7i76o2HSz04saYsm43pwxx93y42VsXsNNC/38QUsa68GSAJ hcmw== X-Gm-Message-State: AFqh2kpMzWyJu+6s6+vlhMoI5a0GOazMmmVk1j0D1LbTbnZn0noqbadR uRk/oz+O8+M1bBIpqarqOvm3JV7hh7nYPcJl X-Google-Smtp-Source: AMrXdXvEeVA4o75IPGhhMB445oEV/g3dz2/TsiEOkcwoH0cnhZfK7oOSIKPijQYg2BZOYPrr3Ib4bA== X-Received: by 2002:ac8:5383:0:b0:3a9:81f0:d8e9 with SMTP id x3-20020ac85383000000b003a981f0d8e9mr62263416qtp.68.1672784627713; Tue, 03 Jan 2023 14:23:47 -0800 (PST) Received: from hurd (dsl-10-135-221.b2b2c.ca. [72.10.135.221]) by smtp.gmail.com with ESMTPSA id h10-20020ac8548a000000b003a8163c1c96sm19266962qtq.14.2023.01.03.14.23.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 14:23:47 -0800 (PST) From: Maxim Cournoyer To: Andrew Patterson Subject: Re: bug#57146: [PATCH] gnu: polkit: Fix cross-compiling References: <87edxlnnnf.fsf@gmail.com> Date: Tue, 03 Jan 2023 17:23:46 -0500 In-Reply-To: <87edxlnnnf.fsf@gmail.com> (Andrew Patterson's message of "Fri, 12 Aug 2022 17:27:58 -0400") Message-ID: <874jt7z28d.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57146 Cc: Jean Pierre De Jesus DIAZ , Mathieu Othacehe , "57146@debbugs.gnu.org" <57146@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 (-) Hi Andrew, Andrew Patterson writes: > Thanks for the suggestions! I'll try and work on this some. > > Should I continue sending patches in this thread, or start a new one? Is there still something that needs fixing here, or can we close this? -- Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 03 17:23:59 2023 Received: (at control) by debbugs.gnu.org; 3 Jan 2023 22:23:59 +0000 Received: from localhost ([127.0.0.1]:46974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCphP-0007pp-FG for submit@debbugs.gnu.org; Tue, 03 Jan 2023 17:23:59 -0500 Received: from mail-qt1-f175.google.com ([209.85.160.175]:41971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCphO-0007pR-0f for control@debbugs.gnu.org; Tue, 03 Jan 2023 17:23:58 -0500 Received: by mail-qt1-f175.google.com with SMTP id c7so25722448qtw.8 for ; Tue, 03 Jan 2023 14:23:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=hgUcjH0Pe0SmSi5A2XdjoWZhl76yC3vIG31mgPJaUSI=; b=UhS60Mw/30mm/wwDh9uRyrnKfRgTfa23F7Hevp4VSUozPcx5hFStgqMzMUrdbKLZon jNgOiEmNfiOEvPa41XqhkDGoO6wgCw1k/ZFE/se62quak/ixjSyswULIv1iPTMQpzKdf SoWFJSQ7Se9c8Foa2Ny336jzOTpn5x181aFqeVE+uep4nZS8l6o9qYpTxkJochgaBUyZ ZyuE5temvp0IxqiSm1KtvMNSd7Jx0DXQZDUmkx6sOqWMP9p6Kemp6Mrn23AGvKq8pIa2 auIPQL+YtI3HN7+vEUSxf59p8c2W+6csuh9OgMKTlvKEyKRG7zwu1T8g88PB/yLgS4rZ PeEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hgUcjH0Pe0SmSi5A2XdjoWZhl76yC3vIG31mgPJaUSI=; b=YkgUIOrE296Rg0TK5YXvT565yli5+VVZvr+EL+86SwyT9XuECgd602JdjexLjWt6fU uyd4cCPlQ2zJx9purUbKcSv4zbVecz7e67yaW5dvO+z8wnbhBuiVymn4hmpiN6u1ku25 EdeFB0O04iCGuEGrZqYrKWUSy0jALVpyqmssC2VzN29BETMJmRh3XQPy/pd0s36JjFnV Y0R2C2myh+nlxuxp1fhp70nUbROW3Pi+0SI8yE6y2PydYAUrqVN2ba44lbtu31pMLXNw qaNUGM1wRNuOaL+ngEU1STQBnHlalWR7qRGlqEzhdV7GhcwgeMD0CxXuxIX7I+AtkiIb jRfA== X-Gm-Message-State: AFqh2kqJKJmsBhR4HekHFqIkJz/K1uj+Ew2Skb6zuSDsc0SBRAXyhmvv xwA3L1fOgHwH30jLUEU4OTRbr8cOE5blznhB X-Google-Smtp-Source: AMrXdXuPhhfMTMYGi32NBTw+JJMgiuigUt9o4sB5Pk6OH8/O9HI1Nf6tAdrp2SuU50WmAEXWZHI1+g== X-Received: by 2002:ac8:776f:0:b0:3a7:f3f0:483 with SMTP id h15-20020ac8776f000000b003a7f3f00483mr57065527qtu.60.1672784632493; Tue, 03 Jan 2023 14:23:52 -0800 (PST) Received: from hurd (dsl-10-135-221.b2b2c.ca. [72.10.135.221]) by smtp.gmail.com with ESMTPSA id gc11-20020a05622a59cb00b003a50d92f9b4sm19559581qtb.1.2023.01.03.14.23.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 14:23:52 -0800 (PST) Date: Tue, 03 Jan 2023 17:23:51 -0500 Message-Id: <87358rz288.fsf@gmail.com> To: control@debbugs.gnu.org From: Maxim Cournoyer Subject: control message for bug #57146 X-Spam-Score: 0.0 (/) 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: -1.0 (-) tags 57146 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 03 23:29:06 2023 Received: (at 57146) by debbugs.gnu.org; 4 Jan 2023 04:29:06 +0000 Received: from localhost ([127.0.0.1]:47261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCvOk-0007VA-46 for submit@debbugs.gnu.org; Tue, 03 Jan 2023 23:29:06 -0500 Received: from mail-qt1-f180.google.com ([209.85.160.180]:40950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCvOf-0007Ub-24 for 57146@debbugs.gnu.org; Tue, 03 Jan 2023 23:29:04 -0500 Received: by mail-qt1-f180.google.com with SMTP id jr11so26419529qtb.7 for <57146@debbugs.gnu.org>; Tue, 03 Jan 2023 20:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=SOyHzbKzTvMb9Qj6RWbK4FXb1hPc6BwhY1Av729j7uo=; b=aY+8TFLytYnls6LXjrr2QPNQftoDxd8bcL51zRmgkc7nTaBNySvDi6N7W9sXpCpi5z vAi0eEuxDC3vFwToYo1BAK8Yo7yXfq7r7j+0EZgEKfrr8HnNWlEGI27EbI5EEFbDSsRe VOXk1PusPPaS8MFyvxG/NXKYV6rgqhdVYIa+fFsV53QV4vS+SBnhfjxA7Tq8R8bh4MMl nVa17tIOdS/t2eKwSTdVUgVg7gtVir78Q1AkW1Mak/J+ESa0svBWgifgIdHfMsCQLe/E mFaExcV1FOAFG/avOJJihAgLbFPL3DUFljwlUsHWMetgTbzlLQvPM00X5I8/QcbJSiir OjtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:in-reply-to:date:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SOyHzbKzTvMb9Qj6RWbK4FXb1hPc6BwhY1Av729j7uo=; b=zYzZrLCyZCf7arKolkRLNcXLbv19XPEgiznEAM5hLvdfNh/IeXi93pCdjqAucwv3QF CBkdoXcGQe42C4ZWfk1P2Z2bN2MOzg30MwOTcLKDbMo74fkDDu4xDoE2YSCuh3rPC116 ++lS5jwMHdptlwg4y+EHUJYaXmActvpCge+dtbBqChX4GWRN9LtoLcyyxx/Gu+FFREGi rcj2ov3uNZAkQwAVb2ZQXDExh53rkfFMOov6tVuyTCpjhedlRp6g445BZ0ImJmFkrb+2 3ff+gBuzebLgPAMr2R4pkoGU01+jBAFenVhgV0oPTz2oYWI0tr/f3T2MpLLMxWuDBG5f G9/w== X-Gm-Message-State: AFqh2kpOk3HuwpR96tLkPGo1/V9rkSABLbtScgkgD4xIotsvvkp3r/hp pvmh6UmBSRubluFVoYm9SQsheWihYlQ= X-Google-Smtp-Source: AMrXdXtM3Rnsz5Vyt0FmoswhcxwlcA3bLLUnaDg3fQMI7f0pv0HqLiXAmVavBVgCGrp72JUSBSnlYw== X-Received: by 2002:a05:622a:1c06:b0:39c:da20:f7af with SMTP id bq6-20020a05622a1c0600b0039cda20f7afmr62929862qtb.12.1672806535150; Tue, 03 Jan 2023 20:28:55 -0800 (PST) Received: from river-of-stars ([204.111.132.134]) by smtp.gmail.com with ESMTPSA id t140-20020a37aa92000000b006fc8fc061f7sm22999580qke.129.2023.01.03.20.28.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 20:28:54 -0800 (PST) References: <87edxlnnnf.fsf@gmail.com> <874jt7z28d.fsf_-_@gmail.com> User-agent: mu4e 1.8.11; emacs 29.0.50 From: Andrew Patterson To: Maxim Cournoyer Subject: Re: bug#57146: [PATCH] gnu: polkit: Fix cross-compiling Date: Tue, 03 Jan 2023 23:19:42 -0500 In-reply-to: <874jt7z28d.fsf_-_@gmail.com> Message-ID: <871qoakjne.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 57146 Cc: Jean Pierre De Jesus DIAZ , Mathieu Othacehe , "57146@debbugs.gnu.org" <57146@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: -0.7 (/) I haven't needed to cross-compile any guix images recently, but `guix build --target=aarch64-linux-gnu polkit-duktape` on an x86_64 machine just completed successfully, so I don't think there's any issue still here? -- Andrew Patterson From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 04 00:16:27 2023 Received: (at 57146-done) by debbugs.gnu.org; 4 Jan 2023 05:16:27 +0000 Received: from localhost ([127.0.0.1]:47296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCw8Z-0000Hk-CQ for submit@debbugs.gnu.org; Wed, 04 Jan 2023 00:16:27 -0500 Received: from mail-qt1-f170.google.com ([209.85.160.170]:40475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pCw8U-0000HT-UJ for 57146-done@debbugs.gnu.org; Wed, 04 Jan 2023 00:16:25 -0500 Received: by mail-qt1-f170.google.com with SMTP id jr11so26471214qtb.7 for <57146-done@debbugs.gnu.org>; Tue, 03 Jan 2023 21:16:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=pkxbIQqAPdXv8uLEPvOyMQLxhw1RCMKYE/qJLZI1QjI=; b=mzXIAczCljGNkDRxeah+yf5eM3exC8ujQWuW+69i7tFS8jsakwLxGQe5xxWWsfJW0d vTsHSa7QDk7u9BtfEk7RuD6S12irmKz2tpejfuMxekA4WdhJqKezzyFAAfh900tRIIGy VNgx7PFlu41DfFhFQMCLmxpmfpdQb79OmWw/i65QMZz+xYPbkz58MtW2fb2jzVC0dTcK 26w8keGdlOmnK13DgBSiyOKDTNLyuqFo+uk+NPp1zkCTT7R+M9/iOXTZs4B4DVfxW51M wvq+0tnUAw1cq7ILppi5CyS0fhj1OxTVlI0ny3cL41oS1aEMav5FU6ZKW0/KAvbHh+Km qpqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pkxbIQqAPdXv8uLEPvOyMQLxhw1RCMKYE/qJLZI1QjI=; b=nhdeGTCbCE8yPX6cWDusIjyNwDrngamp8yY9iO0uQt6D7mVzSbuvqiygUl6fy8q30r h/NCLX67BFi+H5rGxslVsSfE1sh3uZakZ0kJVXfhvguRKh3XzKInouubFnr0lWINVz0l WWk7Qf4trc3HOWK95cJoI96uY1TGc7vwEy9DhG4swREu/0thEUsrN5ZP7m/ULpb9e0Xk vWr+YUUoNghDtk7Y9iBMe9CF0YnZB/Bbu5NIHwCHd4jzw2MVmNnTDcKl/KxPLemRyb4e w56avR9S+EIpeiXWuAoEsoCBRGbKCnAgruB3i724wmzRoCP0P9flkeL9QzJmeGXRRUEz MPHQ== X-Gm-Message-State: AFqh2kp76FLaTw9H05yRo/bTp2VL3OPq66SzXDK8XmoD7QzHrD40vGX2 5lSRRaQ0KGjWXUZlL3ZzUtiGcpnRBhSU9vqg X-Google-Smtp-Source: AMrXdXu+ktShBELx0QOQUmHRNdNJdqonwNSpY7KliNw1wxf0S6nWntwgFYgfkxQlwpxsZ9GKDLF+Og== X-Received: by 2002:ac8:675a:0:b0:3a8:2e:ea22 with SMTP id n26-20020ac8675a000000b003a8002eea22mr62939926qtp.44.1672809377317; Tue, 03 Jan 2023 21:16:17 -0800 (PST) Received: from hurd (dsl-10-135-221.b2b2c.ca. [72.10.135.221]) by smtp.gmail.com with ESMTPSA id e7-20020ac84907000000b003a580cd979asm19851294qtq.58.2023.01.03.21.16.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 21:16:16 -0800 (PST) From: Maxim Cournoyer To: Andrew Patterson Subject: Re: bug#57146: [PATCH] gnu: polkit: Fix cross-compiling References: <87edxlnnnf.fsf@gmail.com> <874jt7z28d.fsf_-_@gmail.com> <871qoakjne.fsf@gmail.com> Date: Wed, 04 Jan 2023 00:16:15 -0500 In-Reply-To: <871qoakjne.fsf@gmail.com> (Andrew Patterson's message of "Tue, 03 Jan 2023 23:19:42 -0500") Message-ID: <87edsax4kg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 57146-done Cc: Jean Pierre De Jesus DIAZ , Mathieu Othacehe , "57146@debbugs.gnu.org" <57146-done@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 (-) Hi, Andrew Patterson writes: > I haven't needed to cross-compile any guix images recently, but `guix > build --target=aarch64-linux-gnu polkit-duktape` on an x86_64 machine > just completed successfully, so I don't think there's any issue still > here? Thanks for checking. I'll close the issue. It can be reopen if somethig w.r.t. cross-compilation and polkit is amiss. -- Thanks, Maxim From unknown Sat Jun 14 19:26:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 01 Feb 2023 12:24:10 +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