Opened 6 weeks ago

Last modified 2 weeks ago

#65420 assigned defect

vtk @8.2.0_11 +python39 : fails to build on arm/Monterey

Reported by: fradexnox (Paula Quiroz Rojo) Owned by: stromnov (Andrew Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: rdbisme (Ruben Di Battista), cooljeanius (Eric Gallager)
Port: vtk


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.

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

Download all attachments as: .zip

Change History (5)

Changed 6 weeks ago by fradexnox (Paula Quiroz Rojo)

Attachment: added

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

comment:1 Changed 6 weeks ago by ryandesign (Ryan 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.

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 6 weeks ago by jmroot (Joshua Root)

Cc: rdbisme added
Owner: set to stromnov
Status: newassigned

comment:3 Changed 6 weeks ago by fradexnox (Paula Quiroz Rojo)


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 weeks ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.