agnos-builder icon indicating copy to clipboard operation
agnos-builder copied to clipboard

Use debhelper tools for dependency compilation and packaging

Open robin-reckmann opened this issue 1 year ago • 2 comments

Use debhelper tools for creation of the .deb packages rather than old checkinstall.

robin-reckmann avatar Nov 18 '24 16:11 robin-reckmann

What does this get us over checkinstall? Looks a bit messier if anything

adeebshihadeh avatar Nov 20 '24 22:11 adeebshihadeh

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.

robin-reckmann avatar Nov 29 '24 12:11 robin-reckmann