From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4EpHJP2xmGTBNwEASxT56A (envelope-from ) for ; Sun, 25 Jun 2023 23:30:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mFZHJP2xmGR23gAAauVa8A (envelope-from ) for ; Sun, 25 Jun 2023 23:30:37 +0200 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 6DC4CE141 for ; Sun, 25 Jun 2023 23:30:37 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDXIY-0000PB-BH; Sun, 25 Jun 2023 17:29:30 -0400 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 1qDXI7-0008Oo-CC for guix-patches@gnu.org; Sun, 25 Jun 2023 17:29:04 -0400 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 1qDXI6-0003qL-NY for guix-patches@gnu.org; Sun, 25 Jun 2023 17:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDXI6-0004q5-IA; Sun, 25 Jun 2023 17:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64287] [PATCH 3/9] gnu: eye: Fix build. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: andreas@enge.fr, efraim@flashner.co.il, bavier@posteo.net, guix-patches@gnu.org Resent-Date: Sun, 25 Jun 2023 21:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64287 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64287@debbugs.gnu.org Cc: Sharlatan Hellseher , Andreas Enge , Efraim Flashner , Eric Bavier X-Debbugs-Original-Xcc: Andreas Enge , Efraim Flashner , Eric Bavier Received: via spool by 64287-submit@debbugs.gnu.org id=B64287.168772852018508 (code B ref 64287); Sun, 25 Jun 2023 21:29:02 +0000 Received: (at 64287) by debbugs.gnu.org; 25 Jun 2023 21:28:40 +0000 Received: from localhost ([127.0.0.1]:43808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDXHk-0004oP-0h for submit@debbugs.gnu.org; Sun, 25 Jun 2023 17:28:40 -0400 Received: from mail-wm1-f49.google.com ([209.85.128.49]:52362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDXHb-0004n7-6g for 64287@debbugs.gnu.org; Sun, 25 Jun 2023 17:28:34 -0400 Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-3f9bece8d1bso33384695e9.0 for <64287@debbugs.gnu.org>; Sun, 25 Jun 2023 14:28:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687728505; x=1690320505; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Hpc6VzG01diOfSboyj11sAHOunsDs6ncEUFvzwyaOzk=; b=VhWglmvvMHoUJfnzY0JvTi7a/0lZWOctz1xueALPRsO0Cf65RHgThEvjJb6My5MK0J OeIf+PaUa2BXzJxE5TxyeoM0uErYhjmsNJ0ISujKCnop09u8Bkrc4ha35/ELXfq9yOpS zC5vi/8cW3V6OKV1FNIic1EOdF5itP2axpfNFLiOt4chtf9OwksAm1V2lRRHmnld6Xs8 6aYkB2g+NB0nr/qcWOhaw0fpH+jm9S2+kChL3mZssnuAGSz2JX6Di3X7V6NqUw+NaIlQ Y6F8NYLRXu5B6Ee4lxu14/HHDPKIedyrGhrnziIO0bjG4/q084OqcjhEXf058shp48bM kEFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687728505; x=1690320505; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Hpc6VzG01diOfSboyj11sAHOunsDs6ncEUFvzwyaOzk=; b=Y/xkyStYSKuWFSzOMfCuNf+1sRq7m836MTxGqAbTiM1SpKaruUuZEH92emsaq/EBUq oqMJ6ZQPR8xQzyuc6kiGUm4xEYb3cWOyQHCo7/BDGkqiNWKUZZLkww2PkJx8slVVgB+L IFXR4kXcyZCtxg7dTAREk1GgP5s21yPjb3/kfmmP6Jf2myO2omLtv8SXCc2A/DrXztaJ nB1KRR7WUTsgV+xy9sqLNh2mUfeMK5XR6pn0KBctKlLUoY05foEuofc8ULAqewM6MSTk X9uTy1BaLFdkQc4TPly801CWUCsqPHtIggo1Ut9cV5uUTj6PotuRkoI7016o4p2gG9KG Uxtg== X-Gm-Message-State: AC+VfDzdTG9Y/UdeEWxL/zzYRm4eXp8qTliaz1aPzQsDIxaiK9OPjPaM lnxphhiBna4+UHPu7ULIONMgjPCq7PA= X-Google-Smtp-Source: ACHHUZ4YYVpr5rm9yzmJsTi5B04/1Q3jvC3ubPMPQCWTrU4jSmkH/UTrAoz5E+yhpuZOWCbefrC/DA== X-Received: by 2002:a7b:c405:0:b0:3fa:97b3:7ce0 with SMTP id k5-20020a7bc405000000b003fa97b37ce0mr349313wmi.26.1687728505429; Sun, 25 Jun 2023 14:28:25 -0700 (PDT) Received: from guxtil.incerto.xyz (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id o23-20020a05600c379700b003f8f884ebe5sm5766923wmr.2.2023.06.25.14.28.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Jun 2023 14:28:25 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 25 Jun 2023 22:28:15 +0100 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687728637; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Hpc6VzG01diOfSboyj11sAHOunsDs6ncEUFvzwyaOzk=; b=n6xAxiAzbDLISFBupqMG5PmHFVWT/pX1xo4qShT1cKiLWd3zsd+cmKvgk62KoDfH5e5a1S RaPXgsBqJ0aRjtWz+36F/2LBMviX5un6vJwphc4l4sb1EUa9S7WMUye+8Ku2U3oTsmcq7u flwqF/Pqa9DxXtdjNQ5RraQzCME/g28eGl+FponrhxWmtKQQRherozIfbrulVr3mBTRrce IT1UX/neOkpzoxru/C8x9p8PgIRKCbuTHjYpGPcbfJ/AZ18VxxFyevQSlqeemh+D/vZwbs BMO6C6xyNpmM82wf1ADbLf3NgRDPTRkllhCg6n70BYSSSgDzXdT2CEaZhcSaUA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=VhWglmvv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687728637; a=rsa-sha256; cv=none; b=oIFmGcb2s63Vy7vUVIdvSQrKUafV6V2r/2b1KElwXqXEKAe3XOCvKz3N8N332LUN8DyEkr g6YSHcurP4/CYGl0VYZiDcPAA64VB5XXfuxvQaNKaT48gFl8LWPETwn7X4FySxS2piay4m phB2Id+qgoBNcXpTkJ+Pu6SG1hnAbkzQKiXBW7k5YA6MtfMWaVHLQA2eWSamuVgSJAhGlA y2QhULS3gox5zqG9ED2y69Tb11twu3BcZ0fSUICXJTwMR+a+1/NIK4aVd5zAw+6IT/s1LO aGNgQ3Xms2rGdZ2exgsbIia7ceSz+jlw4q7n6zkVRVCnlpbCBkFyGRzE5q5PRA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=VhWglmvv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 6DC4CE141 X-Spam-Score: -0.65 X-TUID: Rh6VgC/DRRAC * gnu/packages/astronomy.scm (eye): Fix build. [source]: Swap to 'git-fetch [arguments]: Add CPPFLAGS to pass build with GCC 10. --- gnu/packages/astronomy.scm | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 17bc4ed7d7..326a9a170e 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -579,12 +579,21 @@ (define-public eye (version "1.4.1") (source (origin - (method url-fetch) - (uri (string-append "https://www.astromatic.net/download/eye/" - "eye-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/astromatic/eye") + (commit version))) (sha256 - (base32 "092qhzcbrkcfidbx4bv9wz42w297n80jk7a6kwyi9a3fjfz81d7k")))) + (base32 "1j8rpgz3fjp6fw0qmxgfqycf3n01fzxds4w12vgyrhbnk658ia41")) + (file-name (git-file-name name version)))) (build-system gnu-build-system) + (arguments + (list + #:configure-flags + #~(list + ;; Address this link error: + ;; ld: ... multiple definition of ... first defined here + "CPPFLAGS=-O2 -g -fcommon"))) (home-page "https://www.astromatic.net/software/eye") (synopsis "Small image feature detector using machine learning") (description -- 2.40.1