Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2021 15:20:35 +0000
From:      Matthias Wolf <matthias@rheinwolf.de>
To:        freebsd-ports@freebsd.org, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: More www/chromium build woes
Message-ID:  <20210429152035.Horde.k3WYNbs_DBpe_rrqx3pi3bN@cloud.rheinwolf.de>
In-Reply-To: <20210429151052.GA3186@www.zefox.net>
References:  <20210429151052.GA3186@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,


"bob prohaska" fbsd@www.zefox.net – 29. April 2021 17:11
> Attempts to compile chromium-90.0.4430.85 are stopping with
>
> ===> Configuring for chromium-90.0.4430.85
> cd /usr/ports/www/chromium/work/chromium-90.0.4430.85 && /usr/bin/env ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/usr/ports/www/chromium/work XDG_CONFIG_HOME=/usr/ports/www/chromium/work HOME=/usr/ports/www/chromium/work PATH=/usr/ports/www/chromium/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/python2.7 ./build/linux/unbundle/replace_gn_files.py --system-libraries ffmpeg flac fontconfig freetype harfbuzz-ng libdrm libpng libwebp libxml libxslt openh264 opus snappy || false
> cp -f /usr/local/lib/python3.8/site-packages/xcbgen/*.py /usr/ports/www/chromium/work/site-packages/xcbgen
> *** Error code 1
>
> It looked like lang/python38 wasn't installed, so I compiled it manually.
> That didn't seem to make a difference.
>
> Any ideas what I'm doing wrong? I see the PATH reference to python2.7, is
> that the culprit? Both 2.7 and 3.8 are installed.


The chromium port copies the xcbgen package (from xcb-proto) to its working directory, because we need it for python 2.7. The copy assumes the default python version as source, which is 3.8 as of now - probably the xcb package is still installed for 3.7 though (see line 268 in the Makefile).


Rebuilding/installing xcb-proto should do the trick.


Cheers,

Matthias



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210429152035.Horde.k3WYNbs_DBpe_rrqx3pi3bN>