Opened 2 years ago
Closed 11 months ago
#65420 closed defect (fixed)
vtk @8.2.0_11 +python39 : fails to build on arm/Monterey
Reported by: | fradexnox (Paula Quiroz Rojo) | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | rdbisme (Ruben Di Battista), cooljeanius (Eric Gallager), Dave-Allured (Dave Allured) | |
Port: | vtk |
Description
This fails to build on my MacBook Pro.
What is unnerving is that it builds finely on the computer of a co-worker. We have the same version of:
- MacOS (12.4)
- XCode (13.4.1)
- Clang (Apple clang-1316.0.21.2.5).
Attachments (1)
Change History (9)
Changed 2 years ago by fradexnox (Paula Quiroz Rojo)
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Hmm, according to your log, clang is crashing.
clang: error: unable to execute command: Segmentation fault: 11 clang: error: clang frontend command failed due to signal (use -v to see invocation) Apple clang version 13.1.6 (clang-1316.0.21.2.5)
You could attach the crash log that macOS should have placed into /Library/Logs/DiagnosticReports though I'm not sure if we'll be able to interpret it to find the cause.
comment:2 Changed 2 years ago by jmroot (Joshua Root)
Cc: | rdbisme added |
---|---|
Owner: | set to stromnov |
Status: | new → assigned |
comment:3 Changed 2 years ago by fradexnox (Paula Quiroz Rojo)
Hello,
Contrary to what the logs says, there is no ".crash" file, there are only clang-2022-07-05-105114.000.ips and clang-2022-07-05-105114.ips files.
Since it is a compiler error, I tried to re-install the port with the " +gccdevel" variant, but I met another error :
:info:build duplicate symbol '_exodus_unused_symbol_dummy_1' in: :info:build CMakeFiles/vtkexodusII.dir/src/ex_create_par.c.o :info:build CMakeFiles/vtkexodusII.dir/src/ex_open_par.c.o :info:build ld: 1 duplicate symbol for architecture arm64 :info:build collect2: error: ld returned 1 exit status :info:build make[2]: *** [lib/libvtkexodusII-8.2.1.dylib] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_vtk/vtk/work/build'
In the end I managed to install the vtk module for python using pip. So I am out of trouble... If this is too much of trouble for you to solve you may close the ticket.
Anyway thanks for you help.
comment:4 Changed 2 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:5 Changed 14 months ago by Dave-Allured (Dave Allured)
Cc: | Dave-Allured added |
---|
comment:6 Changed 13 months ago by Dave-Allured (Dave Allured)
@fradexnox or anyone, VTK is now updated. Please re-test vtk +python39 or greater, and post here, so we can close this ticket. Thanks.
Edit: Re-test on arm/Monterey with python variant is needed because it is the target of this ticket. The default variant is doing fine on all of the ARM buildbots.
comment:7 Changed 11 months ago by Dave-Allured (Dave Allured)
Please close this ticket. If this problem still exists after updating, please start a new ticket against the new version.
- VTK is now updated to 9.3.0.
- No response to test request.
comment:8 Changed 11 months ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
zip of the main.log file (had to zip because of size restriction)