From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ILfvM+PM/mOm8AAAbAwnHQ (envelope-from ) for ; Wed, 01 Mar 2023 04:56:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gDSaM+PM/mPKhAAAauVa8A (envelope-from ) for ; Wed, 01 Mar 2023 04:56:19 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 865D72E2FE for ; Wed, 1 Mar 2023 04:56:19 +0100 (CET) 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 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-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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677642979; a=rsa-sha256; cv=none; b=E5V4kgXBK2li/PBSRdvU6A8rbtlR8LUpQdHwVte00cOZOu4Cq56t62/ncgL/CBfrzG1D+g yFdJd45qF4OqCFByCgIwLVhtkPjTwe1vuCjkkQw9HlJI5/SV5eLGsncmhtU/jmIRwMzid4 jP4fH4mF1kTij2tA3c50hbA5HqpmSjyfXyISXkToQ31AURklpPqzaTL3aO20LsEH3rFs+y g9ERgKNmrgvncDKTCmMRC9weqtFWH7UK17oKM1ooJgSxYXnaGQHujpStgwXxdvkoc5hLmE 6PWMLCEMFNCsACs3g7KoASKFL/A0AdgEzskt+Waam082X03I0zwKgWHEqr9U5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=martinmarshall-com.20210112.gappssmtp.com header.s=20210112 header.b=liGO7VW9; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677642979; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=3hf4QelEolSe51AKrHnuWcrM+LNEOpi9ZoqJJy4yNYk=; b=PBBIpVCWbCT9fqS3WeXHZO189BM6rdtwwy171vIFh8ShmkpYP2OjytVaAy3WoqUO7WFr4u 8ASZwYu3nQ1qCzA43XBEfLFx8lOCSEemmFrt9Ww9Rk4NBs7hYgTEl9XzsWBYjs7QeRJLfN SjtKqA4MRV2eeHhWbjmecyDCPsjmhJcURb5CAk5ft4lwy/PMZ5P2oZlwMQ+sb6iXl0PTWX Nms6Bz8yvG6LaZGBVgkB5tYMggLcTbf98G5feDc7nHE0tfbIHfsJCKApVWVTFw+Y0X8yRq usGMQKYD3y3qA6Kd9KEcLu5gTSfiuht7ibpMqYgsitjcJfLlx1tRgvJIw5iyGg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.61 X-Spam-Score: 0.61 X-Migadu-Queue-Id: 865D72E2FE Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=martinmarshall-com.20210112.gappssmtp.com header.s=20210112 header.b=liGO7VW9; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: wvPIH2EaLVyT * 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