Opened 6 years ago

Closed 6 years ago

#57884 closed defect (fixed)

paraview @5.5.2: fails to build properly on Mojave

Reported by: kennethchall Owned by: jjstickel (Jonathan Stickel)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc: dstrubbe (David Strubbe)
Port: paraview

Description (last modified by mf2k (Frank Schima))

I am trying to build paraview using MacPorts on a MacBook Pro (Retina, 15-inch, Mid 2015) recently upgraded to Mojave. I went through the process of migrating my MacPorts installation using the procedure described at wiki:Migration. I then tried to install paraview. The dependent ports seems to install OK, but the paraview install failed about 92% though the build according to the build log (attached). I did a port clean paraview then tried to install again. Same thing. Log is attached. Here is the screen output:

$ sudo port install paraview
--->  Computing dependencies for paraview
--->  Fetching archive for paraview
--->  Attempting to fetch paraview-5.5.2_0+ffmpeg+mpich.darwin_18.x86_64.tbz2 from https://packages.macports.org/paraview
--->  Attempting to fetch paraview-5.5.2_0+ffmpeg+mpich.darwin_18.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/paraview
--->  Attempting to fetch paraview-5.5.2_0+ffmpeg+mpich.darwin_18.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/paraview
--->  Fetching distfiles for paraview
--->  Verifying checksums for paraview
--->  Extracting paraview
--->  Applying patches to paraview
--->  Configuring paraview
--->  Building paraview
Error: Failed to build paraview: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_paraview/paraview/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port paraview failed

Attachments (1)

main.log.Z (4.6 MB) - added by kennethchall 6 years ago.
paraview installation log (compressed due to large size)

Change History (7)

Changed 6 years ago by kennethchall

Attachment: main.log.Z added

paraview installation log (compressed due to large size)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Cc: dstrubbe added; jjstickel@… removed
Description: modified (diff)
Owner: set to jjstickel
Status: newassigned

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 6 years ago by jjstickel (Jonathan Stickel)

In the log file, the relevant error seems to be

:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_paraview/paraview/work/build/Plugins/SurfaceLIC/doc && /opt/local/bin/cmake -E copy_directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_paraview/paraview/work/ParaView-v5.5.2/Plugins/SurfaceLIC/doc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_paraview/paraview/work/build/Plugins/SurfaceLIC/doc
:info:build /bin/sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_paraview/paraview/work/build/Plugins/SurfaceLIC/doc: No such file or directory
:info:build make[2]: *** [Plugins/SurfaceLIC/doc/SurfaceLIC.qch] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_paraview/paraview/work/build'
:info:build make[1]: *** [Plugins/SurfaceLIC/CMakeFiles/SurfaceLIC.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....

So it's complaining about a missing directory. That doesn't seem like it would be an issue specific to Mojave (I'm still using Sierra). I see you tried default variants +ffmpeg and +mpich. I found that +openmpi would NOT build for me, and I have not tried +mpich. My working install is +ffmpeg +python36. Unfortunately, it takes a really long time to test various build scenarios.

comment:4 Changed 6 years ago by kencu (Ken)

confirming the default install paraview-5.5.2_2+ffmpeg+mpich does not build on Mojave due to the above error.

comment:5 Changed 6 years ago by kencu (Ken)

or -mpich either. Looks like this issue has been seen before:

<https://paraview.paraview.narkive.com/n9FcOfk1/surfacelic-issues-with-paraview-5-2-0>

comment:6 Changed 6 years ago by ken-cunningham-webuse

Resolution: fixed
Status: assignedclosed

In 7cc7dc35ce28b5d7eccd648c090ed7beefe2a9dd/macports-ports (master):

paraview: requires qt5-qtxmlpatterns

closes: #57884

Note: See TracTickets for help on using tickets.