webosose / build-webos

webOS OSE build layer
670 stars 126 forks source link

Regarding webos building issues #19

Closed cmdn2002 closed 7 months ago

cmdn2002 commented 4 years ago

my building system is :

cat /etc/release

DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS" NAME="Ubuntu" VERSION="18.04.2 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.2 LTS" VERSION_ID="18.04"

my purpose is building arm architecture 32bit system image, so i choose Raspberry Pi 3 as target device according to the building guide:

git clone https://github.com/webosose/build-webos.git

./mcf -p 0 -b 4 raspberrypi3

make webos-image

unluckly, build failed, the log is: 3: webruntime-72.0.3626.121-23-r25.1 do_configure - 5s (pid 28462) $<50>ERROR: Logfile of failure stored in: /home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/temp/log.do_configure.28462 Log data follows: | DEBUG: Executing shell function do_configure | GN_ARGS is cros_host_ar="ar" cros_host_cc="gcc " cros_host_cxx="g++ " cros_host_extra_ldflags="-L/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/usr/lib -L/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/lib -Wl,-rpath-link,/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/lib -Wl,-rpath,/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot-native/lib -Wl,-O1" cros_target_ar="arm-webos-linux-gnueabi-ar" cros_target_cc="arm-webos-linux-gnueabi-gcc -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot" cros_target_cxx="arm-webos-linux-gnueabi-g++ -march=armv7ve -mthumb -mfpu=neon-vfpv4 -mfloat-abi=hard -mcpu=cortex-a7 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot" enable_memorymanager_webapi=true ffmpeg_branding="Chrome" host_os="linux" is_app_shell_cbe=true is_clang=false is_cross_linux_build=true is_webos=true is_debug=false is_component_build=false ozone_auto_platforms=false ozone_platform_wayland_external=true proprietary_codecs=true target_os="linux" target_sysroot="/home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/recipe-sysroot" treat_warnings_as_errors=false use_bundled_fontconfig=false use_cbe=true use_cups=false use_custom_libcxx=false use_custom_libcxx_for_host=true use_kerberos=false use_ozone=true use_pmlog=true use_sysroot=false use_system_debugger_abort=true use_webos_v8_snapshot=true use_xkbcommon=true enable_av1_decoder=false symbol_level=1 blink_symbol_level=0 use_gst_media=true enable_webm_video_codecs=false use_jumbo_build=true jumbo_file_merge_limit=8 use_webos_gpu_info_collector=false use_lttng=true use_neva_media=true is_host_clang=true fatal_linker_warnings=false enable_nacl=false disable_ftp_support=true enable_print_preview=false enable_remoting=false use_gnome_keyring=false use_pulseaudio=false linux_use_bundled_binutils=false use_debug_fission=false use_gold=true target_cpu="arm" arm_arch="armv7ve" arm_version=7 arm_float_abi="hard" host_pkg_config="pkg-config-native" closure_compile=false | BUILD_TARGETS are webos:weboswebruntime app_shell | ERROR at //BUILD.gn:1061:3: Empty sources for copy command. | copy("layout_test_data_mojo_bindings") { | ^--------------------------------------- | You have to specify at least one file to copy in the "sources". | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at /home/android/webos/build-webos/BUILD/work/raspberrypi3-webos-linux-gnueabi/webruntime/72.0.3626.121-23-r25.1/temp/log.do_configure.28462)

but now i don't want to discuss the detail about the issue i encounter. i just want you give me some advice, do i need use some special branch or tag for building pi3? Thanks.