GNU bug report logs - #78002
[PATCH] gnu: opencascade-occt: update to 7.9.0.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Kurt Kremitzki <kurt@HIDDEN>; Keywords: patch; dated Wed, 23 Apr 2025 02:22:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 78002 <at> debbugs.gnu.org:


Received: (at 78002) by debbugs.gnu.org; 29 Apr 2025 11:27:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 29 07:27:04 2025
Received: from localhost ([127.0.0.1]:51454 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u9j79-0006BC-U2
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2025 07:27:04 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:48892)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <andreas@HIDDEN>) id 1u9j74-00069O-01
 for 78002 <at> debbugs.gnu.org; Tue, 29 Apr 2025 07:27:00 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id DAD1330F;
 Tue, 29 Apr 2025 13:26:50 +0200 (CEST)
Authentication-Results: hera.aquilenet.fr;
	none
X-Virus-Scanned: Debian amavis at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP
 id ie5Ip9_nQRgy; Tue, 29 Apr 2025 13:26:50 +0200 (CEST)
Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id F1ABC18D;
 Tue, 29 Apr 2025 13:26:49 +0200 (CEST)
Date: Tue, 29 Apr 2025 13:26:48 +0200
From: Andreas Enge <andreas@HIDDEN>
To: Kurt Kremitzki <kurt@HIDDEN>
Subject: Re: [PATCH] gnu: opencascade-occt: update to 7.9.0.
Message-ID: <aBC3eBa1NrJbLQuT@jurong>
References: <38a3aca00a7c1c8efafbe47d51e6c7bbdf4b59e7.1745374818.git.kurt@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <38a3aca00a7c1c8efafbe47d51e6c7bbdf4b59e7.1745374818.git.kurt@HIDDEN>
X-Rspamd-Queue-Id: DAD1330F
X-Spamd-Result: default: False [5.40 / 15.00]; SPAM_FLAG(5.00)[];
 BAYES_HAM(-3.00)[99.99%]; NEURAL_SPAM(3.00)[1.000];
 MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2];
 RCPT_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[];
 RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]
X-Spamd-Bar: +++++
X-Rspamd-Action: greylist
X-Rspamd-Server: hera
X-Spam-Level: *****
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 78002
Cc: 78002 <at> debbugs.gnu.org, nomike@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Kurt,

thanks for your update suggestion!

We will need to coordinate with
   https://issues.guix.gnu.org/77881
(see also https://issues.guix.gnu.org/77811 for a similar patch);
I would suggest to first complete #77881.

As from the discussion, I am quite certain that the update breaks at
least its depending package prusa-slicer; more generally, this can be
tested by running
   ./pre-inst-env guix build -P 1 opencascade-occt
locally.

In this case, the problem has also been found by QA:
   https://qa.guix.gnu.org/issue/78002
   https://qa.guix.gnu.org/issue/78002/package-changes?x86_64-linux-change=broken&x86_64-linux-change=still-failing&x86_64-linux-change=unknown-to-failing&x86_64-linux-change=new-failing

Andreas





Information forwarded to guix-patches@HIDDEN:
bug#78002; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Apr 2025 02:21:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 22 22:21:15 2025
Received: from localhost ([127.0.0.1]:51153 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u7Pje-0006RI-GP
	for submit <at> debbugs.gnu.org; Tue, 22 Apr 2025 22:21:14 -0400
Received: from lists.gnu.org ([2001:470:142::17]:51750)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <kurt@HIDDEN>) id 1u7PjY-0006Q7-Ou
 for submit <at> debbugs.gnu.org; Tue, 22 Apr 2025 22:21:10 -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 <kurt@HIDDEN>) id 1u7PjK-0007Lo-J2
 for guix-patches@HIDDEN; Tue, 22 Apr 2025 22:20:55 -0400
Received: from out-177.mta0.migadu.com ([2001:41d0:1004:224b::b1])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <kurt@HIDDEN>) id 1u7PjD-0008Jw-Bq
 for guix-patches@HIDDEN; Tue, 22 Apr 2025 22:20:54 -0400
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwk.systems; s=key1;
 t=1745374834;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding;
 bh=NzYWcUz4nPNm78kcHIjxn38KPunC0f6CmB6eq0qkzYU=;
 b=N6YEAowkPilFnxkaW7rZ9HQNgd3OawMRnfPfiNBWbTUonWmwrv5K1+QUkP9ACMXxYVVEGD
 Td82k4Oqf3xiWu0sh4MumzkbwDLRVqmj3dV2R4Ucsccja/trlHPRAWrUbXRKAIcG/hi2GV
 R2OrPF+bL3kn3Bk7qKlWam0btiqk6fzCzq6uEO5tWhlhfdKqXT5TMHwQsm4OWOvybjj/OY
 tA8BwFOOIbcu5VkjnKxfBIJrbaHfzp7Wg9sL9FqxAsU+ydv4lu8+Wpr9UhReXG85TrFaVH
 07HON33pw5xnFmTSwHvjxCVFjx3rg7O1yRvs6G0uMv8kLYKpALiWpEgXGjGTbg==
From: Kurt Kremitzki <kurt@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: opencascade-occt: update to 7.9.0.
Date: Tue, 22 Apr 2025 21:20:18 -0500
Message-ID: <38a3aca00a7c1c8efafbe47d51e6c7bbdf4b59e7.1745374818.git.kurt@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Andreas Enge <andreas@HIDDEN>, Eric Bavier <bavier@HIDDEN>,
 Sharlatan Hellseher <sharlatanus@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Migadu-Flow: FLOW_OUT
Received-SPF: pass client-ip=2001:41d0:1004:224b::b1;
 envelope-from=kurt@HIDDEN; helo=out-177.mta0.migadu.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Kurt Kremitzki <kurt@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

* gnu/packages/maths.scm (opencascade-occt): Update to 7.9.0.
[source]: Revise cleanup of batch files and templates
[inputs]: Use newer TBB & rapidjson
[arguments]: Build with rapidjson for glTF support

Change-Id: I2d0c97bda54fde920aa63d4fb4ba4f0828be440e
---
 gnu/packages/maths.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4be9e71320..733532ff8d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -196,6 +196,7 @@ (define-module (gnu packages maths)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages wxwidgets)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
   #:use-module (srfi srfi-1)
@@ -3327,7 +3328,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-version-delimiter . "_")))
@@ -3342,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
@@ -3350,10 +3351,9 @@ (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")
+            (for-each delete-file (find-files "." "\\.bat$"))
+            (for-each delete-file (find-files "." "\\.bat\\.in$"))
+            (for-each delete-file (find-files "." "\\.bat\\.template"))
             ;; Remove references to deleted files.
             (substitute* "dox/FILES_HTML.txt"
               ((".*standard.*") "" )
@@ -3373,6 +3373,7 @@ (define-public opencascade-occt
        ;; reference' errors.
        #:configure-flags
         (list "-DUSE_FREEIMAGE:BOOL=OFF"
+              "-DUSE_RAPIDJSON:BOOL=ON"
               "-DUSE_TBB:BOOL=ON"
               "-DUSE_VTK:BOOL=OFF"
               "-DBUILD_DOC_Overview:BOOL=OFF"
@@ -3388,7 +3389,8 @@ (define-public opencascade-occt
            libxi
            libxmu
            mesa
-           tbb-2020
+           rapidjson
+           tbb
            tcl
            tk))
     ;; TODO: build Overview documentation and add 'doc' output.

base-commit: b276cf2f9785c71cc37688c3e2b1db38e2c710a1
-- 
2.47.2





Acknowledgement sent to Kurt Kremitzki <kurt@HIDDEN>:
New bug report received and forwarded. Copy sent to andreas@HIDDEN, bavier@HIDDEN, sharlatanus@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to andreas@HIDDEN, bavier@HIDDEN, sharlatanus@HIDDEN, guix-patches@HIDDEN:
bug#78002; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 29 Apr 2025 11:30:02 UTC

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