Error while building a reference image for the verdin IMX8M Mini SOM

Hi all,

we would like to build a reference image for the Verdin IMX8M Mini Quad 2GB WB IT V1.0B.
The build environment was setup with two instructions. The Link of the first one is:

The operating system is Ubuntu 16.04.7 LTS 64 bit like its recommended under the “hardware requirements” section.

From this instruction the codeblocks from the the following sections were applied:
[Update and Upgrade Necessary Packages for Ubuntu] and
[Cross Toolchain / Embedded Linux BSP 5 / 64 bit Arm]

For setting up the build environment and starting the compiling process this second instruction were used:

The tab for the BSP version was set to 5.0.0.

The build dependencies which were in this follow up link ( Yocto build dependencies → Yocto Project Mega-Manual ) were applied. The code from the section (21.2.1. Ubuntu and Debian) and the subsections Essentials and Documentation was used.

Furthermore the codeblocks from this sections were used:
[Repo and Git],
[First-time Configuration] and
[Building]

The build process was then started with “bitbake tdx-reference-multimedia-image”.

After 94% of overall process in bitbake it stoped increasing. After pressing ctrl + c on the keyboard the
following output was shown in the terminal:

NOTE: Executing Tasks
WARNING: xz-native-5.2.4-r0 do_fetch: Failed to fetch URL https://tukaani.org/xz/xz-5.2.4.tar.gz, attempting MIRRORS if available
WARNING: libeigen-3.3.7-r0 do_fetch: Failed to fetch URL https://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2;downloadfilename=libeigen-3.3.7.tar.bz2, attempting MIRRORS if available
WARNING: netbase-1_6.1-r0 do_fetch: Failed to fetch URL http://ftp.debian.org/debian/pool/main/n/netbase/netbase_6.1.tar.xz, attempting MIRRORS if available
WARNING: htop-2.2.0-r0 do_fetch: Failed to fetch URL http://hisham.hm/htop/releases/2.2.0/htop-2.2.0.tar.gz, attempting MIRRORS if available

Keyboard Interrupt, closing down...

Traceback (most recent call last):
  File "/home/dennis/oe-core/layers/openembedded-core/bitbake/lib/bb/ui/knotty.py", line 604, in main
    event = eventHandler.waitEvent(0.25)
  File "/home/dennis/oe-core/layers/openembedded-core/bitbake/lib/bb/server/process.py", line 609, in waitEvent
    self.eventQueueNotify.wait(delay)
  File "/usr/lib/python3.5/threading.py", line 549, in wait
    signaled = self._cond.wait(timeout)
  File "/usr/lib/python3.5/threading.py", line 297, in wait
    gotit = waiter.acquire(True, timeout)
KeyboardInterrupt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/dennis/oe-core/layers/openembedded-core/bitbake/bin/bitbake", line 36, in <module>
    cookerdata.CookerConfiguration()))
  File "/home/dennis/oe-core/layers/openembedded-core/bitbake/lib/bb/main.py", line 385, in bitbake_main
    configParams)
  File "/home/dennis/oe-core/layers/openembedded-core/bitbake/lib/bb/ui/knotty.py", line 833, in main
    _, error = server.runCommand(["stateShutdown"])
  File "/home/dennis/oe-core/layers/openembedded-core/bitbake/lib/bb/server/process.py", line 345, in runCommand
    self.connection.send(command)
  File "/home/dennis/oe-core/layers/openembedded-core/bitbake/lib/bb/server/process.py", line 668, in send
    self.writer.send_bytes(obj)
  File "/usr/lib/python3.5/multiprocessing/connection.py", line 200, in send_bytes
    self._send_bytes(m[offset:offset + size])
  File "/usr/lib/python3.5/multiprocessing/connection.py", line 404, in _send_bytes
    self._send(header + buf)
  File "/usr/lib/python3.5/multiprocessing/connection.py", line 368, in _send
    n = write(self._handle, buf)
BrokenPipeError: [Errno 32] Broken pipe

After executing “bitbake tdx-reference-multimedia-image” again the terminal output was:

NOTE: Retrying server connection (#1)...
NOTE: Retrying server connection (#2)...
NOTE: Retrying server connection (#3)...
NOTE: Retrying server connection (#4)...
NOTE: Retrying server connection (#5)...
NOTE: Retrying server connection (#6)...
NOTE: Retrying server connection (#7)...
NOTE: Retrying server connection (#8)...
ERROR: Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).

Which steps are needed to resolve this issue so we can finish the build process?

Best regards

Dennis

Hello @Dennis_K

Can you share the bitbake-cookerdameon.log file in the build directory? Maybe we can find a hint there what goes wrong. Also check if there is a bitbake.lock file in the build directory. If it is there try to delete it.

Regarding the timeout. Could it be that you are behind a firewall and some servers are not reachable? Can you maybe try if it works in another network?

Regards,
Stefan

Hello @Dennis_K
did you solve the problem with the provided suggestions above?
Regards, Andi