all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#68036: pcb2gcode does not build
@ 2023-12-25 22:35 Evgeny Pisemsky
  2024-07-03 13:50 ` bug#68036: pcb2gcode build fix Evgeny Pisemsky
  2024-07-04  7:00 ` bug#68036: Sorry Evgeny Pisemsky
  0 siblings, 2 replies; 3+ messages in thread
From: Evgeny Pisemsky @ 2023-12-25 22:35 UTC (permalink / raw
  To: 68036

[-- Attachment #1: Type: text/plain, Size: 69 bytes --]

Its configure script can't find libgerbv, which is listed in inputs.

[-- Attachment #2: The build log. --]
[-- Type: application/octet-stream, Size: 20087 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#68036: pcb2gcode build fix
  2023-12-25 22:35 bug#68036: pcb2gcode does not build Evgeny Pisemsky
@ 2024-07-03 13:50 ` Evgeny Pisemsky
  2024-07-04  7:00 ` bug#68036: Sorry Evgeny Pisemsky
  1 sibling, 0 replies; 3+ messages in thread
From: Evgeny Pisemsky @ 2024-07-03 13:50 UTC (permalink / raw
  To: 68036

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

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.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-pcb2gcode-Fix-build.patch --]
[-- Type: text/x-patch, Size: 1861 bytes --]

From 2f73c340abf3df2690b3778cbf0eb1de7a63ab33 Mon Sep 17 00:00:00 2001
Message-ID: <2f73c340abf3df2690b3778cbf0eb1de7a63ab33.1720013503.git.mail@pisemsky.site>
From: Evgeny Pisemsky <mail@pisemsky.site>
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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#68036: Sorry
  2023-12-25 22:35 bug#68036: pcb2gcode does not build Evgeny Pisemsky
  2024-07-03 13:50 ` bug#68036: pcb2gcode build fix Evgeny Pisemsky
@ 2024-07-04  7:00 ` Evgeny Pisemsky
  1 sibling, 0 replies; 3+ messages in thread
From: Evgeny Pisemsky @ 2024-07-04  7:00 UTC (permalink / raw
  To: 68036

Looks like I accidentally spammed bug tracker:

- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71930
- https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71931

My previous message to this report did not show up for a long time, so
I created a new one, but screwed up subject and thought it was a
reason for not receiving acknowledgement, so I filed another one.

And now all three of them suddenly appeared.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-04  9:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-25 22:35 bug#68036: pcb2gcode does not build Evgeny Pisemsky
2024-07-03 13:50 ` bug#68036: pcb2gcode build fix Evgeny Pisemsky
2024-07-04  7:00 ` bug#68036: Sorry Evgeny Pisemsky

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.