From patchwork Wed Mar 1 03:55:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Marshall X-Patchwork-Id: 47497 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5C66616CA6; Wed, 1 Mar 2023 03:56:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BB15816CA3 for ; Wed, 1 Mar 2023 03:56:19 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXDZT-00020C-Rx; Tue, 28 Feb 2023 22:56:04 -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 1pXDZS-0001zo-Ku for guix-patches@gnu.org; Tue, 28 Feb 2023 22:56:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXDZS-0000GE-15 for guix-patches@gnu.org; Tue, 28 Feb 2023 22:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pXDZR-0006kP-MN for guix-patches@gnu.org; Tue, 28 Feb 2023 22:56:01 -0500 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")