Opened 12 years ago
Closed 10 years ago
#38014 closed defect (invalid)
mutt-devel @1.5.21 Variants not being built as specified
Reported by: | macports.org@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | mutt-devel |
Description
Variants are not being included as specified when building mutt-devel
. I first noticed this when attempting to build and install mutt-devel
with the variants +compress+deepif+date_conditional+debug+imap+smtp+sasl+ssl++xlabel+gdbm+headercache+idn
, but noticed that +headercache+idn
were not being included in the resulting build.
This is also demonstrable with a different/smaller set of variants. See the example command history below.
$ sudo port installed mutt-devel The following ports are currently installed: mutt-devel @1.5.21_2+gdbm+imap+pop+smtp (active) $ sudo port uninstall mutt-devel ---> Deactivating mutt-devel @1.5.21_2+gdbm+imap+pop+smtp ---> Cleaning mutt-devel ---> Uninstalling mutt-devel @1.5.21_2+gdbm+imap+pop+smtp ---> Cleaning mutt-devel $ sudo port clean mutt-devel ---> Cleaning mutt-devel $ sudo port install mutt-devel +imap+smtp++ssl+sasl+idn ---> Computing dependencies for mutt-devel ---> Fetching archive for mutt-devel ---> Attempting to fetch mutt-devel-1.5.21_2+gdbm+imap+pop+smtp.darwin_12.x86_64.tbz2 from http://packages.macports.org/mutt-devel ---> Attempting to fetch mutt-devel-1.5.21_2+gdbm+imap+pop+smtp.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/mutt-devel ---> Attempting to fetch mutt-devel-1.5.21_2+gdbm+imap+pop+smtp.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/mutt-devel ---> Fetching distfiles for mutt-devel ---> Verifying checksum(s) for mutt-devel ---> Extracting mutt-devel ---> Applying patches to mutt-devel ---> Configuring mutt-devel ---> Building mutt-devel ---> Staging mutt-devel into destroot ---> Installing mutt-devel @1.5.21_2+gdbm+imap+pop+smtp ---> Activating mutt-devel @1.5.21_2+gdbm+imap+pop+smtp ---> Cleaning mutt-devel ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. $ sudo port installed mutt-devel The following ports are currently installed: mutt-devel @1.5.21_2+gdbm+imap+pop+smtp (active)
Note that +ssl+sasl
are specified for inclusion and +pop
is not, yet the resulting build is +gdbm+imap+pop+smtp
and lacks +ssl+sasl
.
The output of "port variants mutt-devel
" does not indicate dependencies which may be causing this.
mutt-devel has the variants: compress: Compressed folders date_conditional: Allow the format of dates in the index to vary based on how recent the message is * requires deepif db4: Use Berkeley DB database * conflicts with gdbm qdbm tokyocabinet debug: Debugging support deepif: Allow nested if-else sequences in strings gdbm: Use GNU dbm database * conflicts with db4 qdbm tokyocabinet gnuregex: Use the GNU regular expression library gpgme: Enable GPGME crypto support headercache: Enable header caching (requires gdbm, qdbm, or tokyocabinet) * conflicts with db4 idn: Internationalized Domain Name support [+]imap: IMAP support nntp: NNTP support * conflicts with sidebar [+]pop: POP support qdbm: Use QDBM database * conflicts with db4 gdbm tokyocabinet sasl: Simple Authentication and Security Layer support sidebar: Add a sidebar with a list of folders * conflicts with nntp smtp: Include internal SMTP relay support ssl: Secure Sockets Layer support tokyocabinet: Use Tokyo Cabinet database * conflicts with db4 gdbm qdbm trash: Add a Trash folder universal: Build for multiple architectures xlabel: Custom message-tagging - X-Label:
Change History (10)
comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)
Owner: | changed from macports-tickets@… to mnick@… |
---|
comment:2 follow-up: 5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Try again without doubling the "+" sign before a variant name.
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
+pop and +imap are default variants of mutt-devel; they'll be selected even if you don't ask for them explicitly. If you don't want them, explicitly deselect them by using -pop and -imap.
comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
+gdbm is also a default variant, although the port does not properly indicate that. Maximilian, the line in the port that reads "variant_set gdbm" should instead be "default_variants +gdbm"; see wiki:PortfileRecipes#default_variants
comment:5 Changed 12 years ago by macports.org@…
Replying to ryandesign@…:
Try again without doubling the "+" sign before a variant name.
DOH! That was it, apparently. Now my original test case works too – found a spurious +
doubled up there as well. Mea culpa. Sorry about that. :(
comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Glad that worked, though I'm unsure why MacPorts didn't either 1) handle the double "+" correctly or 2) print an error.
comment:8 Changed 11 years ago by mf2k (Frank Schima)
Resolution: | invalid |
---|---|
Status: | closed → reopened |
comment:9 Changed 11 years ago by mf2k (Frank Schima)
Owner: | changed from mnick@… to macports-tickets@… |
---|---|
Status: | reopened → new |
mnick has retired.
comment:10 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Thanks for the ticket. In the future, please Cc relevant port maintainers.