Problem installing chromium-31.0.1650.57

René Ladan rene at freebsd.org
Thu Nov 28 11:01:26 UTC 2013


2013/11/27 Владимир Тимофиев <elimelech007 at gmail.com>:
> When installing chromium-31.0.1650.57 on Freebsd FreeBSD 8.4 (KDE
> 4.10.5) the following error pops up:
> CODE: SELECT ALL

Can you tell me which architecture this is and which options you selected?
What do you mean with "CODE: SELECT ALL" ? I grepped through the
sources for "SELECT ALL" but it only appeared in a comment, and since
you have use_pulseaudio=0 (the default) it does not mean you selected
all options.

> ===>  Configuring for chromium-31.0.1650.57
> cd /usr/ports/www/chromium/work/chromium-31.0.1650.57 && /usr/bin/env
> CC=/usr/local/bin/clang33  CXX=/usr/local/bin/clang++33
> GYP_GENERATORS=ninja  GYP_DEFINES="use_cups=1  use_system_yasm=1
> use_system_libxml=1  use_system_ffmpeg=0  use_system_libusb=1
> use_system_libevent=1  use_system_libvpx=0  linux_breakpad=0
> linux_strip_binary=1  linux_use_tcmalloc=0  linux_use_heapchecker=0
> test_isolation_mode=noop  clang_use_chrome_plugins=0  disable_nacl=1
> enable_webrtc=1  enable_openmax=1  enable_one_click_signin=1  werror=
> no_gc_sections=1  os_ver=804000  prefix_dir=/usr/local  python_ver=2.7
> 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_pulseaudio=0
> disable_sse2=1 buildtype=Official clang=1" CFLAGS="-O2 -pipe
> -fno-stack-protector -Wno-unknown-warning-option -fno-strict-aliasing"
>  CPPFLAGS=""  CXXFLAGS="-O2 -pipe -fno-stack-protector
> -Wno-unknown-warning-option -fno-strict-aliasing"  LDFLAGS="
> -B/usr/local/bin" PYTHON="/usr/local/bin/python2.7" PKG_CONFIG=pkgconf
> AR=/usr/bin/ar SHELL=/bin/sh CONFIG_SHELL=/bin/sh
> /usr/local/bin/python2.7  ./build/gyp_chromium chrome/chrome.gyp
> --depth .
> Updating projects from gyp files...
> gyp: Call to '../build/linux/python_arch.sh
> /usr/lib/libpython2.7.so.1.0' returned exit status 1. while trying to
> load chrome/chrome.gyp
> *** Error code 1
>

For i386 and amd64 (the supported architectures) python_arch.sh should
return 0 together with "ia32" or "x64".

Somehow your patching failed, because your error shows:
> gyp: Call to '../build/linux/python_arch.sh
> /usr/lib/libpython2.7.so.1.0' returned exit status 1. while trying to
In files/patch-build__common.gypi the '.0' gets stripped from
libpython2.7.so.1.0
Furthermore, the prefix_dir you show (/usr) is not properly
substituted somehow (resulting in /usr/lib/libpython... instead of
/usr/local/lib/libpython....)

On my 10.0-amd64 box, if I replace the "exit 0" with "exit 5" in
work/chromium-31.0.1650.57/build/linux/python_arch.sh for the x64
case, I get:
> Updating projects from gyp files...
> gyp: Call to '../build/linux/python_arch.sh /usr/local/lib/libpython2.7.so.1' returned exit status 5. while trying to load chrome/chrome.gyp
> *** Error code 1
which shows the substitutions should work.

Rene


More information about the freebsd-chromium mailing list