Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2013 12:01:25 +0100
From:      =?ISO-8859-1?Q?Ren=E9_Ladan?= <rene@freebsd.org>
To:        =?UTF-8?B?0JLQu9Cw0LTQuNC80LjRgCDQotC40LzQvtGE0LjQtdCy?= <elimelech007@gmail.com>
Cc:        chromium-list freebsd <freebsd-chromium@freebsd.org>
Subject:   Re: Problem installing chromium-31.0.1650.57
Message-ID:  <CADL2u4h0o7RAxSGUuUGXY6mxRXCfpvg5v764QqKNZ_R=R-aStg@mail.gmail.com>
In-Reply-To: <CAEQ1wyHEeV4DMusyp3AZwcQX6u3QJdzay8VeG3XesBFTNc4Mww@mail.gmail.com>
References:  <CAEQ1wyHEeV4DMusyp3AZwcQX6u3QJdzay8VeG3XesBFTNc4Mww@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2013/11/27 =D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80 =D0=A2=D0=B8=D0=
=BC=D0=BE=D1=84=D0=B8=D0=B5=D0=B2 <elimelech007@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=3D0 (the default) it does not mean you selected
all options.

> =3D=3D=3D>  Configuring for chromium-31.0.1650.57
> cd /usr/ports/www/chromium/work/chromium-31.0.1650.57 && /usr/bin/env
> CC=3D/usr/local/bin/clang33  CXX=3D/usr/local/bin/clang++33
> GYP_GENERATORS=3Dninja  GYP_DEFINES=3D"use_cups=3D1  use_system_yasm=3D1
> use_system_libxml=3D1  use_system_ffmpeg=3D0  use_system_libusb=3D1
> use_system_libevent=3D1  use_system_libvpx=3D0  linux_breakpad=3D0
> linux_strip_binary=3D1  linux_use_tcmalloc=3D0  linux_use_heapchecker=3D0
> test_isolation_mode=3Dnoop  clang_use_chrome_plugins=3D0  disable_nacl=3D=
1
> enable_webrtc=3D1  enable_openmax=3D1  enable_one_click_signin=3D1  werro=
r=3D
> no_gc_sections=3D1  os_ver=3D804000  prefix_dir=3D/usr/local  python_ver=
=3D2.7
> google_api_key=3DAIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8
> google_default_client_id=3D996322985003.apps.googleusercontent.com
> google_default_client_secret=3DIR1za9-1VK0zZ0f_O8MVFicn
> ffmpeg_branding=3DChrome proprietary_codecs=3D1 use_pulseaudio=3D0
> disable_sse2=3D1 buildtype=3DOfficial clang=3D1" CFLAGS=3D"-O2 -pipe
> -fno-stack-protector -Wno-unknown-warning-option -fno-strict-aliasing"
>  CPPFLAGS=3D""  CXXFLAGS=3D"-O2 -pipe -fno-stack-protector
> -Wno-unknown-warning-option -fno-strict-aliasing"  LDFLAGS=3D"
> -B/usr/local/bin" PYTHON=3D"/usr/local/bin/python2.7" PKG_CONFIG=3Dpkgcon=
f
> AR=3D/usr/bin/ar SHELL=3D/bin/sh CONFIG_SHELL=3D/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.s=
o.1' returned exit status 5. while trying to load chrome/chrome.gyp
> *** Error code 1
which shows the substitutions should work.

Rene



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADL2u4h0o7RAxSGUuUGXY6mxRXCfpvg5v764QqKNZ_R=R-aStg>