Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2014 15:47:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        chromium@FreeBSD.org
Subject:   [Bug 192685] www/chromium 36.0.1985.143 fails to build on 10-stable
Message-ID:  <bug-192685-28929-L9jwTU3O5T@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192685-28929@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192685-28929@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192685

--- Comment #5 from oleg.nauman@gmail.com ---
(In reply to Carlos Jacobo Puga Medina from comment #4)
> Regarding typedef redefinition errors:
> 
> ../../gpu/command_buffer/common/gles2_cmd_format.h:41:26: error: typedef
> redefinition with different types ('khronos_intptr_t' (aka 'long') vs
> 'ptrdiff_t' (aka 'int'))
> typedef khronos_intptr_t GLintptr;
>                          ^
> /usr/local/include/GL/glext.h:6152:19: note: previous definition is here
> typedef ptrdiff_t GLintptr;
>                   ^
> Needs to be fixed before FreeBSD-10.1 (clang 3.4).
> 
> Please, can you try to build chromium with USE_GCC=4.7+ and report back?

 It fails:

[2/13757] CXX obj/third_party/smhasher/src/cityhash.City.o
FAILED: g++47 -MMD -MF obj/third_party/smhasher/src/cityhash.City.o.d
-DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME
-D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DDISABLE_NACL -DCHROMIUM_BUILD
-DCR_CLANG_REVISION=206824 -DTOOLKIT_VIEWS=1 -DUSE_AURA=1 -DUSE_CAIRO=1
-DUSE_GLIB=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1
-DUSE_CLIPBOARD_AURAX11=1 -DENABLE_ONE_CLICK_SIGNIN -DUSE_XI2_MT=2
-DENABLE_REMOTING=1 -DENABLE_WEBRTC=1 -DUSE_PROPRIETARY_CODECS
-DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_EGLIMAGE=1
-DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PLUGINS=1
-DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1
-DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DCLD_VERSION=2
-DENABLE_FULL_PRINTING=1 -DENABLE_PRINTING=1 -DENABLE_SPELLCHECK=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1
-DENABLE_MANAGED_USERS=1
'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"'
'-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"'
'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"'
'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"'
-DUSE_NSS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 
-fstack-protector --param=ssp-buffer-size=4  -pthread -fno-exceptions
-fno-strict-aliasing -Wno-unused-parameter -Wno-missing-field-initializers
-fvisibility=hidden -pipe -fPIC -Wheader-hygiene -Wno-char-subscripts
-Wno-unneeded-internal-declaration -Wno-covered-switch-default
-Wstring-conversion -Wno-c++11-narrowing -Wno-reserved-user-defined-literal
-Wno-deprecated-register -Wno-absolute-value -momit-leaf-frame-pointer
-fcolor-diagnostics -Wno-format -msse2 -mmmx -m32 -O2 -fdata-sections
-ffunction-sections -funwind-tables -O2 -pipe -march=core2 -fno-stack-protector
-Wno-unknown-warning-option -Wl,-rpath=/usr/local/lib/gcc47
-fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc47 -fno-rtti
-fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11
-Wno-deprecated  -c ../../third_party/smhasher/src/City.cpp -o
obj/third_party/smhasher/src/cityhash.City.o
g++47: error: unrecognized command line option '-Wheader-hygiene'
g++47: error: unrecognized command line option '-Wstring-conversion'
g++47: error: unrecognized command line option '-fcolor-diagnostics'
[2/13757] ACTION Caching bytecode of Jinja templates
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

I think due to fact that :

GYP_DEFINES="clang_use_chrome_plugins=0  linux_breakpad=0 
linux_use_heapchecker=0  linux_strip_binary=1  test_isolation_mode=noop 
disable_nacl=1  enable_one_click_signin=1  enable_openmax=1  enable_webrtc=1 
werror=  no_gc_sections=1  os_ver=1000713  prefix_dir=/usr/local 
python_ver=2.7  use_allocator=none  use_cups=1  linux_link_gsettings=1 
linux_link_libpci=1  linux_link_libspeechd=1 
libspeechd_h_prefix=speech-dispatcher/ 
usb_ids_path=/usr/local/share/usbids/usb.ids  want_separate_host_toolset=0 
use_system_bzip2=1  use_system_flac=1  use_system_harfbuzz=1  use_system_icu=1 
use_system_jsoncpp=1  use_system_libevent=1  use_system_libexif=1 
use_system_libjpeg=1  use_system_libpng=1  use_system_libusb=1 
use_system_libwebp=1  use_system_libxml=1  use_system_libxslt=1 
use_system_minizip=1  use_system_nspr=1  use_system_openssl=1 
use_system_protobuf=1  use_system_re2=1  use_system_snappy=1 
use_system_speex=1  use_system_xdg_utils=1  use_system_yasm=1 
use_system_zlib=1
flapper_version_h_file='/disk2/usr/obj/ports/usr/ports/www/chromium/work/chromium-36.0.1985.143/flapper_version.h'
google_api_key=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 
google_default_client_id=996322985003.apps.googleusercontent.com 
google_default_client_secret=IR1za9-1VK0zZ0f_O8MVFicn ffmpeg_branding=Chrome
proprietary_codecs=1 use_gconf=1 use_pulseaudio=0 clang=1

still defines 'clang' to 1

I saw

.if ${CHOSEN_COMPILER_TYPE} == gcc

conditional in Makefile but it is not working or so

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192685-28929-L9jwTU3O5T>