Error determining file type of `/opt/local/bin/prove': lstat(/opt/local/bin/prove):no such file or directory

Ryan Schmidt ryandesign at macports.org
Sat Apr 7 18:16:25 PDT 2012


I just upgraded from MacPorts 2.0 branch to trunk, and so upon upgrading a port, I got this:



$ sudo port -u install pngcrush
--->  Fetching distfiles for pngcrush
--->  Attempting to fetch pngcrush-1.7.26.tar.bz2 from http://softlayer.dl.sourceforge.net/project/pmt/pngcrush/1.7.26
--->  Verifying checksum(s) for pngcrush
--->  Extracting pngcrush
--->  Configuring pngcrush
--->  Building pngcrush
--->  Staging pngcrush into destroot
--->  Installing pngcrush @1.7.26_0+universal
--->  Deactivating pngcrush @1.7.25_0+universal
--->  Activating pngcrush @1.7.26_0+universal
--->  Cleaning pngcrush
--->  Updating database of binaries: 3.8%
Warning: Error determining file type of `/opt/local/bin/prove': lstat(/opt/local/bin/prove):no such file or directory
Error: Updating database of binaries failed
invalid command name ""
    while executing
"[registry::entry owner [$f path]] name"
    ("foreach" body line 17)
    invoked from within
"foreach f $files {
                    if {![macports::ui_isset ports_debug]} {
                        if {$files_count < 10000 || $i % 10 == 1 || $i..."
    invoked from within
"try {
                ui_msg -nonewline "$macports::ui_prefix Updating database of binaries"
                set i 1
                foreach f $files ..."
    invoked from within
"registry::write {
            try {
                ui_msg -nonewline "$macports::ui_prefix Updating database of binaries"
                set i 1
   ..."
    (procedure "revupgrade_scanandrebuild" line 8)
    invoked from within
"revupgrade_scanandrebuild broken_port_counts $opts"
    (procedure "macports::revupgrade" line 5)
    invoked from within
"macports::revupgrade $opts"
    (procedure "action_revupgrade" line 2)
    invoked from within
"action_revupgrade $action $portlist $opts"
    (procedure "action_target" line 94)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 95)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command
    set exit_status [process_cmd $remaining..."
    (file "/opt/local/bin/port" line 4772)



/opt/local/bin/prove should of course have come from the perl5 port, but on my system, I have:

$ port contents perl5 | grep prove
  /opt/local/bin/prove.mp_1328294983
  /opt/local/share/man/man1p/prove.1pm





More information about the macports-dev mailing list