Forum

Do_configure for mative services failed

#1

when I run the bitbake com.service.native command I get the following error:
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3451 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:01
Parsing of 2650 .bb files complete (2649 cached, 1 parsed). 3451 targets, 912 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.32.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-18.04"
TARGET_SYS = "i586-webos-linux"
MACHINE = "qemux86"
DISTRO = "webos"
DISTRO_VERSION = "1.0.g"
TUNE_FEATURES = "m32 i586"
TARGET_FPU = ""
WEBOS_DISTRO_RELEASE_CODENAME = "webos-master"
WEBOS_DISTRO_BUILD_ID = "unofficial"
WEBOS_DISTRO_TOPDIR_REVISION = "a68c4c7a2081853ed11efefeeb27da812e7fd00e"
WEBOS_DISTRO_TOPDIR_DESCRIBE = "builds/master/69"
DATETIME = "20190502064917"
meta-webos-ros2
meta-webos-raspberrypi = "master:288cff447c631808ca347326f1ff0f7e310e2b29"
meta-raspberrypi = "morty:2a192261a914892019f4f428d7462bb3c585ebac"
meta-webos = "master:288cff447c631808ca347326f1ff0f7e310e2b29"
meta-ros2 = "ros2pr:b92ab96016e84cd2b2b021ecc90785f067e4b6c8"
meta-webos-backports-2.6
meta-webos-backports-2.5
meta-webos-backports-2.4
meta-webos-backports-2.3 = "master:288cff447c631808ca347326f1ff0f7e310e2b29"
meta-qt5 = "krogoth:dcfcb581ec65ef1b96f4840a81ea9d9f2297b394"
meta-filesystems
meta-python
meta-networking
meta-multimedia
meta-oe = "morty:997caf9146cd3797cd054e2adebd1fbb4df91911"
meta = "morty:4b32784b8c95047dafbc7048bfe03e9e5ceb3367"

Initialising tasks: 100% |#######################################| Time: 0:00:03
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: com.example.service.native-0.0.1-r0.local0 do_configure: Function failed: do_configure (log file is located at /home/christ/build-webos/BUILD/work/qemux86-webos-linux/com.example.service.native/0.0.1-r0.local0/temp/log.do_configure.16532)
ERROR: Logfile of failure stored in: /home/christ/build-webos/BUILD/work/qemux86-webos-linux/com.example.service.native/0.0.1-r0.local0/temp/log.do_configure.16532
Log data follows:
| DEBUG: Executing python function externalsrc_configure_prefunc
| DEBUG: Python function externalsrc_configure_prefunc finished
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| -- The CXX compiler identification is GNU 6.4.0
| -- Check for working CXX compiler: /home/christ/build-webos/BUILD/sysroots/x86_64-linux/usr/bin/i586-webos-linux/i586-webos-linux-g++
| -- Check for working CXX compiler: /home/christ/build-webos/BUILD/sysroots/x86_64-linux/usr/bin/i586-webos-linux/i586-webos-linux-g++ -- works
| -- Detecting CXX compiler ABI info
| -- Detecting CXX compiler ABI info - done
| -- Detecting CXX compile features
| -- Detecting CXX compile features - done
| -- cmake-modules-webos: authored for version 1.6.3; using version 1.6.3.
| CMake Error at /home/christ/build-webos/BUILD/sysroots/x86_64-linux/usr/share/cmake-3.6/Modules/webOS/webOS.cmake:263 (message):
| The "Summary" subsection in README.md must be a single line.
| Call Stack (most recent call first):
| CMakeLists.txt:6 (webos_modules_init)
|
|
| -- Configuring incomplete, errors occurred!
| See also "/home/christ/com.example.service.native/build/CMakeFiles/CMakeOutput.log".
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/christ/build-webos/BUILD/work/qemux86-webos-linux/com.example.service.native/0.0.1-r0.local0/temp/log.do_configure.16532)
ERROR: Task (/home/christ/build-webos/meta-webosose/meta-webos/recipes-webos/com.example.service.native/com.example.service.native.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1682 tasks of which 1681 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 0.7508752346038818 seconds

Summary: 1 task failed:
/home/christ/build-webos/meta-webosose/meta-webos/recipes-webos/com.example.service.native/com.example.service.native.bb:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

#2

Error reason is : "The "Summary" subsection in README.md must be a single line."
Please refer to "README.md"'s note in the guide.
http://webosose.org/develop/native-services/develop-configure-native-services/.
If you copy readme context in guide to README.md file on your local PC, blank space would be added.
Please remove the black space manually.

Make sure the 'Summary' subsection is a single line. Even a blank space before the 'Description' section is considered a part of the summary and can cause the build to fail.
Here is a snippet of the README.md file that will not cause a build error. Any whitespace character in the red-colored line would cause a build error.