From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eBzrFhJqhmb6gQEA62LTzQ:P1 (envelope-from ) for ; Thu, 04 Jul 2024 09:23:30 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eBzrFhJqhmb6gQEA62LTzQ (envelope-from ) for ; Thu, 04 Jul 2024 11:23:30 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-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=1720085010; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=km2FqqrXEfD+onjrgLwq5wcojJKQAwjbuK/l0LkPsMc=; b=g/OQX8WzbjWfYcxv4Y5B0XXRmzSjAN9qLMbXm6qHR+hNjpSYjygBcb4CZQh2WdTByXZIIH TNm8qrqmV8PDdzy1iKzJmmXbXJ8Zk2H3BsdDwAv7FfWx5CEG2HE+9gDkTXzSMGSCgtDDIh 2IccuIz/YvXDatXhvTeT11VdCr2BCm6ntBkfvCn6TWY5BvQcFLWx9vF0A0KgCoGLqcahU9 sO+JH+SR6wN5PBrjm9iX09gurAJNpO/bFcloSTqh9qNhIpx3m0z+LS23bXxD9ZJ4GOGhGB 98DhT0ZK8ppxDoyGhu3Tms2EBPkhaSrGa7VNAXMduvpuY/AGuCUg76R+4IajjQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720085010; a=rsa-sha256; cv=none; b=JMp5L4hP5T1yPdPDC/FrsrSAkJA1w/xK8Ay3AGJkVEHrl1tsLYeGA7eQElWDrqi5vEJLBU e1dl34WZyffc5i6sB1M5b6wGhd4xpgXqsdjvHod4GjSYx2s9KtnLZ/tU2pfAadeuHKLWaI TEOkcb4qKPqSIbmSscmJDqBH3Jeo5PTJaIMWKfWvIc/trA6jJRRF9DBVkpmH7CkbXAXeUi zrUbsKoLCYVkgNQBiEouTrtVtoZ7be5AEnri7JleychedS9HXQudI1hCoUvPClHPfyFPSF OYALFSLGtpAUfHoS8Lory/1lIVbyfkIIan5Aaff1q7n00SCK6zuS2FEj086gJw== 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 0268C74A6D for ; Thu, 4 Jul 2024 11:23:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sPIg4-00009W-Fo; Thu, 04 Jul 2024 05:22:56 -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 1sPEHH-0003Qg-MY for bug-guix@gnu.org; Thu, 04 Jul 2024 00:41:03 -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 1sPEHG-0007uz-E1 for bug-guix@gnu.org; Thu, 04 Jul 2024 00:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sPEHI-0000Sz-Hy for bug-guix@gnu.org; Thu, 04 Jul 2024 00:41:04 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#68036: pcb2gcode build fix References: <87plyt3o7b.fsf@pisemsky.com> In-Reply-To: <87plyt3o7b.fsf@pisemsky.com> Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 Jul 2024 04:41:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68036 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 68036@debbugs.gnu.org Received: via spool by 68036-submit@debbugs.gnu.org id=B68036.17200680291680 (code B ref 68036); Thu, 04 Jul 2024 04:41:04 +0000 Received: (at 68036) by debbugs.gnu.org; 4 Jul 2024 04:40:29 +0000 Received: from localhost ([127.0.0.1]:41193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sPEGi-0000R1-BK for submit@debbugs.gnu.org; Thu, 04 Jul 2024 00:40:29 -0400 Received: from roxy-shared.hosting.energy ([137.74.182.160]:33060 helo=roxy.hosting.energy) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sP0NX-0001Xo-3S for 68036@debbugs.gnu.org; Wed, 03 Jul 2024 09:50:36 -0400 Received: from [185.211.158.231] (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 1sP0NR-000000005On-1ocB for 68036@debbugs.gnu.org; Wed, 03 Jul 2024 16:50:29 +0300 From: Evgeny Pisemsky Date: Wed, 03 Jul 2024 16:50:25 +0300 Message-ID: <87plruvb32.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; Wed, 03 Jul 2024 16:50:29 +0300 X-Mailman-Approved-At: Thu, 04 Jul 2024 00:40:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 04 Jul 2024 05:22:52 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -5.09 X-Migadu-Queue-Id: 0268C74A6D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.09 X-TUID: Xg4WW4IAaGlF --=-=-= Content-Type: text/plain Found two issues - unspecified version in pkgconfig of gerbv and some incompatibility with optional geos library. Related discussions: - https://github.com/gerbv/gerbv/issues/130 - https://github.com/pcb2gcode/pcb2gcode/issues/626 The attached patch fixes those problems. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-pcb2gcode-Fix-build.patch >From 2f73c340abf3df2690b3778cbf0eb1de7a63ab33 Mon Sep 17 00:00:00 2001 Message-ID: <2f73c340abf3df2690b3778cbf0eb1de7a63ab33.1720013503.git.mail@pisemsky.site> From: Evgeny Pisemsky Date: Wed, 3 Jul 2024 15:15:25 +0300 Subject: [PATCH] gnu: pcb2gcode: Fix build. * gnu/packages/engineering.scm (pcb2gcode): Fix build. Change-Id: Id9a167c8859520f6e051c9b5efb4b960d50e4b7b --- gnu/packages/engineering.scm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 64335d89f7..0855f44d13 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -844,7 +844,15 @@ (define-public gerbv "06bcm5zw7whsnnmfld3gl2j907lxc68gnsbzr2pc4w6qc923rgmj")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("CFLAGS=-fcommon"))) + (list + #:configure-flags '(list "CFLAGS=-fcommon") + #:phases #~(modify-phases %standard-phases + (add-after 'install 'fix-pkg-config-version + (lambda* (#:key outputs #:allow-other-keys) + (substitute* (string-append (assoc-ref outputs "out") + "/lib/pkgconfig/libgerbv.pc") + (("^Version:.*$") + (string-append "Version: " #$version "\n")))))))) (native-inputs (list autoconf automake desktop-file-utils @@ -3257,7 +3265,8 @@ (define-public pcb2gcode (build-system gnu-build-system) (inputs (list boost - geos + ;; TODO: Try to build with geos in the following revisions. + ;; geos gerbv glibmm gtkmm-2 base-commit: bab73e413b3421f4aa051e9438d147040a52e1be -- 2.45.2 --=-=-=--