#28602: gource @0.31 build error - ambiguous overload for 'operator!=' in 'mem_pointer != 0' -------------------------------------------+-------------------------------- Reporter: martin.eisenhardt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: gource | Port: gource -------------------------------------------+-------------------------------- gource @0.31 won't build on my machine (MB pro, 2008, Leopard, completely patched, latest available Xcode installed) due to the following problem(s): {{{ version:1 :msg:main ---> Computing dependencies for gource:info:main .:debug:main Searching for dependency: ftgl :debug:main Found Dependency: receipt exists for ftgl :debug:main Searching for dependency: libsdl :debug:main Found Dependency: receipt exists for libsdl :debug:main Searching for dependency: libsdl_image :debug:main Found Dependency: receipt exists for libsdl_image :debug:main Searching for dependency: pcre :debug:main Found Dependency: receipt exists for pcre :debug:main Searching for dependency: libpng :debug:main Found Dependency: receipt exists for libpng :debug:main Searching for dependency: jpeg :debug:main Found Dependency: receipt exists for jpeg :debug:main Searching for dependency: glew :debug:main Found Dependency: receipt exists for glew :msg:main :debug:main Executing org.macports.main (gource) :debug:main Skipping completed org.macports.fetch (gource) :debug:main Skipping completed org.macports.checksum (gource) :debug:main Skipping completed org.macports.extract (gource) :debug:main Skipping completed org.macports.patch (gource) :debug:main Skipping completed org.macports.configure (gource) :msg:main ---> Building gource :debug:build build phase started at Wed Mar 2 12:58:11 CET 2011 :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_ports_devel_gource/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gource/work/gource-0.31" && /usr/bin/make all' :info:build depbase=`echo src/core/seeklog.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ :info:build /usr/bin/g++-4.0 -DPACKAGE_NAME=\"Gource\" -DPACKAGE_TARNAME=\"gource\" -DPACKAGE_VERSION=\"0.31\" -DPACKAGE_STRING=\"Gource\ 0.31\" -DPACKAGE_BUGREPORT=\"acaudwell@gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"gource\" -DVERSION=\"0.31\" -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_GL_GL_H=1 -DHAVE_OPENGL_GL_H=1 -DHAVE_GL_GLU_H=1 -DHAVE_OPENGL_GLU_H=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPCRE=1 -I. -DSDLAPP_RESOURCE_DIR=\"/opt/local/share/gource\" -pipe -O2 -arch i386 -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 -I/opt/local/include -I/opt/local/include/FTGL -I/opt/local/include/freetype2 -MT src/core/seeklog.o -MD -MP -MF $depbase.Tpo -c -o src/core/seeklog.o src/core/seeklog.cpp &&\ :info:build mv -f $depbase.Tpo $depbase.Po :info:build src/core/seeklog.cpp: In member function 'void SeekLog::seekTo(float)': :info:build src/core/seeklog.cpp:167: error: ambiguous overload for 'operator!=' in 'mem_pointer != 0' :info:build src/core/seeklog.cpp:167: note: candidates are: operator!=(std::streamoff, int) <built-in> :info:build /usr/include/c++/4.0.0/bits/postypes.h:143: note: bool std::fpos<_StateT>::operator!=(const std::fpos<_StateT>&) const [with _StateT = mbstate_t] :info:build make: *** [src/core/seeklog.o] Error 1 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gource/work/gource-0.31" && /usr/bin/make 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.destroot org.macports.build :notice:build Log for gource is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gource/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/28602> MacPorts <http://www.macports.org/> Ports system for Mac OS