From unknown Sun Aug 10 08:58:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61889] [PATCH] gnu: Add mairix. (WIP) Resent-From: Martin Marshall Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Mar 2023 03:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61889@debbugs.gnu.org Cc: Martin Marshall X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167764294425910 (code B ref -1); Wed, 01 Mar 2023 03:56:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Mar 2023 03:55:44 +0000 Received: from localhost ([127.0.0.1]:52342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXDZ9-0006jq-VN for submit@debbugs.gnu.org; Tue, 28 Feb 2023 22:55:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:38018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXDZ8-0006jj-NH for submit@debbugs.gnu.org; Tue, 28 Feb 2023 22:55:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXDZ8-0001vU-Bx for guix-patches@gnu.org; Tue, 28 Feb 2023 22:55:42 -0500 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXDZ6-0000D4-FG for guix-patches@gnu.org; Tue, 28 Feb 2023 22:55:42 -0500 Received: by mail-ot1-x335.google.com with SMTP id l13-20020a0568301d6d00b0068f24f576c5so6843336oti.11 for ; Tue, 28 Feb 2023 19:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinmarshall-com.20210112.gappssmtp.com; s=20210112; t=1677642938; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3hf4QelEolSe51AKrHnuWcrM+LNEOpi9ZoqJJy4yNYk=; b=liGO7VW9n9vjJ4KACTAcqFPpDhEcM314mwYR7umDvEU3EnJzYWyAimmWjgBUfqDsbQ lWS9KbFZjLKi7X9ntm/FQY67bdth3dsVJMiH82dTbtit3WLAafJbK3WIeqxWbOVQBvi+ XWzK57zbdbIkiVxEeFeY5cbygyYlu/FGWlbZ/fRJVgBw11Rar7YKoqhdOShGpZdtYIep qGxIRok4lBZFHKhPdWuLJ3frVdQB6EDwtTQZG8uUOpnXw11r/wNq32SNv1BV39shps/J N4MmUPBvhckMDga7b+9LyALZlWrYI7vGMsCbClntuYTvzSw5z0jrP/YOMxPFk8hAkJiF InOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677642938; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3hf4QelEolSe51AKrHnuWcrM+LNEOpi9ZoqJJy4yNYk=; b=cM90k1xw5wkzwbZWA9bCKY4jVw8Ls38nkFaX0sdE/6PpeUOSlXSxeNmSEhFVqJ+qLe AJMW97cmYcZLQUwqUNF1binXJok931HKr5UOwJafH3NR3jxqI3YIuLdE/IWXmVg5J71n KXNIRmI0nVKkp1zgbNudA9aSQc8qpmFhPJzzCe5PgZ7H6R8X4LQBsOaWfniUrVO11Alx aZnzWOhia5zFTnnlQd/BLK2OxCuktnmQ0ugN90GjEwMkh5XtkYqsM9Eu0m+qfaL3iUhV ijXvnxI1bVROe7Zj7ToAhAcdeOVziD2LvKct2VNPno7xi1D7aFl6PB88TC2dqnYDYmV7 DCbQ== X-Gm-Message-State: AO0yUKXSYvmDHwK3eXeqjYB/NcNLGa7LAX+EltPlx9CjNn9T9lNesXxV 3zcwINE4GUHNyHoMLbSv4wBXalmYcOtyB1GvxWU= X-Google-Smtp-Source: AK7set+RvtdYAxy98rM0EsL79IEf8amAZO/pK0FzhU5fN+i4Yv1UBeCfe9woGrAXLP5MLnd5+YhFrQ== X-Received: by 2002:a9d:6149:0:b0:690:ddd5:2cea with SMTP id c9-20020a9d6149000000b00690ddd52ceamr2511150otk.15.1677642937879; Tue, 28 Feb 2023 19:55:37 -0800 (PST) Received: from localhost (68-252-220-225.lightspeed.tukrga.sbcglobal.net. [68.252.220.225]) by smtp.gmail.com with ESMTPSA id z10-20020a9d65ca000000b0068d4dda3d61sm4464254oth.39.2023.02.28.19.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 19:55:36 -0800 (PST) From: Martin Marshall Date: Tue, 28 Feb 2023 22:55:23 -0500 Message-Id: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2607:f8b0:4864:20::335; envelope-from=law@martinmarshall.com; helo=mail-ot1-x335.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * gnu/packages/mail.scm (mairix): Add variable --- Greetings, Building with "--system=armhf" fails the check phase. However, building with "--system=i686" or "--system=aarch64" succeeds, as does building without emulation on x86_64. On an actual armhf device running a debian-based OS (a "Beaglebone Black" single-board-computer), compilation via "./configure" and "make" was successful. And all tests passed "make check". But that only proves the upstream source can work on armhf. It doesn't explain why the "make check" fails for armhf on Guix. Any suggestions or fixes for getting this package definition ready to commit would be appreciated. gnu/packages/mail.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 6ef4c6fdab..3cb3b4cc3f 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -408,6 +408,40 @@ (define-public mailutils ;; Libraries are under LGPLv3+, and programs under GPLv3+. (list license:gpl3+ license:lgpl3+)))) +(define-public mairix + (let ((commit "1cc06f4a73ba4b940008c1ffc398d2ac708cd6d6") + (revision "0")) + (package + (name "mairix") + (version (git-version "0.24" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vandry/mairix") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12bhmk5j77cl3vjda48cmdysq1c2yjzvfv6zm4hlky6d5g3l49d7")))) + (build-system gnu-build-system) + (arguments + (list #:parallel-tests? #f + #:phases #~(modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (setenv "LC_ALL" "en_US.UTF-8") + (invoke "./configure" + (string-append "--prefix=" + #$output))))))) + (propagated-inputs (list zlib openssl bzip2 xz)) + (native-inputs (list flex bison)) + (home-page "https://github.com/vandry/mairix") + (synopsis "Program for indexing and searching email messages") + (description + "Mairix is a program for indexing and searching email messages stored in +Maildir, MH, MMDF or mbox folders.") + (license license:gpl2)))) + (define-public go-gitlab.com-shackra-goimapnotify (package (name "go-gitlab.com-shackra-goimapnotify") -- 2.39.1 From unknown Sun Aug 10 08:58:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61889] [PATCH] gnu: Add mairix. (WIP) References: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com> Resent-From: Martin Marshall Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Mar 2023 04:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Martin Marshall Cc: 61889@debbugs.gnu.org Received: via spool by 61889-submit@debbugs.gnu.org id=B61889.167764337426768 (code B ref 61889); Wed, 01 Mar 2023 04:03:01 +0000 Received: (at 61889) by debbugs.gnu.org; 1 Mar 2023 04:02:54 +0000 Received: from localhost ([127.0.0.1]:52368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXDg6-0006xg-1I for submit@debbugs.gnu.org; Tue, 28 Feb 2023 23:02:54 -0500 Received: from mail-qt1-f176.google.com ([209.85.160.176]:35351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXDg5-0006xV-1B for 61889@debbugs.gnu.org; Tue, 28 Feb 2023 23:02:53 -0500 Received: by mail-qt1-f176.google.com with SMTP id y10so8350703qtj.2 for <61889@debbugs.gnu.org>; Tue, 28 Feb 2023 20:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinmarshall-com.20210112.gappssmtp.com; s=20210112; t=1677643367; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=KsEqf1YuzKe+nEfiPOfxIcMNwgerEI2Ze4Li4gVPOHQ=; b=y6vKZkG/6sxlSwz/Qw+9JD6WHiomgZuZig5pOb2R3/mq7NFk8vQIJmm3QkUOOaPM7O f7fWl+Ea+8sd3AKBnsI55o4FqeBigo6V2w8SJYRDcEZrDcyhs4Ys1/tW/WP1/63VZp1M EzFf8Nthf/tApA1Hde4nRiJBEgiaBzEksPe4+RpQTKAJRGSMkJ8q+7z/HEQdwrPdDXdZ XBykfFXZmoyp0eLyOP/gXE0gcWgsm40/7vdSDLgHQ7PHt6zNYyGOC66rcsw/5m3yrHCj BZfGMSuguYX1Lj1Q6+pRyOqjSJnqvOEdpgo7nfFTMPqbJMPRkNw0WaoL/wz9pkPOGZT1 wUPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677643367; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=KsEqf1YuzKe+nEfiPOfxIcMNwgerEI2Ze4Li4gVPOHQ=; b=kxwZWMlP49mmqrxJMkA/ApzxEpSKU1GlO9l194Z/7yq7GmUjSwy2GiRMtQpm+N9WOA Oe/JBP9A6VV5P0HcqJarUZbXNfm8Vvkyln00od0SSdzGwvBdOytenYPFqiFNR6T2An/I 6rywvNPP3XADRlkB9fNtmwNkgXRASLSZ8jPsqVr6B/bKrFhnTbv8zVyyDqYzUXYPbcZO n0jVahn2uRsirzIVIWTDvjbTZgBEE08cag9mV7ibxfWRB7EkVHzjOm+b1DoL4IIDpR+t 7qpwxT9D70SaSXGoz0Gl7WfmwYp14bd2/mk28DXRljtWWOQFX7lY1aW7RJWlAAd5y+sp 5iEA== X-Gm-Message-State: AO0yUKUG2TjRXOLipPaWTPeJhMgT3I3ACGBMpGuWCkKPYRY0/akEJBly RkJ54LNTNIp1xXVqF2qqSUPjL2c7xP127MUZuRI= X-Google-Smtp-Source: AK7set9FINB/32RadTCHTkXpo5ul1v9qWtufoDfrJSO3sw6fP3ERNE54SFQJeowW+bBqyh/yRMhRiw== X-Received: by 2002:ac8:5b01:0:b0:3bf:d1b5:b85e with SMTP id m1-20020ac85b01000000b003bfd1b5b85emr9894762qtw.45.1677643367483; Tue, 28 Feb 2023 20:02:47 -0800 (PST) Received: from localhost (68-252-220-225.lightspeed.tukrga.sbcglobal.net. [68.252.220.225]) by smtp.gmail.com with ESMTPSA id m67-20020a375846000000b00725d8d6983asm7950960qkb.61.2023.02.28.20.02.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 20:02:46 -0800 (PST) From: Martin Marshall In-Reply-To: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com> (message from Martin Marshall on Tue, 28 Feb 2023 22:55:23 -0500) Date: Tue, 28 Feb 2023 23:02:46 -0500 Message-ID: <87bkld3yqh.fsf@martinmarshall.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Correction to the above, "--system=armhf" should read as "--system=armhf-linux", and likewise for the other "--system=" arguments. Best regards. -- Martin Marshall law@martinmarshall.com From unknown Sun Aug 10 08:58:46 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61889] [PATCH] gnu: Add mairix. References: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com> In-Reply-To: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com> Resent-From: Martin Marshall Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Mar 2023 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61889@debbugs.gnu.org Received: via spool by 61889-submit@debbugs.gnu.org id=B61889.167849099720877 (code B ref 61889); Fri, 10 Mar 2023 23:30:02 +0000 Received: (at 61889) by debbugs.gnu.org; 10 Mar 2023 23:29:57 +0000 Received: from localhost ([127.0.0.1]:56127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pamBR-0005Qf-DP for submit@debbugs.gnu.org; Fri, 10 Mar 2023 18:29:57 -0500 Received: from mail-qt1-f181.google.com ([209.85.160.181]:35712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pamBP-0005QN-Ri for 61889@debbugs.gnu.org; Fri, 10 Mar 2023 18:29:56 -0500 Received: by mail-qt1-f181.google.com with SMTP id y10so7633415qtj.2 for <61889@debbugs.gnu.org>; Fri, 10 Mar 2023 15:29:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinmarshall-com.20210112.gappssmtp.com; s=20210112; t=1678490989; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=jQHQ4BKR3aOrWa/WDF/LMT7mkJhk+VbNRivXx+jiUrg=; b=f4lusjqV56MB4yQ6Px6aLYQKdB7i3OhupMx176J2Bycy8EtBuycX0cegBzLgqe9wyb kcGqZOfEZ/Z9ROcQ1rH7BF6K+jOjbmLQcNxPUW829kCos6fnQzua2X7Hez8oG5PvDbuP LA9twaoq6jXPq+m+2v26AR/KwTKo3eJkYUbgzOCwM0nvowJfrrVkkUsksL0neNmtm3d8 60IQp6csnrcjS8bOS7qj7ZZnvWvxmO2w412EpYdR9afb1iahLU6P7+CnMUWnz/x7mx9F v9iULII1YVRkWWYQd05CRYvQ66WwJjzZCSgzWW7R/oV7ZYAVV1DNLdqKl+r7GHdd1I+j XwVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678490989; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jQHQ4BKR3aOrWa/WDF/LMT7mkJhk+VbNRivXx+jiUrg=; b=ozESPiPXpcnU+wiieMLsZWacBExNC9vZsIlUZ6xGv8lC3TrSC2DkLxyT422ZQyh9q5 2iB1UGhZq7IOMbl23CV+Zm/zw2J2+I+COR5AxxVLjtNkne7K3l6YslbpEyB4kflWv/tW 1FpBlNNgeSg3MBLvt8sy9grrAT/y661ooDQH7EYorTC8VpLGc5L5amM3hS0l9zzE6w2q wO3KDYiArnT8bvYjC//8OPTzzU2wEXiS63YSXUhDd7+zz4Q6PYmUiAaM9KVFIpJS/OxM D78Lanp1XnPLiJXpazTar8EYnxl8l3414iV8h3p7PipyZin7vbo6/fPRAnnFVt5oICwo GIUA== X-Gm-Message-State: AO0yUKU+KM7d+8QOV8fclwAvmTsfTE6WKccvzD9hfabUsVwDLdivIxvq vhP5TTS8jACQaM2XOuA3NlEMLPdXPtGqoqdWNmuesQ== X-Google-Smtp-Source: AK7set+d/jPhYuiEPf6fCtYq61TxvGOb/R5yInDYG3NdOv4h+s0bOWJkVqZ2qaW/VGnBZ0NdUth2gQ== X-Received: by 2002:ac8:4e86:0:b0:3bf:c961:9309 with SMTP id 6-20020ac84e86000000b003bfc9619309mr45214807qtp.37.1678490989352; Fri, 10 Mar 2023 15:29:49 -0800 (PST) Received: from localhost (68-252-220-225.lightspeed.tukrga.sbcglobal.net. [68.252.220.225]) by smtp.gmail.com with ESMTPSA id o10-20020ac8428a000000b003b82a07c4d6sm720202qtl.84.2023.03.10.15.29.47 for <61889@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 15:29:47 -0800 (PST) From: Martin Marshall Date: Fri, 10 Mar 2023 18:29:46 -0500 Message-ID: <875yb8kwwl.fsf@martinmarshall.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Per Guix QA, all builds succeed except for "i586-gnu". Still not sure why my system fails the check phase when emulating "armhf-linux". Will attribute to user-error. Attached is an updated patch which builds successfully on my x86_64-linux system. Changes from the original patch: * Moved propagated-inputs to inputs. * Added perl to inputs. * Removed (setenv "LC_ALL" "en_US.UTF-8") from configure phase. * Added (supported-systems ...) at the end to reflect the systems indicated by Guix QA as building correctly. Best regards. -- Martin Marshall law@martinmarshall.com --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-mairix.patch Content-Description: * gnu/packages/mail.scm (mairix): Add variable diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 6ef4c6fdab..95dee43df0 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -408,6 +408,46 @@ (define-public mailutils ;; Libraries are under LGPLv3+, and programs under GPLv3+. (list license:gpl3+ license:lgpl3+)))) +(define-public mairix + (let ((commit "1cc06f4a73ba4b940008c1ffc398d2ac708cd6d6") + (revision "0")) + (package + (name "mairix") + (version (git-version "0.24" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vandry/mairix") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12bhmk5j77cl3vjda48cmdysq1c2yjzvfv6zm4hlky6d5g3l49d7")))) + (build-system gnu-build-system) + (arguments + (list #:parallel-tests? #f + #:phases #~(modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (invoke "./configure" + (string-append "--prefix=" + #$output))))))) + (inputs (list bzip2 + openssl + perl + xz + zlib)) + (native-inputs (list bison + flex)) + (home-page "https://github.com/vandry/mairix") + (synopsis "Program for indexing and searching email messages") + (description + "Mairix is a program for indexing and searching email messages stored in +Maildir, MH, MMDF or mbox folders.") + (license license:gpl2) + (supported-systems (list "x86_64-linux" "i686-linux" "aarch64-linux" + "armhf-linux" "powerpc64le-linux"))))) + (define-public go-gitlab.com-shackra-goimapnotify (package (name "go-gitlab.com-shackra-goimapnotify") --=-=-=-- From unknown Sun Aug 10 08:58:46 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Martin Marshall Subject: bug#61889: closed (Re: [bug#61889] [PATCH] gnu: Add mairix.) Message-ID: References: <87ileehtmo.fsf@nicolasgoaziou.fr> <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com> X-Gnu-PR-Message: they-closed 61889 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 61889@debbugs.gnu.org Date: Sun, 02 Apr 2023 21:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1680470282-11826-1" This is a multi-part message in MIME format... ------------=_1680470282-11826-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61889: [PATCH] gnu: Add mairix. (WIP) which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 61889@debbugs.gnu.org. --=20 61889: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61889 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1680470282-11826-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61889-done) by debbugs.gnu.org; 2 Apr 2023 21:17:19 +0000 Received: from localhost ([127.0.0.1]:42839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj54S-00033b-Ni for submit@debbugs.gnu.org; Sun, 02 Apr 2023 17:17:19 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:41185) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pj54O-00032z-4G for 61889-done@debbugs.gnu.org; Sun, 02 Apr 2023 17:17:03 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 6CCD9E0004; Sun, 2 Apr 2023 21:16:53 +0000 (UTC) From: Nicolas Goaziou To: Martin Marshall Subject: Re: [bug#61889] [PATCH] gnu: Add mairix. References: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com> <875yb8kwwl.fsf@martinmarshall.com> Date: Sun, 02 Apr 2023 23:16:47 +0200 In-Reply-To: <875yb8kwwl.fsf@martinmarshall.com> (Martin Marshall's message of "Fri, 10 Mar 2023 18:29:46 -0500") Message-ID: <87ileehtmo.fsf@nicolasgoaziou.fr> 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.7 (/) X-Debbugs-Envelope-To: 61889-done Cc: 61889-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 (-) Hello, Martin Marshall writes: > Attached is an updated patch which builds successfully on my > x86_64-linux system. Applied. Thank you. > > * Added (supported-systems ...) at the end to reflect the systems > indicated by Guix QA as building correctly. I removed the supported-systems field since it is not strictly necessary here. Regards, -- Nicolas Goaziou ------------=_1680470282-11826-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Mar 2023 03:55:44 +0000 Received: from localhost ([127.0.0.1]:52342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXDZ9-0006jq-VN for submit@debbugs.gnu.org; Tue, 28 Feb 2023 22:55:44 -0500 Received: from lists.gnu.org ([209.51.188.17]:38018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pXDZ8-0006jj-NH for submit@debbugs.gnu.org; Tue, 28 Feb 2023 22:55:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pXDZ8-0001vU-Bx for guix-patches@gnu.org; Tue, 28 Feb 2023 22:55:42 -0500 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXDZ6-0000D4-FG for guix-patches@gnu.org; Tue, 28 Feb 2023 22:55:42 -0500 Received: by mail-ot1-x335.google.com with SMTP id l13-20020a0568301d6d00b0068f24f576c5so6843336oti.11 for ; Tue, 28 Feb 2023 19:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martinmarshall-com.20210112.gappssmtp.com; s=20210112; t=1677642938; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3hf4QelEolSe51AKrHnuWcrM+LNEOpi9ZoqJJy4yNYk=; b=liGO7VW9n9vjJ4KACTAcqFPpDhEcM314mwYR7umDvEU3EnJzYWyAimmWjgBUfqDsbQ lWS9KbFZjLKi7X9ntm/FQY67bdth3dsVJMiH82dTbtit3WLAafJbK3WIeqxWbOVQBvi+ XWzK57zbdbIkiVxEeFeY5cbygyYlu/FGWlbZ/fRJVgBw11Rar7YKoqhdOShGpZdtYIep qGxIRok4lBZFHKhPdWuLJ3frVdQB6EDwtTQZG8uUOpnXw11r/wNq32SNv1BV39shps/J N4MmUPBvhckMDga7b+9LyALZlWrYI7vGMsCbClntuYTvzSw5z0jrP/YOMxPFk8hAkJiF InOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677642938; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3hf4QelEolSe51AKrHnuWcrM+LNEOpi9ZoqJJy4yNYk=; b=cM90k1xw5wkzwbZWA9bCKY4jVw8Ls38nkFaX0sdE/6PpeUOSlXSxeNmSEhFVqJ+qLe AJMW97cmYcZLQUwqUNF1binXJok931HKr5UOwJafH3NR3jxqI3YIuLdE/IWXmVg5J71n KXNIRmI0nVKkp1zgbNudA9aSQc8qpmFhPJzzCe5PgZ7H6R8X4LQBsOaWfniUrVO11Alx aZnzWOhia5zFTnnlQd/BLK2OxCuktnmQ0ugN90GjEwMkh5XtkYqsM9Eu0m+qfaL3iUhV ijXvnxI1bVROe7Zj7ToAhAcdeOVziD2LvKct2VNPno7xi1D7aFl6PB88TC2dqnYDYmV7 DCbQ== X-Gm-Message-State: AO0yUKXSYvmDHwK3eXeqjYB/NcNLGa7LAX+EltPlx9CjNn9T9lNesXxV 3zcwINE4GUHNyHoMLbSv4wBXalmYcOtyB1GvxWU= X-Google-Smtp-Source: AK7set+RvtdYAxy98rM0EsL79IEf8amAZO/pK0FzhU5fN+i4Yv1UBeCfe9woGrAXLP5MLnd5+YhFrQ== X-Received: by 2002:a9d:6149:0:b0:690:ddd5:2cea with SMTP id c9-20020a9d6149000000b00690ddd52ceamr2511150otk.15.1677642937879; Tue, 28 Feb 2023 19:55:37 -0800 (PST) Received: from localhost (68-252-220-225.lightspeed.tukrga.sbcglobal.net. [68.252.220.225]) by smtp.gmail.com with ESMTPSA id z10-20020a9d65ca000000b0068d4dda3d61sm4464254oth.39.2023.02.28.19.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 19:55:36 -0800 (PST) From: Martin Marshall To: guix-patches@gnu.org Subject: [PATCH] gnu: Add mairix. (WIP) Date: Tue, 28 Feb 2023 22:55:23 -0500 Message-Id: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@martinmarshall.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2607:f8b0:4864:20::335; envelope-from=law@martinmarshall.com; helo=mail-ot1-x335.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Martin Marshall 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 (---) * gnu/packages/mail.scm (mairix): Add variable --- Greetings, Building with "--system=armhf" fails the check phase. However, building with "--system=i686" or "--system=aarch64" succeeds, as does building without emulation on x86_64. On an actual armhf device running a debian-based OS (a "Beaglebone Black" single-board-computer), compilation via "./configure" and "make" was successful. And all tests passed "make check". But that only proves the upstream source can work on armhf. It doesn't explain why the "make check" fails for armhf on Guix. Any suggestions or fixes for getting this package definition ready to commit would be appreciated. gnu/packages/mail.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 6ef4c6fdab..3cb3b4cc3f 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -408,6 +408,40 @@ (define-public mailutils ;; Libraries are under LGPLv3+, and programs under GPLv3+. (list license:gpl3+ license:lgpl3+)))) +(define-public mairix + (let ((commit "1cc06f4a73ba4b940008c1ffc398d2ac708cd6d6") + (revision "0")) + (package + (name "mairix") + (version (git-version "0.24" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vandry/mairix") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "12bhmk5j77cl3vjda48cmdysq1c2yjzvfv6zm4hlky6d5g3l49d7")))) + (build-system gnu-build-system) + (arguments + (list #:parallel-tests? #f + #:phases #~(modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (setenv "LC_ALL" "en_US.UTF-8") + (invoke "./configure" + (string-append "--prefix=" + #$output))))))) + (propagated-inputs (list zlib openssl bzip2 xz)) + (native-inputs (list flex bison)) + (home-page "https://github.com/vandry/mairix") + (synopsis "Program for indexing and searching email messages") + (description + "Mairix is a program for indexing and searching email messages stored in +Maildir, MH, MMDF or mbox folders.") + (license license:gpl2)))) + (define-public go-gitlab.com-shackra-goimapnotify (package (name "go-gitlab.com-shackra-goimapnotify") -- 2.39.1 ------------=_1680470282-11826-1--