Re: OSX 10.6 clang / llvm circular dependency

2019-02-11 Thread Ken Cunningham
Blacklisting the currently building compiler if not installed was always meant to be there; it's part of every other clang version. Slipped past someone. Thanks. Ken PS - you may wonder if it is

Re: OSX 10.6 clang / llvm circular dependency

2019-02-11 Thread Michael Dickens
awesome! looking forward to having this issue behind me! I'll check out your changes this afternoon ... - MLD On Mon, Feb 11, 2019, at 11:37 AM, Ken Cunningham wrote: > Someone, maybe me, forgot to blacklist clang 7.0 when building clang 7.0. > > It's a 10 second fix in the portfile; I'll take

Re: OSX 10.6 clang / llvm circular dependency

2019-02-11 Thread Michael Dickens
clang-7.0 is not installed yet on these systems ... On Mon, Feb 11, 2019, at 11:28 AM, Ken Cunningham wrote: > Please try deactivating clang-7.0 and then see what it says. > > the clang & llvm ports do conditional blacklisting depending on what is > installed. > > The ports build on all

Re: OSX 10.6 clang / llvm circular dependency

2019-02-11 Thread Ken Cunningham
Someone, maybe me, forgot to blacklist clang 7.0 when building clang 7.0. It's a 10 second fix in the portfile; I'll take care of it in a few minutes. Thanks for noticing. Ken

Re: OSX 10.6 clang / llvm circular dependency

2019-02-11 Thread Michael Dickens
I just moved one of my build computers from OSX 10.10 to OSX 10.9, and I see the same issue with Clang / LLVM 7.0. It seems to impact just Clang / LLVM 6.0 and 7.0 thus far, but it still exists; this is a completely separate install from my 10.6 -- different computer and partition. I didn't

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Chris Jones
> On 8 Feb 2019, at 10:19 pm, Joshua Root wrote: > >> On 2019-2-9 08:39 , Christopher Jones wrote: >> >> >>> On 8 Feb 2019, at 9:32 pm, Michael Dickens >> > wrote: >>> >>> Adding in some debug printouts inside portconfigure.tcl, I think >>> what's happening

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Joshua Root
On 2019-2-9 08:39 , Christopher Jones wrote: > > >> On 8 Feb 2019, at 9:32 pm, Michael Dickens > > wrote: >> >> Adding in some debug printouts inside portconfigure.tcl, I think >> what's happening is that when "libc++" is specified, somewhere >> inside 

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Christopher Jones
> On 8 Feb 2019, at 9:32 pm, Michael Dickens wrote: > > Adding in some debug printouts inside portconfigure.tcl, I think what's > happening is that when "libc++" is specified, somewhere inside > portconfigure.tcl the possible compilers to used gets pared down. Since I'm > not specifying one

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Michael Dickens
Adding in some debug printouts inside portconfigure.tcl, I think what's happening is that when "libc++" is specified, somewhere inside portconfigure.tcl the possible compilers to used gets pared down. Since I'm not specifying one by default, and there is no blacklist or whitelist, the fallback

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Michael Dickens
My ports tree is up to date with no modifications, according to "git". Note that the 'if' clause that this line is in is -not- of the arguments, so it is valid for OSX with uname major >= 10 -- which includes OSX 10.6 (== 10). On Fri, Feb 8, 2019, at 4:01 PM, Chris Jones wrote: > On 8 Feb 2019,

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Chris Jones
> On 8 Feb 2019, at 8:55 pm, Michael Dickens wrote: > > OK some more sleuthing turns up that the issue was not the cxx11 PG, but > rather this line in the cmake Portfile: > {{{ > configure.cxx_stdlib libc++ > }}} > before this line, the compiler is 'gcc-4.2', while after it is >

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Michael Dickens
OK some more sleuthing turns up that the issue was not the cxx11 PG, but rather this line in the cmake Portfile:{{{ configure.cxx_stdlib libc++ }}} before this line, the compiler is 'gcc-4.2', while after it is 'macports-clang-7.0' ... I'll keep poking, but I'm about done with the rabbit hole ...

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Michael Dickens
On Fri, Feb 8, 2019, at 3:02 PM, Christopher Jones wrote: >> On 8 Feb 2019, at 7:43 pm, Michael Dickens >> wrote:>> >> Updated; rebuilt the PortIndex. No different. I find the following >> very curious. "cmake" depends on itself circularly, which just can't >> be good; and, the internal cmake

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Christopher Jones
> On 8 Feb 2019, at 7:43 pm, Michael Dickens wrote: > > Updated; rebuilt the PortIndex. No different. I find the following very > curious. "cmake" depends on itself circularly, which just can't be good; and, > the internal cmake dependency has somewhat different dependencies compared > with

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Michael Dickens
Updated; rebuilt the PortIndex. No different. I find the following very curious. "cmake" depends on itself circularly, which just can't be good; and, the internal cmake dependency has somewhat different dependencies compared with the outer one. It also has direct dependencies on clang- 7.0 and

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Eric A. Borisch
Try updating and going again; 7.0 needed to be added to the blacklist-if-not-installed loop in libomp. Not sure if this is your issue, but can't hurt. On Fri, Feb 8, 2019 at 12:52 PM Chris Jones wrote: > Hi, > > I was more referring to your macports configuration than the ports tree > itself.

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Chris Jones
Hi, I was more referring to your macports configuration than the ports tree itself. Are you sure you aren’t overriding the compiler configuration from what would otherwise be the default setting ? That would be my best guess. Chris > On 8 Feb 2019, at 6:23 pm, Michael Dickens wrote: > > I'm

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Michael Dickens
I'm trying rebuilding the PortIndex ... but, otherwise no the port tree is at the current GIT master and clean. I'm investigating ... - MLD On Fri, Feb 8, 2019, at 11:40 AM, Chris Jones wrote: > Hi, > > Clearly clang-7.0 and llvm-.7.0 cannot depend on clang-7.0 as a build > dependency, that

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Jeremy Lavergne
I ran into a similar situation last week trying to do the clang-5.0 builds recommended under the smtube thread. Perhaps something similar is occurring here? On 2/8/19 11:40 AM, Chris Jones wrote: Hi, Clearly clang-7.0 and llvm-.7.0 cannot depend on clang-7.0 as a build dependency, that

Re: OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Chris Jones
Hi, Clearly clang-7.0 and llvm-.7.0 cannot depend on clang-7.0 as a build dependency, that will never work. I do not see this though myself, in my OSX10.6 VM. There they both depend on clang-3.7 to build. See below. This is fine. You must have done something locally in your checkout to

OSX 10.6 clang / llvm circular dependency

2019-02-08 Thread Michael Dickens
It looks like on OSX 10.6 (and, thus possibly elsewhere) that llvm-7.0 and clang-7.0 create a circular dependency ... see the attached info. Not sure how to work around this, but it is quite a PITA to do the equivalent of "sudo port upgrade outdated" manually port by port ... Hoping someone can