Opened 12 years ago
Closed 12 years ago
#39056 closed defect (fixed)
rust is missing from the PortIndex
Reported by: | jmroot (Joshua Root) | Owned by: | larryv (Lawrence Velázquez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | g5pw (Aljaž Srebrnič), cooljeanius (Eric Gallager) | |
Port: | rust |
Description
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
Change History (7)
comment:1 Changed 12 years ago by cooljeanius (Eric Gallager)
Cc: | egall@… added |
---|
comment:2 Changed 12 years ago by g5pw (Aljaž Srebrnič)
Interesting... Why would build_arch be unset in the server environment?
comment:3 Changed 12 years ago by jmroot (Joshua Root)
It's not unset, it's set to the empty string. And it's like that because archflags are only supported on Darwin.
comment:4 follow-ups: 5 6 Changed 12 years ago by g5pw (Aljaž Srebrnič)
Hmm... but the configure.build_arch variable is used in a platform darwin block, so it should work fine! How is the portindex generated?
comment:5 Changed 12 years ago by jmroot (Joshua Root)
Replying to 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. Also, an empty build_arch is valid (if not recommended) on darwin too.
How is the portindex generated?
comment:6 Changed 12 years ago by larryv (Lawrence Velázquez)
Cc: | g5pw@… added; larryv@… removed |
---|---|
Owner: | changed from g5pw@… to larryv@… |
Status: | new → assigned |
Replying to 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)
.
comment:7 Changed 12 years ago by larryv (Lawrence Velázquez)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
r105932 should fix it.
Cc Me!