all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: 70258@debbugs.gnu.org
Subject: bug#70258: FreeCAD dependency probably outdated
Date: Fri, 12 Apr 2024 13:33:38 +0200	[thread overview]
Message-ID: <87zftyg6i5.fsf@elephly.net> (raw)
In-Reply-To: <87bk6lo0a8.fsf@disroot.org>

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

I'm unable to build python-pivy with the suggested changes.  Here is the
actual diff I used:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: pivy.diff --]
[-- Type: text/x-patch, Size: 2723 bytes --]

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 92566abfed..8c8b162b55 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32389,43 +32389,42 @@ (define-public python-retry
 (define-public python-pivy
   (package
     (name "python-pivy")
-    (version "0.6.5")
+    (version "0.6.9.a0")
     (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-               (url "https://github.com/coin3d/pivy")
-               (commit version)))
-        (file-name (git-file-name name version))
-        (sha256
-          (base32 "0vids7sxk8w5vr73xdnf8xdci71a7syl6cd35aiisppbqyyfmykx"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/coin3d/pivy")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "13v9bfmipfhjbwnrl96d82fgb317j2sijgpzhhk02390649qbx6c"))))
     (build-system python-build-system)
     (arguments
-      `(;; The test suite fails due to an import cycle between 'pivy' and '_coin'
-        #:tests? #f
-        #:phases
-        (modify-phases %standard-phases
-          (add-after 'unpack 'patch-cmake-include-dirs
+     `( ;; The test suite fails due to an import cycle between 'pivy' and '_coin'
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-cmake-include-dirs
            (lambda _
-             ;; Patch buildsystem to respect Coin3D include directory
-             (substitute* "CMakeLists.txt"
-                          (("\\$\\{SoQt_INCLUDE_DIRS}")
-                           "${Coin_INCLUDE_DIR};${SoQt_INCLUDE_DIRS}"))
-             #t)))))
+             ;; Patch build system to respect Coin3D include directory
+             (substitute* "interfaces/CMakeLists.txt"
+               (("\\$\\{SoQt_INCLUDE_DIRS\\}")
+                "${Coin_INCLUDE_DIR};${SoQt_INCLUDE_DIRS}")))))))
     (native-inputs
-      (list cmake swig))
+     (list cmake swig))
     (inputs
-      (list python-wrapper
-            qtbase-5
-            libxi
-            libice
-            soqt
-            glew
-            coin3D))
+     (list python-wrapper
+           qtbase-5
+           libxi
+           libice
+           soqt
+           glew
+           coin3D))
     (home-page "https://github.com/coin3d/pivy")
     (synopsis "Python bindings to Coin3D")
     (description
-      "Pivy provides python bindings for Coin, a 3D graphics library with an
+     "Pivy provides python bindings for Coin, a 3D graphics library with an
 Application Programming Interface based on the Open Inventor 2.1 API.")
     (license license:isc)))
 

[-- Attachment #3: Type: text/plain, Size: 787 bytes --]


I get lots of errors like these:

--8<---------------cut here---------------start------------->8---
interfaces/coin_header_includes.h:662: Error: Unable to find 'Inventor/VRMLnodes/SoVRMLViewpoint.h'
interfaces/coin_header_includes.h:663: Error: Unable to find 'Inventor/VRMLnodes/SoVRMLVisibilitySensor.h'
interfaces/coin_header_includes.h:664: Error: Unable to find 'Inventor/VRMLnodes/SoVRMLWorldInfo.h'
/gnu/store/ivbbmgrvhdc46p2ywx1x2zsmal3x0z5n-soqt-1.6.0-1.fb8f655/include/Inventor/Qt/devices/SoQtDevice.h:66: Error: Unable to find 'Inventor/SbLinear.h'
/gnu/store/ivbbmgrvhdc46p2ywx1x2zsmal3x0z5n-soqt-1.6.0-1.fb8f655/include/Inventor/Qt/SoQtObject.h:40: Error: Unable to find 'Inventor/SbBasic.h'
--8<---------------cut here---------------end--------------->8---


-- 
Ricardo

  parent reply	other threads:[~2024-04-12 11:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-07 11:54 bug#70258: FreeCAD dependency probably outdated Buttons Presser via Bug reports for GNU Guix
2024-04-08 15:08 ` Buttons Presser via Bug reports for GNU Guix
2024-04-08 15:11 ` Buttons Presser via Bug reports for GNU Guix
2024-04-08 15:17 ` Buttons Presser via Bug reports for GNU Guix
2024-04-12 11:33 ` Ricardo Wurmus [this message]
2024-04-14 17:53 ` wakyct--- via Bug reports for GNU Guix
2024-05-15 12:20   ` Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zftyg6i5.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=70258@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.