Re: Can't compile www/chromium on 9.2-RC1

2013-10-02 Thread Florent Peterschmitt
Le 02/10/2013 02:57, George Mitchell a écrit :
 It tries to compile with clang, which I don't have on my 9.2-RC1 box.
[snip]
 What's the next thing to do?

Reinstall world with clang? It's been a long time www/chromium doesn't
build with base's.

More and more ports are not building with base's GCC so not having clang
will juste bring some headaches.

Also, the www/chromium port can use clang from ports if the version 
902000.

Seems that 9.2-RC1 is up to this version. My advise is to reinstall
world with clang :)

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: Can't compile www/chromium on 9.2-RC1

2013-10-02 Thread Florent Peterschmitt
Le 02/10/2013 09:19, Florent Peterschmitt a écrit :
 My advise is to reinstall world with clang :)

Or select GCC 4.6+ to build this port in www/chromium options.

-- 
Florent Peterschmitt   | Please:
flor...@peterschmitt.fr|  * Avoid HTML/RTF in E-mail.
+33 (0)6 64 33 97 92   |  * Send PDF for documents.
http://florent.peterschmitt.fr |  * Trim your quotations. Really.
Proudly powered by Open Source | Thank you :)



signature.asc
Description: OpenPGP digital signature


Re: Can't compile www/chromium on 9.2-RC1

2013-10-02 Thread George Mitchell

On 10/02/13 03:21, Florent Peterschmitt wrote:

Le 02/10/2013 09:19, Florent Peterschmitt a écrit :

My advise is to reinstall world with clang :)


Or select GCC 4.6+ to build this port in www/chromium options.



Duh!  Thanks for pointing out the obvious!  I appreciate the help.
-- George
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Can't compile www/chromium on 9.2-RC1

2013-10-01 Thread George Mitchell

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