Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#21107 closed defect (worksforme)

Cannot install ftpsync: invalid command name "license"

Reported by: mail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.7.1
Keywords: ftpsync invalid command Cc:
Port:

Description (last modified by blb@…)

Trying to install ftpsync on 10.5.8 is not possible:

~>sudo port install ftpsync@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"

Change History (2)

comment:1 Changed 15 years ago by blb@…

Component: portsbase
Description: modified (diff)
Port: ftpsync removed
Priority: HighNormal
Resolution: worksforme
Status: newclosed
Version: 1.8.01.7.1

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.

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

Yes, please update your software regularly via selfupdate.

Note: See TracTickets for help on using tickets.