<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Other NXP Products中的主题 Re: Install: omitting directory ERROR</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Install-omitting-directory-ERROR/m-p/1992890#M26364</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please check this thread for speech recognition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Voice-Recognition-solution-of-i-MX-8X-family/td-p/1492907" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Voice-Recognition-solution-of-i-MX-8X-family/td-p/1492907&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Implementing-Voice-Recognition-on-the-i-MX-8M-Plus-Development/m-p/1797464" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Implementing-Voice-Recognition-on-the-i-MX-8M-Plus-Development/m-p/1797464&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 14:08:59 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2024-11-12T14:08:59Z</dc:date>
    <item>
      <title>Install: omitting directory ERROR</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Install-omitting-directory-ERROR/m-p/1992099#M26339</link>
      <description>&lt;P&gt;i am trying to add a python package to my yocto image through its .whl but i am facing some troubles with the installation of binaries i their proper folder . they are properly installed under image/usr/lib/python3.10/site-packages/speech_recognition as u see :&lt;/P&gt;&lt;PRE&gt;rania@rania:~/pixii_os/pixii_os/build/tmp/work/cortexa72-cortexa53-tdx-linux/python3-speechrecognition/3.10.4-r0/devtooltmp-boutfwpa/workdir/image/usr/lib/python3.10/site-packages/speech_recognition$ tree
.
├── audio.py
├── exceptions.py
├── flac-linux-x86
├── flac-linux-x86_64
├── flac-mac
├── flac-win32.exe
├── __init__.py
├── __main__.py
├── pocketsphinx-data
│   └── en-US
│       ├── acoustic-model
│       │   ├── feat.params
│       │   ├── mdef
│       │   ├── means
│       │   ├── noisedict
│       │   ├── README
│       │   ├── sendump
│       │   ├── transition_matrices
│       │   └── variances
│       ├── language-model.lm.bin
│       ├── LICENSE.txt
│       └── pronounciation-dictionary.dict
├── __pycache__
│   ├── audio.cpython-310.pyc
│   ├── exceptions.cpython-310.pyc
│   ├── __init__.cpython-310.pyc
│   └── __main__.cpython-310.pyc
└── recognizers
    ├── google.py
    ├── __init__.py
    ├── __pycache__
    │   ├── google.cpython-310.pyc
    │   ├── __init__.cpython-310.pyc
    │   └── whisper.cpython-310.pyc
    └── whisper.py

&lt;/PRE&gt;&lt;P&gt;NB some files suppose to be deleted according to my recipe but they are not&lt;BR /&gt;here’s the recipe&lt;/P&gt;&lt;PRE&gt;LICENSE = "BSD-3-Clause &amp;amp; GPL-2.0-only &amp;amp; Unknown"
LIC_FILES_CHKSUM = "file://LICENSE-FLAC.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                    file://LICENSE.txt;md5=2954ce0ca8c545fe806fcad8c24cb7d0 \
                    file://speech_recognition/pocketsphinx-data/en-US/LICENSE.txt;md5=93bfe6b712fe592d844ef581e1e53d47"

SRC_URI = "https://files.pythonhosted.org/packages/75/0a/52111a3dc0a8b554da0037532ed6cd1d06057d74ada865ec4fe2e4400c47/speechrecognition-${PV}.tar.gz"
SRC_URI[md5sum] = "ec71c849176e24863d48eda501bf334a"
SRC_URI[sha1sum] = "6c3d5e4e70a58330df686c1e841b3f9eaf7b4210"
SRC_URI[sha256sum] = "986bafcf61f14625c2f3cea6a471838edd379ed68aeed7b8f3c0fb41e21f1125"
SRC_URI[sha384sum] = "b91a5551c435459b8f70becc40d126a70350b3e9147302c0bac04334e3af9cb44b02c8df8ada5dd6f846d82e05bbf595"
SRC_URI[sha512sum] = "dde249b5e88e0ec228d72bc180e732091447cab7fccbb10204d2aaeb556fba8f6e236c8bdfc2be78d81f13e0fb72e38934305df77143569f65447235ef9e724f"

S = "${WORKDIR}/speechrecognition-${PV}"

inherit setuptools3

do_install:append() {

    install -d ${D}${PYTHON_SITEPACKAGES_DIR}/speech_recognition
    install -m 755 ${S}/speech_recognition/* ${D}${PYTHON_SITEPACKAGES_DIR}/speech_recognition/
   

    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/speech_recognition/flac-linux-x86_64
    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/speech_recognition/flac-linux-x86
    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/speech_recognition/flac-mac
    rm -f ${D}${PYTHON_SITEPACKAGES_DIR}/speech_recognition/flac-win32.exe
}

FILES_${PN} = "${PYTHON_SITEPACKAGES_DIR}/speech_recognition/*"
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/speech_recognition/__pycache__/*"
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/speech_recognition/pocketsphinx-data/*"
FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR}/speech_recognition/recognizers/*"


&lt;/PRE&gt;&lt;P&gt;here are logs&lt;/P&gt;&lt;PRE&gt;install: omitting directory '&lt;SPAN class=""&gt;/home/&lt;/SPAN&gt;rania&lt;SPAN class=""&gt;/pixii_os/&lt;/SPAN&gt;pixii_os&lt;SPAN class=""&gt;/build/&lt;/SPAN&gt;tmp&lt;SPAN class=""&gt;/work/&lt;/SPAN&gt;cortexa72&lt;SPAN class=""&gt;-&lt;/SPAN&gt;cortexa53&lt;SPAN class=""&gt;-&lt;/SPAN&gt;tdx&lt;SPAN class=""&gt;-&lt;/SPAN&gt;linux&lt;SPAN class=""&gt;/python3-speechrecognition/&lt;/SPAN&gt;&lt;SPAN class=""&gt;3.10&lt;/SPAN&gt;.&lt;SPAN class=""&gt;4&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;r0&lt;SPAN class=""&gt;/devtooltmp-boutfwpa/&lt;/SPAN&gt;workdir&lt;SPAN class=""&gt;/speechrecognition-3.10.4/&lt;/SPAN&gt;speech_recognition&lt;SPAN class=""&gt;/&lt;/SPAN&gt;__pycache__'
&lt;SPAN class=""&gt;|&lt;/SPAN&gt; install: omitting directory '&lt;SPAN class=""&gt;/home/&lt;/SPAN&gt;rania&lt;SPAN class=""&gt;/pixii_os/&lt;/SPAN&gt;pixii_os&lt;SPAN class=""&gt;/build/&lt;/SPAN&gt;tmp&lt;SPAN class=""&gt;/work/&lt;/SPAN&gt;cortexa72&lt;SPAN class=""&gt;-&lt;/SPAN&gt;cortexa53&lt;SPAN class=""&gt;-&lt;/SPAN&gt;tdx&lt;SPAN class=""&gt;-&lt;/SPAN&gt;linux&lt;SPAN class=""&gt;/python3-speechrecognition/&lt;/SPAN&gt;&lt;SPAN class=""&gt;3.10&lt;/SPAN&gt;.&lt;SPAN class=""&gt;4&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;r0&lt;SPAN class=""&gt;/devtooltmp-boutfwpa/&lt;/SPAN&gt;workdir&lt;SPAN class=""&gt;/speechrecognition-3.10.4/&lt;/SPAN&gt;speech_recognition&lt;SPAN class=""&gt;/&lt;/SPAN&gt;pocketsphinx&lt;SPAN class=""&gt;-&lt;/SPAN&gt;data'
&lt;SPAN class=""&gt;|&lt;/SPAN&gt; install: omitting directory '&lt;SPAN class=""&gt;/home/&lt;/SPAN&gt;rania&lt;SPAN class=""&gt;/pixii_os/&lt;/SPAN&gt;pixii_os&lt;SPAN class=""&gt;/build/&lt;/SPAN&gt;tmp&lt;SPAN class=""&gt;/work/&lt;/SPAN&gt;cortexa72&lt;SPAN class=""&gt;-&lt;/SPAN&gt;cortexa53&lt;SPAN class=""&gt;-&lt;/SPAN&gt;tdx&lt;SPAN class=""&gt;-&lt;/SPAN&gt;linux&lt;SPAN class=""&gt;/python3-speechrecognition/&lt;/SPAN&gt;&lt;SPAN class=""&gt;3.10&lt;/SPAN&gt;.&lt;SPAN class=""&gt;4&lt;/SPAN&gt;&lt;SPAN class=""&gt;-&lt;/SPAN&gt;r0&lt;SPAN class=""&gt;/devtooltmp-boutfwpa/&lt;/SPAN&gt;workdir&lt;SPAN class=""&gt;/speechrecognition-3.10.4/&lt;/SPAN&gt;speech_recognition&lt;SPAN class=""&gt;/&lt;/SPAN&gt;recognizers'&lt;/PRE&gt;&lt;P&gt;NB i tried cp -r but got no binaries installed in the output folder i got an empty workdir&lt;BR /&gt;&lt;BR /&gt;and for the rsync command it says command not found&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 16:07:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Install-omitting-directory-ERROR/m-p/1992099#M26339</guid>
      <dc:creator>taabouri</dc:creator>
      <dc:date>2024-11-11T16:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Install: omitting directory ERROR</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Install-omitting-directory-ERROR/m-p/1992890#M26364</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please check this thread for speech recognition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Voice-Recognition-solution-of-i-MX-8X-family/td-p/1492907" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Voice-Recognition-solution-of-i-MX-8X-family/td-p/1492907&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/Implementing-Voice-Recognition-on-the-i-MX-8M-Plus-Development/m-p/1797464" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/Implementing-Voice-Recognition-on-the-i-MX-8M-Plus-Development/m-p/1797464&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 14:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Install-omitting-directory-ERROR/m-p/1992890#M26364</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-11-12T14:08:59Z</dc:date>
    </item>
  </channel>
</rss>

