Opened 2 years ago

Closed 10 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)

main.zip (965.4 KB) - added by fradexnox (Paula Quiroz Rojo) 2 years ago.
zip of the main.log file (had to zip because of size restriction)

Download all attachments as: .zip

Change History (9)

Changed 2 years ago by fradexnox (Paula Quiroz Rojo)

Attachment: main.zip added

zip of the main.log file (had to zip because of size restriction)

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: newassigned

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 12 months ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:6 Changed 12 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.

Last edited 12 months ago by Dave-Allured (Dave Allured) (previous) (diff)

comment:7 Changed 10 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.

  1. VTK is now updated to 9.3.0.
  1. No response to test request.

comment:8 Changed 10 months ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.