GNU bug report logs - #76269
[PATCH] gnu: vtk: Update to 9.4.1

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: Lars Bilke <lars.bilke@HIDDEN>; Keywords: patch; dated Thu, 13 Feb 2025 14:39:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 76269) by debbugs.gnu.org; 2 Mar 2025 01:35:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 01 20:35:54 2025
Received: from localhost ([127.0.0.1]:47761 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1toYFF-0007Qo-S7
	for submit <at> debbugs.gnu.org; Sat, 01 Mar 2025 20:35:54 -0500
Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]:59684)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1toYFC-0007Pi-Jj
 for 76269 <at> debbugs.gnu.org; Sat, 01 Mar 2025 20:35:51 -0500
Received: by mail-pl1-x630.google.com with SMTP id
 d9443c01a7336-2235908a30aso34800545ad.3
 for <76269 <at> debbugs.gnu.org>; Sat, 01 Mar 2025 17:35:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740879344; x=1741484144; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=8qTcofAaqwFkozYCABYHLaDGeA/QJOtCZFLmwSbQeCw=;
 b=mzFZ1MkmLyaZD2DY2VRyFHebD+DDK1yW2OSqPDBPG8cZpPvQWC5F8wlTtRrdVOZ4Mu
 5inKAgNufSeldjFAwU6pbFwBM/NPV55IIJF8+YSX0v5anCwZXlHkgyVkio0+WzY7oFwR
 TEJa2UpxDOgY55dvqgRIGzPRMpFT8IcRUTxqWPmM9PEZbdUp2zUVeQZpKAJZOEjeCgFC
 zVHhNTU0cy9+DHTNVHMfTayJYaVi4+RvoMLiRnq7xtpTWMnv0VfeQGAzdrRuHqXkAsq4
 u3P7iKw2E2Ns7JwcJb33RiDMyvH5Ct6+BsTnYuFjarhPs6syslrYeDRsZiiAnlsUTLDW
 0MWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740879344; x=1741484144;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=8qTcofAaqwFkozYCABYHLaDGeA/QJOtCZFLmwSbQeCw=;
 b=ux7Gv2UA1OhLnC7WZbV537KvObg6IzX1Tfbuv4MB4VSHZEGPiAsQ+DuqAgzP8y5fTc
 tPZQMM4rm3rTWSwWZ9q1GDpkGxC+bEx0RZzQxNJEoy7IQqWHEcO8kqWdDYAKX5PqTFcI
 hbdxMzkJmbWglOoC/MIGyPIp2QxxkfU3BGbvdnvuSZiWMRsXST5PrOg1kkvo3heHmMTT
 Fnv6hSUn+r7H3VIjFU01msaxGobi4c7zXXJidDytuCe/Yi5rNd7CmhMUNlCZyCDNNAxn
 YLE6GbprfUea2yx2yKUxeO/Q0MJ2wRnAM19NbnoarfruxMCTfNtU78JCAXrpYB+78uuf
 K/pQ==
X-Gm-Message-State: AOJu0YyO0v7dbneRGNH+uZKM4HxG7v39icVFT/f9w9UEkeFBIN5WCYE/
 ZbDe+2+e96xkciMG961BMrfLDQEkGzcDBDosk9KE/WNqtirkonlw
X-Gm-Gg: ASbGncvyLWxHY/wCr7rdYzqFTzeHnVD51TTGRkQujAQY2p3FYzEcN8+lydiYlz3QXzx
 RamxvSVni1lVHd/ty7RIcDbQPNe5kRxhE4Xs9O/LpcpBq90xKzjyRIcvVw6sQoZxiwJ8P4yXwmV
 CyJXPoAh0s2DzjkAjP9Q/nWu/pIzwKyFfAU2VlMigm6wksxYn8ZvKh+1sa4VqyqM6DcJkydzJPy
 TwOfpgO71JKFSWuopaoFLdlZlMWtyQ1lHxfynGpGb7sSC86fAegjHmW0OwwAv1GiSVvnPwQcHlN
 4F+AF4vB/KxuxqAMaNywb7DOs2dduaRErIM3JxNAwrI=
X-Google-Smtp-Source: AGHT+IHZYVoA13gSEKnjr/f1qUxV8Pi1/UF8GcFbGkp0+OmSQGNdC0rqmXYy4eMpNszJxp3P50CvwQ==
X-Received: by 2002:a17:902:d4d2:b0:223:6737:d800 with SMTP id
 d9443c01a7336-223692079f6mr107780245ad.42.1740879344407; 
 Sat, 01 Mar 2025 17:35:44 -0800 (PST)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-223501f9d63sm53669985ad.78.2025.03.01.17.35.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 01 Mar 2025 17:35:43 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Lars Bilke <lars.bilke@HIDDEN>
Subject: [bug#76269] [PATCH 1/3] gnu: vtk: Update to 9.4.1
In-Reply-To: <87bjumh4tg.fsf@HIDDEN> (Cayetano Santos's message of
 "Fri, 28 Feb 2025 09:05:47 +0100")
References: <e34dff8f8d9c329b0d79cbb6290962579dedb073.1739457494.git.lars.bilke@HIDDEN>
 <871pvjtkuc.fsf@HIDDEN> <87a5a6izla.fsf@HIDDEN>
 <87bjumh4tg.fsf@HIDDEN>
Date: Sun, 02 Mar 2025 10:35:31 +0900
Message-ID: <87eczggqos.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76269
Cc: 76269 <at> debbugs.gnu.org, Cayetano Santos <csantosb@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 (-)

Hi Lars,

Cayetano Santos <csantosb@HIDDEN> writes:

>>ven. 28 f=C3=A9vr. 2025 at 11:15, Maxim Cournoyer <maxim.cournoyer@gmail.=
com> wrote:
>
>>> There are lots of dependent packages still to build, see
>>>
>>>    https://qa.guix.gnu.org/issue/76269
>>
>> Good call, let's give this some extra time.
>
> One of the tests of OpenCV fails now with the latest patch set:
>
>     https://data.qa.guix.gnu.org/gnu/store/kbmx3vlin6h8jclqchmv7y5px4ysz8=
18-opencv-4.11.0.drv

Could you please take a look?

The error is a segfault in the opencv_test_viz test:

--8<---------------cut here---------------start------------->8---
12/45 Test #12: opencv_test_viz ...................***Exception: SegFault  =
0.06 sec
--8<---------------cut here---------------end--------------->8---

See: https://bordeaux.guix.gnu.org/build/d9a59eed-08db-4916-b740-922b92120b=
02/log

--=20
Thanks,
Maxim




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

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


Received: (at 76269) by debbugs.gnu.org; 28 Feb 2025 08:05:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 03:05:54 2025
Received: from localhost ([127.0.0.1]:44655 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnvNa-0003tG-7N
	for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 03:05:54 -0500
Received: from latitanza.investici.org ([2001:888:2000:56::19]:37117)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <csantosb@HIDDEN>)
 id 1tnvNW-0003t4-JF
 for 76269 <at> debbugs.gnu.org; Fri, 28 Feb 2025 03:05:51 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org;
 s=stigmate; t=1740729948;
 bh=NrXO5WKECqhRN3DjFFx0nfcOnJoDYfGg56QnGJnKpn8=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=C8s+JlB2k/+ZoQVCwbMDkOKFStNyeB/Wwp2rzZQJ33LiySuLX1vPps5YBlfCNGn+8
 svsTdMu3VJMfE84wWLXURgw7TG0279HmZSchSn9OYhE1u1CzwBjozWWipbUFW44AdF
 8ZIozos5pPX/lBWPxZ4y/43PJKlhJI57Q2yRSk9Y=
Received: from mx3.investici.org (unknown [127.0.0.1])
 by latitanza.investici.org (Postfix) with ESMTP id 4Z413w6P9nzGp4c;
 Fri, 28 Feb 2025 08:05:48 +0000 (UTC)
Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234])
 (Authenticated sender: cayetano.santos@HIDDEN) by localhost (Postfix)
 with ESMTPSA id 4Z413w51XGzGp3p; 
 Fri, 28 Feb 2025 08:05:48 +0000 (UTC)
From: Cayetano Santos <csantosb@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: [bug#76269] [PATCH 1/3] gnu: vtk: Update to 9.4.1
In-Reply-To: <87a5a6izla.fsf@HIDDEN> (Maxim Cournoyer's message of "Fri, 28
 Feb 2025 11:15:45 +0900")
References: <e34dff8f8d9c329b0d79cbb6290962579dedb073.1739457494.git.lars.bilke@HIDDEN>
 <871pvjtkuc.fsf@HIDDEN> <87a5a6izla.fsf@HIDDEN>
User-Agent: mu4e 1.12.8; emacs 29.4
Date: Fri, 28 Feb 2025 09:05:47 +0100
Message-ID: <87bjumh4tg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76269
Cc: 76269 <at> debbugs.gnu.org, lars.bilke@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.7 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


>ven. 28 f=C3=A9vr. 2025 at 11:15, Maxim Cournoyer <maxim.cournoyer@HIDDEN=
om> wrote:

>> There are lots of dependent packages still to build, see
>>
>>    https://qa.guix.gnu.org/issue/76269
>
> Good call, let's give this some extra time.

One of the tests of OpenCV fails now with the latest patch set:

    https://data.qa.guix.gnu.org/gnu/store/kbmx3vlin6h8jclqchmv7y5px4ysz818=
-opencv-4.11.0.drv

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ8FuWxccY3NhbnRvc2JA
aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgu3FAP9FrXeaxzeG9eGu6P4jNWuqth7r
Jv9X3saQ4W5Nq836jAD/Q+PXhVa7BEDO3z7GMlnDyVt/7xpabfXwz9+SIEd1fAA=
=ATBz
-----END PGP SIGNATURE-----
--=-=-=--




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

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


Received: (at 76269) by debbugs.gnu.org; 28 Feb 2025 02:16:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 21:16:11 2025
Received: from localhost ([127.0.0.1]:41536 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnpv7-0002UH-Vo
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 21:16:10 -0500
Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:58481)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1tnpv3-0002Sz-DC
 for 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 21:16:08 -0500
Received: by mail-pj1-x1032.google.com with SMTP id
 98e67ed59e1d1-2feb9076a1cso1302181a91.0
 for <76269 <at> debbugs.gnu.org>; Thu, 27 Feb 2025 18:16:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740708958; x=1741313758; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=qCh9+QUfcNEui3F7LDpgd1QfPirwg5ilitRzgIaYu8A=;
 b=HzQZ3zvluaGFUkIA2APROTwbAjSVY2j+x90WK9E74AvWHyXGc2fxYC7ql65SqWvJtp
 Cha6BwqWmM6lxEXdFUu4QuSACdibqHG6KMqSGsoib0tOgdV+6Xh0EEh/2Pa/dQJx1yX6
 y7C9CSsmNTXPhdCIQm7WpKyWmx91xobWTgPLaaCScQvrzpyexKM4Id77ASyPJlXc4tif
 33J6Zff2jxysFzZrTPC6UQ0yE/F+cbXk0HPWHk/j1rZuuWw3UnUR6MswlhnrVRCZ4x0a
 qmPRzGkVCA4Pg56ZodXOSYPlqOGX31KCZEYXwE0HY/UERvjKych7A4sK+2K+Xwjg0GkD
 EtHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740708958; x=1741313758;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=qCh9+QUfcNEui3F7LDpgd1QfPirwg5ilitRzgIaYu8A=;
 b=iLw7EkmSofoFsKhtSgbmj+K76UC0z9UJ1KPZeS2eEEs+H505zwWQerzuOPaAimM/2s
 mxUf37jkLH88AJ2JjE3p4e0sL6RHdNjAZIVpIhXvrW8qiq0M/VKPkwCS9ibpl1bfGzoI
 G6chBjDL3fvE7JHtE1uRthWH4XPPLVtf0y/hj2+wG+C5nL/Ocv2GBg2dmLMcw2iOrtP1
 tSv9wvDmqrBvUxjuOUx4YrhWWt6+wILrJPY5Ob3Ixmqs0Lhv0MsAPj2Y5cUGOc2Y6dRg
 v3zeeJuPN0LpfZmslumokPijb1QoqVnoCpQ4qvSM71Z4myyNWHqS+ymvwCK6hKYkp2Q/
 nHPA==
X-Forwarded-Encrypted: i=1;
 AJvYcCV7vQRIy760ZUZS1iqhoJ8uXQvq3d6zkwUknUmL0EepQ7wOU59bYp6IUs5h6AT03SULec1BWA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yzyn/bcv6szGXMglBPHuDgfx3TUykgd8y35qoA6SaLtG8FgChAN
 4BJXaXocoSXhiwuhztzJmnlbiCd795KfvEloijY/rzd0ZZykh5Od7rci2RNa6GY=
X-Gm-Gg: ASbGnctRVcmTmJyZ3M/Pk51nXglCzkKTpupmEdZkV9ZwcNqlcM1WgxMsR6SOSqs7s9A
 3ZTd/tK/Ih8NAusDgrvZ3RoHYabHRn//E4dfXWFw/1eII8evoofXlIBnw4ylpLbRxkrWOe7vjOM
 78YwXPgiIz5qdLOavhydPCYhtY9phsPI8kzd5z7QXET4v85lGkeI7lZTePrAws9TttYaQKvg1vc
 Rvkoont/yqX53hW6/oxsIrmr0H2aObxAUszqa4Ch10ur67bj81Ymjwt73p6UJ3T0kO1waWimjpj
 UM3/Go1ub+OR9rh1pYo/ctId
X-Google-Smtp-Source: AGHT+IHl/UM1OSHcRyKSB9s7aWYi9TLEJTtNlxXvng0cI8PsMDG5C40+yviBRPPHx16yqJuwqZRLFg==
X-Received: by 2002:a05:6a20:430a:b0:1ee:ab1f:41a2 with SMTP id
 adf61e73a8af0-1f2f4e00d94mr2711026637.28.1740708958307; 
 Thu, 27 Feb 2025 18:15:58 -0800 (PST)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d2e1a72fcca58-7349fe4cd07sm2597103b3a.61.2025.02.27.18.15.56
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 27 Feb 2025 18:15:57 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Cayetano Santos <csantosb@HIDDEN>
Subject: [bug#76269] [PATCH 1/3] gnu: vtk: Update to 9.4.1
In-Reply-To: <871pvjtkuc.fsf@HIDDEN> (Cayetano Santos's message of
 "Thu, 27 Feb 2025 17:26:35 +0100")
References: <e34dff8f8d9c329b0d79cbb6290962579dedb073.1739457494.git.lars.bilke@HIDDEN>
 <871pvjtkuc.fsf@HIDDEN>
Date: Fri, 28 Feb 2025 11:15:45 +0900
Message-ID: <87a5a6izla.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76269
Cc: 76269 <at> debbugs.gnu.org, lars.bilke@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 (-)

Hi,

Cayetano Santos <csantosb@HIDDEN> writes:

> With your patch, I manage to build and run vtk and freecad.
>
> A couple of comments:
>
> - better send patches as [PATCH v2 1/3], etc. (hard to follow otherwise)
> - use guix style/lint to check the patches before sending
>
> There are lots of dependent packages still to build, see
>
>    https://qa.guix.gnu.org/issue/76269

Good call, let's give this some extra time.

-- 
Thanks,
Maxim




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

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


Received: (at 76269) by debbugs.gnu.org; 27 Feb 2025 16:26:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 11:26:45 2025
Received: from localhost ([127.0.0.1]:36669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tngii-00089Z-Ju
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 11:26:45 -0500
Received: from latitanza.investici.org ([2001:888:2000:56::19]:63793)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <csantosb@HIDDEN>)
 id 1tngid-00088y-KV
 for 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 11:26:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org;
 s=stigmate; t=1740673597;
 bh=DyKr5Qx3OpUHQ0cn8dELNrVh2GwDJUQCoOBkAkDap5E=;
 h=From:To:Cc:Subject:In-Reply-To:Date:From;
 b=Esfh2b3BVsFCI0KhGIHUVH6KvWg89Bw4EqjzByXvntCpOxsMbtRLO6HZI1su3frTs
 yviS3kWGwoGS+Hn3N8GycsaMI14w/1U0UtLdMLLGBwhfG4ELuZPsRPgSSpAZgnpZA0
 1KsGTCam7oSkK71hGnzlYnzu1fhfmlGrJtuUB1x0=
Received: from mx3.investici.org (unknown [127.0.0.1])
 by latitanza.investici.org (Postfix) with ESMTP id 4Z3cDF3kB1zGp4h;
 Thu, 27 Feb 2025 16:26:37 +0000 (UTC)
Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234])
 (Authenticated sender: cayetano.santos@HIDDEN) by localhost (Postfix)
 with ESMTPSA id 4Z3cDF2bYfzGp4c; 
 Thu, 27 Feb 2025 16:26:37 +0000 (UTC)
From: Cayetano Santos <csantosb@HIDDEN>
To: lars.bilke@HIDDEN
Subject: Re: [bug#76269] [PATCH 1/3] gnu: vtk: Update to 9.4.1
In-Reply-To: <3e8105e24f1159665cdf543f49e280f183cc3667.1740671616.git.lars.bilke@HIDDEN>
User-Agent: mu4e 1.12.8; emacs 29.4
Date: Thu, 27 Feb 2025 17:26:35 +0100
Message-ID: <871pvjtkuc.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 76269
Cc: 76269 <at> debbugs.gnu.org
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.7 (-)

--=-=-=
Content-Type: text/plain


With your patch, I manage to build and run vtk and freecad.

A couple of comments:

- better send patches as [PATCH v2 1/3], etc. (hard to follow otherwise)
- use guix style/lint to check the patches before sending

There are lots of dependent packages still to build, see

   https://qa.guix.gnu.org/issue/76269

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ8CSOxccY3NhbnRvc2JA
aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgsN7AP407xGs+5laRIJ5oVlbOrlkoXFE
7acin5ZMztTcJb8MZAEA3vW2DpZGIVcbqGsHjJ8Zcm235HdKs/fUZZ5/hWJ1IAA=
=9YkY
-----END PGP SIGNATURE-----
--=-=-=--




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

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


Received: (at 76269) by debbugs.gnu.org; 27 Feb 2025 15:54:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 10:54:37 2025
Received: from localhost ([127.0.0.1]:36398 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tngDd-00051N-F6
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 10:54:37 -0500
Received: from mailgate4.ufz.de ([141.65.7.211]:39086 helo=mailgate.ufz.de)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tngDS-0004zW-NE
 for 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 10:54:32 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id B367516032A
 for <76269 <at> debbugs.gnu.org>; Thu, 27 Feb 2025 16:54:25 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SSC00600M1XE900@HIDDEN> for 76269 <at> debbugs.gnu.org;
 Thu, 27 Feb 2025 16:54:25 +0100 (CET)
Received: from smtp2.ufz.de ([141.65.7.217])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SSC000UMMUPXKB0@HIDDEN> for
 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 16:54:25 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp2.ufz.de (smtp2-UFZ)
 with ESMTPSA id 833B3E0077;	Thu, 27 Feb 2025 16:54:25 +0100 (CET)
Date: Thu, 27 Feb 2025 16:54:11 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: [PATCH 3/3] gnu: vtk: Fix OpenCV build.
In-reply-to: <3e8105e24f1159665cdf543f49e280f183cc3667.1740671616.git.lars.bilke@HIDDEN>
To: 76269 <at> debbugs.gnu.org
Message-id: <f240af935e6a416fdf8bc9cfabebe932fb88b3ab.1740671616.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
References: <3e8105e24f1159665cdf543f49e280f183cc3667.1740671616.git.lars.bilke@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76269
Cc: Lars Bilke <lars.bilke@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 (-)

* gnu/packages/image-processing.scm (vtk): Add jsoncpp to
  propagated-inputs. This fixes the OpenCV configuration step.

Change-Id: I863079394a4345cc5f0a8e67fe19831070f16d09
---
 gnu/packages/image-processing.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index a456d94863..fed26291e5 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -440,6 +440,7 @@ (define-public vtk
      ;; 'find_package(THEORA)', which in turns looks for libogg.  Likewise for
      ;; TBB.
      (list libogg
+           jsoncpp ; fixes OpenCVs configure not finding JsonCpp::JsonCpp target
            tbb))
     (home-page "https://vtk.org/")
     (synopsis "Libraries for 3D computer graphics")
-- 
2.46.1





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

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


Received: (at 76269) by debbugs.gnu.org; 27 Feb 2025 15:54:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 10:54:37 2025
Received: from localhost ([127.0.0.1]:36394 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tngDc-000516-2C
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 10:54:37 -0500
Received: from mailgate4.ufz.de ([141.65.7.211]:39072 helo=mailgate.ufz.de)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tngDQ-0004zS-Qy
 for 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 10:54:32 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id E49CC160329
 for <76269 <at> debbugs.gnu.org>; Thu, 27 Feb 2025 16:54:23 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SSC00600M1XE900@HIDDEN> for 76269 <at> debbugs.gnu.org;
 Thu, 27 Feb 2025 16:54:23 +0100 (CET)
Received: from smtp2.ufz.de ([141.65.7.217])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SSC000UFMUNXKB0@HIDDEN> for
 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 16:54:23 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp2.ufz.de (smtp2-UFZ)
 with ESMTPSA id BF566E0077;	Thu, 27 Feb 2025 16:54:23 +0100 (CET)
Date: Thu, 27 Feb 2025 16:54:10 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: [PATCH 2/3] gnu: freecad: Add vtk 9.4.1 patch.
In-reply-to: <3e8105e24f1159665cdf543f49e280f183cc3667.1740671616.git.lars.bilke@HIDDEN>
To: 76269 <at> debbugs.gnu.org
Message-id: <952e5c6ef995a8e47e6b99355d7bd2c34f3f1ea5.1740671616.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
X-Debbugs-Cc: Cayetano Santos <csantosb@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
References: <3e8105e24f1159665cdf543f49e280f183cc3667.1740671616.git.lars.bilke@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76269
Cc: Lars Bilke <lars.bilke@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 (-)

* gnu/packages/engineering.scm (freecad): Add vtk 9.4.1 patch.
* gnu/local.mk: Add freecad vtk 9.4.1 patch to list.

Change-Id: I9220aec757c2331a2dfa3eee9d0b84f774785de3
---
 gnu/local.mk                              |  1 +
 gnu/packages/engineering.scm              |  1 +
 gnu/packages/patches/freecad-vtk941.patch | 71 +++++++++++++++++++++++
 3 files changed, 73 insertions(+)
 create mode 100644 gnu/packages/patches/freecad-vtk941.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 45a9cb635e..35e1b5e6b6 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1317,6 +1317,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/fpc-reproducibility.patch		\
   %D%/packages/patches/fpc-glibc-2.34-compat.patch		\
   %D%/packages/patches/fpm-newer-clamp-fix.patch		\
+  %D%/packages/patches/freecad-vtk941.patch	\
   %D%/packages/patches/freedict-tools-fix-determinism.patch	\
   %D%/packages/patches/freedink-engine-fix-sdl-hints.patch	\
   %D%/packages/patches/freeimage-libtiff-compat.patch		\
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 234f4a2b03..d4d920cd08 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3173,6 +3173,7 @@ (define-public freecad
        (file-name (git-file-name name version))
        (sha256
         (base32 "0wwymcfgi0cybj7m6awflk8c7n6iy97lpgpfhfncx3zwvjrxv588"))
+       (patches (search-patches "freecad-vtk941.patch"))  ;; remove on 1.1 release
        (modules '((guix build utils)))
        (snippet
         '(begin
diff --git a/gnu/packages/patches/freecad-vtk941.patch b/gnu/packages/patches/freecad-vtk941.patch
new file mode 100644
index 0000000000..e05548a599
--- /dev/null
+++ b/gnu/packages/patches/freecad-vtk941.patch
@@ -0,0 +1,71 @@
+From fafff3a08b7a6212ce3417e08b18cb2fc8e7e868 Mon Sep 17 00:00:00 2001
+From: wmayer <wmayer@HIDDEN>
+Date: Mon, 16 Dec 2024 10:56:43 +0100
+Subject: [PATCH] smesh: Fix build failure with vtk 9.4
+
+Fixes #18423
+---
+ .../src/SMDS/SMDS_UnstructuredGrid.cpp          | 17 ++++++++++-------
+ 1 file changed, 10 insertions(+), 7 deletions(-)
+
+diff --git a/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp b/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
+index e9895d615717..4e9d6dc05764 100644
+--- a/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
++++ b/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
+@@ -32,6 +32,7 @@
+ #include <vtkDoubleArray.h>
+ #include <vtkIdTypeArray.h>
+ #include <vtkUnsignedCharArray.h>
++#include <vtkVersionMacros.h>
+ 
+ #include <list>
+ #include <climits>
+@@ -249,14 +250,16 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
+     }
+   }
+ 
+-  if (this->FaceLocations)
++  vtkIdTypeArray* thisFaceLocations = GetFaceLocations();
++  vtkIdTypeArray* thisFaces = GetFaces();
++  if (thisFaceLocations)
+     {
+       vtkIdTypeArray *newFaceLocations = vtkIdTypeArray::New();
+       newFaceLocations->Initialize();
+       newFaceLocations->Allocate(newTypes->GetSize());
+       vtkIdTypeArray *newFaces = vtkIdTypeArray::New();
+       newFaces->Initialize();
+-      newFaces->Allocate(this->Faces->GetSize());
++      newFaces->Allocate(thisFaces->GetSize());
+       for (int i = 0; i < oldCellSize; i++)
+         {
+           if (this->Types->GetValue(i) == VTK_EMPTY_CELL)
+@@ -265,16 +268,16 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
+           if (newTypes->GetValue(newCellId) == VTK_POLYHEDRON)
+             {
+                newFaceLocations->InsertNextValue(newFaces->GetMaxId()+1);
+-               int oldFaceLoc = this->FaceLocations->GetValue(i);
+-               int nCellFaces = this->Faces->GetValue(oldFaceLoc++);
++               int oldFaceLoc = thisFaceLocations->GetValue(i);
++               int nCellFaces = thisFaces->GetValue(oldFaceLoc++);
+                newFaces->InsertNextValue(nCellFaces);
+                for (int n=0; n<nCellFaces; n++)
+                  {
+-                   int nptsInFace = this->Faces->GetValue(oldFaceLoc++);
++                   int nptsInFace = thisFaces->GetValue(oldFaceLoc++);
+                    newFaces->InsertNextValue(nptsInFace);
+                    for (int k=0; k<nptsInFace; k++)
+                      {
+-                       int oldpt = this->Faces->GetValue(oldFaceLoc++);
++                       int oldpt = thisFaces->GetValue(oldFaceLoc++);
+                        newFaces->InsertNextValue(idNodesOldToNew[oldpt]);
+                      }
+                  }
+@@ -292,7 +295,7 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
+     }
+   else
+   {
+-    this->SetCells(newTypes, newLocations, newConnectivity, FaceLocations, Faces);
++    this->SetCells(newTypes, newLocations, newConnectivity, thisFaceLocations, thisFaces);
+   }
+ 
+   newPoints->Delete();
\ No newline at end of file
-- 
2.46.1





Information forwarded to csantosb@HIDDEN, maxim.cournoyer@HIDDEN, guix-patches@HIDDEN:
bug#76269; Package guix-patches. Full text available.

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


Received: (at 76269) by debbugs.gnu.org; 27 Feb 2025 15:54:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 10:54:35 2025
Received: from localhost ([127.0.0.1]:36392 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tngDZ-00050j-V2
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 10:54:35 -0500
Received: from mailgate4.ufz.de ([141.65.7.211]:39230 helo=mailgate.ufz.de)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tngDO-0004zC-Lk
 for 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 10:54:30 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id 8F7E2160328
 for <76269 <at> debbugs.gnu.org>; Thu, 27 Feb 2025 16:54:20 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SSC00600M1XE900@HIDDEN> for 76269 <at> debbugs.gnu.org;
 Thu, 27 Feb 2025 16:54:20 +0100 (CET)
Received: from smtp2.ufz.de ([141.65.7.217])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SSC000UDMUKXKB0@HIDDEN> for
 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 16:54:20 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp2.ufz.de (smtp2-UFZ)
 with ESMTPSA id 5C25DE0077;	Thu, 27 Feb 2025 16:54:20 +0100 (CET)
Date: Thu, 27 Feb 2025 16:54:09 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: [PATCH 1/3] gnu: vtk: Update to 9.4.1
To: 76269 <at> debbugs.gnu.org
Message-id: <3e8105e24f1159665cdf543f49e280f183cc3667.1740671616.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76269
Cc: Lars Bilke <lars.bilke@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 (-)

* gnu/packages/image-processing.scm (vtk): Update to 9.4.1.

Change-Id: Ife39df610c4487683a5c8d72b60eb750530c1358
---
 gnu/packages/image-processing.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 405f90ca9a..a456d94863 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -323,7 +323,7 @@ (define-public opencolorio
 (define-public vtk
   (package
     (name "vtk")
-    (version "9.3.0")
+    (version "9.4.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://vtk.org/files/release/"
@@ -331,7 +331,7 @@ (define-public vtk
                                   "/VTK-" version ".tar.gz"))
               (sha256
                (base32
-                "1s8vd34nhrgnw1bf9zhfn062d53fwq3csjfwvm7lxcr5a8lvkizx"))
+                "0aa5pkw2xxzksl48ldbj3cq6r4y4mxvcpl66f64gkah2s34b0ly2"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -341,7 +341,7 @@ (define-public vtk
                       (string-append "ThirdParty/" dir "/vtk" dir)))
                    ;; pugixml depended upon unconditionally
                    '("doubleconversion" "eigen" "expat" "freetype" "gl2ps"
-                     "glew" "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
+                     "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
                      "libxml2" "lz4" "netcdf" "ogg" "png" "sqlite" "theora"
                      "tiff" "zlib"))
                   (substitute* "IO/ExportPDF/vtkPDFContextDevice2D.cxx"
@@ -360,7 +360,6 @@ (define-public vtk
                "-DVTK_MODULE_USE_EXTERNAL_VTK_expat=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_freetype=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=ON"
-               "-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON"
@@ -380,7 +379,7 @@ (define-public vtk
                "-DVTK_WRAP_PYTHON=ON"
                "-DVTK_PYTHON_VERSION:STRING=3"
 
-               "-DVTK_SMP_ENABLE_OPENNMP=ON"
+               "-DVTK_SMP_ENABLE_OPENMP=ON"
                "-DVTK_SMP_ENABLE_TBB=ON"
                "-DVTK_USE_MPI=ON"
                #$@(if (target-riscv64?)

base-commit: c4fcf8fb627c9ea54a4a639a81766e5df3973fdc
-- 
2.46.1





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

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


Received: (at 76269) by debbugs.gnu.org; 27 Feb 2025 14:30:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 09:30:24 2025
Received: from localhost ([127.0.0.1]:60805 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tneu7-0000Uu-SO
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 09:30:24 -0500
Received: from mailgate4.ufz.de ([141.65.7.211]:45780 helo=mailgate.ufz.de)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tneu4-0000UE-QI
 for 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 09:30:21 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id D3742160311;
 Thu, 27 Feb 2025 15:30:18 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; markup=markdown
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27 2020)) id <0SSC00E00IF8KE00@HIDDEN>; Thu,
 27 Feb 2025 15:30:18 +0100 (CET)
Received: from smtp2.ufz.de ([141.65.7.217])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SSC000LXIYIXK70@HIDDEN>; Thu,
 27 Feb 2025 15:30:18 +0100 (CET)
Received: from [100.99.158.7] (unknown [141.65.34.101])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)	by smtp2.ufz.de (smtp2-UFZ)
 with ESMTPSA id 93C4CE0077;	Thu, 27 Feb 2025 15:30:18 +0100 (CET)
Date: Thu, 27 Feb 2025 15:30:18 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: Re: [bug#76269] [PATCH 2/2] gnu: freecad: Add vtk 9.4.1 patch.
In-reply-to: <874j0flaya.fsf@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Message-id: <08C291D3-A9E0-4A23-A280-B55D77FFF356@HIDDEN>
X-Mailer: MailMate (2.0r6203)
References: <3e8105e24f1159665cdf543f49e280f183cc3667.1740386410.git.lars.bilke@HIDDEN>
 <952e5c6ef995a8e47e6b99355d7bd2c34f3f1ea5.1740386410.git.lars.bilke@HIDDEN>
 <874j0flaya.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76269
Cc: 76269 <at> debbugs.gnu.org, Cayetano Santos <csantosb@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 (-)

Dear Maxim,

thanks for your review.

FreeCAD 1.1 is not released yet.

Sincerely,
Lars

On 27 Feb 2025, at 15:27, Maxim Cournoyer wrote:
>
> Thanks for the patch.  Is there a reason we cannot update our freecade
> to 1.1 yet?  Perhaps it is not released?
>
> Otherwise, LGTM.
>
> Reviewed-by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
>
> --
> Thanks,
> Maxim




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

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


Received: (at 76269) by debbugs.gnu.org; 27 Feb 2025 14:27:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 27 09:27:48 2025
Received: from localhost ([127.0.0.1]:60769 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tnerc-00009E-5N
	for submit <at> debbugs.gnu.org; Thu, 27 Feb 2025 09:27:48 -0500
Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:45115)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1tnerY-00008U-P6
 for 76269 <at> debbugs.gnu.org; Thu, 27 Feb 2025 09:27:46 -0500
Received: by mail-pl1-x634.google.com with SMTP id
 d9443c01a7336-220c8f38febso18224265ad.2
 for <76269 <at> debbugs.gnu.org>; Thu, 27 Feb 2025 06:27:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1740666459; x=1741271259; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=qNTBcjEYsxH3pXXNDf3WaVcfolCSqdk3N+YQKVYD46s=;
 b=X4wLURZvaBKOIiTbmQaFNOV3UGtttgrOQWdO1vUi4dQ+2w4hsJsangQJQ4pQOsh1qL
 bbYpl7cE47LIcWSB/3zBap148T9IMfyjw72GQFruGD0Dd8Jnpbb+g6e45vyfNBlrm6s7
 ACJoG/spNkvtMis0zIbesOctaUUhZ4q1CQlVenh5YQzK3rkyNU1vyYgkx2WwlmNh3SuS
 mewQI5Pqi0o4v/OqYnoCxMCZpzKigQ8kdvLrxVGto9AI18IjBG7WRHPenYSCuVTON8W7
 AW3osCpINbGBwkNxvf7NGNL4WrGgepe3w6K2Mg+F7oqwu0c3aX5UJ/FmFN4ZoJg0l0ys
 wqIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1740666459; x=1741271259;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=qNTBcjEYsxH3pXXNDf3WaVcfolCSqdk3N+YQKVYD46s=;
 b=mlHtZiA3c9YlMoDOUUJivqR7b8ZYl34SWI8Qn2CqApNgEHjqm6KM7JBWEI+ykckKdx
 CDdHKDQX+XtGC8EBCOSR/5z/hWdp28JgCqDgcN2TNCSSCXfRy0VT2BL/QaEL0mIyyQOq
 eNUOj/vTp6ZFUI/D6aNCPxsKc27ehlnY6VVEHhq7YaTz+4vciQVvUg58e71wYmMxROAW
 PUACxfj3nuCru0Gi5Xg2+uqOEK/PrwvJKY+x5M+HQ2rcSYm1mRm71qHXMUNvOh/3aZ/3
 M0emFDpqLcBQMhc5AxpcYHvzkX9fF+Gwv285aH3HyV25xszQ5iD9nXcsuNVh++Q3SbCy
 pNZg==
X-Gm-Message-State: AOJu0YwJbwdequshHX1EqoEB1QtdRV2o3tL8vsAwhly8Wfqpr+rSPbyh
 WiUUjQO6n3maMfPF7LGuLECn5EgHHHuMAiEvithf78HNxpI5XfyW99QjjgAW
X-Gm-Gg: ASbGncu1CfX2Dz0MZPc+V9+luNS51M0Lga3+6BzVCU1uNwisiwj+3zi90MqPUNpfehR
 dYL3GPJ4G8yQ0r9IGJF7XU+5kxqhbHrdqH9KTqbAoCt7qpYMkh25gcWzj1EO1W2ZvY/vS4DSaac
 ioVcqub8SFrRpXbotBvar7kEFHEXJUYz1mT7ltG4jkMp1yw5Q+1XUQrVcx+hFisABcW4oLDOGge
 7h4f5HOlhH6wYS4VVBiMcuI3FnwVPiibOtJDanUaZmL0bjFv/csbSKD43E5TXGFTSWpb/Jg3c04
 uj9H3mp3e83EVqe9oXeQ81Ep
X-Google-Smtp-Source: AGHT+IEVc9aFofZX/gGgFQA8lRmo6JOhaBKicM+pjnuJQTtqOlEYYbzdWb/ZU/syMNAcsk9+KaJmGg==
X-Received: by 2002:a17:903:18b:b0:220:fce7:d3a6 with SMTP id
 d9443c01a7336-2219ffb84fcmr405417485ad.23.1740666458634; 
 Thu, 27 Feb 2025 06:27:38 -0800 (PST)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-223505293ddsm14797405ad.229.2025.02.27.06.27.36
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 27 Feb 2025 06:27:38 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Lars Bilke <lars.bilke@HIDDEN>
Subject: Re: [bug#76269] [PATCH 2/2] gnu: freecad: Add vtk 9.4.1 patch.
In-Reply-To: <952e5c6ef995a8e47e6b99355d7bd2c34f3f1ea5.1740386410.git.lars.bilke@HIDDEN>
 (Lars Bilke's message of "Mon, 24 Feb 2025 09:43:34 +0100")
References: <3e8105e24f1159665cdf543f49e280f183cc3667.1740386410.git.lars.bilke@HIDDEN>
 <952e5c6ef995a8e47e6b99355d7bd2c34f3f1ea5.1740386410.git.lars.bilke@HIDDEN>
Date: Thu, 27 Feb 2025 23:27:25 +0900
Message-ID: <874j0flaya.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76269
Cc: 76269 <at> debbugs.gnu.org, Cayetano Santos <csantosb@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 (-)

Hi Lars,

Lars Bilke <lars.bilke@HIDDEN> writes:

> * gnu/packages/engineering.scm (freecad): Add vtk 9.4.1 patch.
> * gnu/local.mk: Add freecad vtk 9.4.1 patch to list.
>
> Change-Id: I9220aec757c2331a2dfa3eee9d0b84f774785de3
> ---
>  gnu/local.mk                              |  1 +
>  gnu/packages/engineering.scm              |  1 +
>  gnu/packages/patches/freecad-vtk941.patch | 71 +++++++++++++++++++++++
>  3 files changed, 73 insertions(+)
>  create mode 100644 gnu/packages/patches/freecad-vtk941.patch
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index 45a9cb635e..35e1b5e6b6 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -1317,6 +1317,7 @@ dist_patch_DATA =						\
>    %D%/packages/patches/fpc-reproducibility.patch		\
>    %D%/packages/patches/fpc-glibc-2.34-compat.patch		\
>    %D%/packages/patches/fpm-newer-clamp-fix.patch		\
> +  %D%/packages/patches/freecad-vtk941.patch	\
>    %D%/packages/patches/freedict-tools-fix-determinism.patch	\
>    %D%/packages/patches/freedink-engine-fix-sdl-hints.patch	\
>    %D%/packages/patches/freeimage-libtiff-compat.patch		\
> diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
> index 234f4a2b03..d4d920cd08 100644
> --- a/gnu/packages/engineering.scm
> +++ b/gnu/packages/engineering.scm
> @@ -3173,6 +3173,7 @@ (define-public freecad
>         (file-name (git-file-name name version))
>         (sha256
>          (base32 "0wwymcfgi0cybj7m6awflk8c7n6iy97lpgpfhfncx3zwvjrxv588"))
> +       (patches (search-patches "freecad-vtk941.patch"))  ;; remove on 1.1 release

Thanks for the patch.  Is there a reason we cannot update our freecade
to 1.1 yet?  Perhaps it is not released?

Otherwise, LGTM.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>

--
Thanks,
Maxim




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

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


Received: (at 76269) by debbugs.gnu.org; 24 Feb 2025 08:48:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 03:48:23 2025
Received: from localhost ([127.0.0.1]:38347 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmU8V-0000pW-0q
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 03:48:23 -0500
Received: from mailgate4.ufz.de ([141.65.7.211]:49668 helo=mailgate.ufz.de)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tmU8R-0000pI-KL
 for 76269 <at> debbugs.gnu.org; Mon, 24 Feb 2025 03:48:20 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id 4D8801602EA;
 Mon, 24 Feb 2025 09:48:18 +0100 (CET)
MIME-version: 1.0
Content-type: multipart/alternative;
 boundary="Boundary_(ID_7yX2fbrQn3yKo3yaU0/WoQ)"
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27 2020)) id <0SS600C00IVJ3300@HIDDEN>; Mon,
 24 Feb 2025 09:48:18 +0100 (CET)
Received: from smtp2.ufz.de ([141.65.7.217])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SS600AZ6J4GF9B0@HIDDEN>; Mon,
 24 Feb 2025 09:48:16 +0100 (CET)
Received: from [100.99.158.7] (unknown [141.65.34.101])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)	by smtp2.ufz.de (smtp2-UFZ)
 with ESMTPSA id 6C5B8E004D;	Mon, 24 Feb 2025 09:48:16 +0100 (CET)
Date: Mon, 24 Feb 2025 09:48:15 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: Re: [bug#76269] [PATCH] gnu: vtk: Update to 9.4.1
In-reply-to: <87pljfi31d.fsf@HIDDEN>
To: =?utf-8?q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
Message-id: <8C1550CA-E02C-48B1-9A83-E9B87B37966A@HIDDEN>
X-Mailer: MailMate (2.0r6203)
References: <e34dff8f8d9c329b0d79cbb6290962579dedb073.1739457494.git.lars.bilke@HIDDEN>
 <87pljfi31d.fsf@HIDDEN>
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76269
Cc: 76269 <at> debbugs.gnu.org
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 (-)


--Boundary_(ID_7yX2fbrQn3yKo3yaU0/WoQ)
Content-type: text/plain; charset=UTF-8; format=flowed; markup=markdown
Content-transfer-encoding: quoted-printable

Dear Ludovic,

thanks for your comments. I have uploaded a patch for freecad, this one:

https://github.com/FreeCAD/FreeCAD/commit/fafff3a08b7a6212ce3417e08b18cb2=
fc8e7e868

I hope this is fine.

Sincerely,
Lars

On 18 Feb 2025, at 18:19, Ludovic Court=C3=A8s wrote:

> Hi Lars,
>
> Lars Bilke <lars.bilke@HIDDEN> skribis:
>
>> * gnu/packages/image-processing.scm (vtk): Update to 9.4.1.
>>
>> Change-Id: Ife39df610c4487683a5c8d72b60eb750530c1358
>
> Apparently this breaks at least freecad:
>
> --8<---------------cut here---------------start------------->8---
> cd /tmp/guix-build-freecad-1.0.0.drv-0/build/src/Mod/CAM && =

> /gnu/store/2lxfijiqqljxdxr2ppqqrn5czkh4r1rq-cmake-minimal-3.24.2/bin/cm=
ake =

> -E copy =

> /tmp/guix-build-freecad-1.0.0.drv-0/source/src/Mod/CAM/Path/Op/Util.py =

> /tmp/guix-build-freecad-1.0.0.drv-0/build/Mod/CAM/Path/Op/Util.py
> /tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salomesmesh/src=
/SMDS/SMDS_UnstructuredGrid.cpp: =

> In member function =E2=80=98void SMDS_UnstructuredGrid::BuildLinks()=E2=
=80=99:
> /tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salomesmesh/src=
/SMDS/SMDS_UnstructuredGrid.cpp:1030:25: =

> error: no matching function for call to =

> =E2=80=98vtkCellLinks::BuildLinks(SMDS_UnstructuredGrid*)=E2=80=99
>  1030 |   GetLinks()->BuildLinks(this);
>       |   ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from =

> /tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salomesmesh/inc=
/SMDS_UnstructuredGrid.hxx:30,
>                  from =

> /tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salomesmesh/src=
/SMDS/SMDS_UnstructuredGrid.cpp:20:
> /gnu/store/gr8mwbl3zlx9hc4x9k5s9sgcy2kp4sr9-vtk-9.4.1/include/vtk-9.4/v=
tkCellLinks.h:64:8: =

> note: candidate: =E2=80=98virtual void vtkCellLinks::BuildLinks()=E2=80=
=99
>    64 |   void BuildLinks() override;
>       |        ^~~~~~~~~~
> /gnu/store/gr8mwbl3zlx9hc4x9k5s9sgcy2kp4sr9-vtk-9.4.1/include/vtk-9.4/v=
tkCellLinks.h:64:8: =

> note:   candidate expects 0 arguments, 1 provided
> --8<---------------cut here---------------end--------------->8---
>
> Could you take a look?  (Perhaps the solution will be to retain the
> previous version of VTK for use in packages like this one.)
>
> More generally, could you test with:
>
>   guix build -P1 vtk@HIDDEN -P1 vtk@7
>
> ?
>
> Dependent packages like =E2=80=98python-fenics-fiat=E2=80=99 are alread=
y broken, =

> so it=E2=80=99s
> =E2=80=9Cokay=E2=80=9D to keep them broken.
>
> Thanks,
> Ludo=E2=80=99.=

--Boundary_(ID_7yX2fbrQn3yKo3yaU0/WoQ)
Content-type: text/html; charset=UTF-8
Content-transfer-encoding: QUOTED-PRINTABLE

<!DOCTYPE html>
<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dut=
f-8">
</head>
<body><div style=3D"font-family: sans-serif;"><div class=3D"markdown"=
 style=3D"white-space: normal;">
<p dir=3D"auto">Dear Ludovic,</p>
<p dir=3D"auto">thanks for your comments. I have uploaded a patch for=
 freecad, this one:</p>
<p dir=3D"auto"><a href=3D"https://github.com/FreeCAD/FreeCAD/commit/=
fafff3a08b7a6212ce3417e08b18cb2fc8e7e868" style=3D"color: #3983C4;">h=
ttps://github.com/FreeCAD/FreeCAD/commit/fafff3a08b7a6212ce3417e08b18=
cb2fc8e7e868</a></p>
<p dir=3D"auto">I hope this is fine.</p>
<p dir=3D"auto">Sincerely,<br>
Lars</p>
<p dir=3D"auto">On 18 Feb 2025, at 18:19, Ludovic Court=C3=A8s wrote:=
</p>
<blockquote style=3D"margin: 0 0 5px; padding-left: 5px; border-left:=
 2px solid #777777; color: #777777;">
<p dir=3D"auto">Hi Lars,</p>
<p dir=3D"auto">Lars Bilke <a href=3D"mailto:lars.bilke@HIDDEN" style=
=3D"color: #777777;">lars.bilke@HIDDEN</a> skribis:</p>
<blockquote style=3D"margin: 0 0 5px; padding-left: 5px; border-left:=
 2px solid #777777; border-left-color: #999999; color: #999999;">
<ul>
<li>gnu/packages/image-processing.scm (vtk): Update to 9.4.1.</li>
</ul>
<p dir=3D"auto">Change-Id: Ife39df610c4487683a5c8d72b60eb750530c1358<=
/p>
</blockquote>
<p dir=3D"auto">Apparently this breaks at least freecad:</p>
<p dir=3D"auto">--8&lt;---------------cut here---------------start---=
----------&gt;8---<br>
cd /tmp/guix-build-freecad-1.0.0.drv-0/build/src/Mod/CAM &amp;&amp; /=
gnu/store/2lxfijiqqljxdxr2ppqqrn5czkh4r1rq-cmake-minimal-3.24.2/bin/c=
make -E copy /tmp/guix-build-freecad-1.0.0.drv-0/source/src/Mod/CAM/P=
ath/Op/Util.py /tmp/guix-build-freecad-1.0.0.drv-0/build/Mod/CAM/Path=
/Op/Util.py<br>
/tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salomesmesh/s=
rc/SMDS/SMDS_UnstructuredGrid.cpp: In member function =E2=80=98void S=
MDS_UnstructuredGrid::BuildLinks()=E2=80=99:<br>
/tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salomesmesh/s=
rc/SMDS/SMDS_UnstructuredGrid.cpp:1030:25: error: no matching functio=
n for call to =E2=80=98vtkCellLinks::BuildLinks(SMDS_UnstructuredGrid=
*)=E2=80=99<br>
1030 |   GetLinks()-&gt;BuildLinks(this);<br>
|   ~~~~~~~~~~~~~~~~~~~~~~^~~~~~<br>
In file included from /tmp/guix-build-freecad-1.0.0.drv-0/source/src/=
3rdParty/salomesmesh/inc/SMDS_UnstructuredGrid.hxx:30,<br>
=66rom /tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salome=
smesh/src/SMDS/SMDS_UnstructuredGrid.cpp:20:<br>
/gnu/store/gr8mwbl3zlx9hc4x9k5s9sgcy2kp4sr9-vtk-9.4.1/include/vtk-9.4=
/vtkCellLinks.h:64:8: note: candidate: =E2=80=98virtual void vtkCellL=
inks::BuildLinks()=E2=80=99<br>
64 |   void BuildLinks() override;<br>
|        ^~~~~~~~~~<br>
/gnu/store/gr8mwbl3zlx9hc4x9k5s9sgcy2kp4sr9-vtk-9.4.1/include/vtk-9.4=
/vtkCellLinks.h:64:8: note:   candidate expects 0 arguments, 1 provid=
ed<br>
--8&lt;---------------cut here---------------end---------------&gt;8-=
--</p>
<p dir=3D"auto">Could you take a look?  (Perhaps the solution will be=
 to retain the<br>
previous version of VTK for use in packages like this one.)</p>
<p dir=3D"auto">More generally, could you test with:</p>
<p dir=3D"auto">guix build -P1 vtk@HIDDEN -P1 vtk@7</p>
<p dir=3D"auto">?</p>
<p dir=3D"auto">Dependent packages like =E2=80=98python-fenics-fiat=
=E2=80=99 are already broken, so it=E2=80=99s<br>
=E2=80=9Cokay=E2=80=9D to keep them broken.</p>
<p dir=3D"auto">Thanks,<br>
Ludo=E2=80=99.</p>
</blockquote>

</div>
</div>
</body>

</html>

--Boundary_(ID_7yX2fbrQn3yKo3yaU0/WoQ)--




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

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


Received: (at 76269) by debbugs.gnu.org; 24 Feb 2025 08:43:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 03:43:59 2025
Received: from localhost ([127.0.0.1]:38336 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmU4F-0000b3-1y
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 03:43:59 -0500
Received: from mailgate5.ufz.de ([141.65.7.212]:53592 helo=mailgate.ufz.de)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tmU46-0000aV-8x
 for 76269 <at> debbugs.gnu.org; Mon, 24 Feb 2025 03:43:51 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate5-UFZ) with ESMTP id 53A9B16031D
 for <76269 <at> debbugs.gnu.org>; Mon, 24 Feb 2025 09:43:49 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SS600C00IVJ3300@HIDDEN> for 76269 <at> debbugs.gnu.org;
 Mon, 24 Feb 2025 09:43:49 +0100 (CET)
Received: from smtp1.ufz.de ([141.65.7.216])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SS600ANDIX1F9B0@HIDDEN> for
 76269 <at> debbugs.gnu.org; Mon, 24 Feb 2025 09:43:49 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp1.ufz.de (smtp1-UFZ)
 with ESMTPSA id 256B780068;	Mon, 24 Feb 2025 09:43:49 +0100 (CET)
Date: Mon, 24 Feb 2025 09:43:34 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: [PATCH 2/2] gnu: freecad: Add vtk 9.4.1 patch.
In-reply-to: <3e8105e24f1159665cdf543f49e280f183cc3667.1740386410.git.lars.bilke@HIDDEN>
To: 76269 <at> debbugs.gnu.org
Message-id: <952e5c6ef995a8e47e6b99355d7bd2c34f3f1ea5.1740386410.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
X-Debbugs-Cc: Cayetano Santos <csantosb@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
References: <3e8105e24f1159665cdf543f49e280f183cc3667.1740386410.git.lars.bilke@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76269
Cc: Lars Bilke <lars.bilke@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: -3.3 (---)

* gnu/packages/engineering.scm (freecad): Add vtk 9.4.1 patch.
* gnu/local.mk: Add freecad vtk 9.4.1 patch to list.

Change-Id: I9220aec757c2331a2dfa3eee9d0b84f774785de3
---
 gnu/local.mk                              |  1 +
 gnu/packages/engineering.scm              |  1 +
 gnu/packages/patches/freecad-vtk941.patch | 71 +++++++++++++++++++++++
 3 files changed, 73 insertions(+)
 create mode 100644 gnu/packages/patches/freecad-vtk941.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 45a9cb635e..35e1b5e6b6 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1317,6 +1317,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/fpc-reproducibility.patch		\
   %D%/packages/patches/fpc-glibc-2.34-compat.patch		\
   %D%/packages/patches/fpm-newer-clamp-fix.patch		\
+  %D%/packages/patches/freecad-vtk941.patch	\
   %D%/packages/patches/freedict-tools-fix-determinism.patch	\
   %D%/packages/patches/freedink-engine-fix-sdl-hints.patch	\
   %D%/packages/patches/freeimage-libtiff-compat.patch		\
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 234f4a2b03..d4d920cd08 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -3173,6 +3173,7 @@ (define-public freecad
        (file-name (git-file-name name version))
        (sha256
         (base32 "0wwymcfgi0cybj7m6awflk8c7n6iy97lpgpfhfncx3zwvjrxv588"))
+       (patches (search-patches "freecad-vtk941.patch"))  ;; remove on 1.1 release
        (modules '((guix build utils)))
        (snippet
         '(begin
diff --git a/gnu/packages/patches/freecad-vtk941.patch b/gnu/packages/patches/freecad-vtk941.patch
new file mode 100644
index 0000000000..e05548a599
--- /dev/null
+++ b/gnu/packages/patches/freecad-vtk941.patch
@@ -0,0 +1,71 @@
+From fafff3a08b7a6212ce3417e08b18cb2fc8e7e868 Mon Sep 17 00:00:00 2001
+From: wmayer <wmayer@HIDDEN>
+Date: Mon, 16 Dec 2024 10:56:43 +0100
+Subject: [PATCH] smesh: Fix build failure with vtk 9.4
+
+Fixes #18423
+---
+ .../src/SMDS/SMDS_UnstructuredGrid.cpp          | 17 ++++++++++-------
+ 1 file changed, 10 insertions(+), 7 deletions(-)
+
+diff --git a/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp b/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
+index e9895d615717..4e9d6dc05764 100644
+--- a/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
++++ b/src/3rdParty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp
+@@ -32,6 +32,7 @@
+ #include <vtkDoubleArray.h>
+ #include <vtkIdTypeArray.h>
+ #include <vtkUnsignedCharArray.h>
++#include <vtkVersionMacros.h>
+ 
+ #include <list>
+ #include <climits>
+@@ -249,14 +250,16 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
+     }
+   }
+ 
+-  if (this->FaceLocations)
++  vtkIdTypeArray* thisFaceLocations = GetFaceLocations();
++  vtkIdTypeArray* thisFaces = GetFaces();
++  if (thisFaceLocations)
+     {
+       vtkIdTypeArray *newFaceLocations = vtkIdTypeArray::New();
+       newFaceLocations->Initialize();
+       newFaceLocations->Allocate(newTypes->GetSize());
+       vtkIdTypeArray *newFaces = vtkIdTypeArray::New();
+       newFaces->Initialize();
+-      newFaces->Allocate(this->Faces->GetSize());
++      newFaces->Allocate(thisFaces->GetSize());
+       for (int i = 0; i < oldCellSize; i++)
+         {
+           if (this->Types->GetValue(i) == VTK_EMPTY_CELL)
+@@ -265,16 +268,16 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
+           if (newTypes->GetValue(newCellId) == VTK_POLYHEDRON)
+             {
+                newFaceLocations->InsertNextValue(newFaces->GetMaxId()+1);
+-               int oldFaceLoc = this->FaceLocations->GetValue(i);
+-               int nCellFaces = this->Faces->GetValue(oldFaceLoc++);
++               int oldFaceLoc = thisFaceLocations->GetValue(i);
++               int nCellFaces = thisFaces->GetValue(oldFaceLoc++);
+                newFaces->InsertNextValue(nCellFaces);
+                for (int n=0; n<nCellFaces; n++)
+                  {
+-                   int nptsInFace = this->Faces->GetValue(oldFaceLoc++);
++                   int nptsInFace = thisFaces->GetValue(oldFaceLoc++);
+                    newFaces->InsertNextValue(nptsInFace);
+                    for (int k=0; k<nptsInFace; k++)
+                      {
+-                       int oldpt = this->Faces->GetValue(oldFaceLoc++);
++                       int oldpt = thisFaces->GetValue(oldFaceLoc++);
+                        newFaces->InsertNextValue(idNodesOldToNew[oldpt]);
+                      }
+                  }
+@@ -292,7 +295,7 @@ void SMDS_UnstructuredGrid::compactGrid(std::vector<int>& idNodesOldToNew, int n
+     }
+   else
+   {
+-    this->SetCells(newTypes, newLocations, newConnectivity, FaceLocations, Faces);
++    this->SetCells(newTypes, newLocations, newConnectivity, thisFaceLocations, thisFaces);
+   }
+ 
+   newPoints->Delete();
\ No newline at end of file
-- 
2.46.1





Information forwarded to csantosb@HIDDEN, maxim.cournoyer@HIDDEN, guix-patches@HIDDEN:
bug#76269; Package guix-patches. Full text available.

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


Received: (at 76269) by debbugs.gnu.org; 24 Feb 2025 08:43:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 24 03:43:51 2025
Received: from localhost ([127.0.0.1]:38334 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tmU47-0000ag-F2
	for submit <at> debbugs.gnu.org; Mon, 24 Feb 2025 03:43:51 -0500
Received: from mailgate5.ufz.de ([141.65.7.212]:39766 helo=mailgate.ufz.de)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tmU45-0000aR-7d
 for 76269 <at> debbugs.gnu.org; Mon, 24 Feb 2025 03:43:50 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate5-UFZ) with ESMTP id 3F212160322
 for <76269 <at> debbugs.gnu.org>; Mon, 24 Feb 2025 09:43:47 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SS600C00IVJ3300@HIDDEN> for 76269 <at> debbugs.gnu.org;
 Mon, 24 Feb 2025 09:43:47 +0100 (CET)
Received: from smtp1.ufz.de ([141.65.7.216])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SS600AN9IWZF9B0@HIDDEN> for
 76269 <at> debbugs.gnu.org; Mon, 24 Feb 2025 09:43:47 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp1.ufz.de (smtp1-UFZ)
 with ESMTPSA id 1AA2E80068;	Mon, 24 Feb 2025 09:43:47 +0100 (CET)
Date: Mon, 24 Feb 2025 09:43:33 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: [PATCH 1/2] gnu: vtk: Update to 9.4.1
To: 76269 <at> debbugs.gnu.org
Message-id: <3e8105e24f1159665cdf543f49e280f183cc3667.1740386410.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76269
Cc: Lars Bilke <lars.bilke@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: -3.3 (---)

* gnu/packages/image-processing.scm (vtk): Update to 9.4.1.

Change-Id: Ife39df610c4487683a5c8d72b60eb750530c1358
---
 gnu/packages/image-processing.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 405f90ca9a..a456d94863 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -323,7 +323,7 @@ (define-public opencolorio
 (define-public vtk
   (package
     (name "vtk")
-    (version "9.3.0")
+    (version "9.4.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://vtk.org/files/release/"
@@ -331,7 +331,7 @@ (define-public vtk
                                   "/VTK-" version ".tar.gz"))
               (sha256
                (base32
-                "1s8vd34nhrgnw1bf9zhfn062d53fwq3csjfwvm7lxcr5a8lvkizx"))
+                "0aa5pkw2xxzksl48ldbj3cq6r4y4mxvcpl66f64gkah2s34b0ly2"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -341,7 +341,7 @@ (define-public vtk
                       (string-append "ThirdParty/" dir "/vtk" dir)))
                    ;; pugixml depended upon unconditionally
                    '("doubleconversion" "eigen" "expat" "freetype" "gl2ps"
-                     "glew" "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
+                     "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
                      "libxml2" "lz4" "netcdf" "ogg" "png" "sqlite" "theora"
                      "tiff" "zlib"))
                   (substitute* "IO/ExportPDF/vtkPDFContextDevice2D.cxx"
@@ -360,7 +360,6 @@ (define-public vtk
                "-DVTK_MODULE_USE_EXTERNAL_VTK_expat=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_freetype=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=ON"
-               "-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON"
@@ -380,7 +379,7 @@ (define-public vtk
                "-DVTK_WRAP_PYTHON=ON"
                "-DVTK_PYTHON_VERSION:STRING=3"
 
-               "-DVTK_SMP_ENABLE_OPENNMP=ON"
+               "-DVTK_SMP_ENABLE_OPENMP=ON"
                "-DVTK_SMP_ENABLE_TBB=ON"
                "-DVTK_USE_MPI=ON"
                #$@(if (target-riscv64?)

base-commit: c4fcf8fb627c9ea54a4a639a81766e5df3973fdc
-- 
2.46.1





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

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


Received: (at 76269) by debbugs.gnu.org; 18 Feb 2025 17:19:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 18 12:19:37 2025
Received: from localhost ([127.0.0.1]:60394 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tkRFw-0000hx-Qx
	for submit <at> debbugs.gnu.org; Tue, 18 Feb 2025 12:19:37 -0500
Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:45533)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1tkRFt-0000gy-R5
 for 76269 <at> debbugs.gnu.org; Tue, 18 Feb 2025 12:19:35 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=from:to:cc:subject:in-reply-to:references:date:
 message-id:mime-version:content-transfer-encoding;
 bh=gi+QT4bt/l1De0CxSspg0xTbGsjcV7MzFwRkQVs86ec=;
 b=PdY/XTEMFeXOLGs/vRWqoC2Dp5OFYj6yoHpO4Z4QE4HoLbpR5IRVwnq5
 ueh0OJNmrSDTmalMFLB2/dnEnYbBYho/wRNCRrJepT7L/ZmWX7QnwqKRS
 okVP366e9XpFCsLZ45Rvor6iT8FzF4+l1bgwDuE3SDwZcsz40k5l7K0j0 w=;
Authentication-Results: mail3-relais-sop.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.13,296,1732575600"; d="scan'208";a="109444758"
Received: from unknown (HELO ribbon) ([193.50.110.84])
 by mail3-relais-sop.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2025 18:19:27 +0100
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: Lars Bilke <lars.bilke@HIDDEN>
Subject: Re: [bug#76269] [PATCH] gnu: vtk: Update to 9.4.1
In-Reply-To: <e34dff8f8d9c329b0d79cbb6290962579dedb073.1739457494.git.lars.bilke@HIDDEN>
 (Lars Bilke's message of "Thu, 13 Feb 2025 15:38:14 +0100")
References: <e34dff8f8d9c329b0d79cbb6290962579dedb073.1739457494.git.lars.bilke@HIDDEN>
Date: Tue, 18 Feb 2025 18:19:26 +0100
Message-ID: <87pljfi31d.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 76269
Cc: 76269 <at> debbugs.gnu.org
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: -3.3 (---)

Hi Lars,

Lars Bilke <lars.bilke@HIDDEN> skribis:

> * gnu/packages/image-processing.scm (vtk): Update to 9.4.1.
>
> Change-Id: Ife39df610c4487683a5c8d72b60eb750530c1358

Apparently this breaks at least freecad:

--8<---------------cut here---------------start------------->8---
cd /tmp/guix-build-freecad-1.0.0.drv-0/build/src/Mod/CAM && /gnu/store/2lxf=
ijiqqljxdxr2ppqqrn5czkh4r1rq-cmake-minimal-3.24.2/bin/cmake -E copy /tmp/gu=
ix-build-freecad-1.0.0.drv-0/source/src/Mod/CAM/Path/Op/Util.py /tmp/guix-b=
uild-freecad-1.0.0.drv-0/build/Mod/CAM/Path/Op/Util.py
/tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salomesmesh/src/SMD=
S/SMDS_UnstructuredGrid.cpp: In member function =E2=80=98void SMDS_Unstruct=
uredGrid::BuildLinks()=E2=80=99:
/tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdParty/salomesmesh/src/SMD=
S/SMDS_UnstructuredGrid.cpp:1030:25: error: no matching function for call t=
o =E2=80=98vtkCellLinks::BuildLinks(SMDS_UnstructuredGrid*)=E2=80=99
 1030 |   GetLinks()->BuildLinks(this);
      |   ~~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from /tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdPar=
ty/salomesmesh/inc/SMDS_UnstructuredGrid.hxx:30,
                 from /tmp/guix-build-freecad-1.0.0.drv-0/source/src/3rdPar=
ty/salomesmesh/src/SMDS/SMDS_UnstructuredGrid.cpp:20:
/gnu/store/gr8mwbl3zlx9hc4x9k5s9sgcy2kp4sr9-vtk-9.4.1/include/vtk-9.4/vtkCe=
llLinks.h:64:8: note: candidate: =E2=80=98virtual void vtkCellLinks::BuildL=
inks()=E2=80=99
   64 |   void BuildLinks() override;
      |        ^~~~~~~~~~
/gnu/store/gr8mwbl3zlx9hc4x9k5s9sgcy2kp4sr9-vtk-9.4.1/include/vtk-9.4/vtkCe=
llLinks.h:64:8: note:   candidate expects 0 arguments, 1 provided
--8<---------------cut here---------------end--------------->8---

Could you take a look?  (Perhaps the solution will be to retain the
previous version of VTK for use in packages like this one.)

More generally, could you test with:

  guix build -P1 vtk@HIDDEN -P1 vtk@7

?

Dependent packages like =E2=80=98python-fenics-fiat=E2=80=99 are already br=
oken, so it=E2=80=99s
=E2=80=9Cokay=E2=80=9D to keep them broken.

Thanks,
Ludo=E2=80=99.




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

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


Received: (at submit) by debbugs.gnu.org; 13 Feb 2025 14:38:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 13 09:38:54 2025
Received: from localhost ([127.0.0.1]:41531 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tiaMg-0005g4-9p
	for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 09:38:54 -0500
Received: from lists.gnu.org ([2001:470:142::17]:48154)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lars.bilke@HIDDEN>) id 1tiaMd-0005fm-I5
 for submit <at> debbugs.gnu.org; Thu, 13 Feb 2025 09:38:52 -0500
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 <lars.bilke@HIDDEN>) id 1tiaMS-0007Qp-AO
 for guix-patches@HIDDEN; Thu, 13 Feb 2025 09:38:40 -0500
Received: from mailgate4.ufz.de ([141.65.7.211] helo=mailgate.ufz.de)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lars.bilke@HIDDEN>) id 1tiaMQ-0000rP-9k
 for guix-patches@HIDDEN; Thu, 13 Feb 2025 09:38:40 -0500
Received: from imap.intranet.ufz.de (dcs1.intranet.ufz.de [141.65.125.135])
 by mailgate.ufz.de (Mailgate4-UFZ) with ESMTP id C49E616030D
 for <guix-patches@HIDDEN>; Thu, 13 Feb 2025 15:38:33 +0100 (CET)
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: TEXT/PLAIN
Received: from conversion-daemon.imap.intranet.ufz.de by imap.intranet.ufz.de
 (Oracle Communications Messaging Server 8.0.2.6.20200227 64bit
 (built Feb 27
 2020)) id <0SRM00000LT70W00@HIDDEN> for guix-patches@HIDDEN;
 Thu, 13 Feb 2025 15:38:33 +0100 (CET)
Received: from smtp1.ufz.de ([141.65.7.216])
 by imap.intranet.ufz.de (Oracle Communications Messaging Server
 8.0.2.6.20200227 64bit (built Feb 27 2020))
 with ESMTPS id <0SRM00FA1M09HZ20@HIDDEN> for
 guix-patches@HIDDEN; Thu, 13 Feb 2025 15:38:33 +0100 (CET)
Received: from envinf4.minotaur-alpha.ts.net (unknown [141.65.34.85])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)	key-exchange
 X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested)	by smtp1.ufz.de (smtp1-UFZ)
 with ESMTPSA id 91AED8007E;	Thu, 13 Feb 2025 15:38:33 +0100 (CET)
Date: Thu, 13 Feb 2025 15:38:14 +0100
From: Lars Bilke <lars.bilke@HIDDEN>
Subject: [PATCH] gnu: vtk: Update to 9.4.1
To: guix-patches@HIDDEN
Message-id: <e34dff8f8d9c329b0d79cbb6290962579dedb073.1739457494.git.lars.bilke@HIDDEN>
X-Mailer: git-send-email 2.46.1
Received-SPF: pass client-ip=141.65.7.211; envelope-from=lars.bilke@HIDDEN;
 helo=mailgate.ufz.de
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: submit
Cc: Lars Bilke <lars.bilke@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 (-)

* gnu/packages/image-processing.scm (vtk): Update to 9.4.1.

Change-Id: Ife39df610c4487683a5c8d72b60eb750530c1358
---
 gnu/packages/image-processing.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index 20e188bd70..cf29bf22f5 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -323,7 +323,7 @@ (define-public opencolorio
 (define-public vtk
   (package
     (name "vtk")
-    (version "9.3.0")
+    (version "9.4.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://vtk.org/files/release/"
@@ -331,7 +331,7 @@ (define-public vtk
                                   "/VTK-" version ".tar.gz"))
               (sha256
                (base32
-                "1s8vd34nhrgnw1bf9zhfn062d53fwq3csjfwvm7lxcr5a8lvkizx"))
+                "0aa5pkw2xxzksl48ldbj3cq6r4y4mxvcpl66f64gkah2s34b0ly2"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -341,7 +341,7 @@ (define-public vtk
                       (string-append "ThirdParty/" dir "/vtk" dir)))
                    ;; pugixml depended upon unconditionally
                    '("doubleconversion" "eigen" "expat" "freetype" "gl2ps"
-                     "glew" "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
+                     "hdf5" "jpeg" "jsoncpp" "libharu" "libproj"
                      "libxml2" "lz4" "netcdf" "ogg" "png" "sqlite" "theora"
                      "tiff" "zlib"))
                   (substitute* "IO/ExportPDF/vtkPDFContextDevice2D.cxx"
@@ -360,7 +360,6 @@ (define-public vtk
                "-DVTK_MODULE_USE_EXTERNAL_VTK_expat=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_freetype=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=ON"
-               "-DVTK_MODULE_USE_EXTERNAL_VTK_glew=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=ON"
                "-DVTK_MODULE_USE_EXTERNAL_VTK_jsoncpp=ON"
@@ -380,7 +379,7 @@ (define-public vtk
                "-DVTK_WRAP_PYTHON=ON"
                "-DVTK_PYTHON_VERSION:STRING=3"
 
-               "-DVTK_SMP_ENABLE_OPENNMP=ON"
+               "-DVTK_SMP_ENABLE_OPENMP=ON"
                "-DVTK_SMP_ENABLE_TBB=ON"
                "-DVTK_USE_MPI=ON"
                #$@(if (target-riscv64?)

base-commit: bcce7f8fa8b821b76591b297f61d473c5972e397
-- 
2.46.1





Acknowledgement sent to Lars Bilke <lars.bilke@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#76269; 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: Sun, 2 Mar 2025 01:45:02 UTC

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