Verdin iMX8M Plus - Yocto build fails fetching uninative: 404 from Toradex Artifactory, server refused shutdown

Hi Team,

I’m working on building a Yocto image for the Verdin iMX8M Plus using the Toradex BSP 7.3.0+build.8 (scarthgap).

Setup Details:

Host Environment:

  • OS: Ubuntu 22.04.5 LTS (WSL2 on Windows 11)
  • Kernel: Linux 5.15.167.4-microsoft-standard-WSL2
  • Yocto packages: Installed as per Yocto 5.x system requirements

Target Board:

  • Target Board: Verdin-iMX8M Plus
  • BSP Version: scarthgap-7.x.y
  • Manifest: tdxref/default.xml

Initial Setup Command:

$ repo init -u git://git.toradex.com/toradex-manifest.git -b scarthgap-7.x.y -m tdxref/default.xml
$ repo sync
$ . export

Edited conf/local.conf:

MACHINE ?= “verdin-imx8mp”
DISTRO ?= “tdx-xwayland”

// NXP®/Freescale EULA
ACCEPT_FSL_EULA = “1”

Build Target: bitbake -k tdx-reference-multimedia-image

Problem: uninative Fetch Fails Mid-Build

The build proceeds to around 45–50%, then fails with 404 errors while fetching uninative components and then it fails with this error:

hari@Administrator:~/oe-core/build$ cat bitbake-cookerdaemon.log
1450 16:49:40.900309 --- Starting bitbake server pid 1450 at 2025-08-06 16:49:40.900288 ---
1450 16:49:40.902846 Started bitbake server pid 1450
1450 16:49:40.903015 Entering server connection loop
1450 16:49:40.903031 Lockfile is: /home/hari/oe-core/build/bitbake.lock
Socket is /home/hari/oe-core/build/bitbake.sock (True)
1450 16:49:40.903295 Accepting [<socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
1450 16:49:40.903765 Processing Client
1450 16:49:40.903790 Connecting Client
1450 16:49:40.903943 Running command ['setFeatures', [2, 1]]
1450 16:49:40.903963 Sending reply (None, None)
1450 16:49:40.904008 Command Completed (socket: True)
1450 16:49:40.904538 Running command ['updateConfig', {'halt': False, 'force': False, 'invalidate_stamp': None, 'dry_run': False, 'dump_signatures': [], 'extra_assume_provided': [], 'profile': False, 'prefile': [], 'postfile': [], 'server_timeout': None, 'nosetscene': False, 'setsceneonly': False, 'skipsetscene': False, 'runall': [], 'runonly': None, 'writeeventlog': None, 'build_verbose_shell': False, 'build_verbose_stdout': False, 'default_loglevel': 20, 'debug_domains': {}}, {'SHELL': '/bin/bash', 'BB_ENV_PASSTHROUGH_ADDITIONS': 'ALL_PROXY BBPATH_EXTRA BB_LOGCONFIG BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ', 'PWD': '/home/hari/oe-core', 'LOGNAME': 'hari', 'HOME': '/home/hari', 'BBPATH': '/home/hari/oe-core/build', 'USER': 'hari', 'PATH': '/home/hari/oe-core/layers/openembedded-core/scripts:/home/hari/oe-core/layers/openembedded-core/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/dotnet/:/mnt/c/SysGCC/raspberry64/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files/dotnet/:/mnt/c/Users/Hariprabhu/.cargo/bin:/mnt/c/Users/Hariprabhu/AppData/Local/Programs/Eclipse Adoptium/jdk-21.0.6.7-hotspot/bin:/mnt/c/Users/Hariprabhu/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Hariprabhu/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/Hariprabhu/.dotnet/tools:/mnt/c/Users/Hariprabhu/AppData/Roaming/Code/User/globalStorage/github.copilot-chat/debugCommand:/mnt/c/Users/Hariprabhu/AppData/Roaming/Code/User/globalStorage/github.copilot-chat/debugCommand:/mnt/c/SysGCC/raspberry64/bin:/mnt/c/Program Files (x86)/Nmap:/snap/bin', 'LC_ALL': 'en_US.UTF-8', 'WSL2_GUI_APPS_ENABLED': '1', 'OE_ADDED_PATHS': '/home/hari/oe-core/layers/openembedded-core/scripts:/home/hari/oe-core/layers/openembedded-core/bitbake/bin:', 'WSL_DISTRO_NAME': 'Ubuntu-22.04', 'WT_SESSION': 'a8ae4d63-4c73-469b-8408-3080eec113dc', 'NAME': 'Administrator', 'LANG': 'C.UTF-8', 'WSL_INTEROP': '/run/WSL/1383_interop', 'WAYLAND_DISPLAY': 'wayland-0', 'PYTHONPATH': '/home/hari/oe-core/layers/openembedded-core/bitbake/lib:', 'TERM': 'xterm-256color', 'DISPLAY': ':0', 'SHLVL': '1', 'XDG_RUNTIME_DIR': '/run/user/1000/', 'WSLENV': 'WT_SESSION:WT_PROFILE_ID:', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'BUILDDIR': '/home/hari/oe-core/build', 'HOSTTYPE': 'x86_64', 'PULSE_SERVER': 'unix:/mnt/wslg/PulseServer', 'WT_PROFILE_ID': '{4ff56d04-d9cf-57ea-bae2-ad396374e7e3}', 'OLDPWD': '/home/hari/oe-core/build', '_': '/home/hari/oe-core/layers/openembedded-core/bitbake/bin/bitbake'}, ['/home/hari/oe-core/layers/openembedded-core/bitbake/bin/bitbake', '-k', 'tdx-reference-multimedia-image']]
1450 16:49:41.600162 Base config valid
1450 16:49:41.690963 Sending reply (None, None)
1450 16:49:41.691122 Command Completed (socket: True)
1450 16:49:41.691520 Running command ['getVariable', 'BBINCLUDELOGS']
1450 16:49:41.691650 Sending reply ('yes', None)
1450 16:49:41.691703 Command Completed (socket: True)
1450 16:49:41.691931 Running command ['getVariable', 'BBINCLUDELOGS_LINES']
1450 16:49:41.691970 Sending reply (None, None)
1450 16:49:41.692020 Command Completed (socket: True)
1450 16:49:41.692229 Running command ['getSetVariable', 'BB_CONSOLELOG']
1450 16:49:41.692331 Sending reply ('/home/hari/oe-core/build/tmp/log/cooker/verdin-imx8mp/20250806111941.log', None)
1450 16:49:41.692387 Command Completed (socket: True)
1450 16:49:41.692600 Running command ['getSetVariable', 'BB_LOGCONFIG']
1450 16:49:41.692639 Sending reply (None, None)
1450 16:49:41.692688 Command Completed (socket: True)
1450 16:49:41.696531 Running command ['getUIHandlerNum']
1450 16:49:41.696605 Sending reply (1, None)
1450 16:49:41.696655 Command Completed (socket: True)
1450 16:49:41.696891 Running command ['setEventMask', 1, 20, {'BitBake.SigGen.HashEquiv': 19, 'BitBake.RunQueue.HashEquiv': 19}, ['bb.runqueue.runQueueExitWait', 'bb.event.LogExecTTY', 'logging.LogRecord', 'bb.build.TaskFailed', 'bb.build.TaskBase', 'bb.event.ParseStarted', 'bb.event.ParseProgress', 'bb.event.ParseCompleted', 'bb.event.CacheLoadStarted', 'bb.event.CacheLoadProgress', 'bb.event.CacheLoadCompleted', 'bb.command.CommandFailed', 'bb.command.CommandExit', 'bb.command.CommandCompleted', 'bb.cooker.CookerExit', 'bb.event.MultipleProviders', 'bb.event.NoProvider', 'bb.runqueue.sceneQueueTaskStarted', 'bb.runqueue.runQueueTaskStarted', 'bb.runqueue.runQueueTaskFailed', 'bb.runqueue.sceneQueueTaskFailed', 'bb.event.BuildBase', 'bb.build.TaskStarted', 'bb.build.TaskSucceeded', 'bb.build.TaskFailedSilent', 'bb.build.TaskProgress', 'bb.event.ProcessStarted', 'bb.event.ProcessProgress', 'bb.event.ProcessFinished']]
1450 16:49:41.696922 Sending reply (True, None)
1450 16:49:41.696971 Command Completed (socket: True)
1450 16:49:41.697181 Running command ['getVariable', 'BB_DEFAULT_TASK']
1450 16:49:41.697219 Sending reply ('build', None)
1450 16:49:41.697268 Command Completed (socket: True)
1450 16:49:41.697480 Running command ['setConfig', 'cmd', 'build']
1450 16:49:41.697502 Sending reply (None, None)
1450 16:49:41.697548 Command Completed (socket: True)
1450 16:49:41.697787 Running command ['buildTargets', ['tdx-reference-multimedia-image'], 'build']
1450 16:49:41.697842 Registering idle function <bound method Command.runAsyncCommand of <bb.command.Command object at 0x7f92ecbfba60>>
1450 16:49:41.697849 Sending reply (True, None)
1450 16:49:41.697893 Command Completed (socket: True)
1450 16:49:41.715304 Parsing started
1450 16:49:43.222794 Parse cache valid
--2025-08-06 16:51:16--  https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/7/x86_64-nativesdk-libc-4.7.tar.xz
Resolving artifacts.toradex.com (artifacts.toradex.com)... 3.125.132.142
Connecting to artifacts.toradex.com (artifacts.toradex.com)|3.125.132.142|:443... connected.
HTTP request sent, awaiting response... 404
2025-08-06 16:51:16 ERROR 404: (no description).

--2025-08-06 16:51:16--  https://artifacts.toradex.com/artifactory/tdxref-torizoncore-sources-frankfurt/7/uninative/5800d4e9a129d1be09cf548918d25f74e91a7c1193ae5239d5b0c9246c486d2c/x86_64-nativesdk-libc-4.7.tar.xz
Resolving artifacts.toradex.com (artifacts.toradex.com)... 3.125.132.142
Connecting to artifacts.toradex.com (artifacts.toradex.com)|3.125.132.142|:443... connected.
HTTP request sent, awaiting response... 404
2025-08-06 16:51:17 ERROR 404: (no description).

--2025-08-06 16:51:17--  http://downloads.yoctoproject.org/releases/uninative/4.7/x86_64-nativesdk-libc-4.7.tar.xz
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 37.27.135.249, 2a01:4f9:3070:3985::2
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|37.27.135.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7038984 (6.7M) [application/octet-stream]
Saving to: ‘/home/hari/oe-core/downloads/uninative/5800d4e9a129d1be09cf548918d25f74e91a7c1193ae5239d5b0c9246c486d2c/x86_64-nativesdk-libc-4.7.tar.xz.tmp’


2025-08-06 16:51:26 (851 KB/s) - ‘/home/hari/oe-core/downloads/uninative/5800d4e9a129d1be09cf548918d25f74e91a7c1193ae5239d5b0c9246c486d2c/x86_64-nativesdk-libc-4.7.tar.xz.tmp’ saved [7038984/7038984]

Server refused shutdown.  Remaining client fds: 1
Client pids: 360086
Server will shut down after all clients exit.
Server refused shutdown.  Remaining client fds: 1
Client pids: 360075
Server will shut down after all clients exit.
Server refused shutdown.  Remaining client fds: 1
Client pids: 783861
Server will shut down after all clients exit.
Server refused shutdown.  Remaining client fds: 1
Client pids: 800339
Server will shut down after all clients exit.
Server refused shutdown.  Remaining client fds: 1
Client pids: 809047
Server will shut down after all clients exit.
Server refused shutdown.  Remaining client fds: 1

I have attached the full bitbake error log in the topic,

Questions:

  • Why is uninative failing to fetch from the Toradex Artifactory?
  • Is the URL deprecated or temporarily down?
  • Is there a way to override or mirror the uninative source?

Summary

  • Targeting Verdin iMX8M Plus with scarthgap-7.x.y BSP and tdx-reference-multimedia-image build.
  • Build consistently fails while fetching uninative due to 404 error from Toradex Artifactory.
  • Running build inside WSL2 (Ubuntu 22.04 on Windows 11).
  • conf/local.conf correctly set with machine, distro, and EULA acceptance.
  • Need guidance on:
    • Whether this is a known issue or temporary server problem.
    • How to manually override/unset uninative, if it’s optional.
    • If a mirror or alternate source can be configured.

Hi, I’m the Toradex AI Assistant.

I might make mistakes. Our support team will step in if needed. If I answered your question, please tick the “Solution” checkbox. For follow-up questions to me, please use @ToradexAI in your post.

Did you like my answer? :+1: :-1:


Hello! Thank you for the detailed information and clear questions regarding your build issue with uninative on the Verdin iMX8M Plus.

Let me address your points one by one:


1. Why is uninative failing to fetch from the Toradex Artifactory?

From the log, the 404 errors indicate that the requested uninative files are not available at the specified Toradex Artifactory URLs. This can happen if:

  • The files were not uploaded for this specific BSP release.
  • There was a change in the way uninative is managed for this BSP.
  • The URLs are deprecated or temporarily unavailable.

However, your build attempts to fall back to the standard Yocto Project downloads server and appears to download the required files successfully afterward:

http://downloads.yoctoproject.org/releases/uninative/4.7/x86_64-nativesdk-libc-4.7.tar.xz … 200 OK

So, the fallback mechanism is working as intended and should allow the build to continue.

Reference:
Build a Reference Image with Yocto Project/OpenEmbedded


2. Is the URL deprecated or temporarily down?

Given the persistent 404 response, it’s likely the specific artifacts for uninative are either:

  • Not provided in the Toradex Artifactory for this BSP (this is expected for some meta layers).
  • Or this is a temporary situation, but the fallback to Yocto’s official server is standard and safe.

This situation is not uncommon and typically does not indicate a hard failure as long as the fallback works.


3. Is there a way to override or mirror the uninative source?

Yes, you can manually override or add mirrors for uninative downloads.

Option 1: Allow the Yocto Mirror to Be Used (Default)

As in your log, Yocto will already try its own mirror after Toradex. If the download succeeds and you don’t want to see errors, you can suppress them, but this is generally not necessary.

Option 2: Override UNINATIVE_URL in local.conf

You can explicitly point UNINATIVE_MIRROR to Yocto’s site or another known good source. Add to conf/local.conf:

# Use Yocto's official download server as the first uninative mirror
UNINATIVE_MIRROR ?= "http://downloads.yoctoproject.org/releases/uninative/${UNINATIVE_VERSION}/"

Option 3: Provide Your Own Mirror

If you have a local mirror or want to use a different server, you can also set:

UNINATIVE_URL = "file:///path/to/uninative/${UNINATIVE_VERSION}/"

Where you host the necessary uninative tarballs.


4. Can Uninative Be Disabled?

Uninative is used to provide reproducible native builds across different build hosts. Disabling it is not recommended unless you are confident in your build environment and don’t need cross-host reproduction. If you want to proceed, set in conf/local.conf:

INHERIT_remove = "uninative"

However, this may break parts of the build or require additional native dependencies on your host.


Summary & Recommendations

  • The failed fetch from Toradex Artifactory is not uncommon and will not break your build if the Yocto fallback download works.
  • If you want to avoid the error or ensure reliability, set UNINATIVE_MIRROR in conf/local.conf as above.
  • Disabling uninative is possible but not recommended for reproducibility.
  • As long as your build fetches from a suitable fallback and continues, this is not typically a critical issue.

For more details, please see:
Build a Reference Image with Yocto Project/OpenEmbedded

If you encounter further build errors after the fallback fetch, please share those specifics.

Best regards, Toradex AI Assistant.

Hey, @Hariprabhu_13,

You are seeing the error coming from our URL because we append our artifactory to the premirrors here.

The unative actually comes from openembedded core, see this line from openembedded-core/meta/classes-global/uninative.bbclass:

UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc-${UNINATIVE_VERSION}.tar.xz"

From the logs you provided, it seems that the fetch actually succeeded after trying from the yocto project releases:

--2025-08-06 16:51:17--  http://downloads.yoctoproject.org/releases/uninative/4.7/x86_64-nativesdk-libc-4.7.tar.xz
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)... 37.27.135.249, 2a01:4f9:3070:3985::2
Connecting to downloads.yoctoproject.org (downloads.yoctoproject.org)|37.27.135.249|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7038984 (6.7M) [application/octet-stream]
Saving to: ‘/home/hari/oe-core/downloads/uninative/5800d4e9a129d1be09cf548918d25f74e91a7c1193ae5239d5b0c9246c486d2c/x86_64-nativesdk-libc-4.7.tar.xz.tmp’

Did the build process actually fail? I believe it should continue as normal after fetching the file. If it did fail, the problem should be somewhere else, there were no other error messages?

Best regards,