[MacPorts] #21107: Cannot install ftpsync: invalid command name "license"

MacPorts noreply at macports.org
Sat Sep 5 01:16:44 PDT 2009


#21107: Cannot install ftpsync: invalid command name "license"
------------------------------+---------------------------------------------
  Reporter:  mail@…           |       Owner:  macports-tickets@…                   
      Type:  defect           |      Status:  closed                               
  Priority:  Normal           |   Milestone:                                       
 Component:  base             |     Version:  1.7.1                                
Resolution:  worksforme       |    Keywords:  ftpsync invalid command              
      Port:                   |  
------------------------------+---------------------------------------------
Changes (by blb@…):

  * status:  new => closed
  * component:  ports => base
  * priority:  High => Normal
  * version:  1.8.0 => 1.7.1
  * resolution:  => worksforme
  * port:  ftpsync =>


Old description:

> Trying to install ftpsync on 10.5.8 is not possible:
>
> ~>sudo port install ftpsync at 1.2.34
> Error: Unable to execute port: invalid command name "license"
>

> Using the -d DEBUG-Flag shows:
>
> DEBUG: Didn't find receipt, going to depspec regex for: perl5
> DEBUG: Found Dependency: path: /opt/local/bin filename: perl regex:
> ^perl$
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
> DEBUG: Searching for dependency: perl5
> DEBUG: Didn't find receipt, going to depspec regex for: perl5
> DEBUG: Found Dependency: path: /opt/local/bin filename: perl regex:
> ^perl$
> DEBUG: Found port in
> file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
> DEBUG: Changing to port directory:
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
> DEBUG: setting option os.universal_supported to yes
> DEBUG: org.macports.load registered provides 'load', a pre-existing
> procedure. Target override will not be provided
> DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
> existing procedure. Target override will not be provided
> DEBUG: Using group file
> /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
> DEBUG: invalid command name "license"
>     while executing
> "license                        BSD"
>     (file "Portfile" line 13)
>     invoked from within
> "source Portfile"
>     invoked from within
> "$workername eval source Portfile"
>     (procedure "mportopen" line 46)
>     invoked from within
> "mportopen $porturl $options $variations"
>     (procedure "mportdepends" line 66)
>     invoked from within
> "mportdepends $subport "" $recurseDeps $skipSatisfied $accDeps"
>     (procedure "mportdepends" line 91)
>     invoked from within
> "mportdepends $subport "" $recurseDeps $skipSatisfied $accDeps"
>     (procedure "mportdepends" line 91)
>     invoked from within
> "mportdepends $mport $target"
>     (procedure "mportexec" line 23)
>     invoked from within
> "mportexec $workername $target"
> Error: Unable to execute port: invalid command name "license"

New description:

 Trying to install ftpsync on 10.5.8 is not possible:
 {{{
 ~>sudo port install ftpsync at 1.2.34
 Error: Unable to execute port: invalid command name "license"


 Using the -d DEBUG-Flag shows:

 DEBUG: Didn't find receipt, going to depspec regex for: perl5
 DEBUG: Found Dependency: path: /opt/local/bin filename: perl regex: ^perl$
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5
 DEBUG: Searching for dependency: perl5
 DEBUG: Didn't find receipt, going to depspec regex for: perl5
 DEBUG: Found Dependency: path: /opt/local/bin filename: perl regex: ^perl$
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/openssl
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: Using group file
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl
 DEBUG: invalid command name "license"
     while executing
 "license                        BSD"
     (file "Portfile" line 13)
     invoked from within
 "source Portfile"
     invoked from within
 "$workername eval source Portfile"
     (procedure "mportopen" line 46)
     invoked from within
 "mportopen $porturl $options $variations"
     (procedure "mportdepends" line 66)
     invoked from within
 "mportdepends $subport "" $recurseDeps $skipSatisfied $accDeps"
     (procedure "mportdepends" line 91)
     invoked from within
 "mportdepends $subport "" $recurseDeps $skipSatisfied $accDeps"
     (procedure "mportdepends" line 91)
     invoked from within
 "mportdepends $mport $target"
     (procedure "mportexec" line 23)
     invoked from within
 "mportexec $workername $target"
 Error: Unable to execute port: invalid command name "license"
 }}}

--

Comment:

 Your MacPorts install is out of date, you need to first run selfupdate
 (license was added for 1.8.0):
 {{{
 $ sudo port selfupdate
 }}}
 then it should be fine.

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


More information about the macports-tickets mailing list