Hi all,

I want to create .deb file of package python3-speechrecognition  , I  
successfully builded natively on target board riscv platform and i copied 
binary from target board and with using  recipe i am copying binary in path: 
/usr/lib/python3.8/site-packages and trying  to create .deb file from using 
yocto environment.

speechrecognition recipe is-

*DESCRIPTION = "speechrecognition Packages with dependencies library's "*

*LICENSE = "CLOSED"*

*SRC_URI += "file://speechrecognition"*

*S = "${WORKDIR}/speechrecognition"*

*do_install() {*
*install -d  ${D}${libdir}/*
*cp -r ${S}/lib/* ${D}${libdir}/*
*}*

*FILES_${PN} += "${libdir}/*"

* I am facing one issue here:-

*ERROR: speechrecognition-3.9.0-r0 do_populate_sysroot: Fatal errors occurred 
in subprocesses:*
*Command '['riscv64-oe-linux-strip', '--remove-section=.comment', 
'--remove-section=.note', 
'/home/kush/khu/sources/khu-build/tmp-glibc/work/riscv64-oe-linux/speechrecognition/3.9.0-r0/sysroot-destdir/usr/lib/python3.8/site-packages/flac-linux-x86']'
 returned non-zero exit status 1.*

> 
> *Subprocess output:riscv64-oe-linux-strip: Unable to recognise the format
> of the input file
> `/home/integration-team/kush/khu/sources/khu-build/tmp-glibc/work/riscv64-oe-linux/speechrecognition/3.9.0-r0/sysroot-destdir/usr/lib/python3.8/site-packages/flac-linux-x86'
> * Can anyone help me in this, where i am wrong.
> 
> T&R
> luvkhush
> *
> *
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60372): https://lists.yoctoproject.org/g/yocto/message/60372
Mute This Topic: https://lists.yoctoproject.org/mt/99674007/21656
Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to