From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id sAoBCOF/3GYoJgEAqHPOHw:P1 (envelope-from ) for ; Sat, 07 Sep 2024 16:31:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sAoBCOF/3GYoJgEAqHPOHw (envelope-from ) for ; Sat, 07 Sep 2024 18:31:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=t5cpswPZ; dmarc=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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725726688; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=5H9ooErvpSTQIUhLnCft617B9P+cv47Fn6rA2uR1KnA=; b=RsbNC6bwk58sezN54wsuIdfCqyZpOTLo1NksKFmOumdGNUg8791wata4LtPVN2TssrYlJx G6DQRwtK9DL02Y2f/meZmoEU1RxoJ+5WT7U5QTJO0QHdyD2QnQ7B/xq7wEy/hY8zf6qSFq RZTc7/gZWfjBVZ38179GtmW9YkkFc0GwKAEIFEj26ko5PIDhwSwMZZ0YQ32Wg67GosPZPg QAv+ppeVEQ9f6N3CGiaaEi+MlRqaLwsx/2aHm0uNgm4OSdSqLYz77cZRPeTNe1ozK71a1x QqhYD8WRkn1krFPQuNus1X0NRzra/jsZo0lqH0pBV3jaiDZH9nbKAOlrnAZ6Wg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725726688; a=rsa-sha256; cv=none; b=ccM63NZr2USro/kyi0aUw1Gi2eTm7T66S8BR0wAJZLVqh+tJKEvgmtzTGx0p+cV/jhdT7V AsNQ2/KF/HM9b26jHpvugxT8lLt4PuqrYEraF3T37rcpPgFv3Kd21i3nHMJSmIiajgUp4K w+33adW7Ito0PC4KjVRJUg9GxYA5Kpitje9ZpEWZIUC0qbx/A1xPXJMzGrJHXJPPaaecjy S047of2rt7zV+/j+d0qZRf2APsvgh28pgZf2VCx+yjA2G11irX2FrNEGrQywDxKnu7EFqR C2dN8GDPnq9WNCqCBryPcdjX/lrgfs/JQy2wTkcy1ytvSzfMtsdmY/9xr8PJtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=t5cpswPZ; dmarc=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" 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 8F48380C98 for ; Sat, 7 Sep 2024 18:31:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smyL1-0004cH-Ry; Sat, 07 Sep 2024 12:31:03 -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 1smyKz-0004bt-P1 for guix-patches@gnu.org; Sat, 07 Sep 2024 12:31:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smyKz-0006Py-GO for guix-patches@gnu.org; Sat, 07 Sep 2024 12:31:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=5H9ooErvpSTQIUhLnCft617B9P+cv47Fn6rA2uR1KnA=; b=t5cpswPZNRV4618rVE4UqM8i3X1iX778gMQzSUNpXdGN3gUlKrytDJxualUQe60gq8rKHl4WE0QjrWaX+vCPiyztQipGaWCPaRMPMczUBpij51GJ7lWry5BLXLpmsjDsgMZrEVhGvQW2LfS79U4wtIjK1hVU/qn/7z/qgUMy6XNj6DKqpTwtdbJA3SweVgqKMkddSYrf9VIyien0Gu7vV9uaqzqX4gTwORBsm+JQX3afEJs3IEQ8nFmGDwT1wsOeIlnq9/5bzDfEAOwMHxhDJiohl7RFAImv9Bi8bwrybLSAXwVBiJCMpxlTdP94tRJ5V8pdgtD4AGhRQ8xp0iuLgA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smyL0-0006Si-5l for guix-patches@gnu.org; Sat, 07 Sep 2024 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72541] [PATCH] gnu: gerbv: Fix missing version. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 07 Sep 2024 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72541 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 72541@debbugs.gnu.org Received: via spool by 72541-submit@debbugs.gnu.org id=B72541.172572663724803 (code B ref 72541); Sat, 07 Sep 2024 16:31:02 +0000 Received: (at 72541) by debbugs.gnu.org; 7 Sep 2024 16:30:37 +0000 Received: from localhost ([127.0.0.1]:57333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyKa-0006Rz-GM for submit@debbugs.gnu.org; Sat, 07 Sep 2024 12:30:37 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160]:46257 helo=roxy.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smyKW-0006Rf-VO for 72541@debbugs.gnu.org; Sat, 07 Sep 2024 12:30:34 -0400 Received: from [185.211.158.4] (helo=laptop) by roxy.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1smyKO-000000001U9-3pzZ; Sat, 07 Sep 2024 19:30:25 +0300 From: Evgeny Pisemsky In-Reply-To: <87frqcwiwg.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 06 Sep 2024 23:51:11 +0200") References: <87sevdoqh8.fsf@pisemsky.site> <87frqcwiwg.fsf@gnu.org> Date: Sat, 07 Sep 2024 19:30:23 +0300 Message-ID: <87plpfo28w.fsf@pisemsky.site> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Scanned-By: ClamAV 0.101.4; Sat, 07 Sep 2024 19:30:25 +0300 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 8F48380C98 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.52 X-Spam-Score: -10.52 X-TUID: 28m5VcMFm4SQ --=-=-= Content-Type: text/plain Hello! The problem is certainly in this script or its environment, since the only place where version can come from is this line in configure.ac: AC_INIT([gerbv], [m4_esyscmd(utils/git-version-gen.sh 2.10.0)]) This gave me the idea to do substitution there to avoid running it. As for wrong flag, I suggest just removing it. Alter these changes gerbv builds and works fine for me. Updated patch attached. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-gerbv-Fix-missing-version.patch Content-Transfer-Encoding: quoted-printable >From 5bc5612026d51a2614b29668addf0f8de0aefe76 Mon Sep 17 00:00:00 2001 Message-ID: <5bc5612026d51a2614b29668addf0f8de0aefe76.1725723700.git.mail@p= isemsky.site> From: Evgeny Pisemsky Date: Sat, 7 Sep 2024 18:40:06 +0300 Subject: [PATCH] gnu: gerbv: Fix missing version. * gnu/packages/engineering.scm (gerbv): Fix missing version. [source]: Change indentation. [arguments]: Remove wrong configure flags, avoid running git version genera= tor. Change-Id: I29a38fff03127d9ce2b5e04ca638dacfc3720125 --- gnu/packages/engineering.scm | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 26f47dbf9d..d2e524a7f8 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -27,7 +27,7 @@ ;;; Copyright =C2=A9 2021 Ivan Gankevich ;;; Copyright =C2=A9 2021, 2022 Petr Hodina ;;; Copyright =C2=A9 2021 Foo Chuan Wei -;;; Copyright =C2=A9 2022 Evgeny Pisemsky +;;; Copyright =C2=A9 2022, 2024 Evgeny Pisemsky ;;; Copyright =C2=A9 2022 Olivier Dion ;;; Copyright =C2=A9 2022 Peter Polidoro ;;; Copyright =C2=A9 2022 Malte Frank Gerdes @@ -837,18 +837,24 @@ (define-public gerbv (package (name "gerbv") (version "2.10.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gerbv/gerbv") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "06bcm5zw7whsnnmfld3gl2j907lxc68gnsbzr2pc4w6qc923rgmj")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gerbv/gerbv") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06bcm5zw7whsnnmfld3gl2j907lxc68gnsbzr2pc4w6qc923rgmj")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("CFLAGS=3D-fcommon"))) + (list + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'avoid-git-version-gen + (lambda _ + (substitute* "configure.ac" + (("utils/git-version-gen.sh") + "echo -n"))))))) (native-inputs (list autoconf automake desktop-file-utils base-commit: 18d02443e1ec37779ee3cf63f9aaff1746bfdd8e --=20 2.45.2 --=-=-=--