[MacPorts] #32271: hugin-app build fails

MacPorts noreply at macports.org
Sat Nov 26 05:33:39 PST 2011


#32271: hugin-app build fails
--------------------------------+-------------------------------------------
 Reporter:  calvin@…            |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  High                |   Milestone:                                       
Component:  ports               |     Version:  2.0.3                                
 Keywords:                      |        Port:  graphics/hugin-app                   
--------------------------------+-------------------------------------------
 {{{
  37%] Building CXX object
 src/foreign/zthread/src/CMakeFiles/ZThread.dir/AtomicCount.cxx.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign/zthread/src &&
 /Developer/usr/bin/clang++   -DNDEBUG -pipe -O2 -arch i386  -O3 -DNDEBUG
 -arch i386
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/hugin_base
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign/vigra
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/celeste -I/opt/local/include
 -I/opt/local/include/OpenEXR
 -I/System/Library/Frameworks/GLUT.framework/Headers
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign/zthread/src/../include    -o
 CMakeFiles/ZThread.dir/AtomicCount.cxx.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign/zthread/src/AtomicCount.cxx
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign/zthread/src/AtomicCount.cxx:55:
 In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign/zthread/src/vanilla/SimpleAtomicCount.cxx:26:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign/zthread/src/../include/zthread/Guard.h:117:9:
 error: void function 'createScope' should not return a value [-Wreturn-
 type]
         return false;
         ^      ~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0/src/foreign/zthread/src/../include/zthread/Guard.h:121:5:
 error: void function 'createScope' should not return a value [-Wreturn-
 type]
     return true;
     ^      ~~~~
 2 errors generated.
 make[2]: ***
 [src/foreign/zthread/src/CMakeFiles/ZThread.dir/AtomicCount.cxx.o] Error 1
 make[2]: 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-2011.0.0'
 make[1]: *** [src/foreign/zthread/src/CMakeFiles/ZThread.dir/all] Error 2
 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-2011.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-2011.0.0'
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-
 app/work/hugin-2011.0.0" && /usr/bin/make -w all " returned error 2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Warning: the following items did not execute (for hugin-app):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Log for hugin-app is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_graphics_hugin-app/hugin-app/main.log
 Error: Status 1 encountered during processing.

 }}}


 Here's my port file

 {{{

 # $Id: Portfile 83390 2011-08-31 07:13:22Z jmr at macports.org $

 PortSystem 1.0
 PortGroup cmake 1.0

 name                    hugin-app
 version                 2011.0.0
 revision                2
 categories              graphics
 maintainers             gmail.com:hvdwolf \
                         auckland.ac.nz:p.schmiedeskamp
 description             Panorama photo stitcher
 long_description        An easy to use cross-platform panoramic imaging \
                         toolchain based on Panorama Tools. With hugin you
 \
                         can assemble a mosaic of photographs into a
 complete \
                         immersive panorama, stitch any series of
 overlapping \
                         pictures and much more.

 homepage                http://hugin.sourceforge.net
 platforms               darwin
 supported_archs i386 ppc

 master_sites            sourceforge:hugin
 distname                hugin-${version}
 use_bzip2               yes

 depends_build-append port:pkgconfig
 depends_lib             port:boost \
                         port:wxWidgets \
                         port:openexr \
                         port:exiv2 \
                         port:libpano13 \
                         port:glew \
                         port:libxml2

 depends_run             port:enblend \
                         port:p5.12-image-exiftool

 checksums               md5 ac8a129b4c3021233df6d9368c8164cf \
                         sha1 22e1ad3846291a9bbe58570683e213921a6f0116 \
                         rmd160 1388980580ecba70a0d47597ddf06df9b85ab2b5

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/32271>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list