Opened 10 years ago
Closed 9 years ago
#46721 closed defect (fixed)
hugin-app @2013.0.0_6: error: too few template arguments for class template 'result
Reported by: | wjtriffo@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | mojca (Mojca Miklavec), dbevans (David B. Evans), malcolm@…, macports@…, olupton (Olli Lupton), michaellass (Michael Lass) |
Port: | hugin-app |
Description
I am unable to build hugin-app on OS 10.9.5, using Xcode 6.1.1, MacPorts 2.3.3. I receive the error below. The log file is attached.
/opt/local/bin/cmake -E cmake_progress_report /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/CMakeFiles 41 42 [ 73%] Built target _hsi make[1]: Leaving directory `/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' make: *** [all] Error 2 make: Leaving directory `/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' Command failed: cd "/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" && /usr/bin/make -j8 -w all Exit code: 2 Error: org.macports.build for port hugin-app returned: command execution failed Warning: targets not executed for hugin-app: org.macports.activate org.macports.build org.macports.destroot org.macports.install Please see the log file for port hugin-app for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_hugin-app/hugin-app/main.log
Thank you for any help.
Attachments (5)
Change History (27)
Changed 10 years ago by wjtriffo@…
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | wjtriffo@… removed |
---|---|
Keywords: | mavericks removed |
Port: | @2013.0.0_6 removed |
Summary: | hugin-app @2013.0.0_6 - build failure → hugin-app @2013.0.0_6: error: too few template arguments for class template 'result |
The real error in the log is:
:info:build /opt/local/include/boost/utility/result_of.hpp:189:46: error: too few template arguments for class template 'result' :info:build struct result_of_nested_result : F::template result<FArgs> :info:build ^
I guess this version of hugin-app is not compatible with this version of boost.
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
Looks like hugin-app 2014.0.0 has the same error.
Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | hugin-app-2014.0.0.diff added |
---|
Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | patch-src-tools-ParseExp.cpp.diff added |
---|
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… removed |
---|---|
Keywords: | haspatch added |
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | new → assigned |
Ok, I was able to build hugin-app 2014.0.0. An upstream patch was needed for compatibility with boost 1.56 and later, and for boost 1.57 a patch for the boost port was needed (which I committed in r133523). Before the hugin-app 2014.0.0 update can be committed, however, the libpano13 2.9.19 update in #47026 must be committed.
Changed 10 years ago by dbevans (David B. Evans)
Attachment: | patch-hugin-app-2014.0.0-lensfun-0.3.0.diff added |
---|
Revised patch including fixes for issues with lensfun 0.3.0
Changed 10 years ago by dbevans (David B. Evans)
Attachment: | patch-src-hugin_base-lensdb-LensDB.cpp.diff added |
---|
comment:6 Changed 10 years ago by dbevans (David B. Evans)
Attached is my revised patch to fix some additional issues discovered after upgrading hugin-app to version 2014.0.0 as described here and then rebuilding with lensfun updated to version 0.3.0 (not yet committed, see #45377).
In brief the issues are
- failure to find installed lensfun 0.3.0 during configure
- failure to build due to removal of lens model FOV1 in lensfun 0.3.0 (enum LF_DIST_MODEL_FOV1 no longer defined)
After changes build is once again successful for me.
comment:7 Changed 10 years ago by dbevans (David B. Evans)
Cc: | devans@… added |
---|
lensfun updated to 0.3.0 in r133613.
comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | malcolm@… added |
---|
comment:10 Changed 10 years ago by roger.filmyer@…
Keep in mind that there's a bug in 2014.0 (at least with the current community binaries) that makes the program crash with a wxWidgets assert error if starting fresh (https://bugs.launchpad.net/hugin/+bug/1384283), so you might want to see if that affects a macports build of that stable.
comment:11 Changed 9 years ago by mojca (Mojca Miklavec)
I'm sorry, I prematurely upgraded to Perl5.22 in r138664 before other problems would have been addressed.
comment:13 Changed 9 years ago by glen@…
Any updates on this? The attached patches no longer seem to work.
comment:14 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Duplicate #49455 notes that the current version is now 2015.0.0.
comment:16 Changed 9 years ago by mojca (Mojca Miklavec)
Ryan, if #49455 is considered a duplicate, can we at least change the title of this ticket (including the update)? Otherwise I would also be tempted to open a new update ticket.
comment:17 Changed 9 years ago by michaellass (Michael Lass)
As this bug seems to also be about hugin beging out-of-date: 2016.0.0 was released recently: http://hugin.sourceforge.net/releases/2016.0.0/en.shtml
comment:20 Changed 9 years ago by glen@…
hugin-2016 doesn't build out of the box on OSX 10.11 either. It fails with exactly the same error that 2015 did. I've reported it to the developers, but they've been about as unresponsive as it's possible to be to a bug report.
comment:21 Changed 9 years ago by mojca (Mojca Miklavec)
I committed r147472 with an upgrade to 2016.0.0. It compiles for me both on 10.11 as well as 10.7 (with minor modifications and against vigra 1.9.0, so not exactly out-of-the-box). I don't have 10.9 to test. I'm closing this ticket and suggest to open new tickets for any remaining issues.
comment:22 Changed 9 years ago by mojca (Mojca Miklavec)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Version: | 2.3.3 |
log file for failed hugin-app build