Opened 11 years ago
Last modified 11 years ago
#41688 closed defect
hugin-app fails to compile — at Version 1
Reported by: | davehun (David Hunninsett) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ryandesign@… | |
Port: | hugin-app |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hugin-app fails to build on a clean mavericks install
port -v MacPorts 2.2.1
snip from log
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_hugin-app/hugin-app/work/hugin-2013.0.0/src/foreign/zthread/src/ThreadQueue.cxx:146:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] :info:build else :info:build ^ :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_hugin-app/hugin-app/work/hugin-2013.0.0/src/foreign/zthread/src/ThreadOps.cxx:52: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_hugin-app/hugin-app/work/hugin-2013.0.0/src/foreign/zthread/src/posix/ThreadOps.cxx:106:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] :info:build if(result = (pthread_getschedparam(impl->_tid, &policy, ¶m) == 0)) { :info:build ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_hugin-app/hugin-app/work/hugin-2013.0.0/src/foreign/zthread/src/posix/ThreadOps.cxx:106:13: note: place parentheses around the assignment to silence this warning :info:build if(result = (pthread_getschedparam(impl->_tid, &policy, ¶m) == 0)) { :info:build ^ :info:build ( ) :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_hugin-app/hugin-app/work/hugin-2013.0.0/src/foreign/zthread/src/posix/ThreadOps.cxx:106:13: note: use '==' to turn this assignment into an equality comparison :info:build if(result = (pthread_getschedparam(impl->_tid, &policy, ¶m) == 0)) { :info:build ^ :info:build == :info:build 1 warning generated. :info:build 1 warning generated. :info:build Linking CXX static library libZThread.a
Change History (2)
Changed 11 years ago by davehun (David Hunninsett)
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Keywords: | mavericks added |
Note: See
TracTickets for help on using
tickets.
I recently spent some time resolving the issues building hugin-app. It builds fine for me on Mavericks.
The portion of the log you quoted above does not show any error; it only shows warnings and notes. The actual error is:
I've seen some "
out-of-line definition
" errors in other tickets but I'm not seeing them with this port. Please indicate your version of Xcode and clang; maybe they're different from mine.