Re: nested port upgrading and variants

2016-10-27 Thread Marko Käning
I think that when you already have opencv+qt5+opencv >>> installed, an automatic upgrade to opencv should behave like `port upgrade >>> opencv`. IOW, it should maintain the active variants. Anything else is a >>> waste of time and source of frustration. >> >>

Re: nested port upgrading and variants

2016-10-27 Thread René J . V . Bertin
ld behave like `port upgrade > > opencv`. IOW, it should maintain the active variants. Anything else is a > > waste of time and source of frustration. > > I'm not aware of any reason why that wouldn't happen. MacPorts preserves > variants on upgrades. And neither do I

Re: nested port upgrading and variants

2016-10-27 Thread Ryan Schmidt
you already have opencv+qt5+opencv installed, > an automatic upgrade to opencv should behave like `port upgrade opencv`. IOW, > it should maintain the active variants. Anything else is a waste of time and > source of frustration. I'

Re: nested port upgrading and variants

2016-10-27 Thread David Strubbe
> >kf5-digikam-devel or not). > > That's what I told Marko too, but we're not talking here about the initial > installation. I think that when you already have opencv+qt5+opencv > installed, an automatic upgrade to opencv should behave like `port upgrade > opencv`.

Re: nested port upgrading and variants

2016-10-27 Thread René J . V . Bertin
a meaningful variant for >kf5-digikam-devel or not). That's what I told Marko too, but we're not talking here about the initial installation. I think that when you already have opencv+qt5+opencv installed, an automatic upgrade to opencv should behave like `port upgrade opencv`. IOW, i

Re: nested port upgrading and variants

2016-10-27 Thread David Strubbe
es the active_variants portgroup to "depend" on variants of one of > its dependencies. > > From our exchange: > > > > >> BUT that’s not all yet. Once also needs to select the +contrib > variant, > > > >> otherwise you have to run another loop

nested port upgrading and variants

2016-10-27 Thread René J . V . Bertin
Hi, Marko tells me he's been having issues with upgrading one of my KF5 ports that uses the active_variants portgroup to "depend" on variants of one of its dependencies. From our exchange: > > >> BUT that’s not all yet. Once also needs to select the +contrib variant

Dependencies that depend on installed ports/variants

2016-10-20 Thread Mojca Miklavec
Hi, Trac seems to be down for me at the moment. I switched most of the ports to perl5.24, but there are some ports like - cpuid - docbook-utils - pcsc-tools that do just PortGroup perl5 1.0 depends_build port:p${perl5.major}-foo without specifying the perl version to use

Re: variants

2016-04-13 Thread Bradley Giesbrecht
> On Apr 12, 2016, at 5:41 AM, Takeshi Enomoto wrote: > >> The implementation I propose is: pass on default variants like for >> user-selected variants, nothing more or less. > > The compiliation does not have to be avoided for variants, > but it would be nice i

Re: variants

2016-04-13 Thread Daniel J. Luke
files, would require quite some extra trickery. Given that MacPorts is rather unique with the concept of variants in general, I find it hard to believe that solving it the same way other package managers must solve it is impossible. Of course, the other obvious way to fix things is for the depend

Re: variants

2016-04-12 Thread Mojca Miklavec
On 12 April 2016 at 20:49, Daniel J. Luke wrote: > On Apr 12, 2016, at 1:34 PM, Christopher Jones wrote: >> Take if you want, as a real world case, ROOT6, which I know well. It has a >> large number of variants, because upstream’s build system offers all these >> as optional

Re: variants

2016-04-12 Thread Daniel J. Luke
On Apr 12, 2016, at 4:08 PM, Christopher Jones wrote: >> the current situation is basically the same as what upstream provides when >> building from source. > > No, it is very different. > > reinstalling with a new set of variants is a lot easier than figuring but by

Re: variants

2016-04-12 Thread Christopher Jones
> On 12 Apr 2016, at 8:50 pm, Daniel J. Luke wrote: > > On Apr 12, 2016, at 3:04 PM, Christopher Jones > wrote: >>> How do other package managers (that don't have variants) deal with ROOT6? >> >> I guess they have to decide a set of options that most

Re: variants

2016-04-12 Thread Daniel J. Luke
On Apr 12, 2016, at 3:04 PM, Christopher Jones wrote: >> How do other package managers (that don't have variants) deal with ROOT6? > > I guess they have to decide a set of options that most people want, and just > go with that. and we can't do that? >> How d

Re: variants

2016-04-12 Thread Christopher Jones
; sub-ports. >>> >>> It would be nice if upstream could be convinced to 'fix' this. >> >> You’ll need to convince them (and me) first its a bug that needs fixing. I >> don’t see it that way. > > How do other package managers (that don't ha

Re: variants

2016-04-12 Thread Daniel J. Luke
this. > > You’ll need to convince them (and me) first its a bug that needs fixing. I > don’t see it that way. How do other package managers (that don't have variants) deal with ROOT6? How do users know what functionality they have installed when they install ROOT6 from source? How

Re: variants

2016-04-12 Thread Christopher Jones
> On 12 Apr 2016, at 7:49 pm, Daniel J. Luke wrote: > > On Apr 12, 2016, at 1:34 PM, Christopher Jones > wrote: >> Take if you want, as a real world case, ROOT6, which I know well. It has a >> large number of variants, because upstream’s build system offers all thes

Re: variants

2016-04-12 Thread Daniel J. Luke
On Apr 12, 2016, at 1:34 PM, Christopher Jones wrote: > Take if you want, as a real world case, ROOT6, which I know well. It has a > large number of variants, because upstream’s build system offers all these as > optional extras. Many of them have dependencies I do not wish to for

Re: variants

2016-04-12 Thread Christopher Jones
t +foo builds lib-A.dylib and with +foo builds > lib-A.dylib & lib-A-foo.dylib? Both, and all points in-between. I wasn’t really thinking of specific cases, just in generality. Take if you want, as a real world case, ROOT6, which I know well. It has a large number of variants, because u

Re: variants

2016-04-12 Thread Daniel J. Luke
On Apr 12, 2016, at 11:49 AM, Chris Jones wrote: > A lot of projects simply aren't built in a way that would allow that. The > whole package (library, whatever) needs to be configured once with all the > options, and built once. sub ports for the additional features simply aren't > a option in

Re: variants

2016-04-12 Thread Chris Jones
On 12/04/16 16:33, Daniel J. Luke wrote: On Apr 12, 2016, at 8:41 AM, Takeshi Enomoto wrote: Scientific users don’t care the internal/policy of the package manager. What they need is a quick way to install the ports they need. The installation should be preferably automatic. is the problem

Re: variants

2016-04-12 Thread Daniel J. Luke
On Apr 12, 2016, at 8:41 AM, Takeshi Enomoto wrote: > Scientific users don’t care the internal/policy of the package manager. > What they need is a quick way to install the ports they need. > The installation should be preferably automatic. is the problem mainly fftw-3? Is there some reason why

Re: variants

2016-04-12 Thread Takeshi Enomoto
Hi, > The implementation I propose is: pass on default variants like for > user-selected variants, nothing more or less. I agree with David. The compiliation does not have to be avoided for variants, but it would be nice if the default variants were proliferated. Scientific users don’

Re: variants

2016-04-11 Thread Daniel J. Luke
On Apr 11, 2016, at 5:19 PM, David Strubbe wrote: > Of course it's not a full solution, but this seems like a fairly simple > advance that will solve some problems. and cause other, different problems. [why was this port installed with this variant? why didn't I get a binary archive?] install

Re: variants

2016-04-11 Thread Brandon Allbery
On Mon, Apr 11, 2016 at 5:19 PM, David Strubbe wrote: > Of course it's not a full solution, but this seems like a fairly simple > advance that will solve some problems. Last year had a GSoC project to add a SAT-solver based dependency engine; it has, among other things, variant support. I belie

Re: variants

2016-04-11 Thread David Strubbe
On Mon, Apr 11, 2016 at 5:07 PM, Daniel J. Luke wrote: > On Apr 11, 2016, at 5:02 PM, David Strubbe wrote: > > I agree, but the question is what to do when the port does have > variants. Consider, for example, ports with Fortran compiler variants that > enable optional Fortran s

Re: variants

2016-04-11 Thread Daniel J. Luke
On Apr 11, 2016, at 5:02 PM, David Strubbe wrote: > I agree, but the question is what to do when the port does have variants. > Consider, for example, ports with Fortran compiler variants that enable > optional Fortran support, such as fftw-3. The current typical situation is >

Re: variants

2016-04-11 Thread David Strubbe
On Mon, Apr 11, 2016 at 4:42 PM, Daniel J. Luke wrote: > > The ideal port has no variants (or at least has only default variants) - > it builds with all reasonable options and people don't have to think about > it. > I agree, but the question is what to do when the por

Re: variants

2016-04-11 Thread Daniel J. Luke
On Apr 11, 2016, at 3:29 PM, David Strubbe wrote: > Well, that is not the current behavior if a variant is specified manually. yes, when you enter a different command, you do get different results. > Why do you think it would be inappropriate to do that for default variants? Varian

Re: variants

2016-04-11 Thread David Strubbe
Then maybe we could have an option to pass down default variants? On Mon, Apr 11, 2016 at 4:09 PM, Bradley Giesbrecht wrote: > On Mon, Apr 11, 2016 at 11:47 AM, Daniel J. Luke > wrote: > >> On Apr 10, 2016, at 4:01 AM, Takeshi Enomoto >> wrote: >> > If the

Re: variants

2016-04-11 Thread Bradley Giesbrecht
> On Mon, Apr 11, 2016 at 11:47 AM, Daniel J. Luke <mailto:dl...@geeklair.net>> wrote: > On Apr 10, 2016, at 4:01 AM, Takeshi Enomoto <mailto:take...@macports.org>> wrote: > > If there is a reason behind treating default_variants and manually set > > variants

Re: variants

2016-04-11 Thread David Strubbe
Well, that is not the current behavior if a variant is specified manually. What happens is: port install A +var does port install B +var && port install A +var. Why do you think it would be inappropriate to do that for default variants? On Mon, Apr 11, 2016 at 11:47 AM, Daniel J. Luk

Re: variants

2016-04-11 Thread Daniel J. Luke
On Apr 10, 2016, at 4:01 AM, Takeshi Enomoto wrote: > If there is a reason behind treating default_variants and manually set > variants, > I’d like to know. I'm not sure what the initial reasoning was, but I think the current behavior is correct. When a port is installed as a

Re: variants

2016-04-10 Thread Takeshi Enomoto
If there is a reason behind treating default_variants and manually set variants, I’d like to know. If there is no reason and it can be changed, I will file a ticket for this as a feature request. I tried to read the MacPorts source but lost at some point... Takeshi - Takeshi Enomoto take

Re: [MacPorts] #50687: netgen @5.3.1 Add nglib and occ variants

2016-04-04 Thread Ian Rees
Add nglib and occ variants > --+-- > Reporter: ian.rees@… | Owner: sean@… > Type: enhancement | Status: assigned > Priority: Normal | Milestone: > Component: ports|Version: > Resolution:

Re: variants

2016-04-04 Thread David Strubbe
I'd like to second that. I think many issues of variant dependencies are helped by passing down both manually specified and default variants. David On Mon, Apr 4, 2016 at 10:44 AM, Takeshi Enomoto wrote: > Dear Ryan and Mojca, > > OK. So I see that this is not the problem of

Re: variants

2016-04-04 Thread Takeshi Enomoto
Dear Ryan and Mojca, OK. So I see that this is not the problem of the port. I don’t have a solution at this time, but I hope that the manually specified variants and default_variants should be treated equally in the future. Regards, Takeshi - Takeshi Enomoto take...@macports.org

Re: variants

2016-04-03 Thread Mojca Miklavec
On 3 April 2016 at 09:40, Takeshi Enomoto wrote: > Hi, > > It seems that variants in default_variants are not proliferated as > those specified in the command-line. > I have this problem with some ports that I maintain and > cause build failures with the buildbots. > > I

Re: variants

2016-04-03 Thread Ryan Schmidt
On Apr 3, 2016, at 2:40 AM, Takeshi Enomoto wrote: > It seems that variants in default_variants are not proliferated as > those specified in the command-line. > I have this problem with some ports that I maintain and > cause build failures with the buildbots. > > I would be h

variants

2016-04-03 Thread Takeshi Enomoto
Hi, It seems that variants in default_variants are not proliferated as those specified in the command-line. I have this problem with some ports that I maintain and cause build failures with the buildbots. I would be helpful if you help me fix this. Takeshi --- Assume port A depends on port B

Issues with variants in current base trunk

2016-03-20 Thread Jeremy Huddleston Sequoia
I'm on current trunk (r146932), and I'm running into an issue with variants during an upgrade. $ port list outdated Warning: The 'list' action only shows the currently available version of each port. To see installed versions, use the 'installed' action. wine-de

Re: Including port groups multiple times (was: Re: passing variants to dependencies; pre-activate check)

2015-10-15 Thread Clemens Lang
Hi David, - On 15 Oct, 2015, at 21:21, David Strubbe dstru...@macports.org wrote: > Do you have a suggestion of how to accomplish that? That could potentially be > a > simpler approach than adding include guards. PortGroup is a function defined in base/src/port1.0/portutil.tcl, line 2563. I

Re: Including port groups multiple times (was: Re: passing variants to dependencies; pre-activate check)

2015-10-15 Thread David Strubbe
Hi Rainer, Do you have a suggestion of how to accomplish that? That could potentially be a simpler approach than adding include guards. If we do go with include guards, anyone want to comment on my particular implementation? Index: dports/_resources/port1.0/group/active_variants-1.1.tcl

Including port groups multiple times (was: Re: passing variants to dependencies; pre-activate check)

2015-10-14 Thread Rainer Müller
On 2015-10-14 05:49, Ryan Schmidt wrote: > You're right, it's probably important for portgroup to guard against multiple > inclusion. > > https://en.wikipedia.org/wiki/Include_guard > > "port lint" will warn you if you include a portgroup more than once, but that > won't check portgroup inclusi

Re: passing variants to dependencies; pre-activate check

2015-10-13 Thread Ryan Schmidt
> On Oct 13, 2015, at 10:38 PM, David Strubbe wrote: > > Would something like this be a good idea to prevent multiple definition? This > could potentially be an issue with other nested portgroups too. > > Index: dports/_resources/port1.0/group/active_variants-1.1.tcl >

Re: passing variants to dependencies; pre-activate check

2015-10-13 Thread David Strubbe
e executed twice? > > > > It isn't, two pre-activate procedures have been registered and they > are > > each executed once. > > > > > > Well, I only put one block of code in active variants, as below. Why > > does it end up in two different

Re: passing variants to dependencies; pre-activate check

2015-10-13 Thread Joshua Root
On 2015-10-14 13:04 , David Strubbe wrote: > > - Why is pre-activate code executed twice? > > It isn't, two pre-activate procedures have been registered and they are > each executed once. > > > Well, I only put one block of code in active variants, as b

Re: passing variants to dependencies; pre-activate check

2015-10-13 Thread David Strubbe
re installed. > Ok, I think I understand. port notices that BWidget is defective in not having its dependency tk installed (this is what you mean by "upgrading" right?), and then fixes this by installing tk, taking into account only the variants that BWidget was installed with (none) an

Re: passing variants to dependencies; pre-activate check

2015-10-13 Thread Joshua Root
on during installation of dependencies in both cases, but tk happens to already be installed during the upgrading of BWidget which happens before dependencies are installed. Wanting this to work how you want is exactly equivalent to depending on variants, which you can't currently do. > -

Re: passing variants to dependencies; pre-activate check

2015-10-13 Thread David Strubbe
:debug:activate activate phase started at Sun Oct 11 22:00:07 EDT 2015 > :debug:activate Executing proc-pre-org.macports.activate-activate-0 > :debug:activate Found Dependency: path: /opt/local/lib/libgcc filename: > libgcc_s.1.dylib regex: ^libgcc_s.1.dylib$ > :debug:activate Active va

Re: passing variants to dependencies; pre-activate check

2015-10-12 Thread David Strubbe
Executing proc-pre-org.macports.activate-activate-0 :debug:activate Found Dependency: path: /opt/local/lib/libgcc filename: libgcc_s.1.dylib regex: ^libgcc_s.1.dylib$ :debug:activate Active variants check for activate-type install considers depends_lib depends_run: fftw-3 mesa libGLU tcl tk xorg-l

Re: passing variants to dependencies; pre-activate check

2015-10-10 Thread David Strubbe
are suggesting it is related to the fact that tk is a dependency of BWidget. It's hard to understand why that would matter for what variant got passed to tk. > > > Regarding the pre-activate, I added this code to my copy of > > active_variants-1.1.tcl: > > > > +p

Re: passing variants to dependencies; pre-activate check

2015-10-10 Thread Joshua Root
installed dependencies are upgraded before new dependencies are installed. > Regarding the pre-activate, I added this code to my copy of > active_variants-1.1.tcl: > > +pre-activate { > +ui_warn "checking active variants" > +_check_require_active_variants arc

Re: passing variants to dependencies; pre-activate check

2015-10-10 Thread David Strubbe
http://mse.uk.packages.macports.org/sites/packages.macports.org/tk ... Regarding the pre-activate, I added this code to my copy of active_variants-1.1.tcl: +pre-activate { +ui_warn "checking active variants" +_check_require_active_variants archivefetch +} When I do a fresh install, I see thi

Re: passing variants to dependencies; pre-activate check

2015-10-10 Thread Ryan Schmidt
On Oct 10, 2015, at 5:33 PM, David Strubbe wrote: > Specifically, my recently added xcrysden port needs tk +x11 (checked via > active_variants), whereas the default is +quartz. As of a couple of weeks > ago, I think I was able successfully to trigger installation of tk +x11 when > it was not i

Re: passing variants to dependencies; pre-activate check

2015-10-10 Thread Joshua Root
On 2015-10-11 09:33 , David Strubbe wrote: > Hi all, > > It seems to me that as of recently it was the case that variants from > the install command line are passed on to the building of dependencies > (as discussed below last year), but that it is no longer happening. Is > t

passing variants to dependencies; pre-activate check

2015-10-10 Thread David Strubbe
Hi all, It seems to me that as of recently it was the case that variants from the install command line are passed on to the building of dependencies (as discussed below last year), but that it is no longer happening. Is this something that was changed (deliberately or otherwise) in the 2.3.4

Re: Variants +clang3{0,1,2} ...

2015-04-26 Thread Sean Farley
to clang-3.{0,1,2} >>>> respectively. >>> >>> Yup. >>> >>>> These clang ports are no obsolete. >>> >>> Yup. >>> >>>> However, there are still quite some ports around with these variants, so I >>>> guess

Re: Variants +clang3{0,1,2} ...

2015-04-26 Thread Ryan Schmidt
On Apr 26, 2015, at 8:28 PM, Ryan Schmidt wrote: > and that if there is are objections within a number of days Editing error: this should have read "if there are no objections" ___ macports-dev mailing list macports-dev@lists.macosforge.org https://li

Re: Variants +clang3{0,1,2} ...

2015-04-26 Thread Ryan Schmidt
> Yup. >> >>> These clang ports are no obsolete. >> >> Yup. >> >>> However, there are still quite some ports around with these variants, so I >>> guess these clang3{0,1,2} variants (and maybe others) should be removed? >> >> Yup

Re: Variants +clang3{0,1,2} ...

2015-04-25 Thread petr
p. > >> However, there are still quite some ports around with these variants, so I >> guess these clang3{0,1,2} variants (and maybe others) should be removed? > > Yup. > > vq Okay, anything else which should be considered for a "variant cleanup"? I guess th

Re: Variants +clang3{0,1,2} ...

2015-04-25 Thread Lawrence Velázquez
On Apr 25, 2015, at 5:49 AM, petr <9...@ingv.it> wrote: > To my understanding the +clang3{0,1,2} refer to clang-3.{0,1,2} respectively. Yup. > These clang ports are no obsolete. Yup. > However, there are still quite some ports around with these variants, so I > guess

Variants +clang3{0,1,2} ...

2015-04-25 Thread petr
Hi all, To my understanding the +clang3{0,1,2} refer to clang-3.{0,1,2} respectively. These clang ports are no obsolete. However, there are still quite some ports around with these variants, so I guess these clang3{0,1,2} variants (and maybe others) should be removed? ~petr

Re: "hidden" variants?

2015-03-08 Thread Ryan Schmidt
On Mar 8, 2015, at 1:39 PM, René J.V. Bertin wrote: > Can a port have variants that it doesn't "advertise"? In other words, what > happens if a portfile uses `variant_isset` to check whether or not a variant > has been selected, but doesn't contain (or contains a

Re: "hidden" variants?

2015-03-08 Thread Clemens Lang
- On 8 Mar, 2015, at 19:39, René J.V. Bertin rjvber...@gmail.com wrote: > Can a port have variants that it doesn't "advertise"? In other words, what > happens if a portfile uses `variant_isset` to check whether or not a variant > has been selected, but doesn&

"hidden" variants?

2015-03-08 Thread René J . V . Bertin
Hi, Can a port have variants that it doesn't "advertise"? In other words, what happens if a portfile uses `variant_isset` to check whether or not a variant has been selected, but doesn't contain (or contains a commented-out) declaration for that variant? Am I right that ev

Removing negative variants from alpine (Was: [MacPorts] #38091: alpine @2.00_4: update to 2.11)

2015-02-25 Thread Lawrence Velázquez
efforts are to transition the portfile to explicit positive > variants while maintaining compatible behavior; after about a year, you > will remove the transitional code, completing the transformation to > explicit positive variants; everything is virtually identical. Please > correct me

Re: Tracking "requested variants" and ways to "get rid of" outdated ones

2015-02-24 Thread Clemens Lang
Hi all, - On 19 Feb, 2015, at 20:41, Mojca Miklavec mo...@macports.org wrote: > Clemens, are you willing to create a ticket explaining what you wrote? > (I don't have enough insight into the internals yet.) Sure: https://trac.macports.org/ticket/46956 I think this is actually pretty easy

Re: Tracking "requested variants" and ways to "get rid of" outdated ones

2015-02-19 Thread Daniel J. Luke
> On Feb 19, 2015, at 2:41 PM, Mojca Miklavec wrote: > How would you replace variants "[+]clang34 clang35 clang36 clang37"? >"port install foo +no_clang34 +clang36"? port install foo would be equivalent to the previous port install foo +clang34 port install f

Re: Tracking "requested variants" and ways to "get rid of" outdated ones

2015-02-19 Thread Mojca Miklavec
On Thu, Feb 19, 2015 at 4:14 PM, Clemens Lang wrote: > - On 19 Feb, 2015, at 16:02, Daniel J. Luke wrote: >> or we could avoid default variants (and maybe go back to having +no_foo >> variants >> for the corner cases where someone wants to build with less function

Re: Tracking "requested variants" and ways to "get rid of" outdated ones

2015-02-19 Thread Clemens Lang
Hi, - On 19 Feb, 2015, at 16:02, Daniel J. Luke dl...@geeklair.net wrote: > or we could avoid default variants (and maybe go back to having +no_foo > variants > for the corner cases where someone wants to build with less functionality if > necessary). that sounds like a st

Re: Tracking "requested variants" and ways to "get rid of" outdated ones

2015-02-19 Thread Daniel J. Luke
> On Feb 19, 2015, at 10:14 AM, Clemens Lang wrote: > - On 19 Feb, 2015, at 16:02, Daniel J. Luke dl...@geeklair.net wrote: >> or we could avoid default variants (and maybe go back to having +no_foo >> variants >> for the corner cases where someone wants to build wi

Re: Tracking "requested variants" and ways to "get rid of" outdated ones

2015-02-19 Thread Daniel J. Luke
> On Feb 19, 2015, at 8:17 AM, Clemens Lang wrote: > - On 19 Feb, 2015, at 12:18, Mojca Miklavec mo...@macports.org wrote: >> I like variants. But I believe that many of us are often bitten by the >> inability to "get rid of" outdated variants without manual >&

Re: Tracking "requested variants" and ways to "get rid of" outdated ones

2015-02-19 Thread Clemens Lang
Hi, - On 19 Feb, 2015, at 12:18, Mojca Miklavec mo...@macports.org wrote: > I like variants. But I believe that many of us are often bitten by the > inability to "get rid of" outdated variants without manual > intervention. Fully agree. We should have an additional fi

Tracking "requested variants" and ways to "get rid of" outdated ones

2015-02-19 Thread Mojca Miklavec
Hi, I like variants. But I believe that many of us are often bitten by the inability to "get rid of" outdated variants without manual intervention. Typical examples: - clang-3.x keeps changing its mind about whether +analyzer / +arm_runtime should be the default or not. When the

Standalone tickets for qt4-mac variants and patches

2015-01-18 Thread René J . V . Bertin
FYI, I just submitted standalone tickets for variants and patches included in my qt4-mac concurrent ticket but not related to making Qt4 co-installable : #46606: qt4-mac "noexceptions" variant Ticket URL: <https://trac.macports.org/ticket/46606> #46607: qt4-mac +KDE variant. Ti

Re: port activate ignores multiple installed versions and variants of inactive dependents

2014-12-11 Thread Bradley Giesbrecht
> think the exact opposite situation might actually be more dangerous. There were two current versions of the same port with differing variants: ---> postfix @2.11.3_0 ---> postfix @2.11.3_0+dovecot_sasl+mariadb I was surprised that "port activate postfix" asked for a

Re: port activate ignores multiple installed versions and variants of inactive dependents

2014-12-11 Thread Clemens Lang
Hi, - On 11 Dec, 2014, at 22:31, Bradley Giesbrecht pixi...@macports.org wrote: > If installation/activation of ports via dependency ignores installed inactive > versions I think this a bug in base. > > Shouldn't dependency installation take into consideration multiple inactive > versions as

Re: port activate ignores multiple installed versions and variants of inactive dependents

2014-12-11 Thread Bradley Giesbrecht
On Dec 11, 2014, at 1:06 PM, Bradley Giesbrecht wrote: > > On Dec 11, 2014, at 12:41 PM, Joshua Root wrote: > >> On 2014-12-12 06:51 , Bradley Giesbrecht wrote: >>> >>> On Dec 10, 2014, at 12:19 AM, Ryan Schmidt wrote: >>> On Dec 9, 2014, at 1:21 PM, Bradley Giesbrecht wrote: >>>

Re: port activate ignores multiple installed versions and variants of inactive dependents

2014-12-11 Thread Bradley Giesbrecht
On Dec 11, 2014, at 12:41 PM, Joshua Root wrote: > On 2014-12-12 06:51 , Bradley Giesbrecht wrote: >> >> On Dec 10, 2014, at 12:19 AM, Ryan Schmidt wrote: >> >>> >>> On Dec 9, 2014, at 1:21 PM, Bradley Giesbrecht wrote: >>> Is this behavior by design? $ sudo port -q deactiva

Re: port activate ignores multiple installed versions and variants of inactive dependents

2014-12-11 Thread Joshua Root
On 2014-12-12 06:51 , Bradley Giesbrecht wrote: > > On Dec 10, 2014, at 12:19 AM, Ryan Schmidt wrote: > >> >> On Dec 9, 2014, at 1:21 PM, Bradley Giesbrecht wrote: >> >>> Is this behavior by design? >>> >>> $ sudo port -q deactivate sqlgrey postfix >>> ---> Deactivating sqlgrey @1.8.0-rc2_2+mys

Re: port activate ignores multiple installed versions and variants of inactive dependents

2014-12-11 Thread Ryan Schmidt
On Dec 10, 2014, at 7:20 AM, Jeremy Lavergne wrote: > On Dec 10, 2014, at 3:19 AM, Ryan Schmidt wrote: > >> It looks expected, in so far as you have multiple versions of postfix >> installed, asked MacPorts to activate postfix, and did not specify which one >> you wanted to activate. > > The

Re: port activate ignores multiple installed versions and variants of inactive dependents

2014-12-11 Thread Bradley Giesbrecht
On Dec 10, 2014, at 12:19 AM, Ryan Schmidt wrote: > > On Dec 9, 2014, at 1:21 PM, Bradley Giesbrecht wrote: > >> Is this behavior by design? >> >> $ sudo port -q deactivate sqlgrey postfix >> ---> Deactivating sqlgrey @1.8.0-rc2_2+mysql+perl5_20 >> ---> Deactivating postfix @2.11.3_0 >> $ s

Re: port activate ignores multiple installed versions and variants of inactive dependents

2014-12-10 Thread Ryan Schmidt
On Dec 9, 2014, at 1:21 PM, Bradley Giesbrecht wrote: > Is this behavior by design? > > $ sudo port -q deactivate sqlgrey postfix > ---> Deactivating sqlgrey @1.8.0-rc2_2+mysql+perl5_20 > ---> Deactivating postfix @2.11.3_0 > $ sudo port -q activate sqlgrey postfix > ---> Computing dependenci

port activate ignores multiple installed versions and variants of inactive dependents

2014-12-09 Thread Bradley Giesbrecht
Is this behavior by design? $ sudo port -q deactivate sqlgrey postfix ---> Deactivating sqlgrey @1.8.0-rc2_2+mysql+perl5_20 ---> Deactivating postfix @2.11.3_0 $ sudo port -q activate sqlgrey postfix ---> Computing dependencies for sqlgrey ---> Dependencies to be installed: postfix ---> Activ

Re: passing default variants to dependencies?

2014-11-16 Thread Lawrence Velázquez
On Nov 16, 2014, at 5:32 PM, David Strubbe wrote: > All right, but can you clarify about default variants: is it true that > default variants are not passed to dependencies, but all other variants are? > And, is there any good reason for this? It would solve my problem immediately

Re: passing default variants to dependencies?

2014-11-16 Thread David Strubbe
All right, but can you clarify about default variants: is it true that default variants are not passed to dependencies, but all other variants are? And, is there any good reason for this? It would solve my problem immediately if they were passed on. On Sun, Nov 16, 2014 at 5:17 PM, Joshua Root

Re: passing default variants to dependencies?

2014-11-16 Thread Joshua Root
Asking to ensure that your dependencies have certain variants applied is depending on variants. Restricting it to variants that the dependent port has itself doesn't change the fundamental issues. - Josh On 2014-11-17 09:05 , David Strubbe wrote: > Thanks for the comments. I'm

Re: passing default variants to dependencies?

2014-11-16 Thread David Strubbe
Thanks for the comments. I'm not trying to depend on a variant, and I am already using active_variants (that is what blocks fftw-3 without a Fortran variant). I just wonder why default variants are not passed to dependencies (because other variants do seem to be passed to dependencies) and wh

Re: passing default variants to dependencies?

2014-11-16 Thread Joshua Root
On 2014-11-17 08:52 , David Strubbe wrote: > Hi all, > > Is there a way to make default variants be passed to dependencies when > installing them? My octopus port depends on fftw-3 and needs it to be > built with a Fortran variant. octopus has +gcc48 as default variant, and &g

Re: passing default variants to dependencies?

2014-11-16 Thread Brandon Allbery
On Sun, Nov 16, 2014 at 4:52 PM, David Strubbe wrote: > Is there a way to make default variants be passed to dependencies when > installing them? My octopus port depends on fftw-3 and needs it to be built > with a Fortran variant. octopus has +gcc48 as default variant, and building

passing default variants to dependencies?

2014-11-16 Thread David Strubbe
Hi all, Is there a way to make default variants be passed to dependencies when installing them? My octopus port depends on fftw-3 and needs it to be built with a Fortran variant. octopus has +gcc48 as default variant, and building fftw-3 +gcc48 will work. But on the buildbots it just builds fftw

Re: RFC: Renaming GCC ports and variants

2014-10-01 Thread Lawrence Velázquez
On Oct 1, 2014, at 3:30 PM, Sean Farley wrote: > Lawrence Velázquez writes: > >> Except that base automatically adds dependencies on `gccXY` depending on >> configure.compiler, so renaming them requires some sort of migration >> strategy. Either we wait until a new MacPorts release, or we jury

Re: RFC: Renaming GCC ports and variants

2014-10-01 Thread Sean Farley
umber so no change would be >>> necessary there. >> >> We really should be consistent then. I personally don't care what the >> new name is but we should either have clangX.Y / gccX.Y or clangXY / >> gccXY. > > I say we use gccX.Y. Just renaming gcc port

Re: RFC: Renaming GCC ports and variants

2014-10-01 Thread Sean Farley
Lawrence Velázquez writes: > On Oct 1, 2014, at 3:08 PM, Frank Schima wrote: > >> On Oct 1, 2014, at 12:26 PM, Sean Farley wrote: >> >>> We really should be consistent then. I personally don't care what the >>> new name is but we should either have clangX.Y / gccX.Y or clangXY / >>> gccXY. >>

Re: RFC: Renaming GCC ports and variants

2014-10-01 Thread Lawrence Velázquez
On Oct 1, 2014, at 3:08 PM, Frank Schima wrote: > On Oct 1, 2014, at 12:26 PM, Sean Farley wrote: > >> We really should be consistent then. I personally don't care what the >> new name is but we should either have clangX.Y / gccX.Y or clangXY / >> gccXY. > > I say we use gccX.Y. Just renaming

Re: RFC: Renaming GCC ports and variants

2014-10-01 Thread Frank Schima
then. I personally don't care what the > new name is but we should either have clangX.Y / gccX.Y or clangXY / > gccXY. I say we use gccX.Y. Just renaming gcc ports (for now) won’t be too hard. > 2) Rename +gccXY variants to +gfortranXY Sounds good to me, though we should use +gfo

Re: RFC: Renaming GCC ports and variants

2014-10-01 Thread Sean Farley
ard new versions of gcc starting with gcc5 > will just have a single major version number so no change would be necessary > there. We really should be consistent then. I personally don't care what the new name is but we should either have clangX.Y / gccX.Y or clangXY / gccXY. >> 2)

Re: RFC: Renaming GCC ports and variants

2014-10-01 Thread Ryan Schmidt
ion number so no change would be necessary there. > 2) Rename +gccXY variants to +gfortranXY Note that some ports use gcc variants not for fortran support but for java support. I'm thinking here of my much-neglected pdftk port, though for that I may just remove the variants and use a single

RFC: Renaming GCC ports and variants

2014-10-01 Thread Sean Farley
Proposal: Since it seems that we are flat-out disallowing gcc being used as a C/C++ compiler, I think it's time to do some clean up of the code: 1) Rename gccXY to gcc-X.Y 2) Rename +gccXY variants to +gfortranXY 3) Start moving away from configure.compiler=macports-gcc* I think

  1   2   3   4   >