[MacPorts] #16788: BUG: Error: Unable to open port: invalid command name "use_lzma"
#16788: BUG: Error: Unable to open port: invalid command name "use_lzma" ---------------------------------+------------------------------------------ Reporter: milosh@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Keywords: | Port: ---------------------------------+------------------------------------------ I am trying to update texlive port but the new distfiles happen to be compressed using lzma. By chance, use_lzma exists in macports (at least in man portfile), but using it results in error telling that use_lzma is not a valid macports command {{{ % port -d lint texlive_base DEBUG: Found port in file:///home/manu/tmp/macports/dports//tex/texlive_base DEBUG: Changing to port directory: /home/manu/tmp/macports/dports/tex/texlive_base 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: invalid command name "use_lzma" while executing "use_lzma yes" (file "Portfile" line 24) invoked from within "source Portfile" invoked from within "$workername eval source Portfile" (procedure "mportopen" line 46) invoked from within "mportopen $porturl [array get options] [array get variations]" Error: Unable to open port: invalid command name "use_lzma" }}} -- Ticket URL: <http://trac.macports.org/ticket/16788> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16788: BUG: Error: Unable to open port: invalid command name "use_lzma" ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ----------------------------------+----------------------------------------- Comment(by blb@macports.org): use_lzma was recently added to trunk (r38960) so it shouldn't be used yet in Portfiles, since it wouldn't work with 1.6-based installs. Have a look at the [http://trac.macports.org/browser/trunk/dports/textproc/texinfo/Portfile texinfo port] for one way of handling lzma for now. -- Ticket URL: <http://trac.macports.org/ticket/16788#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16788: BUG: Error: Unable to open port: invalid command name "use_lzma" ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ----------------------------------+----------------------------------------- Comment(by milosh@macports.org): Yes, that's what I did. However, I'm surprised that a feature that is present in trunk fails to be understood in trunk. -- Ticket URL: <http://trac.macports.org/ticket/16788#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16788: BUG: Error: Unable to open port: invalid command name "use_lzma" ----------------------------------+----------------------------------------- Reporter: milosh@macports.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Resolution: | Keywords: Port: | ----------------------------------+----------------------------------------- Comment(by afb@macports.org): Replying to [comment:2 milosh@…]:
Yes, that's what I did. However, I'm surprised that a feature that is present in trunk fails to be understood in trunk.
trunk/dports doesn't use trunk/base, it uses branches/release_1_6/base. Too many trunks around, I suppose. -- Ticket URL: <http://trac.macports.org/ticket/16788#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16788: BUG: Error: Unable to open port: invalid command name "use_lzma" ----------------------------------+----------------------------------------- Reporter: milosh@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Resolution: fixed | Keywords: Port: | ----------------------------------+----------------------------------------- Changes (by jmr@…): * cc: jmr@… (added) * status: new => closed * resolution: => fixed Comment: Fixed in r42865. Don't go using it until 1.7.0 is released, though! :-) -- Ticket URL: <http://trac.macports.org/ticket/16788#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts