[MacPorts] #39056: rust is missing from the PortIndex
#39056: rust is missing from the PortIndex --------------------+-------------------- Reporter: jmr@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: rust --------------------+-------------------- rust doesn't parse in the server environment and is thus missing from the pregenerated PortIndex files. The parse failure can be reproduced on OS X like so: {{{ port info rust build_arch="" Error: Unable to open port: can't read "stage0(hash)": no such element in array }}} -- Ticket URL: <https://trac.macports.org/ticket/39056> MacPorts <http://www.macports.org/> Ports system for OS X
#39056: rust is missing from the PortIndex ---------------------+-------------------- Reporter: jmr@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: rust | ---------------------+-------------------- Comment (by g5pw@…): Interesting... Why would build_arch be unset in the server environment? -- Ticket URL: <https://trac.macports.org/ticket/39056#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39056: rust is missing from the PortIndex ---------------------+-------------------- Reporter: jmr@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: rust | ---------------------+-------------------- Comment (by jmr@…): It's not unset, it's set to the empty string. And it's like that because archflags are only supported on Darwin. -- Ticket URL: <https://trac.macports.org/ticket/39056#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39056: rust is missing from the PortIndex ---------------------+-------------------- Reporter: jmr@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: rust | ---------------------+-------------------- Comment (by g5pw@…): Hmm... but the configure.build_arch variable is used in a platform darwin block, so it should work fine! How is the portindex generated? -- Ticket URL: <https://trac.macports.org/ticket/39056#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39056: rust is missing from the PortIndex ---------------------+-------------------- Reporter: jmr@… | Owner: g5pw@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: rust | ---------------------+-------------------- Comment (by jmr@…): Replying to [comment:4 g5pw@…]:
Hmm... but the configure.build_arch variable is used in a platform darwin block, so it should work fine! The indices are generated for various darwin versions. How is the portindex generated? source:trunk/base/portmgr/jobs/mprsyncup#L127
-- Ticket URL: <https://trac.macports.org/ticket/39056#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39056: rust is missing from the PortIndex ---------------------+---------------------- Reporter: jmr@… | Owner: larryv@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: rust | ---------------------+---------------------- Changes (by larryv@…): * cc: larryv@… (removed) * cc: g5pw@… (added) * owner: g5pw@… => larryv@… * status: new => assigned Comment: Replying to [comment:4 g5pw@…]:
Hmm... but the configure.build_arch variable is used in a platform darwin block, so it should work fine!
Yes, but the switch inside the platform block doesn’t account for an empty `configure.build_arch`, so the rest of the platform block chokes on the nonexistent `stage0(hash)` and (I presume) `stage0(rmd160)` and `stage0(sha256)`. -- Ticket URL: <https://trac.macports.org/ticket/39056#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39056: rust is missing from the PortIndex ---------------------+---------------------- Reporter: jmr@… | Owner: larryv@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: rust | ---------------------+---------------------- Changes (by larryv@…): * status: assigned => closed * resolution: => fixed Comment: r105932 should fix it. -- Ticket URL: <https://trac.macports.org/ticket/39056#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts