More www/chromium build woes

Matthias Wolf matthias at rheinwolf.de
Thu Apr 29 15:20:44 UTC 2021


Hi,


"bob prohaska" fbsd at 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


More information about the freebsd-ports mailing list