Chromium build failure

Peter Harrison four.harrisons at googlemail.com
Wed May 7 19:23:54 UTC 2014


Hi,

I'm getting a build failure with Chromium on 9.2-RELEASE i386. Any thoughts?

Cheers,


Peter Harrison.

Here's my make.conf:

WITH_OPTIONS=YES
vim_SET+=GTK2 PERL X11
WITH_CUPS=YES
CUPS_OVERWRITE_BASE=YES
WITH_PKGNG=YES
MAKE_JOBS_UNSAFE=YES #added as recommended by initial build failure

And here's the failure itself:

cc1plus: warning: unrecognized command line option "-Wno-unknown-warning" [enabled by default]
[1806/13254] CXX obj/net/quic/congestion_control/net.inter_arrival_overuse_detector.o
FAILED: g++47 -MMD -MF obj/net/quic/congestion_control/net.inter_arrival_overuse_detector.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_NSS=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES=1 -DUSE_XI2_MT=2 -DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS -DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -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 -DCLD_VERSION=2 -DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=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../.. -I../../sdch/open-vcdiff/src -I../../third_party/icu/source/i18n -I../../third_party/icu/source/common -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 -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 -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/libpng15 -D_THREAD_SAFE -I/usr/local/include -m32 -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -O2 -pipe -fno-stack-protector -Wno-unknown-warning -Wl,-rpath=/usr/local/lib/gcc47 -fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc47 -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare  -c ../../net/quic/congestion_control/inter_arrival_overuse_detector.cc -o obj/net/quic/congestion_control/net.inter_arrival_overuse_detector.o
../../net/quic/congestion_control/inter_arrival_overuse_detector.cc: In member function 'void net::InterArrivalOveruseDetector::DetectDrift(int64)':
../../net/quic/congestion_control/inter_arrival_overuse_detector.cc:168:53: error: call of overloaded 'abs(int64)' is ambiguous
../../net/quic/congestion_control/inter_arrival_overuse_detector.cc:168:53: note: candidates are:
In file included from /usr/local/lib/gcc47/include/c++/cstdlib:66:0,
                 from /usr/local/lib/gcc47/include/c++/bits/stl_algo.h:61,
                 from /usr/local/lib/gcc47/include/c++/algorithm:63,
                 from /usr/local/lib/gcc47/include/c++/backward/hashtable.h:65,
                 from /usr/local/lib/gcc47/include/c++/ext/hash_map:65,
                 from ../../base/containers/hash_tables.h:55,
                 from ../../net/quic/quic_protocol.h:18,
                 from ../../net/quic/congestion_control/inter_arrival_overuse_detector.h:19,
                 from ../../net/quic/congestion_control/inter_arrival_overuse_detector.cc:5:
/usr/local/lib/gcc47/gcc/i386-portbld-freebsd9.2/4.7.3/include-fixed/stdlib.h:100:6: note: int abs(int)
In file included from /usr/local/lib/gcc47/include/c++/bits/stl_algo.h:61:0,
                 from /usr/local/lib/gcc47/include/c++/algorithm:63,
                 from /usr/local/lib/gcc47/include/c++/backward/hashtable.h:65,
                 from /usr/local/lib/gcc47/include/c++/ext/hash_map:65,
                 from ../../base/containers/hash_tables.h:55,
                 from ../../net/quic/quic_protocol.h:18,
                 from ../../net/quic/congestion_control/inter_arrival_overuse_detector.h:19,
                 from ../../net/quic/congestion_control/inter_arrival_overuse_detector.cc:5:
/usr/local/lib/gcc47/include/c++/cstdlib:140:3: note: long int std::abs(long int)
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unknown-warning" [enabled by default]
[1806/13254] CXX obj/net/quic/congestion_control/net.inter_arrival_probe.o
ninja: build stopped: subcommand failed.
*** [do-build] Error code 1

Stop in /usr/ports/www/chromium.
*** [stage] Error code 1

Stop in /usr/ports/www/chromium.



More information about the freebsd-chromium mailing list