[MacPorts] #32695: gource 0.35 build error

MacPorts noreply at macports.org
Mon Jan 2 01:39:23 PST 2012


#32695: gource 0.35 build error
--------------------------------+-------------------------------------------
 Reporter:  chazapis@…          |       Owner:  phw@…           
     Type:  defect              |      Status:  new             
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:  2.0.3           
 Keywords:                      |        Port:  gource          
--------------------------------+-------------------------------------------

Comment(by s.veer@…):

 <pre>
 $ sw_vers | grep 'ProductVersion:' | grep -o '[0-9]*\.[0-9]*\.[0-9]*'
 10.7.2
 </pre>

 <pre>
 sanders-imac:Music sveer$ sudo port install gource
 --->  Computing dependencies for gource
 --->  Fetching archive for gource
 --->  Attempting to fetch gource-0.37_0.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/gource
 --->  Fetching gource
 --->  Attempting to fetch gource-0.37.tar.gz from
 http://gource.googlecode.com/files/
 --->  Verifying checksum(s) for gource
 --->  Extracting gource
 --->  Configuring gource
 --->  Building gource
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for gource is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 </pre>


 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/main.log:

 <pre>
 :notice:build --->  Building gource
 :debug:build Executing org.macports.build (gource)
 :debug:build Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.7'
 :debug:build Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/work/gource-0.37"
 && /usr/bin/make -j4 -w all'
 :debug:build Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/work/gource-0.37"
 && /usr/bin/make -j4 -w all
 :info:build make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/work/gource-0.37'
 :info:build depbase=`echo src/action.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /Developer/usr/bin/clang++ -DPACKAGE_NAME=\"Gource\"
 -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.37\"
 -DPACKAGE_STRING=\"Gource\ 0.37\"
 -DPACKAGE_BUGREPORT=\"acaudwell at gmail.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"gource\" -DVERSION=\"0.37\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1
 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPCRE=1 -I.
 -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\"   -pipe -O2 -arch x86_64
 -D_THREAD_SAFE  -D_THREAD_SAFE  -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -MT
 src/action.o -MD -MP -MF $depbase.Tpo -c -o src/action.o src/action.cpp
 &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo src/apache.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /Developer/usr/bin/clang++ -DPACKAGE_NAME=\"Gource\"
 -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.37\"
 -DPACKAGE_STRING=\"Gource\ 0.37\"
 -DPACKAGE_BUGREPORT=\"acaudwell at gmail.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"gource\" -DVERSION=\"0.37\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1
 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPCRE=1 -I.
 -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\"   -pipe -O2 -arch x86_64
 -D_THREAD_SAFE  -D_THREAD_SAFE  -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -MT
 src/apache.o -MD -MP -MF $depbase.Tpo -c -o src/apache.o src/apache.cpp
 &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo src/bloom.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /Developer/usr/bin/clang++ -DPACKAGE_NAME=\"Gource\"
 -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.37\"
 -DPACKAGE_STRING=\"Gource\ 0.37\"
 -DPACKAGE_BUGREPORT=\"acaudwell at gmail.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"gource\" -DVERSION=\"0.37\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1
 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPCRE=1 -I.
 -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\"   -pipe -O2 -arch x86_64
 -D_THREAD_SAFE  -D_THREAD_SAFE  -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -MT
 src/bloom.o -MD -MP -MF $depbase.Tpo -c -o src/bloom.o src/bloom.cpp &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo src/bzr.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /Developer/usr/bin/clang++ -DPACKAGE_NAME=\"Gource\"
 -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.37\"
 -DPACKAGE_STRING=\"Gource\ 0.37\"
 -DPACKAGE_BUGREPORT=\"acaudwell at gmail.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"gource\" -DVERSION=\"0.37\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1
 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPCRE=1 -I.
 -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\"   -pipe -O2 -arch x86_64
 -D_THREAD_SAFE  -D_THREAD_SAFE  -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -MT
 src/bzr.o -MD -MP -MF $depbase.Tpo -c -o src/bzr.o src/bzr.cpp &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo src/commitlog.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /Developer/usr/bin/clang++ -DPACKAGE_NAME=\"Gource\"
 -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.37\"
 -DPACKAGE_STRING=\"Gource\ 0.37\"
 -DPACKAGE_BUGREPORT=\"acaudwell at gmail.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"gource\" -DVERSION=\"0.37\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1
 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPCRE=1 -I.
 -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\"   -pipe -O2 -arch x86_64
 -D_THREAD_SAFE  -D_THREAD_SAFE  -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -MT
 src/commitlog.o -MD -MP -MF $depbase.Tpo -c -o src/commitlog.o
 src/commitlog.cpp &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo src/core/camera.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /Developer/usr/bin/clang++ -DPACKAGE_NAME=\"Gource\"
 -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.37\"
 -DPACKAGE_STRING=\"Gource\ 0.37\"
 -DPACKAGE_BUGREPORT=\"acaudwell at gmail.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"gource\" -DVERSION=\"0.37\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1
 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPCRE=1 -I.
 -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\"   -pipe -O2 -arch x86_64
 -D_THREAD_SAFE  -D_THREAD_SAFE  -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -MT
 src/core/camera.o -MD -MP -MF $depbase.Tpo -c -o src/core/camera.o
 src/core/camera.cpp &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo src/core/conffile.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /Developer/usr/bin/clang++ -DPACKAGE_NAME=\"Gource\"
 -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.37\"
 -DPACKAGE_STRING=\"Gource\ 0.37\"
 -DPACKAGE_BUGREPORT=\"acaudwell at gmail.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"gource\" -DVERSION=\"0.37\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1
 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPCRE=1 -I.
 -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\"   -pipe -O2 -arch x86_64
 -D_THREAD_SAFE  -D_THREAD_SAFE  -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -MT
 src/core/conffile.o -MD -MP -MF $depbase.Tpo -c -o src/core/conffile.o
 src/core/conffile.cpp &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build depbase=`echo src/core/display.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /Developer/usr/bin/clang++ -DPACKAGE_NAME=\"Gource\"
 -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.37\"
 -DPACKAGE_STRING=\"Gource\ 0.37\"
 -DPACKAGE_BUGREPORT=\"acaudwell at gmail.com\" -DPACKAGE_URL=\"\"
 -DPACKAGE=\"gource\" -DVERSION=\"0.37\" -DHAVE_TIMEGM=1 -DHAVE_UNSETENV=1
 -DHAVE_PTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -DHAVE_OPENGL_GL_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPCRE=1 -I.
 -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\"   -pipe -O2 -arch x86_64
 -D_THREAD_SAFE  -D_THREAD_SAFE  -I/opt/local/include/SDL -D_GNU_SOURCE=1
 -D_THREAD_SAFE -I/opt/local/include/freetype2 -I/opt/local/include -MT
 src/core/display.o -MD -MP -MF $depbase.Tpo -c -o src/core/display.o
 src/core/display.cpp &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build In file included from src/commitlog.cpp:18:
 :info:build In file included from src/commitlog.h:26:
 :info:build In file included from src/core/utf8/utf8.h:31:
 :info:build src/core/utf8/checked.h:82:21: error: call to function
 'append' that is neither visible in the template definition nor found by
 argument-dependent lookup
 :info:build                     append (replacement, out);
 :info:build                     ^
 :info:build src/commitlog.cpp:24:9: note: in instantiation of function
 template specialization
 'utf8::replace_invalid<__gnu_cxx::__normal_iterator<const char *,
 std::basic_string<char> >,
 std::back_insert_iterator<std::basic_string<char> > >' requested here
 :info:build         utf8::replace_invalid(str.begin(), str.end(),
 back_inserter(munged), '?');
 :info:build         ^
 :info:build src/core/utf8/checked.h:107:20: note: 'append' should be
 declared prior to the call site or in namespace '__gnu_cxx'
 :info:build     octet_iterator append(uint32_t cp, octet_iterator result)
 :info:build                    ^
 :info:build src/core/utf8/checked.h:88:21: error: call to function
 'append' that is neither visible in the template definition nor found by
 argument-dependent lookup
 :info:build                     append (replacement, out);
 :info:build                     ^
 :info:build src/core/utf8/checked.h:107:20: note: 'append' should be
 declared prior to the call site or in namespace '__gnu_cxx'
 :info:build     octet_iterator append(uint32_t cp, octet_iterator result)
 :info:build                    ^
 :info:build 2 errors generated.
 :info:build make: *** [src/commitlog.o] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build src/core/camera.cpp:235:39: warning: '&&' within '||'
 [-Wlogical-op-parentheses]
 :info:build     if(finished || events.size() == 0 && current==0) return;
 :info:build                 ~~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
 :info:build src/core/camera.cpp:235:39: note: place parentheses around the
 '&&' expression to silence this warning
 :info:build     if(finished || events.size() == 0 && current==0) return;
 :info:build                                       ^
 :info:build                    (                               )
 :info:build 1 warning generated.
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/work/gource-0.37'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/work/gource-0.37"
 && /usr/bin/make -j4 -w all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for gource):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for gource is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gource/gource/main.log
 </pre>
 <pre>
 $ gcc -version
 i686-apple-darwin11-llvm-gcc-4.2
 </pre>

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


More information about the macports-tickets mailing list