[MacPorts] #35534: p5.12-tk won't build on Mountain Lion

MacPorts noreply at macports.org
Sun Aug 5 04:14:13 PDT 2012


#35534: p5.12-tk won't build on Mountain Lion
----------------------------------+-----------------------------------------
 Reporter:  tsuehpsyde@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  2.1.2                                
 Keywords:                        |        Port:  p5-tk                                
----------------------------------+-----------------------------------------
Changes (by ryandesign@…):

  * port:  => p5-tk


Old description:

> Trying to build cssh on Mountain Lion, but I get the following error:
>
> ########################################
>
> $ sudo port install cssh
> --->  Computing dependencies for cssh
> --->  Dependencies to be installed: p5.12-tk
> --->  Building p5.12-tk
> Error: org.macports.build for port p5.12-tk returned: command execution
> failed
> Error: Failed to install p5.12-tk
> Please see the log file for port p5.12-tk for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/main.log
> Error: The following dependencies were not installed: p5.12-tk
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port cssh failed
>
> ########################################
>
> Digging in a bit, it throws an exit code two. Tracking it down, it
> appears to be that make all is missing?
>
> ########################################
>
> $ cat
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/main.log
> version:1
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 501
> :debug:main euid changed to: 502
> :debug:main Executing org.macports.main (p5.12-tk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.archivefetch (p5.12-tk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (p5.12-tk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (p5.12-tk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (p5.12-tk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (p5.12-tk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.configure (p5.12-tk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:build build phase started at Sat Aug  4 19:22:35 CDT 2012
> :notice:build --->  Building p5.12-tk
> :debug:build Executing org.macports.build (p5.12-tk)
> :debug:build Environment: CPATH='/opt/local/include'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/.CC_PRINT_OPTIONS'
> LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
> MACOSX_DEPLOYMENT_TARGET='10.8'
> :debug:build Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029"
> && /usr/bin/make -j4 -w all'
> :debug:build Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029"
> && /usr/bin/make -j4 -w all
> :info:build make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029'
> :info:build make: *** No rule to make target `all'.  Stop.
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029"
> && /usr/bin/make -j4 -w all
> :info:build Exit code: 2
> :error:build org.macports.build for port p5.12-tk returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 97290 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 p5.12-tk:
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :error:build Failed to install p5.12-tk
> :debug:build couldn't open
> "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
> no such file or directory
>     while executing
> "open [file join $dir tclIndex]"
> :notice:build Please see the log file for port p5.12-tk for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/main.log
>
> ########################################
>
> And running the actual command itself:
>
> ########################################
>
> $  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029"
> && /usr/bin/make -j4 -w all
> make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029'
> make: *** No rule to make target `all'.  Stop.
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029'
>
> ########################################
>
> Not sure how to go about fixing it, but would love to get cssh working!
> Any help is appreciated.
>
> Thanks!
>
> -Jim
> tsuehpsyde at gmail.com

New description:

 Trying to build cssh on Mountain Lion, but I get the following error:

 {{{
 $ sudo port install cssh
 --->  Computing dependencies for cssh
 --->  Dependencies to be installed: p5.12-tk
 --->  Building p5.12-tk
 Error: org.macports.build for port p5.12-tk returned: command execution
 failed
 Error: Failed to install p5.12-tk
 Please see the log file for port p5.12-tk for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/main.log
 Error: The following dependencies were not installed: p5.12-tk
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port cssh failed
 }}}

 Digging in a bit, it throws an exit code two. Tracking it down, it appears
 to be that make all is missing?

 {{{
 $ cat
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/main.log
 version:1
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:main Executing org.macports.main (p5.12-tk)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.archivefetch (p5.12-tk)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.fetch (p5.12-tk)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.checksum (p5.12-tk)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.extract (p5.12-tk)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.patch (p5.12-tk)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:main Skipping completed org.macports.configure (p5.12-tk)
 :debug:main Privilege de-escalation not attempted as not running as root.
 :debug:build build phase started at Sat Aug  4 19:22:35 CDT 2012
 :notice:build --->  Building p5.12-tk
 :debug:build Executing org.macports.build (p5.12-tk)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.8'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029"
 && /usr/bin/make -j4 -w all'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029"
 && /usr/bin/make -j4 -w all
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029'
 :info:build make: *** No rule to make target `all'.  Stop.
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029"
 && /usr/bin/make -j4 -w all
 :info:build Exit code: 2
 :error:build org.macports.build for port p5.12-tk returned: command
 execution failed
 :debug:build Error code: CHILDSTATUS 97290 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 p5.12-tk:
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :error:build Failed to install p5.12-tk
 :debug:build couldn't open
 "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex":
 no such file or directory
     while executing
 "open [file join $dir tclIndex]"
 :notice:build Please see the log file for port p5.12-tk for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/main.log
 }}}

 And running the actual command itself:

 {{{
 $  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029"
 && /usr/bin/make -j4 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029'
 make: *** No rule to make target `all'.  Stop.
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-tk/p5.12-tk/work/Tk-804.029'
 }}}

 Not sure how to go about fixing it, but would love to get cssh working!
 Any help is appreciated.

 Thanks!

 -Jim
 tsuehpsyde at gmail.com

--

Comment:

 First, "sudo port clean p5.12-tk" and try again. If it fails again, attach
 (not paste) the new main.log to this ticket. Remember to use
 WikiFormatting when writing in Trac.

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


More information about the macports-tickets mailing list