<?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>i.MX ProcessorsのトピックRe: Build error after changing PACKAGE_CLASSES to package_deb</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769753#M119534</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, after some hard work, I could make part of the document work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, the document work, only that it needs to be changed some things to make it work in the i.mx8mq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, I needed to build the fsl-image-qt5-validation-imx, since the ethernet connection does not work for the core-image-minimal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, the symboling link needed to be changed from imx6qsd to imx8mq, after that you only need to follow the steps normally. However, I could only make it work the first smart channel command, the other two does not work, I still do not know the reason why does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, as far as I know, the "apt" command does not exist for the yocto distributions, you will need to use the "smart" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2018 16:45:44 GMT</pubDate>
    <dc:creator>diegoadrian</dc:creator>
    <dc:date>2018-07-03T16:45:44Z</dc:date>
    <item>
      <title>Build error after changing PACKAGE_CLASSES to package_deb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769749#M119530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We would like to add &lt;STRONG&gt;apt-get&lt;/STRONG&gt; into our yocto system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our environment:&lt;BR /&gt;BSP version: L4.9.88_imx8mq-ga,&lt;BR /&gt;EVM : i.MX8M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have followed this link: &lt;BR /&gt;&lt;A class="jive-link-thread-small" data-containerid="2004" data-containertype="14" data-objectid="325384" data-objecttype="1" href="https://community.nxp.com/thread/325384"&gt;https://community.nxp.com/thread/325384&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Currently, just changing PACKAGE_CLASSES to package_deb, then we would meet build error, so need someone to help us to provide the idea to resolve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[error log]&lt;/P&gt;&lt;P&gt;ERROR: linux-imx-4.9.88-r0 do_package_write_deb: Error executing a python function in exec_python_func() autogenerated:&lt;/P&gt;&lt;P&gt;The stack trace of python calls that resulted in this exception/failure was:&lt;BR /&gt;File: 'exec_python_func() autogenerated', lineno: 2, function: &amp;lt;module&amp;gt;&lt;BR /&gt;0001:&lt;BR /&gt;*** 0002:do_package_deb(d)&lt;BR /&gt;0003:&lt;BR /&gt;File: '/home/sevenl/NXP/SmartHub/imx-yocto-bsp/sources/poky/meta/classes/package_deb.bbclass', lineno: 102, function: do_package_deb&lt;BR /&gt;0098:&lt;BR /&gt;0099: os.chdir(oldcwd)&lt;BR /&gt;0100:&lt;BR /&gt;0101: if error:&lt;BR /&gt;*** 0102: raise error&lt;BR /&gt;0103:}&lt;BR /&gt;0104:do_package_deb[vardeps] += "deb_write_pkg"&lt;BR /&gt;0105:do_package_deb[vardepsexclude] = "BB_NUMBER_THREADS"&lt;BR /&gt;0106:&lt;BR /&gt;Exception: subprocess.CalledProcessError: Command 'PATH="/home/sevenl/NXP/SmartHub/imx-yocto-bsp/sources/poky/scripts:/home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot/usr/bin/crossscripts:/home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/usr/sbin:/home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/usr/bin:/home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/sbin:/home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/recipe-sysroot-native/bin:/home/sevenl/NXP/SmartHub/imx-yocto-bsp/sources/poky/bitbake/bin:/home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/hosttools" dpkg-deb -b /home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/packages-split/kernel-module-snd-usbmidi-lib-4.9.88-imx_4.9.88_2.0.0_ga+g5e23f9d /home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/deploy-debs/imx8mqevk' returned non-zero exit status 2&lt;/P&gt;&lt;P&gt;Subprocess output:&lt;BR /&gt;dpkg-deb: error: package name has characters that aren't lowercase alphanums or '-+.'&lt;/P&gt;&lt;P&gt;ERROR: linux-imx-4.9.88-r0 do_package_write_deb: Function failed: do_package_deb&lt;BR /&gt;ERROR: Logfile of failure stored in: /home/sevenl/NXP/SmartHub/imx-yocto-bsp/build-wayland-imx8mqevk/tmp/work/imx8mqevk-poky-linux/linux-imx/4.9.88-r0/temp/log.do_package_write_deb.53096&lt;BR /&gt;ERROR: Task (/home/sevenl/NXP/SmartHub/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.9.88.bb:do_package_write_deb) failed with exit code '1'&lt;BR /&gt;NOTE: Tasks Summary: Attempted 3525 tasks of which 3524 didn't need to be rerun and 1 failed.&lt;/P&gt;&lt;P&gt;Summary: 1 task failed:&lt;BR /&gt;/home/sevenl/NXP/SmartHub/imx-yocto-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/linux-imx_4.9.88.bb:do_package_write_de&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 10:13:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769749#M119530</guid>
      <dc:creator>sevenlin</dc:creator>
      <dc:date>2018-06-11T10:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Build error after changing PACKAGE_CLASSES to package_deb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769750#M119531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone could give us the hint about this error for adding "apt-get" on i.MX8M?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2018 02:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769750#M119531</guid>
      <dc:creator>sevenlin</dc:creator>
      <dc:date>2018-06-14T02:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Build error after changing PACKAGE_CLASSES to package_deb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769751#M119532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize for the delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried to follow the below document?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-328199"&gt;https://community.nxp.com/docs/DOC-328199&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 15:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769751#M119532</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2018-06-20T15:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Build error after changing PACKAGE_CLASSES to package_deb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769752#M119533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Diego,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I have tried to follow the document -&amp;nbsp;&lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-content-finding="Community" data-objectid="328199" data-objecttype="102" href="https://community.nxp.com/docs/DOC-328199" style="color: #3d9ce7; background-color: #ffffff; border: 0px; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;Yocto Project Package Management - smart&lt;/A&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But I also got an information that is :&lt;/P&gt;&lt;P&gt;&lt;A href="https://lists.yoctoproject.org/pipermail/yocto/2017-August/037575.html"&gt;smart was replaced with dnf in Yocto 2.3&lt;/A&gt; from&amp;nbsp;yoctoproject.org&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since our Yocto version is after Yocto2.3, do you have any other way to build-in "apt-get" on current Yocto version?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jun 2018 09:11:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769752#M119533</guid>
      <dc:creator>sevenlin</dc:creator>
      <dc:date>2018-06-21T09:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: Build error after changing PACKAGE_CLASSES to package_deb</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769753#M119534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, after some hard work, I could make part of the document work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned, the document work, only that it needs to be changed some things to make it work in the i.mx8mq.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, I needed to build the fsl-image-qt5-validation-imx, since the ethernet connection does not work for the core-image-minimal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, the symboling link needed to be changed from imx6qsd to imx8mq, after that you only need to follow the steps normally. However, I could only make it work the first smart channel command, the other two does not work, I still do not know the reason why does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore, as far as I know, the "apt" command does not exist for the yocto distributions, you will need to use the "smart" command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2018 16:45:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Build-error-after-changing-PACKAGE-CLASSES-to-package-deb/m-p/769753#M119534</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2018-07-03T16:45:44Z</dc:date>
    </item>
  </channel>
</rss>

