ERRORS while building asterisk using meta-telephony layer. #yocto #raspberrypi #asterisk
Hi all,
Greetings.
I am trying to build asterisk , I am using meta-telephony layer provided from oe-layers. I have faced few issued while building the application "asterisk" for raspberry pi 3 b.
Initially I have build core-image-minimal for Rpi and it worked successfully.
Tried to build few applications like lighttpd, sqlite3 and they worked successfully.
Now i am trying to build an application called "asterisk" whose recipe is in meta-telephony -> recipe-asterisk -> asterisk -> asterisk_13.5.0.bb (this recipe is attached to this mail) , but I have encountered few errors.(error log is attached to this mail).
Need guidance for below Error i have faced :
__________________________________________________________________________
WARNING: Layer telephony should set LAYERSERIES_COMPAT_telephony in its conf/layer.conf file to list the core layer names it is compatible with.
WARNING: Layer telephony should set LAYERSERIES_COMPAT_telephony in its conf/layer.conf file to list the core layer names it is compatible with. Loading cache: 100% |###########################################################################################################| Time: 0:00:00 Loaded 1370 entries from dependency cache.
ERROR: ParseError at /home/bhavya/dialtronics/yocto/poky-dunfell/meta-telephony/classes/waf-samba.bbclass:4: Could not inherit file classes/pythonnative.bbclass
___________________________________________________________________________
Quoted 1 line
Then I included pythonnative.bb file along with its dependencies after that I am Facing the following error
___________________________________________________________________________
bhavya@bhavya:~/dialtronics/yocto/workspace/yocto_rpi$ bitbake asterisk Loading cache: 100% |###########################################################################################################| Time: 0:00:00 Loaded 1992 entries from dependency cache. NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.46.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi3"
DISTRO = "poky"
DISTRO_VERSION = "3.1.1"
TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard" TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "dunfell:febbe2944c0c4a04b85fa98fdc261186115954d8" meta-rpi = "master:39cf54c3cb429f2c6e0a000e79f6f06b39e2fa8b" meta-telephony = "master:9e50dbdd1ee672494758d29482444cf40a36d1ba"
Initialising tasks: 100% |######################################################################################################| Time: 0:00:00
Sstate summary: Wanted 51 Found 33 Missed 18 Current 611 (64% match, 97% complete)
NOTE: Executing Tasks
ERROR: asterisk-13.5.0-r0 do_compile: oe_runmake failed
ERROR: asterisk-13.5.0-r0 do_compile: Execution of '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/temp/run.do_compile.31691' failed with exit code 1:
CC="cc" CXX="arm-poky-linux-gnueabi-g++ -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/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot" LD="" AR="" RANLIB="" CFLAGS="-isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe" LDFLAGS="-L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2" make -C menuselect CONFIGURE_SILENT="--silent" menuselect make[1]: Entering directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect'
gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c
gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c
gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c
Generating input for menuselect ...
Building Documentation For: channels menuselect.c:35:27: fatal error: libxml/parser.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'menuselect.o' failed
make[1]: *** [menuselect.o] Error 1
make[1]: *** Waiting for unfinished jobs....
pbx apps make[1]: Leaving directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect'
Makefile:950: recipe for target 'menuselect/menuselect' failed
make: *** [menuselect/menuselect] Error 2
make: *** Waiting for unfinished jobs....
codecs formats cdr cel bridges funcs tests main res addons
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/temp/log.do_compile.31691 Log data follows:
| DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_compile | NOTE: make -j 8 | CC="cc" CXX="arm-poky-linux-gnueabi-g++ -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/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot" LD="" AR="" RANLIB="" CFLAGS="-isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe" LDFLAGS="-L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2" make -C menuselect CONFIGURE_SILENT="--silent" menuselect | make[1]: Entering directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c | Generating input for menuselect ... | Building Documentation For: channels menuselect.c:35:27: fatal error: libxml/parser.h: No such file or directory | compilation terminated. | <builtin>: recipe for target 'menuselect.o' failed | make[1]: *** [menuselect.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | pbx apps make[1]: Leaving directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' | Makefile:950: recipe for target 'menuselect/menuselect' failed | make: *** [menuselect/menuselect] Error 2 | make: *** Waiting for unfinished jobs.... | codecs formats cdr cel bridges funcs tests main res addons | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Execution of '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/temp/run.do_compile.31691' failed with exit code 1: | CC="cc" CXX="arm-poky-linux-gnueabi-g++ -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/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot" LD="" AR="" RANLIB="" CFLAGS="-isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe" LDFLAGS="-L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2" make -C menuselect CONFIGURE_SILENT="--silent" menuselect | make[1]: Entering directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c | Generating input for menuselect ... | Building Documentation For: channels menuselect.c:35:27: fatal error: libxml/parser.h: No such file or directory | compilation terminated. | <builtin>: recipe for target 'menuselect.o' failed | make[1]: *** [menuselect.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | pbx apps make[1]: Leaving directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' | Makefile:950: recipe for target 'menuselect/menuselect' failed | make: *** [menuselect/menuselect] Error 2 | make: *** Waiting for unfinished jobs.... | codecs formats cdr cel bridges funcs tests main res addons | WARNING: exit code 1 from a shell command. |
ERROR: Task (/home/bhavya/dialtronics/yocto/poky-dunfell/meta-telephony/recipes-asterisk/asterisk/asterisk_13.5.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2052 tasks of which 2028 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/bhavya/dialtronics/yocto/poky-dunfell/meta-telephony/recipes-asterisk/asterisk/asterisk_13.5.0.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
__________________________________________________________________________________________________________________________________
Please kindly help me to solve the issue.
Thanks in advance. : )
Contact : [email protected]
~Bhavya
Hi,
Did you try this one?
https://github.com/ctrob67/meta-telephony/blob/master/recipes-asterisk/asterisk/asterisk_13.17.2.bb
Best regards,
Vincent
Quoted 133 lines · Le jeu. 25 juin 2020 à 07:45, <[email protected]> a écrit :
Hi all,
Greetings.I am trying to build asterisk , I am using meta-telephony layer provided from oe-layers. I have faced few issued while building the application "asterisk" for raspberry pi 3 b.
Initially I have build core-image-minimal for Rpi and it worked successfully.
Tried to build few applications like lighttpd, sqlite3 and they worked successfully.
Now i am trying to build an application called "asterisk" whose recipe is in meta-telephony -> recipe-asterisk -> asterisk -> asterisk_13.5.0.bb (this recipe is attached to this mail) , but I have encountered few errors.(error log is attached to this mail).
Need guidance for below Error i have faced :
__________________________________________________________________________
WARNING: Layer telephony should setLAYERSERIES_COMPAT_telephonyin itsconf/layer.conffile to list the core layer names it is compatible with.
WARNING: Layer telephony should setLAYERSERIES_COMPAT_telephonyin itsconf/layer.conffile to list the core layer names it is compatible with. Loading cache: 100% |###########################################################################################################| Time: 0:00:00 Loaded 1370 entries from dependency cache.
ERROR: ParseError at/home/bhavya/dialtronics/yocto/poky-dunfell/meta-telephony/classes/waf-samba.bbclass:4: Could not inherit file classes/pythonnative.bbclass
___________________________________________________________________________Quoted 1 line
Then I included pythonnative.bb file along with its dependencies after that I am Facing the following error
___________________________________________________________________________
bhavya@bhavya:~/dialtronics/yocto/workspace/yocto_rpi$ bitbake asterisk Loading cache: 100% |###########################################################################################################| Time: 0:00:00 Loaded 1992 entries from dependency cache. NOTE: Resolving any missing task queue dependenciesBuild Configuration:
BB_VERSION = "1.46.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "raspberrypi3" DISTRO = "poky" DISTRO_VERSION = "3.1.1" TUNE_FEATURES = "arm vfp cortexa7 neon vfpv4 thumb callconvention-hard" TARGET_FPU = "hard" meta meta-poky meta-yocto-bsp = "dunfell:febbe2944c0c4a04b85fa98fdc261186115954d8" meta-rpi = "master:39cf54c3cb429f2c6e0a000e79f6f06b39e2fa8b" meta-telephony = "master:9e50dbdd1ee672494758d29482444cf40a36d1ba"Initialising tasks: 100% |######################################################################################################| Time: 0:00:00
Sstate summary: Wanted 51 Found 33 Missed 18 Current 611 (64% match, 97% complete)
NOTE: Executing Tasks
ERROR: asterisk-13.5.0-r0do_compile:oe_runmakefailed
ERROR: asterisk-13.5.0-r0do_compile: Execution of '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/temp/run.do_compile.31691' failed with exit code 1:
CC="cc" CXX="arm-poky-linux-gnueabi-g++ -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/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot" LD="" AR="" RANLIB="" CFLAGS="-isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe" LDFLAGS="-L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2" make -C menuselect CONFIGURE_SILENT="--silent" menuselect
make[1]: Entering directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect'
gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect.omenuselect.c
gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o strcompat.ostrcompat.c
gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.omenuselect_stub.c
Generating input for menuselect ...
Building Documentation For: channels menuselect.c:35:27: fatal error:libxml/parser.h: No such file or directory
compilation terminated.
<builtin>: recipe for target 'menuselect.o' failed
make[1]: *** [menuselect.o] Error 1
make[1]: *** Waiting for unfinished jobs....
pbx apps make[1]: Leaving directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' Makefile:950: recipe for target 'menuselect/menuselect' failed
make: *** [menuselect/menuselect] Error 2
make: *** Waiting for unfinished jobs....
codecs formats cdr cel bridges funcs tests main res addons
WARNING: exit code 1 from a shell command.ERROR: Logfile of failure stored in:
/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/temp/log.do_compile.31691Log data follows:| DEBUG: Executing python function autotools_aclocals | DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'arm-32', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common'] | DEBUG: Python function autotools_aclocals finished | DEBUG: Executing shell function do_compile | NOTE: make -j 8 | CC="cc" CXX="arm-poky-linux-gnueabi-g++ -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/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot" LD="" AR="" RANLIB="" CFLAGS="-isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe" LDFLAGS="-L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2" make -C menuselect CONFIGURE_SILENT="--silent" menuselect | make[1]: Entering directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c | Generating input for menuselect ... | Building Documentation For: channels menuselect.c:35:27: fatal error: libxml/parser.h: No such file or directory | compilation terminated. | <builtin>: recipe for target 'menuselect.o' failed | make[1]: *** [menuselect.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | pbx apps make[1]: Leaving directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' | Makefile:950: recipe for target 'menuselect/menuselect' failed | make: *** [menuselect/menuselect] Error 2 | make: *** Waiting for unfinished jobs.... | codecs formats cdr cel bridges funcs tests main res addons | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Execution of '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/temp/run.do_compile.31691' failed with exit code 1: | CC="cc" CXX="arm-poky-linux-gnueabi-g++ -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/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot" LD="" AR="" RANLIB="" CFLAGS="-isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe" LDFLAGS="-L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -L/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,--enable-new-dtags -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/lib -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2" make -C menuselect CONFIGURE_SILENT="--silent" menuselect | make[1]: Entering directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c | gcc -isystem/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/recipe-sysroot-native/usr/include -O2 -pipe -g -D_GNU_SOURCE -Wall -c -o menuselect_stub.o menuselect_stub.c | Generating input for menuselect ... | Building Documentation For: channels menuselect.c:35:27: fatal error: libxml/parser.h: No such file or directory | compilation terminated. | <builtin>: recipe for target 'menuselect.o' failed | make[1]: *** [menuselect.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | pbx apps make[1]: Leaving directory '/home/bhavya/dialtronics/yocto/workspace/yocto_rpi/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/asterisk/13.5.0-r0/asterisk-13.5.0/menuselect' | Makefile:950: recipe for target 'menuselect/menuselect' failed | make: *** [menuselect/menuselect] Error 2 | make: *** Waiting for unfinished jobs.... | codecs formats cdr cel bridges funcs tests main res addons | WARNING: exit code 1 from a shell command. |ERROR: Task (/home/bhavya/dialtronics/yocto/poky-dunfell/meta-telephony/recipes-asterisk/asterisk/asterisk_13.5.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2052 tasks of which 2028 didn't need to be rerun and 1 failed.Summary: 1 task failed:
/home/bhavya/dialtronics/yocto/poky-dunfell/meta-telephony/recipes-asterisk/asterisk/asterisk_13.5.0.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
__________________________________________________________________________________________________________________________________Please kindly help me to solve the issue.
Thanks in advance. : )
Contact : [email protected]
~Bhavya