id summary reporter owner description type status priority milestone component version resolution keywords cc port 33490 vtk5 -r90101 expecting a vtk library that isn't there. /opt/local/lib/vtk-5.8/libvtkftgl.5.8.dylib shinko.cheng@… adfernandes "Hello, I tried upgrading vtk5 -r90101 to the latest 5.8 today via ports and found the following error: {{{ station:~ sycheng$ sudo port install vtk5 Password: ---> Computing dependencies for vtk5 ---> Fetching archive for vtk5 ---> Attempting to fetch vtk5-5.8.0_0+python27+tcltk+x11.darwin_10.x86_64.tbz2 from http://packages.macports.org/vtk5 ---> Fetching vtk5 ---> Verifying checksum(s) for vtk5 ---> Extracting vtk5 ---> Configuring vtk5 ---> Building vtk5 Error: Target org.macports.build returned: shell command failed (see log for details) Log for vtk5 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_rel ease_ports_graphics_vtk5/vtk5/main.log Error: Status 1 encountered during processing. To report a bug, see }}} Then I navigated to the log file and found the error occured when executing this command: {{{ :info:build shell command "" cd ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/vtk5/work/VTK"" && /usr/bin/make -j4 -w all "" returned error 2 }}} So I went to the directory and typed 'sudo make' to found this to be the problem: {{{ Linking CXX executable ../../bin/vtkpython cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_vtk5/vtk5/work/VTK/Wrapping/Python && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/vtkpython.dir/link.txt --verbose=1 /usr/bin/g++-4.2 -pipe -O2 -arch x86_64 -Wno-deprecated -O3 -DNDEBUG -arch x86_64 -isysroot / -mmacosx-version-min=10.6 -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 /opt/local/lib/libtk.dylib /opt/local/lib/libtcl.dylib -lm -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 -lm -lm -lpthread /opt/local/lib/libpython2.7.dylib /usr/lib/libutil.dylib ld: warning: duplicate dylib /usr/lib/libutil.dylib ld: file not found: /opt/local/lib/vtk-5.8/libvtkftgl.5.8.dylib collect2: ld returned 1 exit status make[2]: *** [bin/vtkpython] Error 1 make[1]: *** [Wrapping/Python/CMakeFiles/vtkpython.dir/all] Error 2 make: *** [all] Error 2 }}} Any suggestions? Thanks. Shinko" defect closed Normal ports 2.0.4 fixed vtk5