Bug 282753 - graphics/zeno: update to 2024.10.1
Summary: graphics/zeno: update to 2024.10.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL: https://github.com/zenustech/zeno/rel...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-14 10:03 UTC by Martin Filla
Modified: 2024-11-20 20:59 UTC (History)
1 user (show)

See Also:


Attachments
0001-zeno-update-to-zeno-2024.10.1.patch (12.96 KB, patch)
2024-11-14 10:03 UTC, Martin Filla
no flags Details | Diff
0001-zeno-update-to-zeno-2024.10.1.patch (14.57 KB, patch)
2024-11-14 11:28 UTC, Martin Filla
no flags Details | Diff
0001-zeno-update-to-zeno-2024.10.1.patch (13.79 KB, patch)
2024-11-14 20:44 UTC, Martin Filla
no flags Details | Diff
0001-zeno-update-zeno-2024.10.1.patch (13.90 KB, patch)
2024-11-17 08:40 UTC, Martin Filla
freebsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2024-11-14 10:03:31 UTC
Created attachment 255164 [details]
0001-zeno-update-to-zeno-2024.10.1.patch

Hi,
this is an update to 2024.10.1



Updating database digests format: .......... done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	zeno: 2024.10.1

Number of packages to be removed: 1

The operation will free 97 MiB.
[141amd64-default] [1/1] Deinstalling zeno-2024.10.1...
[141amd64-default] [1/1] Deleting files for zeno-2024.10.1: ...... done
===========================================================================
=>> Checking for extra files and directories
[00:16:25] Installing from package
[141amd64-default] Installing zeno-2024.10.1...
[141amd64-default] Extracting zeno-2024.10.1: ...... done
[00:16:28] Cleaning up
===>  Cleaning for zeno-2024.10.1
[00:16:28] Deinstalling package
Updating database digests format: . done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
	zeno: 2024.10.1

Number of packages to be removed: 1

The operation will free 97 MiB.
[141amd64-default] [1/1] Deinstalling zeno-2024.10.1...
[141amd64-default] [1/1] Deleting files for zeno-2024.10.1: ...... done
build of graphics/zeno | zeno-2024.10.1 ended at Thu Nov 14 10:30:23 CET 2024
build time: 00:08:39
[00:16:29] Logs: /usr/local/poudriere/data/logs/bulk/141amd64-default/2024-11-14_10h13m54s
[00:16:29] Cleaning up
[00:16:29] Unmounting file systems
Comment 1 Martin Filla 2024-11-14 11:28:04 UTC
Created attachment 255166 [details]
0001-zeno-update-to-zeno-2024.10.1.patch
Comment 2 Martin Filla 2024-11-14 20:44:39 UTC
Created attachment 255182 [details]
0001-zeno-update-to-zeno-2024.10.1.patch
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2024-11-16 22:35:01 UTC
What is the purpose of the patch graphics/zeno/files/patch-CMakeLists.txt?
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2024-11-16 23:03:26 UTC
FAILED: zeno/CMakeFiles/zeno.dir/src/nodes/neo/PrimUnmerge.cpp.o
/usr/bin/c++ -DZENO_BENCHMARKING -DZENO_DLLEXPORT -Dzeno_EXPORTS -I/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/include -I/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/tpls/include -I/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/tpls/deprecated -O2 -pipe -march=core2 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wno-all -Wno-cpp -Wno-deprecated-declarations -Wno-enum-compare -Wno-ignored-attributes -Wno-extra -Wreturn-type -Wmissing-declarations -Wnon-virtual-dtor -Wsuggest-override -Wconversion-null -Wuninitialized -Wno-format-security -Wnarrowing -Wno-maybe-uninitialized -O2 -pipe -march=core2 -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -std=gnu++17 -fPIC -fopenmp=libomp -MD -MT zeno/CMakeFiles/zeno.dir/src/nodes/neo/PrimUnmerge.cpp.o -MF zeno/CMakeFiles/zeno.dir/src/nodes/neo/PrimUnmerge.cpp.o.d -o zeno/CMakeFiles/zeno.dir/src/nodes/neo/PrimUnmerge.cpp.o -c /wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:237:35: warning: captured structured bindings are a C++20 extension [-Wc++20-extensions]
  237 |                     arr[i] = attr[val[i]];
      |                                   ^
/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:227:26: note: 'val' declared here
  227 |         for (auto &[key, val]: mapping) {
      |                          ^
/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:237:35: error: capturing a structured binding is not yet supported in OpenMP
  237 |                     arr[i] = attr[val[i]];
      |                                   ^
/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:227:26: note: 'val' declared here
  227 |         for (auto &[key, val]: mapping) {
      |                          ^
/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:261:35: warning: captured structured bindings are a C++20 extension [-Wc++20-extensions]
  261 |                     arr[i] = attr[val[i]];
      |                                   ^
/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:251:26: note: 'val' declared here
  251 |         for (auto &[key, val]: mapping) {
      |                          ^
/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:261:35: error: capturing a structured binding is not yet supported in OpenMP
  261 |                     arr[i] = attr[val[i]];
      |                                   ^
/wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:251:26: note: 'val' declared here
  251 |         for (auto &[key, val]: mapping) {
      |                          ^
3 warnings and 2 errors generated.
Comment 5 Martin Filla 2024-11-17 08:07:15 UTC
(In reply to Vladimir Druzenko from comment #3)
disable sanitizer
Comment 6 Martin Filla 2024-11-17 08:40:09 UTC
Created attachment 255230 [details]
0001-zeno-update-zeno-2024.10.1.patch
Comment 7 Martin Filla 2024-11-17 08:40:35 UTC
(In reply to Vladimir Druzenko from comment #4)
Fixed with use USE_GCC=yes
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2024-11-20 17:00:50 UTC
(In reply to Martin Filla from comment #7)
I see your report: https://github.com/zenustech/zeno/issues/2022
Comment 9 commit-hook freebsd_committer freebsd_triage 2024-11-20 18:23:55 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7be75c9ecc19bd535a4dffad828005b58f45f7c5

commit 7be75c9ecc19bd535a4dffad828005b58f45f7c5
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2024-11-20 18:20:35 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-11-20 18:23:27 +0000

    graphics/zeno: Update 2023.11.16 → 2024.10.1

    Use GCC for build:
    /wrkdirs/usr/ports/graphics/zeno/work/zeno-2024.10.1/zeno/src/nodes/neo/PrimUnmerge.cpp:237:35: error: capturing a structured binding is not yet supported in OpenMP
      237 |                     arr[i] = attr[val[i]];
          |                                   ^

    Upstream issue: https://github.com/zenustech/zeno/issues/2022
    LLVM issue:     https://github.com/llvm/llvm-project/issues/33025

    Changelog:
    https://github.com/zenustech/zeno/releases/tag/2024.10.1

    PR:     282753

 graphics/zeno/Makefile                                     |  4 +++-
 graphics/zeno/distinfo                                     |  6 +++---
 .../files/patch-ui_zenodesign_layertreeitemdelegate.cpp    |  8 +-------
 .../files/patch-ui_zenoedit_launch_serialize.cpp (new)     | 10 ++++++++++
 .../zeno/files/patch-ui_zenoedit_launch_viewdecode.cpp     |  4 ++--
 .../zeno/files/patch-ui_zenoedit_launch_ztcpserver.cpp     |  4 ++--
 graphics/zeno/files/patch-ui_zenoedit_nodesys_zenonode.cpp | 10 ++--------
 graphics/zeno/files/patch-ui_zenoedit_recordmain.cpp       |  4 ++--
 graphics/zeno/files/patch-ui_zenoedit_util_apphelper.cpp   |  4 ++--
 graphics/zeno/files/patch-ui_zenoedit_util_apphelper.h     |  5 ++---
 .../patch-ui_zenoedit_viewportinteraction_nodesync.cpp     |  8 +-------
 graphics/zeno/files/patch-ui_zenoedit_zenoapplication.cpp  |  8 ++++----
 graphics/zeno/files/patch-ui_zenoedit_zenomainwindow.cpp   |  4 ++--
 graphics/zeno/files/patch-zenovis_src_Scene.cpp (gone)     | 12 ------------
 .../patch-zenovis_src_optx_RenderEngineOptx.cpp (gone)     | 14 --------------
 15 files changed, 36 insertions(+), 69 deletions(-)
Comment 10 Vladimir Druzenko freebsd_committer freebsd_triage 2024-11-20 20:59:27 UTC
Thanks.