Re: Compile failure in latest www/chromium
- Reply: George Mitchell : "Re: Compile failure in latest www/chromium"
- In reply to: George Mitchell : "Compile failure in latest www/chromium"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Aug 2025 19:42:31 UTC
On 8/12/25 11:26, George Mitchell wrote:
> I use portmaster, not poudriere. Compiling after commit
> adb735ca4df789007afd41c9318f9dbdef888397 results in:
>
> [ 49% 25075/50946] c++ -MD -MF obj/media/audio/audio/
...
>
> (I can send the 80MB typescript if that would be clearer.)
>
> Does this look familiar to anyone? -- George
I think you are seeing what's reported in this PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288794
I'm seeing a different compile error for adb735ca4df7:
[200/200] LINK gn
cd /wrkdirs/usr/ports/www/chromium/work/chromium-139.0.7258.66 &&
/usr/bin/env MAKE=/usr/local/bin/gmake
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/python3.11" QT_SELECT=qt5
QMAKEMODULES="/wrkdirs/usr/ports/www/chromium/work/chromium-139.0.7258.66/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules"
XDG_DATA_HOME=/wrkdirs/usr/ports/www/chromium/work
XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/chromium/work
XDG_CACHE_HOME=/wrkdirs/usr/ports/www/chromium/work/.cache
HOME=/wrkdirs/usr/ports/www/chromium/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/www/chromium/work/.bin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/sbin
PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/www/chromium/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig
SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
./out/Release/gn gen --args='clang_use_chrome_plugins=false
enable_backup_ref_ptr_support=false
enable_hangout_services_extension=true enable_remoting=false
enable_widevine=true fatal_linker_warnings=false
icu_use_data_file=false is_clang=true
moc_qt5_path="/usr/local/lib/qt5/bin/moc" optimize_webui=true
toolkit_views=true treat_warnings_as_errors=false
use_allocator_shim=false use_aura=true use_custom_libcxx=true
use_custom_libunwind=true use_lld=true use_partition_alloc=true
use_partition_alloc_as_malloc=false use_qt5=true use_sysroot=false
use_system_freetype=false use_system_harfbuzz=true
use_system_libffi=true use_system_libjpeg=true use_udev=false
extra_cxxflags="-O2 -pipe -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -isystem /usr/local/include
-I/usr/local/include/libepoll-shim " extra_ldflags="
-Wl,--undefined-version -L/usr/local/lib " ffmpeg_branding="Chrome"
google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8" use_alsa=true
proprietary_codecs=true use_cups=false blink_symbol_level=0
is_debug=false is_official_build=true symbol_level=0 use_kerberos=false
use_thin_lto=false rtc_use_pipewire=true rtc_link_pipewire=true
use_pulseaudio=false use_sndio=false enable_rust=true
rust_sysroot_absolute="/usr/local" rustc_version=""' out/Release
ERROR at //build/rust/std/BUILD.gn:61:61: Array subscript out of range.
rust_version_pieces = string_split(rust_revision_pieces[1], ".")
^
You gave me 1 but I was expecting something from 0 to 0, inclusive.
See //build/rust/rust_target.gni:340:23: which caused the file to be
included.
_rust_deps += [ "//build/rust/std" ]
^-----------------
*** Error code 1
Stop.
make: stopped in /usr/ports/www/chromium