GNU bug report logs - #61889
[PATCH] gnu: Add mairix. (WIP)

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Martin Marshall <law@HIDDEN>; Keywords: patch; dated Wed, 1 Mar 2023 03:56:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 61889 <at> debbugs.gnu.org:


Received: (at 61889) by debbugs.gnu.org; 10 Mar 2023 23:29:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 10 18:29:57 2023
Received: from localhost ([127.0.0.1]:56127 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pamBR-0005Qf-DP
	for submit <at> 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 <law@HIDDEN>) id 1pamBP-0005QN-Ri
 for 61889 <at> 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 <at> 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 <at> 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 <law@HIDDEN>
To: 61889 <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add mairix.
Date: Fri, 10 Mar 2023 18:29:46 -0500
Message-ID: <875yb8kwwl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 61889
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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@HIDDEN


--=-=-=
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")

--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#61889; Package guix-patches. Full text available.

Message received at 61889 <at> debbugs.gnu.org:


Received: (at 61889) by debbugs.gnu.org; 1 Mar 2023 04:02:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 28 23:02:54 2023
Received: from localhost ([127.0.0.1]:52368 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pXDg6-0006xg-1I
	for submit <at> 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 <law@HIDDEN>) id 1pXDg5-0006xV-1B
 for 61889 <at> 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 <at> 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 <law@HIDDEN>
To: Martin Marshall <law@HIDDEN>
Subject: Re: [PATCH] gnu: Add mairix. (WIP)
In-Reply-To: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@HIDDEN>
 (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@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 61889
Cc: 61889 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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@HIDDEN




Information forwarded to guix-patches@HIDDEN:
bug#61889; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Mar 2023 03:55:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 28 22:55:44 2023
Received: from localhost ([127.0.0.1]:52342 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pXDZ9-0006jq-VN
	for submit <at> 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 <law@HIDDEN>) id 1pXDZ8-0006jj-NH
 for submit <at> 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 <law@HIDDEN>)
 id 1pXDZ8-0001vU-Bx
 for guix-patches@HIDDEN; 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 <law@HIDDEN>)
 id 1pXDZ6-0000D4-FG
 for guix-patches@HIDDEN; Tue, 28 Feb 2023 22:55:42 -0500
Received: by mail-ot1-x335.google.com with SMTP id
 l13-20020a0568301d6d00b0068f24f576c5so6843336oti.11
 for <guix-patches@HIDDEN>; 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 <law@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add mairix. (WIP)
Date: Tue, 28 Feb 2023 22:55:23 -0500
Message-Id: <60c8c3a5840d45d2d6b8be492498d8150705f37b.1677642780.git.law@HIDDEN>
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@HIDDEN; 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 <law@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
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





Acknowledgement sent to Martin Marshall <law@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#61889; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 10 Mar 2023 23:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.