Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Oct 2013 20:57:47 -0400
From:      George Mitchell <george+freebsd@m5p.com>
To:        freebsd-ports@freebsd.org
Subject:   Can't compile www/chromium on 9.2-RC1
Message-ID:  <524B6F8B.2070902@m5p.com>

next in thread | raw e-mail | index | archive | help
It tries to compile with clang, which I don't have on my 9.2-RC1 box.

uname:
FreeBSD 9.2-RC1 #0 r253913M: Sat Aug  3 13:28:00 EDT 2013
(The "M" is because I changed SCHED_ULE to SCHED_4BSD).

/etc/src.conf:
WITHOUT_CLANG=y

/etc/make.conf:
WITH_PKGNG=yes
WITHOUT_CLANG=yes
DISABLE_VULNERABILITIES=yes

(The first time I tried, WITHOUT_CLANG=yes wasn't there.  I hoped that
adding it would fix the problem, but it didn't).

svn info in /usr/ports:
Path: .
Working Copy Root Path: /usr/ports
URL: svn://svnmirror/ports/head
Relative URL: ^/head
Repository Root: svn://svnmirror/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 328710
Node Kind: directory
Schedule: normal
Last Changed Author: bsam
Last Changed Rev: 328710
Last Changed Date: 2013-09-29 13:01:28 -0400 (Sun, 29 Sep 2013)

Build dies thusly:
===>  Building for chromium-29.0.1547.76
cd /usr/ports/www/chromium/work/chromium-29.0.1547.76 && /usr/bin/env 
TMPDIR="/tmp" BUILDTYPE=Release  GPERF=/usr/local/bin/gperf 
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local 
  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="clang" CFLAGS="-O2 -pipe 
-fno-stack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="" 
LDFLAGS=""  CXX="clang++" CXXFLAGS="-O2 -pipe -fno-stack-protector 
-fno-strict-aliasing"  MANPREFIX="/usr/local" 
BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555" 
BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444" 
BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555" 
BSD_INSTALL_DATA="install  -o root -g wheel -m 444" 
BSD_INSTALL_MAN="install  -o root -g wheel -m 444" /usr/local/bin/ninja 
  -j2 -C out/Release chrome
ninja: Entering directory `out/Release'
[2/11970] CC obj/third_party/libevent/libevent.buffer.o
FAILED: clang -MMD -MF obj/third_party/libevent/libevent.buffer.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 
-DHAVE_CONFIG_H -DNDEBUG -DOFFICIAL_BUILD -DNVALGRIND 
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/libevent/mac 
-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-unused-function 
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing 
-Wno-reserved-user-defined-literal -fcolor-diagnostics -Wno-format -O2 
-fdata-sections -ffunction-sections -O2 -pipe -fno-stack-protector 
-fno-strict-aliasing  -c ../../third_party/libevent/buffer.c -o 
obj/third_party/libevent/libevent.buffer.o
clang: not found
[2/11970] CC obj/third_party/libevent/libevent.evbuffer.o
FAILED: clang -MMD -MF obj/third_party/libevent/libevent.evbuffer.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 
-DHAVE_CONFIG_H -DNDEBUG -DOFFICIAL_BUILD -DNVALGRIND 
-DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/libevent/mac 
-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-unused-function 
-Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing 
-Wno-reserved-user-defined-literal -fcolor-diagnostics -Wno-format -O2 
-fdata-sections -ffunction-sections -O2 -pipe -fno-stack-protector 
-fno-strict-aliasing  -c ../../third_party/libevent/evbuffer.c -o 
obj/third_party/libevent/libevent.evbuffer.o
clang: not found
ninja: build stopped: subcommand failed.
*** [do-build] Error code 1

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

Stop in /usr/ports/www/chromium.

===>>> make failed for www/chromium
===>>> Aborting update

===>>> Killing background jobs
Terminated

===>>> You can restart from the point of failure with this command line:
        portmaster <flags> www/chromium

===>>> Exiting

What's the next thing to do?  Please cc: me on responses.    -- George



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