rpi-imager icon indicating copy to clipboard operation
rpi-imager copied to clipboard

[BUG]: Error building Rpi-imager 1.9.4 embedded (netboot) build

Open procount opened this issue 5 months ago • 3 comments

What happened?

I installed a fresh Raspios64_full OS on my Pi5 with SSD. Cloned the repository & checked out v1.9.4 tag Installed buildroot pre-requisites Ran sudo ./build-qt.sh (although not sure if this was necessary) ran build.sh in embedded.

  1. When configuring to build rpi-imager-qml, it stopped with:

-- Checking for module 'gnutls' -- Package 'gnutls', required by 'virtual:world', not found

I ran buildroot-2024.02.3/make gnutls to build that package and then repeated the ./build.sh and the error went away. So I think there is a missing dependency from rpi-imager-qml and gnutls. (Or should I have installed libgnutls28-dev mentioned in the Linux dependencies?)

  1. 2nd attempt also stopped when configuring rpi-imager-qml

--Performing Test atomicbuiltin - Success CMake error at CMakelists.txt:555 (message): Missing suitable Qt library (must be at least version 6.7)

Buildroot has built several Qt5 packages, but no Qt6 packages. No Qt6 packages are selected in buildroot's menuconfig only qt5 versions.

Qt6.9.0 was installed in /opt/Qt by the build-qt.sh script, but this is probably irrelevant for embedded

Version

1.9.4 (Default)

What host operating system were you using?

Debian and derivatives (eg Ubuntu)

Host OS Version

(bookworm) Linux raspberrypi 6.12.25+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.25-1+rpt1 (2025-04-30) aarch64 GNU/Linux

Selected OS

N/A

Which Raspberry Pi Device are you using?

Raspberry Pi 5

What kind of storage device are you using?

NVMe SSD via Third-party PCIe attachment

OS Customisation

  • [ ] Yes, I was using OS Customisation when the bug occurred.

Relevant log output

-- Features: AsynchDNS HSTS HTTP2 HTTPS-proxy IPv6 Largefile libz NTLM SSL threadsafe TLS-SRP UnixSockets zstd
-- Enabled SSL backends: GnuTLS
-- Default SSL backend: gnutls
-- Found GnuTLS: /home/pi/Rpi-imager/embedded/buildroot-2024.02.3/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/libgnutls.so (found version "3.8.3") 
-- Performing Test atomicbuiltin
-- Performing Test atomicbuiltin - Success
CMake Error at CMakeLists.txt:555 (message):
  Missing suitable Qt library (must be at least version 6.7)


-- Configuring incomplete, errors occurred!
See also "/home/pi/Rpi-imager/embedded/buildroot-2024.02.3/output/build/rpi-imager-qml/CMakeFiles/CMakeOutput.log".
See also "/home/pi/Rpi-imager/embedded/buildroot-2024.02.3/output/build/rpi-imager-qml/CMakeFiles/CMakeError.log".
make: *** [package/pkg-generic.mk:273: /home/pi/Rpi-imager/embedded/buildroot-2024.02.3/output/build/rpi-imager-qml/.stamp_configured] Error 1
make: Leaving directory '/home/pi/Rpi-imager/embedded/buildroot-2024.02.3'

procount avatar Jun 13 '25 12:06 procount

1.9.x is not ready for embedded builds at this time. I have a prototype of the 1.9.x series on Buildroot, however it doesn't behave as I would expect, and as a result I'm looking at migrating to pi-gen-micro.

I'm expecting 1.9.6 to be the next release to be able to act as the Embedded Imager.

tdewey-rpi avatar Jun 16 '25 07:06 tdewey-rpi

Which is the current embedded release?

procount avatar Jun 17 '25 19:06 procount

The current embedded imager is based on the 1.8.y branch, however we're expecting to release a 1.9.x based embedded imager this summer.

tdewey-rpi avatar Jul 14 '25 09:07 tdewey-rpi