[Slackbuilds-users] network/chromium fails to build on x64 and binds with obsolete Python

Arkadiusz Drabczyk arkadiusz at drabczyk.org
Sun Aug 30 16:54:40 UTC 2015


The following error occurs when building chromium on Slackware 14.1
x64:

Updating projects from gyp files...
gyp: Call to '../build/linux/python_arch.sh /usr/lib/libpython2.6.so.1.0' returned exit status 1. while trying to load build/all.gyp

The reason for this is that `system_libdir' build variable is set to
`lib' in build/common.gypi:

# The system libdir used for this ABI.
'system_libdir%': 'lib',

On Slackware x64 it should be set to `lib64'. But even when
`system_libdir' is changed chromium still fails to build because it
tries to bind with an obsolete version of Python - it's looking for
Python 2.6 but it should be looking for Python 2.7. Altogether, the
following change must be applied to chromium.SlackBuild in order to
build chromium successfully on Slackware x64:

--- /var/lib/sbopkg/SBo/14.1/network/chromium/chromium.SlackBuild      2013-11-24 20:23:52.000000000 +0100
+++ /var/lib/sbopkg/SBo/14.1/network/chromium/chromium.SlackBuild.sbopkg       2015-08-29 22:39:32.70868417
@@ -114,6 +114,8 @@
-Duse_system_yasm=1 \
-Ddisable_nacl=1 \
-Drelease_extra_cflags="$CFLAGS" \
+ -Dsystem_libdir=lib64 \
+ -Dpython_ver=2.7 \


-- 
Arkadiusz Drabczyk <arkadiusz at drabczyk.org>


More information about the SlackBuilds-users mailing list