agnos-builder
agnos-builder copied to clipboard
Use debhelper tools for dependency compilation and packaging
Use debhelper tools for creation of the .deb packages rather than old checkinstall.
What does this get us over checkinstall? Looks a bit messier if anything
What does this get us over checkinstall? Looks a bit messier if anything
Hmm. The package build of qtwayland5 silently fails with the most recent docker versions (buildx > 0.15.1):
#21 188.1 /usr/lib/qt5/bin/qmake -install qinstall -exe ../../lib/libQt5WaylandClient.so.5.12.9 /usr/lib/aarch64-linux-gnu/libQt5WaylandClient.so.5.12.9
#21 188.1 Error copying ../../lib/libQt5WaylandClient.so.5.12.9 to /usr/lib/aarch64-linux-gnu/libQt5WaylandClient.so.5.12.9: Cannot create /usr/lib/aarch64-linux-gnu/libQt5WaylandClient.so.5.12.9 for output
#21 188.1 make[2]: [Makefile:1939: install_target] Error 3 (ignored)
These errors don't lead to a failed docker build, but just result in a empty .deb file that's installed, ultimately causing a segfault on device and no working UI.
Rather than debugging and fixing checkinstall, I would prefer to move to a more recent and tested way of building the deb files. (Checkinstall was last updated in 2017).
I cleaned up the PR a bit.