Ticket #12306 (new defect)
BUG: "variant foo bar { ... }" constructs fail at package archival time
| Reported by: | jmpp@… | Owned by: | jmpp@… |
|---|---|---|---|
| Priority: | High | Milestone: | MacPorts Future |
| Component: | base | Version: | 1.5.0 |
| Keywords: | archivemode, double variants | Cc: | jmpp@… |
| Port: |
Description
Listing two variant names in a single line in order to define a common code block for both causes the archival stage to fail:
archiving port+foo bar.<platform>.<archiveformat> bar.<platform>.<archiveformat>: no such file or directory
Archive creation code is failing to add the second variant to the archive file name and adding a space instead, causing a no such file or directory error. We should either fix this or refuse such constructs, in view of the variant descriptions feature introduced recently (don't know if two variants on a single line plays well with variant descriptions, haven't checked).
-jmpp
Change History
Note: See
TracTickets for help on using
tickets.

