[MacPorts] #41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth"
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" --------------------------+-------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: hugin-app --------------------------+-------------------------------- Building hugin-app @2013.0.0 fails with this: {{{ :info:build /opt/local/include/boost/fusion/view/transform_view/detail/value_of_impl.hpp:32:32: fatal error: recursive template instantiation exceeded maximum depth of 128 :info:build result_of::value_of<typename Iterator::first_type>::type :info:build ^ }}} followed by a stack of template instantiation contexts, see attached `main.log`. -- Ticket URL: <https://trac.macports.org/ticket/41463> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hugin-app | ---------------------------+-------------------------------- Comment (by gunnlaugur@…): This may be a specific instance of the problem alluded to in https://trac.macports.org/ticket/41365#comment:2 — hugin-app failing with boost 1.54.0 and allegedly building successfully with 1.55.0. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------- Reporter: gunnlaugur@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hugin-app | ---------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… Comment: I would rather expect that we just need to increase the maximum recursive template instantiation depth, like we already did for vigra in #40634. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------- Reporter: gunnlaugur@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hugin-app | ---------------------------+-------------------------- Comment (by gunnlaugur@…): Yep, I tried that out, and the build got past this, failing further down with this error: {{{ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_tarballs_ports_graphics_hugin-app/hugin- app/work/hugin-2013.0.0/src/hugin1/icpfind/AutoCtrlPointCreator.cpp:32:10: fatal error: 'ext/stdio_filebuf.h' file not found :info:build #include <ext/stdio_filebuf.h> :info:build ^ }}} which seems pretty certainly unrelated. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------- Reporter: gunnlaugur@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hugin-app | ---------------------------+-------------------------- Comment (by ryandesign@…): Hmm. Looking on my system, I see the file /usr/include/c++/4.2.1/ext/stdio_filebuf.h exists. Does it exist on your system? I haven't yet tried building hugin-app because I'm having unrelated issues with its dependencies. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------- Reporter: gunnlaugur@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hugin-app | ---------------------------+-------------------------- Comment (by gunnlaugur@…): Yes, it exists on my system too. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------- Reporter: gunnlaugur@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hugin-app | ---------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:3 gunnlaugur@…]:
Yep, I tried that out, and the build got past this
Thanks for testing that. Committed that part of the fix in r113935. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------- Reporter: gunnlaugur@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hugin-app | ---------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:3 gunnlaugur@…]:
{{{ fatal error: 'ext/stdio_filebuf.h' file not found }}}
We saw the same with GitX (#40924). There the workaround was to use libstdc++ instead of libc++, but that's not a viable solution for hugin- app, because hugin-app needs to use C++ features of boost, and boost was built using libc++ on Mavericks, and you cannot mix C++ runtimes. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------- Reporter: gunnlaugur@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: hugin-app | ---------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:8 ryandesign@…]:
Replying to [comment:3 gunnlaugur@…]:
{{{ fatal error: 'ext/stdio_filebuf.h' file not found }}}
Taking a cue from [http://sourceforge.net/p/hugin/hugin/ci/752123441af3ca9d1977081b59f480b9a161... this upstream fix] already included in the port, I've attached a [attachment:patch-src-hugin1-icpfind-AutoCtrlPointCreator.cpp.diff potential fix for this] which makes the same change to another file. My research suggested that ext/stdio_filebuf.h is a GNU extension that would not be available with clang, so I wanted to try simply not including it. The next problem I run into is one that I believe will be fixed by [ticket:41365 updating boost to 1.55.0]. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41463: hugin-app @2013.0.0 fails: "recursive template instantiation exceeded maximum depth" ---------------------------+-------------------------- Reporter: gunnlaugur@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: hugin-app | ---------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Replying to [comment:9 ryandesign@…]:
Replying to [comment:8 ryandesign@…]:
Replying to [comment:3 gunnlaugur@…]:
{{{ fatal error: 'ext/stdio_filebuf.h' file not found }}}
Taking a cue from [http://sourceforge.net/p/hugin/hugin/ci/752123441af3ca9d1977081b59f480b9a161... this upstream fix] already included in the port, I've attached a [attachment:patch-src-hugin1-icpfind-AutoCtrlPointCreator.cpp.diff potential fix for this] which makes the same change to another file. My research suggested that ext/stdio_filebuf.h is a GNU extension that would not be available with clang, so I wanted to try simply not including it.
The next problem I run into is one that I believe will be fixed by [ticket:41365 updating boost to 1.55.0].
This worked. Committed the patch to hugin-app in r113943. Will update boost to 1.55.0 after I've tested a few other ports with it. -- Ticket URL: <https://trac.macports.org/ticket/41463#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts