[MacPorts] #33465: vtk5 +qt4_mac build fails (vtk build with --python upstream bug)

MacPorts noreply at macports.org
Wed Mar 7 14:25:37 PST 2012


#33465: vtk5 +qt4_mac build fails (vtk build with --python upstream bug)
------------------------------------+---------------------------------------
 Reporter:  v.favrenicolin@…        |       Owner:  adfernandes@…           
     Type:  defect                  |      Status:  new                     
 Priority:  Normal                  |   Milestone:                          
Component:  ports                   |     Version:  2.0.4                   
 Keywords:  vtk5 python             |        Port:  vtk5                    
------------------------------------+---------------------------------------

Comment(by v.favrenicolin@…):

 Trying:
 {{{
  sudo port install vtk5 +qt4_mac build.jobs=1
 }}}

 Does not make a difference (of course, this times it finishes with the
 error). Last lines are :
 {{{
 :info:build /usr/bin/clang++   -pipe -O2 -arch x86_64   -O3 -DNDEBUG -arch
 x86_64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
 -L/opt/local/lib -arch x86_64  -flat_namespace -undefined suppress -u
 _PyMac_Error CMakeFiles/vtkpython.dir/vtkPythonAppInit.cxx.o  -o
 ../../bin/vtkpython  -lpthread /opt/local/lib/libpython2.7.dylib
 ../../bin/libvtksys.5.8.0.dylib ../../bin/libvtkCommon.5.8.0.dylib
 ../../bin/libvtkFiltering.5.8.0.dylib ../../bin/libvtkIO.5.8.0.dylib
 ../../bin/libvtkGraphics.5.8.0.dylib ../../bin/libvtkImaging.5.8.0.dylib
 /usr/lib/libutil.dylib ../../bin/libvtkRendering.5.8.0.dylib
 ../../bin/libvtkVolumeRendering.5.8.0.dylib
 ../../bin/libvtkHybrid.5.8.0.dylib ../../bin/libvtkWidgets.5.8.0.dylib
 ../../bin/libvtkCharts.5.8.0.dylib ../../bin/libvtkGeovis.5.8.0.dylib
 ../../bin/libvtkInfovis.5.8.0.dylib ../../bin/libvtkViews.5.8.0.dylib
 ../../bin/libvtkInfovis.5.8.0.dylib ../../bin/libvtkWidgets.5.8.0.dylib
 ../../bin/libvtkVolumeRendering.5.8.0.dylib
 ../../bin/libvtkHybrid.5.8.0.dylib ../../bin/libvtkRendering.5.8.0.dylib
 ../../bin/libvtkIO.5.8.0.dylib ../../bin/libvtkGraphics.5.8.0.dylib
 ../../bin/libvtkImaging.5.8.0.dylib ../../bin/libvtkFiltering.5.8.0.dylib
 ../../bin/libvtkCommon.5.8.0.dylib ../../bin/libvtksys.5.8.0.dylib
 /opt/local/lib/libQtGui.dylib /opt/local/lib/libQtSql.dylib
 /opt/local/lib/libQtCore.dylib -lobjc -lm -lpthread
 /opt/local/lib/libpython2.7.dylib /usr/lib/libutil.dylib
 :info:build ld: file not found:
 /opt/local/lib/vtk-5.8/libvtkDICOMParser.5.8.dylib for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [bin/vtkpython] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK'
 :info:build make[1]: *** [Wrapping/Python/CMakeFiles/vtkpython.dir/all]
 Error 2
 :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/VTK'
 :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/VTK'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/work/VTK"
 && /usr/bin/make -w all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for vtk5):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for vtk5 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/main.log
 }}}
 [[BR]]
 Something more strange (?): I tried building the previous version (4.6.8)
 by dowloading the portfile - but ended up with the ''same'' error - which
 would indicate that the error was triggered by a change outside vtk...

-- 
Ticket URL: <https://trac.macports.org/ticket/33465#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list