This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4372: bitbake build error

Part Number: AM4372

Dear Champs,

Could you help with the following error? I follow the instructions to build an image for the board but encounter this error.

SDK version is v6.03.

Thanks and Best Regards,

SI.

  • Hi SI,

    Could you please attach a full log of everything you are doing including the set up? This looks like something is not configured in your environment.

    I assume you are following these steps:

    https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/AM335X/linux/Overview_Building_the_SDK.html

    Thanks.

  • I installed the essentials with some modification because *:i386 do not exist. Please check the log file. Thank you very much

    --- Starting bitbake server pid 48 at 2021-04-30 20:58:41.275390 ---
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 292, in parseBaseConfiguration
        bb.event.fire(bb.event.ConfigParsed(), self.data)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 225, in fire
        fire_class_handlers(event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
        execute_handler(name, handler, event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 106, in execute_handler
        ret = handler(event)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 228, in base_eventhandler
        setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 138, in setup_hosttools_dir
        bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n  %s" % " ".join(notfound))
      File "/tisdk/sources/bitbake/lib/bb/__init__.py", line 120, in fatal
        raise BBHandledException()
    bb.BBHandledException
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/daemonize.py", line 83, in createDaemon
        function()
      File "/tisdk/sources/bitbake/lib/bb/server/process.py", line 469, in _startServer
        self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 210, in __init__
        self.initConfigurationData()
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 375, in initConfigurationData
        self.databuilder.parseBaseConfiguration()
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 321, in parseBaseConfiguration
        raise bb.BBHandledException
    bb.BBHandledException
    WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
    ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
      cpio file
    --- Starting bitbake server pid 325 at 2021-04-30 21:09:42.136210 ---
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 292, in parseBaseConfiguration
        bb.event.fire(bb.event.ConfigParsed(), self.data)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 225, in fire
        fire_class_handlers(event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
        execute_handler(name, handler, event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 106, in execute_handler
        ret = handler(event)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 228, in base_eventhandler
        setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 138, in setup_hosttools_dir
        bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n  %s" % " ".join(notfound))
      File "/tisdk/sources/bitbake/lib/bb/__init__.py", line 120, in fatal
        raise BBHandledException()
    bb.BBHandledException
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/daemonize.py", line 83, in createDaemon
        function()
      File "/tisdk/sources/bitbake/lib/bb/server/process.py", line 469, in _startServer
        self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 210, in __init__
        self.initConfigurationData()
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 375, in initConfigurationData
        self.databuilder.parseBaseConfiguration()
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 321, in parseBaseConfiguration
        raise bb.BBHandledException
    bb.BBHandledException
    WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
    ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
      cpio file
    --- Starting bitbake server pid 521 at 2021-04-30 21:22:47.567429 ---
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 292, in parseBaseConfiguration
        bb.event.fire(bb.event.ConfigParsed(), self.data)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 225, in fire
        fire_class_handlers(event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
        execute_handler(name, handler, event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 106, in execute_handler
        ret = handler(event)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 228, in base_eventhandler
        setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 138, in setup_hosttools_dir
        bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n  %s" % " ".join(notfound))
      File "/tisdk/sources/bitbake/lib/bb/__init__.py", line 120, in fatal
        raise BBHandledException()
    bb.BBHandledException
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/daemonize.py", line 83, in createDaemon
        function()
      File "/tisdk/sources/bitbake/lib/bb/server/process.py", line 469, in _startServer
        self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 210, in __init__
        self.initConfigurationData()
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 375, in initConfigurationData
        self.databuilder.parseBaseConfiguration()
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 321, in parseBaseConfiguration
        raise bb.BBHandledException
    bb.BBHandledException
    WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
    ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
      cpio file
    --- Starting bitbake server pid 535 at 2021-04-30 21:22:54.902120 ---
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 292, in parseBaseConfiguration
        bb.event.fire(bb.event.ConfigParsed(), self.data)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 225, in fire
        fire_class_handlers(event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
        execute_handler(name, handler, event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 106, in execute_handler
        ret = handler(event)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 228, in base_eventhandler
        setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 138, in setup_hosttools_dir
        bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n  %s" % " ".join(notfound))
      File "/tisdk/sources/bitbake/lib/bb/__init__.py", line 120, in fatal
        raise BBHandledException()
    bb.BBHandledException
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/daemonize.py", line 83, in createDaemon
        function()
      File "/tisdk/sources/bitbake/lib/bb/server/process.py", line 469, in _startServer
        self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 210, in __init__
        self.initConfigurationData()
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 375, in initConfigurationData
        self.databuilder.parseBaseConfiguration()
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 321, in parseBaseConfiguration
        raise bb.BBHandledException
    bb.BBHandledException
    WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
    ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
      cpio file
    --- Starting bitbake server pid 571 at 2021-04-30 21:24:30.377034 ---
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 292, in parseBaseConfiguration
        bb.event.fire(bb.event.ConfigParsed(), self.data)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 225, in fire
        fire_class_handlers(event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 134, in fire_class_handlers
        execute_handler(name, handler, event, d)
      File "/tisdk/sources/bitbake/lib/bb/event.py", line 106, in execute_handler
        ret = handler(event)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 228, in base_eventhandler
        setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
      File "/tisdk/sources/oe-core/meta/classes/base.bbclass", line 138, in setup_hosttools_dir
        bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n  %s" % " ".join(notfound))
      File "/tisdk/sources/bitbake/lib/bb/__init__.py", line 120, in fatal
        raise BBHandledException()
    bb.BBHandledException
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/tisdk/sources/bitbake/lib/bb/daemonize.py", line 83, in createDaemon
        function()
      File "/tisdk/sources/bitbake/lib/bb/server/process.py", line 469, in _startServer
        self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset)
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 210, in __init__
        self.initConfigurationData()
      File "/tisdk/sources/bitbake/lib/bb/cooker.py", line 375, in initConfigurationData
        self.databuilder.parseBaseConfiguration()
      File "/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 321, in parseBaseConfiguration
        raise bb.BBHandledException
    bb.BBHandledException
    WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with.
    ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
      cpio file
    

  • Hello,

    What version of Ubuntu are you using?

    I'm sorry, but it is difficult to tell what is going on from the snippets. Could you please attach a full log. Escpecially showing the commands that you are trying to execute and the result. Please don't take a screen capture. Please provide a full log so that I can read all the text and provide some suggestions.

    Thanks.

  • Thank you. I figured it out. It said right there in the log: please install them in order to proceed:
    cpio file