Project

General

Profile

Actions

tickets #127298

open

Chromium Embedded Framework (CEF): "gn build" fails due to unsupported (unhandled) CPU value

Added by hrauch about 1 year ago. Updated about 1 year ago.

Status:
Blocked
Priority:
Normal
Assignee:
Category:
Bugs
Target version:
-
Start date:
2023-04-06
Due date:
% Done:

0%

Estimated time:
Tags:

Description

This error was recognized when trying to fix a failing build of bitwarden.

TODO: add precise error msg.

Actions #1

Updated by hrauch about 1 year ago

  • Status changed from New to In Progress
Actions #2

Updated by hrauch about 1 year ago

The package is nodejs-electron - which is one of bitwarden's dependencies. Here's the exact error message:

[  445s] + gn gen out/Release '--args=import("//electron/build/args/release.gn")  custom_toolchain="//build/toolchain/linux/unbundle:default" host_toolchain="//build/toolchain/linux/unbundle:default" use_custom_libcxx=false host_os="linux" is_debug=false dcheck_always_on=false enable_nacl=false enable_swiftshader=true use_swiftshader_with_subzero=false is_component_ffmpeg=true use_cups=true use_aura=true angle_use_custom_libvulkan=false angle_shared_libvulkan=false angle_link_glx=true enable_pdf=false enable_pdf_viewer=false enable_print_preview=false enable_basic_printing=false enable_plugins=false enable_ppapi=false enable_js_type_check=false symbol_level=1 blink_symbol_level=1 v8_symbol_level=1 use_kerberos=true enable_vr=false enable_reading_list=false enable_reporting=false build_with_tflite_lib=false build_tflite_with_xnnpack=false safe_browsing_mode=0 enable_maldoca=false enable_captive_portal_detection=false enable_browser_speech_service=false enable_speech_service=false enable_screen_ai_service=false include_transport_security_state_preload_list=false enable_web_speech=false chrome_wide_echo_cancellation_supported=false enable_downgrade_processing=false enable_click_to_call=false enable_webui_tab_strip=false enable_webui_certificate_viewer=false enable_background_contents=false enable_xz_extractor=false enable_feed_v2=false ozone_platform_headless=false angle_enable_gl_null=false enable_paint_preview=false enable_remoting=false enable_media_remoting=false enable_service_discovery=false enable_trace_logging=false optional_trace_events_enabled=false use_runtime_vlog=false rtc_disable_logging=true rtc_disable_metrics=true rtc_disable_trace_events=true enable_library_cdms=false use_pulseaudio=true link_pulseaudio=true is_component_build=false use_sysroot=false fatal_linker_warnings=false use_allocator="partition" use_allocator_shim=true use_partition_alloc=true disable_fieldtrial_testing_config=true use_gnome_keyring=false use_unofficial_version_number=false use_lld=false use_vaapi=true treat_warnings_as_errors=false use_dbus=true enable_vulkan=true icu_use_data_file=false media_use_openh264=false use_libgav1_parser=true rtc_use_h264=false use_v8_context_snapshot=true v8_use_external_startup_data=true use_system_zlib=true use_system_libjpeg=true use_system_libpng=true use_system_lcms2=true use_system_libopenjpeg2=true use_system_wayland_scanner=true use_system_libwayland=true use_system_harfbuzz=true use_system_freetype=true use_system_cares=true use_system_nghttp2=true is_clang=false use_gold=false gcc_lto=true rtc_use_pipewire=true rtc_link_pipewire=true use_dawn=false proprietary_codecs=true ffmpeg_branding="Chrome"'
[  464s] ERROR at //third_party/swiftshader/third_party/marl/BUILD.gn:108:7: Assertion failed.
[  464s]       assert(false, "Unhandled value for current-cpu=" + current_cpu)
[  464s]       ^-----
[  464s] Unhandled value for current-cpu=s390x
[  464s] See //third_party/swiftshader/src/Vulkan/BUILD.gn:213:5: which caused the file to be included.
[  464s]     "../../third_party/marl:Marl",
[  464s]     ^----------------------------
[  464s] error: Bad exit status from /var/tmp/rpm-tmp.fDRomX (%build)
[  464s] 
[  464s] RPM build warnings:
[  464s]     extra tokens at the end of %endif directive in line 89:  %endif #with clang
[  464s] 
[  464s]     extra tokens at the end of %endif directive in line 855:  %endif #without lld
[  464s] 
[  464s]     extra tokens at the end of %endif directive in line 856:  %endif #ifarch ix86 arm
[  464s] 
[  464s]     extra tokens at the end of %endif directive in line 1080:  %endif #ifarch arm
[  464s] 
[  464s] 
[  464s] RPM build errors:
[  464s]     Bad exit status from /var/tmp/rpm-tmp.fDRomX (%build)
[  464s] 
[  464s] oshrauch failed "build nodejs-electron.spec" at Thu Apr  6 12:57:27 UTC 2023.
[  464s] 

The buildroot was: /var/tmp/build-root/openSUSE_Factory_zSystems-s390x/.mount
Actions #3

Updated by hrauch about 1 year ago

  • Status changed from In Progress to Blocked
Actions

Also available in: Atom PDF