chromium-36.0.1985.143 WITH_OPENSSL_BASE=YES

Fusselbär

Makefile Voyeur
Hallo,

chromium-36.0.1985.143 wollte sich hier mit
Code:
WITH_OPENSSL_BASE=YES
in der /etc/make.conf nicht bauen lassen.
Da habe ich mal ein bisschen gefrickelt:
Code:
diff -uN Makefile.orig Makefile

--- Makefile.orig       2014-08-18 11:28:07.275368686 +0200
+++ Makefile    2014-08-18 15:24:52.586086947 +0200
@@ -13,7 +13,7 @@
LICENSE=       BSD3CLAUSE LGPL21 MPL
LICENSE_COMB=  multi
-CFLAGS+=       -fno-stack-protector
+CFLAGS+=       -fno-stack-protector -march=native
BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
                bash:${PORTSDIR}/shells/bash \
@@ -64,7 +64,7 @@
USE_XORG=      scrnsaverproto x11 xproto xscrnsaver xtst
USE_GNOME=     glib20 gtk20 dconf libxslt
USE_OPENSSL=   yes
-WITH_OPENSSL_PORT=     yes # simplify for pkg-config in configure phase
+### WITH_OPENSSL_PORT= yes # simplify for pkg-config in configure phase
SHEBANG_FILES= chrome/tools/build/linux/chrome-wrapper
ALL_TARGET=    chrome
INSTALLS_ICONS=        yes
@@ -108,7 +108,7 @@
                use_system_libxslt=1 \
                use_system_minizip=1 \
                use_system_nspr=1 \
-               use_system_openssl=1 \
+               use_system_openssl=0 \
                use_system_protobuf=1 \
                use_system_re2=1 \
                use_system_snappy=1 \
Den Compiler Flag "-march=native" habe ich eingefügt, weil wenn ich schon für meine Maschine selbst baue, dann kann ich es auch so weit treiben. :)

Ich frage mich außerdem, wofür eigentlich openssl im Chromium gut ist? Chromium benutzt doch, so weit mir bekannt ist, die Network Security Services security/nss vom Mozilla Projekt. Jedenfalls kann ich youtube über https mit dem Chromium Gefrickel aufrufen das ich gerade gebaut habe und mir die Videos angucken.
 
Ich renne beim bilden von chromium in Probleme mit python:
File: "/usr/local/lib/python2/multiprocessing/synchronize.py", line 59, in <module> " function, see issue 3770.")
ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770.


Muss ich jetzt python mit SEM=ON neu bilden?

Gruss
Georg
 
Muss ich jetzt python mit SEM=ON neu bilden?

Ja, das braucht der Chromium. Wird auch gleich beim starten des Chromium Build angezeigt:
Code:
pre-everything::
        @${ECHO_MSG}
        @${ECHO_MSG} "To build Chromium, you should have around 1 GB of memory"
.if ${PORT_OPTIONS:MDEBUG}
        @${ECHO_MSG} "and lots of free diskspace (~ 8.5GB)."
.else
        @${ECHO_MSG} "and a fair amount of free diskspace (~ 3.7GB)."
.endif
        @${ECHO_MSG}
        @${ECHO_MSG} "Make sure you have Python build with the SEM option ON"
        @${ECHO_MSG} "(default in python27-2.7.8 since r361735)"
 
Zurück
Oben