29.0.1547.57 build fails on 9.2-RC2 i386

René Ladan rene at freebsd.org
Mon Aug 26 12:01:32 UTC 2013


On 26-08-2013 13:49, John Marshall wrote:
> Chromium 29.0.1547.57 doesn't want to build for me on 9.2-RC2 i386
> 
> FreeBSD 9.2-RC2 r254395: Fri Aug 16 17:28:53 AEST 2013 ... i386
> 
> ports tree: r325368
> 
> This is an old Pentium 4 - no HTT available, so no scope for
> MAKE_JOBS. Earlier releases of chromium have built OK.  After about
> 12 hours, the build falls over as follows...
> 
> [11637/11992] CXX obj/net/dns/net.dns_session.o FAILED: clang++
> -MMD -MF obj/net/dns/net.dns_session.o.d -DANGLE_DX11
> -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL
> -DCHROMIUM_BUILD -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1
> -DUSE_NSS=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN
> -DGTK_DISABLE_SINGLE_INCLUDES=1 -DENABLE_REMOTING=1
> -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS
> -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH
> -DENABLE_NOTIFICATIONS -DENABLE_GPU=1 -DENABLE_EGLIMAGE=1
> -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1
> -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1
> -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_BACKGROUND=1
> -DENABLE_AUTOMATION=1 -DENABLE_GOOGLE_NOW=1
> -DENABLE_LANGUAGE_DETECTION=1 -DENABLE_PRINTING=1
> -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_MANAGED_USERS=1
> -DNET_IMPLEMENTATION -DUSE_KERBEROS -DDLOPEN_KERBEROS
> -DENABLE_BUILT_IN_DNS -DU_USING_ICU_NAMESPACE=0
> -DU_STATIC_IMPLEMENTATION -DUSE_GCONF -DUSE_GIO
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG
> -DOFFICIAL_BUILD -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
> -D_FORTIFY_SOURCE=2 -I../../third_party/icu/public/common
> -I../../third_party/icu/public/i18n -I../..
> -I../../sdch/open-vcdiff/src -I../../third_party/zlib -Igen/net
> -Igen -I../../net/third_party/nss/ssl -fstack-protector
> --param=ssp-buffer-size=4  -pthread -fno-exceptions
> -fno-strict-aliasing -Wall -Wno-unused-parameter
> -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC
> -Wheader-hygiene -Wno-char-subscripts -Wno-unused-function
> -Wno-covered-switch-default -Wstring-conversion
> -Wno-c++11-narrowing -Wno-reserved-user-defined-literal
> -momit-leaf-frame-pointer -fcolor-diagnostics
> -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/
> -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo
> -I/usr/local/include/pixman-1 -I/usr/local/include/drm
> -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0
> -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0
> -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz
> -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include
> -pthread -I/usr/local/include/glib-2.0 -I/usr/local/include
> -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/gconf/2
> -I/usr/local/include/orbit-2.0 -DORBIT2=1 -pthread
> -I/usr/local/include/glib-2.0 -I/usr/local/include -pthread
> -I/usr/local/include/glib-2.0 -I/usr/local/include
> -I/usr/local/include/nss -I/usr/local/include/nss/nss
> -I/usr/local/include/nspr -I/usr/local/include/gtk-2.0
> -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/
> -I/usr/local/include/gdk-pixbuf-2.0 -pthread
> -I/usr/local/include/cairo -I/usr/local/include/glib-2.0
> -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2
> -I/usr/local/include/drm -I/usr/local/include/libpng15
> -D_THREAD_SAFE -I/usr/local/include -Wexit-time-destructors -m32
> -mmmx -march=pentium4 -msse2 -O2 -fdata-sections
> -ffunction-sections -fno-unwind-tables
> -fno-asynchronous-unwind-tables -O -pipe -march=pentium4 -fno-rtti
> -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare
> -std=gnu++11  -c ../../net/dns/dns_session.cc -o
> obj/net/dns/net.dns_session.o ../../net/dns/dns_session.cc:179:7:
> error: call to 'abs' is ambiguous 
> std::abs(current_error.ToInternalValue())); ^~~~~~~~ 
> /usr/include/stdlib.h:83:6: note: candidate function int
> abs(int) __pure2; ^ /usr/include/c++/4.2/cstdlib:143:3: note:
> candidate function abs(long __i) { return labs(__i); } ^ 1 error
> generated. ninja: build stopped: subcommand failed. *** [do-build]
> Error code 1
> 
> Stop in /build/ports/www/chromium. *** [build] Error code 1
> 
> Stop in /build/ports/www/chromium.
> 
> ===>>> make failed for www/chromium ===>>> Aborting update
> 
> ===>>> Update for www/chromium failed ===>>> Aborting update
> 
I found this while doing a 9.1-i386 build in a poudriere environment
myself, can you try the attached patch?

> Thank you for maintaining this port.
> 
René



More information about the freebsd-chromium mailing list