Opened 9 years ago

Closed 9 years ago

#50155 closed defect (duplicate)

vtk5 @ 5.10.1_3 Building error: command execution failed

Reported by: b.stadlbauer@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc:
Port: vtk5

Description

I want to get the port dolphin (1.6.0_1) and one of its dependency is vtk5. The process fails at building vtk5 and if I want to install vtk5 only I get the same error message:

--->  Building vtk5
Error: org.macports.build for port vtk5 returned: command execution failed
Please see the log file...

I tried

sudo port clean vtk5
sudo port selfupdate
sudo port install vtk5

but got the same error. The last lines in main.log are (compressed main.log attached):

:info:build [ 14%] Built target vtkCommon
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1" && /usr/bin/make -j4 -w all VERBOSE=ON 
:info:build Exit code: 2
:error:build org.macports.build for port vtk5 returned: command execution failed
:debug:build Error code: CHILDSTATUS 4737 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for vtk5: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port vtk5 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/main.log

I searched for similar tickets but found nothing. My Mac runs with 10.11 ElCapitan and Xcode 7.2

Attachments (1)

main.log.bz2 (41.0 KB) - added by b.stadlbauer@… 9 years ago.
compressed main.log

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by b.stadlbauer@…

Attachment: main.log.bz2 added

compressed main.log

comment:1 Changed 9 years ago by seanfarley (Sean Farley)

I was just able to build vtk5 +python27 -x11 just now. Maybe clean and try that?

comment:2 in reply to:  1 Changed 9 years ago by b.stadlbauer@…

Replying to sean@…:

I was just able to build vtk5 +python27 -x11 just now. Maybe clean and try that?

Unfortunately this isn't working either sudo port clean vtk5 and sudo port install vtk5 +python27 -x11 returns the same error. But thank you!

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: nomaintainer@… removed
Resolution: duplicate
Status: newclosed

The relevant error in the log is:

:info:build dyld: Library not loaded: /opt/local/lib/vtk-5.10/libvtksys.5.10.dylib
:info:build   Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/Utilities/MaterialLibrary/../../bin/ProcessShader
:info:build   Reason: image not found
:info:build /bin/sh: line 1:  6966 Trace/BPT trap: 5       ../../bin/ProcessShader /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/Utilities/MaterialLibrary/vtkGLSLShaderLibrary.h vtkShaderGLSL Code GetCode /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/Utilities/MaterialLibrary/GLSLShaders/TestAppVarFrag.glsl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/Utilities/MaterialLibrary/GLSLShaders/TestVertex.glsl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/Utilities/MaterialLibrary/GLSLShaders/TestVtkPropertyFrag.glsl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/Utilities/MaterialLibrary/GLSLShaders/TestMatrixFrag.glsl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/Utilities/MaterialLibrary/GLSLShaders/TestScalarVectorFrag.glsl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK5.10.1/Utilities/MaterialLibrary/GLSLShaders/Twisted.glsl

Duplicate of #49418.

Note: See TracTickets for help on using tickets.