GNU bug report logs - #77811
[PATCH 2/4] gnu: opencascade-occt: Update to version 7.9.8

Previous Next

Package: guix-patches;

Reported by: nomike <nomike <at> nomike.com>

Date: Tue, 15 Apr 2025 01:17:03 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77811 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#77811; Package guix-patches. (Tue, 15 Apr 2025 01:17:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to nomike <nomike <at> nomike.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 15 Apr 2025 01:17:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nomike <nomike <at> nomike.com>
To: guix-patches <at> gnu.org
Cc: nomike <nomike <at> nomike.com>
Subject: [PATCH 2/4] gnu: opencascade-occt: Update to version 7.9.8
Date: Tue, 15 Apr 2025 03:15:07 +0200
Change-Id: I958f6efa642b32fa8de8a8e11767c2d8aa17c0ba
---
 gnu/packages/maths.scm | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 8a1b963807..56309ebb98 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3327,7 +3327,7 @@ (define-public octave
 (define-public opencascade-occt
   (package
     (name "opencascade-occt")
-    (version "7.6.2")
+    (version "7.9.0")
     (properties
       '((release-tag-prefix . "^V")
         (release-tag-suffix . "")
@@ -3343,7 +3343,7 @@ (define-public opencascade-occt
                                           version)))))
         (file-name (git-file-name name version))
         (sha256
-         (base32 "07z5d83vm9f50an7vhimzl7gbmri1dn6p2g999l5fgyaj5sg5f02"))
+         (base32 "1j6g6h5cqrcwslqnz7nkn9jxxa94gavz3s2h7b51r2ic484kd2df"))
         (modules '((guix build utils)))
         (snippet
          '(begin
@@ -3351,10 +3351,6 @@ (define-public opencascade-occt
             (delete-file-recursively "samples/ios")
             (delete-file-recursively "samples/mfc")
             (delete-file-recursively "samples/qt/FuncDemo")
-            (delete-file "genconf.bat")
-            (delete-file "gendoc.bat")
-            (delete-file "genproj.bat")
-            (delete-file "upgrade.bat")
             ;; Remove references to deleted files.
             (substitute* "dox/FILES_HTML.txt"
               ((".*standard.*") "" )
@@ -3390,7 +3386,7 @@ (define-public opencascade-occt
            libxi
            libxmu
            mesa
-           tbb-2020
+           tbb
            tcl
            tk))
     ;; TODO: build Overview documentation and add 'doc' output.
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77811; Package guix-patches. (Tue, 15 Apr 2025 20:22:04 GMT) Full text and rfc822 format available.

Message #8 received at 77811 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: nomike <nomike <at> nomike.com>
Cc: 77811 <at> debbugs.gnu.org, 77813-done <at> debbugs.gnu.org
Subject: Re: [PATCH 4/4] gnu: opencascade-occt: style
Date: Tue, 15 Apr 2025 22:21:07 +0200
#77813 depends on
   https://issues.guix.gnu.org/77811

Could you maybe try to send a new series of two patches as a v2 to
77811 <at> debbugs.gnu.org ? I am closing the other one to regroup the issues.

Concerning the update (to version 7.9.0, not 7.9.8), QA has apparently
picked up the complete series nevertheless:
   https://qa.guix.gnu.org/issue/77810
and it turns out that the current prusa-slicer does require the older
version of opencascade-occt:
   https://data.qa.guix.gnu.org/gnu/store/33a52hfl83jw112pwrqifqg5wchz5di5-prusa-slicer-2.7.4.drv
But there is also a new prusa-slicer version, maybe updating prusa-slicer
will solve the problem.

When sending a new patch series, please cc me so that I am informed of
the update.

Thanks,

Andreas





Information forwarded to guix-patches <at> gnu.org:
bug#77811; Package guix-patches. (Tue, 15 Apr 2025 21:02:04 GMT) Full text and rfc822 format available.

Message #11 received at 77811 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: nomike <nomike <at> nomike.com>
Cc: 77811 <at> debbugs.gnu.org
Subject: Re: [PATCH 4/4] gnu: opencascade-occt: style
Date: Tue, 15 Apr 2025 23:01:42 +0200
Am Tue, Apr 15, 2025 at 10:21:07PM +0200 schrieb Andreas Enge:
> and it turns out that the current prusa-slicer does require the older
> version of opencascade-occt:
>    https://data.qa.guix.gnu.org/gnu/store/33a52hfl83jw112pwrqifqg5wchz5di5-prusa-slicer-2.7.4.drv
> But there is also a new prusa-slicer version, maybe updating prusa-slicer
> will solve the problem.

Actually, on the contrary: Instead of a *newer*, they have switched back
to an *older* version of what we currently have:
   https://github.com/prusa3d/PrusaSlicer/commit/c6a02106fd1d3caa9a48a6b7c2bdd04546b24485

So the easiest solution would be to keep everything as it is;
is there a good reason to update opencascade-occt?

Andreas





Information forwarded to guix-patches <at> gnu.org:
bug#77811; Package guix-patches. (Thu, 17 Apr 2025 23:31:04 GMT) Full text and rfc822 format available.

Message #14 received at 77811 <at> debbugs.gnu.org (full text, mbox):

From: "nomike (they/them)" <nomike <at> nomike.com>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 77811 <at> debbugs.gnu.org
Subject: Re: [PATCH 4/4] gnu: opencascade-occt: style
Date: Fri, 18 Apr 2025 01:30:23 +0200
On 15.04.25 23:01, Andreas Enge wrote:
> Actually, on the contrary: Instead of a*newer*, they have switched back
> to an*older* version of what we currently have:
>     https://github.com/prusa3d/PrusaSlicer/commit/c6a02106fd1d3caa9a48a6b7c2bdd04546b24485
>
> So the easiest solution would be to keep everything as it is;
> is there a good reason to update opencascade-occt?

Yeah, I found that as well in the meantime.

The folks at Prusa have downgraded from version 7.6.2 to version 7.6.1 
in August 2024 as the newer version seems to have a bug impacting 
PrusaSlicer [0].
Since then they did not change this.

I submitted a new patch (https://issues.guix.gnu.org/77881) which adds 
version 7.6.1 in addition to the currently available 7.6.2, so that 
other programs (e.g. freecad) are unaffected but I'm still able to 
upgrade prusa-slicer.

So I believe this ticket here could be closed for now. I plan to keep 
track of prusa-slicer upgrades in the future, so if things change and 
prusa-slicer switches to a newer version of opencascade-occt which no 
longer has this bug, I will know and will submit a new patch.

[0] 
https://github.com/prusa3d/PrusaSlicer/commit/c6a02106fd1d3caa9a48a6b7c2bdd04546b24485






This bug report was last modified 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.