bitbake error - openssl & glibc exit code '1'

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

bitbake error - openssl & glibc exit code '1'

8,662 次查看
B_Prabhu
Contributor III

Hello,

I building an image hardknott and below version

repo init -u https://github.com/nxp-imx/imx-manifest  -b imx-linux-hardknott -m imx-5.10.72-2.2.3.xml

 while doing i am getting below error repeatedly,

ERROR: openssl-native-1.1.1l-r0 do_compile: oe_runmake failed
ERROR: openssl-native-1.1.1l-r0 do_compile: Execution of '/home/user1/imx6dlsabreauto/bld-xwayland/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/temp/run.do_compile.1297296' failed with exit code 1
ERROR: Logfile of failure stored in: /home/user1/imx6dlsabreauto/bld-xwayland/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/temp/log.do_compile.1297296

 

ERROR: glibc-2.33-r0 do_compile: oe_runmake failed
ERROR: glibc-2.33-r0 do_compile: Execution of '/home/user1/imx6dlsabreauto/bld-xwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/glibc/2.33-r0/temp/run.do_compile.1297295' failed with exit code 1
ERROR: Logfile of failure stored in: /home/user1/imx6dlsabreauto/bld-xwayland/tmp/work/cortexa9t2hf-neon-poky-linux-gnueabi/glibc/2.33-r0/temp/log.do_compile.1297295

 

i tried below commands

"bitbake -c cleanall"   

bitbake -c fetch

bitbake core-image-minimal

even though there is no improvement same error i am getting. can you pls support?

0 项奖励
回复
11 回复数

8,636 次查看
joanxie
NXP TechSupport
NXP TechSupport

what's your ubuntu version? did you install all of packages according to the yocto user guide?

0 项奖励
回复

8,633 次查看
B_Prabhu
Contributor III

My Ubuntu version is 20.04 and i followed below link procedure for installing the required package for build process.

Yocto Project Quick Build — The Yocto Project ® 4.2.999 documentation

0 项奖励
回复

8,609 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you install the packages in the yocto user guide? Pls refer to the chapter 3.2 Host packages of enclosed file

0 项奖励
回复

8,602 次查看
B_Prabhu
Contributor III

I have installed package which you given in the document. but still the same error, it is not resolved..

ERROR: openssl-native-1.1.1l-r0 do_compile: oe_runmake failed
ERROR: openssl-native-1.1.1l-r0 do_compile: Execution of '/home/user1/imx6dlsabreauto/bld-xwayland/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/temp/run.do_compile.190450' failed with exit code 1
ERROR: Logfile of failure stored in: /home/user1/imx6dlsabreauto/bld-xwayland/tmp/work/x86_64-linux/openssl-native/1.1.1l-r0/temp/log.do_compile.190450

0 项奖励
回复

8,573 次查看
joanxie
NXP TechSupport
NXP TechSupport

if you don't install these packages before, you need clean the environment and build again, otherwise you still get the errors

before you building, install two parts

1) Essential Yocto Project host packages in the yocto user guide

2) install the packages according to the chapter 1.4 Required Packages for the Build Host

"https://docs.yoctoproject.org/ref-manual/system-requirements.html?highlight=ubuntu"

0 项奖励
回复

8,567 次查看
B_Prabhu
Contributor III

Hello,

I have ensured both packages are installed  and i rebuild the same but error remain the same. this i tried yesterday itself.

0 项奖励
回复

8,564 次查看
joanxie
NXP TechSupport
NXP TechSupport

before you installed the packages, did you clean all of building folders, then build the ycoto from the begging?

0 项奖励
回复

8,561 次查看
B_Prabhu
Contributor III

yes i have cleaned everything and build the new one. still error is there. 

0 项奖励
回复

8,553 次查看
B_Prabhu
Contributor III

Here i have explained about the step by step procedure how i have done:

1. Installed packages given in the link and document (attached : chapter 3.2 Host packages)

"https://docs.yoctoproject.org/ref-manual/system-requirements.html?highlight=ubuntu"

2. Followed as per below

$: mkdir ~/bin
$: curl http://commondatastorage.googleapis.com/git-repo-downloads/repo  > ~/bin/repo
$: chmod a+x ~/bin/repo
$: PATH=${PATH}:~/bin

 3. Followed as per below

$: mkdir <release>
$: cd <release>
$:repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-hardknott -m imx-5.10.72-2.2.3.xml
$: repo sync

4. Followed as per below

MACHINE=imx6dlsabreauto DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b bld-xwayland

 5. Followed as per below

bitbake imx-image-core

 

0 项奖励
回复

8,425 次查看
joanxie
NXP TechSupport
NXP TechSupport

I did the same steps as yours, my building is successful, you still need check your ubuntu environment

joanxie_0-1687330434957.png

joanxie_1-1687330455577.png

 

0 项奖励
回复

8,556 次查看
joanxie
NXP TechSupport
NXP TechSupport

give me detailed build steps, let me reproduce this

0 项奖励
回复