[MacPorts] #40634: vigra: recursive template instantiation exceeded maximum depth of 128
#40634: vigra: recursive template instantiation exceeded maximum depth of 128 --------------------------+------------------------------- Reporter: ryandesign@… | Owner: benjamin.seppke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: vigra --------------------------+------------------------------- vigra fails to build with: {{{ fatal error: recursive template instantiation exceeded maximum depth of 128 }}} -- Ticket URL: <https://trac.macports.org/ticket/40634> MacPorts <http://www.macports.org/> Ports system for OS X
#40634: vigra: recursive template instantiation exceeded maximum depth of 128 ---------------------------+------------------------------- Reporter: ryandesign@… | Owner: benjamin.seppke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: vigra | ---------------------------+------------------------------- Comment (by benjamin.seppke@…): Hi there! I'll have a look at this issue tomorrow. From the log-file, I am guessing that you are using the latest XCode with Clang 5.0.0? Pleas confirm this pr better: Post the complete system setup. On my Macs, I have still 10.6.X installed. However, at work I have access to a 10.8 machine. I will try to reproduce this error on that Mac tomorrow. It's really a mess to support the different compilers bundled with the different Mac OS' Xcode's but I'll do my best ot fix this. If I do not succeed, you'll have to wait a bit, since I am on holidays for the following 1 1/2 weeks. Best wishes, Benjamin -- Ticket URL: <https://trac.macports.org/ticket/40634#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40634: vigra: recursive template instantiation exceeded maximum depth of 128 ---------------------------+------------------------------- Reporter: ryandesign@… | Owner: benjamin.seppke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: vigra | ---------------------------+------------------------------- Comment (by ryandesign@…): Yes, it is OS X 10.8.5 with Xcode 5. I was also wondering if the new clang was the cause. I can try with some other clang versions later. -- Ticket URL: <https://trac.macports.org/ticket/40634#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40634: vigra: recursive template instantiation exceeded maximum depth of 128 ---------------------------+------------------------------- Reporter: ryandesign@… | Owner: benjamin.seppke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: vigra | ---------------------------+------------------------------- Comment (by benjamin.seppke@…): You may also try the compiler flag -ftemplate-depth-N, where N is the maximum template depth, with values larger than 128... I found this for clang version 3.1, maybe this flag is also available in clang-5? -- Ticket URL: <https://trac.macports.org/ticket/40634#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40634: vigra: recursive template instantiation exceeded maximum depth of 128 ---------------------------+------------------------------- Reporter: ryandesign@… | Owner: benjamin.seppke@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: vigra | ---------------------------+------------------------------- Comment (by benjamin.seppke@…): Hi there! Finally, I managed to fix that error! Just add a line to the port file: '''configure.cxxflags-append -ftemplate-depth-1024''' since this template depth seems to be sufficient. The reason, why the vigra does not compile from scratch with clang-5.0 may be due to a different (implicit) setting for the max. recursion depth between v.4.2 and v.5.0. I'd highly appreciate, if anybody with writing privileges adds this line to the port file (e.g. after configure.args-append). This bug should be marked as fixed afterwards! Best wishes, Benjamin Replying to [comment:4 benjamin.seppke@…]:
You may also try the compiler flag -ftemplate-depth-N, where N is the maximum template depth, with values larger than 128... I found this for clang version 3.1, maybe this flag is also available in clang-5?
-- Ticket URL: <https://trac.macports.org/ticket/40634#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40634: vigra: recursive template instantiation exceeded maximum depth of 128 ---------------------------+------------------------------- Reporter: ryandesign@… | Owner: benjamin.seppke@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: vigra | ---------------------------+------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r111767 -- Ticket URL: <https://trac.macports.org/ticket/40634#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts