Opened 13 years ago

Closed 13 years ago

#33832 closed defect (fixed)

phase-by-phase cannot find portfetch::mirror_sites::archive_frameworks_dir(macports_archives)

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.0.99
Keywords: archive Cc: jmroot (Joshua Root)
Port:

Description

When installing a package phase-by-phase, MacPorts is unable to find this key when attempting to install: portfetch::mirror_sites::archive_frameworks_dir(macports_archives).

DEBUG: can't read "portfetch::mirror_sites::archive_frameworks_dir(macports_archives)": no such element in array
    while executing
"if {$portfetch::mirror_sites::archive_prefix($site) == $prefix &&
            $portfetch::mirror_sites::archive_frameworks_dir($site) == $frameworks_d..."
    (procedure "portarchivefetch::filter_sites" line 16)
    invoked from within
"portarchivefetch::filter_sites"
    invoked from within
"set archive_sites [portarchivefetch::filter_sites]"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 set $optionName $option_defaults($optionName)"
    (procedure "default_check" line 11)
    invoked from within
"default_check archive_sites {} r"
    (read trace on "archive_sites")
    invoked from within
"lsearch $archive_sites macports_archives::*"
    (procedure "_archive_available" line 27)
    invoked from within
"_archive_available"
    invoked from within
"$workername eval _archive_available"
    ("install" arm line 4)
    invoked from within
"switch $target {
        fetch       -
        checksum    { return "depends_fetch" }
        extract     -
        patch       { return "depends_fetc..."
    (procedure "macports::_deptypes_for_target" line 2)
    invoked from within
"macports::_deptypes_for_target $target $workername"
    (procedure "mportexec" line 31)
    invoked from within
"mportexec $workername $target"

Change History (2)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Works for me. Got a specific example?

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.