Opened 11 years ago

Closed 11 years ago

#37711 closed defect (worksforme)

vtk5 will not build

Reported by: coden@… Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: vtk5

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello,

I am unable to install a number of ports that depend on vtk5. I have OS X 10.7.5, X Code 4.1. I have been using macports for a over a year on this machine with no problems. The last part of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/main.log follows.

:info:build [ 60%] Built target vtkGraphicsTCL
: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 -j8 -w all
:info:build Exit code: 2
:error:build org.macports.build for port vtk5 returned: command execution failed
:debug:build Error code: CHILDSTATUS 72504 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
"$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 have run done the following: upgrade outdated, selfupdate, uninstall vtk5, clean vtk5, install vtk5, install vtk5 build.jobs=1. VTK was working previously with python.

Thanks for help. -coden

Attachments (1)

main.log.tgz (506.8 KB) - added by coden@… 11 years ago.
compress main.log file

Download all attachments as: .zip

Change History (7)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to adfernandes@…

Please attach the entire (possibly compressed) main.log; the portion you showed us above only tells us that an error occurred, not what the error was.

Also remember to use WikiFormatting.

comment:2 in reply to:  1 Changed 11 years ago by seanfarley (Sean Farley)

Replying to ryandesign@…:

Please attach the entire (possibly compressed) main.log; the portion you showed us above only tells us that an error occurred, not what the error was.

Also remember to use WikiFormatting.

Since the user's build failed at,

[ 60%] Built target vtkGraphicsTCL

I'm suspecting that this error is due to the recent tcl upgrade.

Changed 11 years ago by coden@…

Attachment: main.log.tgz added

compress main.log file

comment:3 in reply to:  description Changed 11 years ago by coden@…

Replying to coden@…:

main.log attached.

Hello,

I am unable to install a number of ports that depend on vtk5. I have OS X 10.7.5, X Code 4.1. I have been using macports for a over a year on this machine with no problems. The last part of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_vtk5/vtk5/main.log follows.

:info:build [ 60%] Built target vtkGraphicsTCL
: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 -j8 -w all
:info:build Exit code: 2
:error:build org.macports.build for port vtk5 returned: command execution failed
:debug:build Error code: CHILDSTATUS 72504 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
"$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 have run done the following: upgrade outdated, selfupdate, uninstall vtk5, clean vtk5, install vtk5, install vtk5 build.jobs=1. VTK was working previously with python.

Thanks for help. -coden

comment:4 Changed 11 years ago by adfernandes (Andrew Fernandes)

Hmm... VTK 5.10.1 is supposed to be compatible with TCL 8.6.

Have you updated all ports, TCL included?

I'm trying to build vtk5 +tcltk now.

comment:5 Changed 11 years ago by adfernandes (Andrew Fernandes)

On 10.8.2, latest Xcode, etc. building vtk5 +python27 +tcltk works for me. Therefore this might be a 10.7 issue.

Can you please do a

sudo port selfupdate
sudo port uninstall inactive
sudo port clean all
sudo port upgrade outdated

and try a rebuild? Thanks!

comment:6 Changed 11 years ago by adfernandes (Andrew Fernandes)

Resolution: worksforme
Status: newclosed

Quote from original reporter (out of band):

I am sorry to say that I have uninstalled macports and used another package manager (homebrew) because I needed to move forward. Before uninstalling macports, I did try updating xcode and xcode command line tools with no success. Since homebrew and macports don't get along very well, I would rather not reinstall macports. I appreciate your help and apologize for not helping any further.

Note: See TracTickets for help on using tickets.