Opened 11 years ago

Closed 9 years ago

#40569 closed defect (invalid)

install conflict?

Reported by: soneel@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

upon installing macports, i get the following error, which im having a hard time resolving:

invalid command name "mport_filtervariants"
    while executing
"mport_filtervariants [array get requested_variations] yes"
    ("uplevel" body line 33)
    invoked from within
"uplevel 1 $block"
    (procedure "foreachport" line 18)
    invoked from within
"foreachport $portlist {
        set target $action

        # If we have a url, use that, since it's most specific
        # otherwise try to map the ..."
    (procedure "action_target" line 7)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 92)
    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/passcal/other/bin/port" line 3695)

Is this because I have other software installed in /opt/local, where macports wants to live? If so, should I uninstall, then re-install in a new location - or will i run into problems if macports is not in /opt/local?

Change History (3)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Please clarify: you get this problem after installing MacPorts (if so how did you install MacPorts?), or after installing a port (if so what port?) It looks like you compiled MacPorts from source, using --prefix=/opt/passcal/other? If so, do you have other software in /opt/local? If so, what is it?

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Please respond not by email but by visiting the ticket URL and typing your comment into the web page. I'm copying in the response you sent me by private email:

Yes,
I just installed macports today, having never used it before. The code compiled from the package installed (OSX 10.7.5) with no obvious errors, but then i tried 2 ports both gave same error message that i pasted in the previous email. These were for ImageMagick and when that didnt work i tried Pallet.
I do have a software bundle in /opt/local. It is a suite of seismic data processing scripts found here:
http://www.passcal.nmt.edu/ftp/software/passoft/osx/

Im bringing a laptop up to speed and perhaps it will be easier to do the imagemagick work on this machine if there is a conflict with installing macports somewhere else. Ive tried installing imagemagick from source, and that seems to be a chore. So far no luck, but i cant say these things are my strong point.

Thanks for your time.

Shad

Pallet is known to not work well right now, there are many open tickets. ImageMagick should work however. Did MacPorts print the location of a main.log file? If so please attach it to this ticket. If not, what is the exact command you ran? i.e. did you run "sudo port install ImageMagick"? I see one prior report of this error message in #27581 but the only resolution mentioned there was to reinstall MacPorts.

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

mport_filtervariants is a procedure that existed in old versions of MacPorts base, but it was removed in about 1.9. So I’m guessing that this Passcal package includes an old version of MacPorts for some reason. All evidence is that that is what the reporter was running, so I’m closing this ticket.

Note: See TracTickets for help on using tickets.