Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2014 14:42:02 +0300
From:      Lena <Lena@lena.kiev.ua>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189286: www/chromium build with lang/gcc fails
Message-ID:  <20140503114202.GA14302@lena.kiev>
Resent-Message-ID: <201405031150.s43Bo02K002301@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
	Note: There was a bad value `no=20' for the field `>Confidential:'.
	It was set to the default value of `yes'.


>Number:         189286
>Category:       ports
>Synopsis:       www/chromium build with lang/gcc fails
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 03 11:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     =09
>Release:        FreeBSD 8.4-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD 8.4-RELEASE-p4 #4: Wed Apr 30 16:12:04 EEST 2014  i386

FAVORITE_COMPILER=3Dgcc in /etc/make.conf

Port lang/gcc installed:
~ $ pkg_tree
=2E..
gcc-4.7.3_1
|\__ gmp-5.1.3_2
|\__ mpfr-3.1.2_2
|\__ mpc-1.0.2
|\__ binutils-2.24
 \__ libiconv-1.14_3
=2E..

/var/db/ports/www_chromium/options:
# This file is auto-generated by 'make config'.
# Options for chromium-33.0.1750.146
_OPTIONS_READ=3Dchromium-33.0.1750.146
_FILE_COMPLETE_OPTIONS_LIST=3DCODECS DEBUG GCONF PULSEAUDIO TEST
OPTIONS_FILE_SET+=3DCODECS
OPTIONS_FILE_UNSET+=3DDEBUG
OPTIONS_FILE_UNSET+=3DGCONF
OPTIONS_FILE_UNSET+=3DPULSEAUDIO
OPTIONS_FILE_UNSET+=3DTEST

>Description:
While trying to upgrade the port www/chromium from 33.0.1750.152_1 to
34.0.1847.132:

=2E..
=3D=3D=3D>  Configuring for chromium-34.0.1847.132
cd /usr/ports/www/chromium/work/chromium-34.0.1847.132 && /usr/bin/env CC=
=3Dgcc47  CXX=3Dg++47  GYP_GENERATORS=3Dninja  GYP_DEFINES=3D"use_cups=3D1 =
 use_system_yasm=3D1  use_system_libxml=3D1  use_system_ffmpeg=3D0  use_sys=
tem_libusb=3D1  use_system_libevent=3D1  use_system_libvpx=3D0  linux_break=
pad=3D0  linux_strip_binary=3D1  linux_use_tcmalloc=3D0  linux_use_heapchec=
ker=3D0  test_isolation_mode=3Dnoop  clang_use_chrome_plugins=3D0  disable_=
nacl=3D1  enable_webrtc=3D1  enable_openmax=3D1  enable_one_click_signin=3D=
1  werror=3D  no_gc_sections=3D1  os_ver=3D804000  prefix_dir=3D/usr/local =
 python_ver=3D2.7 google_api_key=3DAIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 =
 google_default_client_id=3D996322985003.apps.googleusercontent.com  google=
_default_client_secret=3DIR1za9-1VK0zZ0f_O8MVFicn ffmpeg_branding=3DChrome =
proprietary_codecs=3D1 use_gconf=3D0 use_pulseaudio=3D0 disable_sse2=3D1 bu=
ildtype=3DOfficial gcc_version=3D47" PYTHON=3D"/usr/local/bin/python2.7" PK=
G_CONFIG=3Dpkgconf ac_cv_path_PERL=3D/usr/local/bin/perl ac_cv_path_PERL_PA=
TH=3D/usr/local/bin/perl CFLAGS=3D"-O2 -pipe -march=3Dathlon-mp -fno-stack-=
protector -Wno-unknown-warning -Wl,-rpath=3D/usr/local/lib/gcc47 -fno-stric=
t-aliasing"  CPPFLAGS=3D""  CXXFLAGS=3D"-O2 -pipe -march=3Dathlon-mp -fno-s=
tack-protector -Wno-unknown-warning -Wl,-rpath=3D/usr/local/lib/gcc47 -fno-=
strict-aliasing -Wl,-rpath=3D/usr/local/lib/gcc47"  LDFLAGS=3D" -Wl,-rpath=
=3D/usr/local/lib/gcc47 -L/usr/local/lib/gcc47" SHELL=3D/bin/sh CONFIG_SHEL=
L=3D/bin/sh /usr/local/bin/python2.7  ./build/gyp_chromium chrome/chrome.gy=
p --depth .
Updating projects from gyp files...
=2E..
[4897/13253] CXX obj/net/quic/congesti...l/net.inter_arrival_overuse_detect=
or.o
FAILED: g++47 -MMD -MF obj/net/quic/congestion_control/net.inter_arrival_ov=
eruse_detector.o.d -DV8_DEPRECATION_WARNINGS -D_FILE_OFFSET_BITS=3D64 -DNO_=
TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD -DUSE_CAIRO=3D1 -DUSE_GLIB=3D1 -DU=
SE_DEFAULT_RENDER_THEME=3D1 -DUSE_LIBJPEG_TURBO=3D1 -DUSE_NSS=3D1 -DUSE_X11=
=3D1 -DENABLE_ONE_CLICK_SIGNIN -DGTK_DISABLE_SINGLE_INCLUDES=3D1 -DUSE_XI2_=
MT=3D2 -DENABLE_REMOTING=3D1 -DENABLE_WEBRTC=3D1 -DUSE_PROPRIETARY_CODECS -=
DENABLE_CONFIGURATION_POLICY -DENABLE_INPUT_SPEECH -DENABLE_NOTIFICATIONS -=
DENABLE_EGLIMAGE=3D1 -DENABLE_TASK_MANAGER=3D1 -DENABLE_EXTENSIONS=3D1 -DEN=
ABLE_PLUGIN_INSTALLATION=3D1 -DENABLE_PLUGINS=3D1 -DENABLE_SESSION_SERVICE=
=3D1 -DENABLE_THEMES=3D1 -DENABLE_BACKGROUND=3D1 -DENABLE_AUTOMATION=3D1 -D=
ENABLE_GOOGLE_NOW=3D1 -DCLD_VERSION=3D2 -DENABLE_FULL_PRINTING=3D1 -DENABLE=
_PRINTING=3D1 -DENABLE_SPELLCHECK=3D1 -DENABLE_CAPTIVE_PORTAL_DETECTION=3D1=
 -DENABLE_MANAGED_USERS=3D1 -DNET_IMPLEMENTATION -DUSE_KERBEROS -DDLOPEN_KE=
RBEROS -DENABLE_BUILT_IN_DNS -DU_USING_ICU_NAMESPACE=3D0 -DU_STATIC_IMPLEME=
NTATION -DUSE_GIO -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG =
-DOFFICIAL_BUILD -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=3D0 -D_FORTIFY_S=
OURCE=3D2 -I../.. -I../../sdch/open-vcdiff/src -I../../third_party/icu/sour=
ce/i18n -I../../third_party/icu/source/common -I../../third_party/zlib -Ige=
n/net -Igen -I../../net/third_party/nss/ssl -fstack-protector --param=3Dssp=
-buffer-size=3D4  -pthread -fno-exceptions -fno-strict-aliasing -Wall -Wno-=
unused-parameter -Wno-missing-field-initializers -fvisibility=3Dhidden -pip=
e -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/p=
ixman-1 -I/usr/local/include/drm -D_THREAD_SAFE -I/usr/local/include/gdk-pi=
xbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/freetype2 -I/u=
sr/local/include/libpng15 -I/usr/local/include/harfbuzz -pthread -I/usr/loc=
al/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 -pthread -I/u=
sr/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/gt=
k-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 -m32 -mmmx -O2 -fno-ident -fdata-sections -ffunct=
ion-sections -funwind-tables -O2 -pipe -march=3Dathlon-mp -fno-stack-protec=
tor -Wno-unknown-warning -Wl,-rpath=3D/usr/local/lib/gcc47 -fno-strict-alia=
sing -Wl,-rpath=3D/usr/local/lib/gcc47 -fno-rtti -fno-threadsafe-statics -f=
visibility-inlines-hidden -Wsign-compare  -c ../../net/quic/congestion_cont=
rol/inter_arrival_overuse_detector.cc -o obj/net/quic/congestion_control/ne=
t.inter_arrival_overuse_detector.o
=2E./../net/quic/congestion_control/inter_arrival_overuse_detector.cc: In m=
ember function 'void net::InterArrivalOveruseDetector::DetectDrift(int64)':
=2E./../net/quic/congestion_control/inter_arrival_overuse_detector.cc:168:5=
3: error: call of overloaded 'abs(int64)' is ambiguous
=2E./../net/quic/congestion_control/inter_arrival_overuse_detector.cc:168:5=
3: 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_overu=
se_detector.h:19,
                 from ../../net/quic/congestion_control/inter_arrival_overu=
se_detector.cc:5:
/usr/local/lib/gcc47/gcc/i386-portbld-freebsd8.4/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_overu=
se_detector.h:19,
                 from ../../net/quic/congestion_control/inter_arrival_overu=
se_detector.cc:5:
/usr/local/lib/gcc47/include/c++/cstdlib:140:3: note: long int std::abs(lon=
g int)
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unknown-warning" [=
enabled by default]
[4897/13253] CXX obj/net/quic/congestion_control/net.inter_arrival_probe.o
ninja: build stopped: subcommand failed.
*** Error code 1
Stop in /usr/ports/www/chromium.

>How-To-Repeat:

# cd /usr/ports/www/chromium
# make clean
# MAKE_JOBS_UNSAFE=3Dyes LANG=3DC make

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140503114202.GA14302>