As most of you know, I am running a converted old Sheldon with an rpi3b, or was. The video was glacial.
So when the rpi4 came out I ordered a 2gig one, and have intermittently been trying to get a preempt-rt installed, running raspbian 10.1 (buster 10.1) I finally succeded yesterday with a 4.19.71-rt24-v7l+ #1 SMP PREEMPT RT Thu Oct 10 15:22:22 EDT kernel.
So I pulled a fresh .zip of master, and waded thru quite a few deps that checkbuilddeps did not catch. Then had to patch debian/control.top.in to add python_yapps and install that.
But now, late in the deb build, I have a huge rash of errors/warnings and it bails out, as follows:
cat debian/linuxcnc-uspace/DEBIAN/shlibs debian/shlibs.pre > debian/shlibs.local
dh_shlibdeps -l debian/linuxcnc-uspace/usr/lib
dpkg-shlibdeps: warning: symbol _Z32GET_EXTERNAL_TOOL_LENGTH_XOFFSETv used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z26GET_EXTERNAL_TRAVERSE_RATEv used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z13UNLOCK_ROTARYii used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z26GET_EXTERNAL_DIGITAL_INPUTii used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z17STRAIGHT_TRAVERSEiddddddddd used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z32GET_EXTERNAL_TOOL_LENGTH_UOFFSETv used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z24GET_EXTERNAL_QUEUE_EMPTYv used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z9LOGAPPENDPc used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z6FINISHv used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z14STRAIGHT_PROBEidddddddddh used by debian/linuxcnc-uspace/usr/lib/librs274.so.0 found in none of the libraries
dpkg-shlibdeps: warning: 136 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: can't extract name and version from library name 'libtk8.6.so'
dpkg-shlibdeps: warning: debian/linuxcnc-uspace/usr/bin/milltask contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: symbol _Z21DISABLE_FEED_OVERRIDEv used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z13SELECT_POCKETii used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z12PROGRAM_STOPv used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z30START_SPINDLE_COUNTERCLOCKWISEii used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z22START_SPEED_FEED_SYNCHidb used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z7MESSAGEPc used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z11CHANGE_TOOLi used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z8FLOOD_ONv used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z14ORIENT_SPINDLEidi used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: symbol _Z21STOP_SPEED_FEED_SYNCHv used by debian/linuxcnc-uspace/usr/lib/libcanterp.so.0 found in none of the libraries
dpkg-shlibdeps: warning: 26 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: can't extract name and version from library name 'libtk8.6.so'
dpkg-shlibdeps: warning: debian/linuxcnc-uspace/usr/bin/rs274 contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: debian/linuxcnc-uspace/usr/bin/schedrmt contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: symbol __aeabi_atexit@CXXABI_ARM_1.3.3 used by debian/linuxcnc-uspace/usr/lib/liblinuxcncini.so.0 found in none of the libraries
dpkg-shlibdeps: warning: can't extract name and version from library name 'libtk8.6.so'
dpkg-shlibdeps: warning: symbol __aeabi_atexit@CXXABI_ARM_1.3.3 used by debian/linuxcnc-uspace/usr/lib/libpyplugin.so.0 found in none of the libraries
dpkg-shlibdeps: warning: debian/linuxcnc-uspace/usr/bin/rtapi_app contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/hal.so debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/linuxcnc.so debian/linuxcnc-uspace/usr/bin/halmeter debian/linuxcnc-uspace/usr/bin/classicladder debian/linuxcnc-uspace/usr/bin/halscope debian/linuxcnc-uspace/usr/lib/python2.7/dist-packages/_togl.arm-linux-gnueabihf.so were not linked against libfreetype.so.6 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/bin/halmeter debian/linuxcnc-uspace/usr/bin/classicladder debian/linuxcnc-uspace/usr/bin/halscope were not linked against libgdk_pixbuf-2.0.so.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/bin/halmeter debian/linuxcnc-uspace/usr/bin/classicladder debian/linuxcnc-uspace/usr/bin/halscope were not linked against libgio-2.0.so.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/bin/halmeter debian/linuxcnc-uspace/usr/bin/classicladder debian/linuxcnc-uspace/usr/bin/halscope were not linked against libatk-1.0.so.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/bin/halmeter debian/linuxcnc-uspace/usr/bin/classicladder debian/linuxcnc-uspace/usr/bin/halscope were not linked against libpangoft2-1.0.so.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/hal.so debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/linuxcnc.so debian/linuxcnc-uspace/usr/lib/python2.7/dist-packages/_togl.arm-linux-gnueabihf.so were not linked against libz.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/bin/halmeter debian/linuxcnc-uspace/usr/bin/classicladder debian/linuxcnc-uspace/usr/bin/halscope were not linked against libpangocairo-1.0.so.0 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/hal.so debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/linuxcnc.so debian/linuxcnc-uspace/usr/lib/python2.7/dist-packages/_togl.arm-linux-gnueabihf.so were not linked against libXss.so.1 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/hal.so debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/linuxcnc.so debian/linuxcnc-uspace/usr/lib/python2.7/dist-packages/_togl.arm-linux-gnueabihf.so were not linked against libXext.so.6 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/bin/panelui was not linked against libutil.so.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/hal.so debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/linuxcnc.so debian/linuxcnc-uspace/usr/lib/python2.7/dist-packages/_togl.arm-linux-gnueabihf.so were not linked against libXft.so.2 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/bin/halmeter debian/linuxcnc-uspace/usr/bin/classicladder debian/linuxcnc-uspace/usr/bin/halscope were not linked against libcairo.so.2 (they use none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/hal.so debian/linuxcnc-uspace/usr/lib/tcltk/linuxcnc/linuxcnc.so debian/linuxcnc-uspace/usr/bin/halmeter debian/linuxcnc-uspace/usr/bin/classicladder debian/linuxcnc-uspace/usr/bin/halscope debian/linuxcnc-uspace/usr/lib/python2.7/dist-packages/_togl.arm-linux-gnueabihf.so were not linked against libfontconfig.so.1 (they use none of the library's symbols)
dh_gencontrol
dpkg-gencontrol: warning: can't parse dependency @YAPPS2_RUNTIME
dpkg-gencontrol: error: error occurred while parsing Depends field: g++, ,
python-serial,
python (>= 2.7), python (<< 2.

,
python:any, ,
linuxcnc-uspace (= 1:2.9.0~pre0),
@YAPPS2_RUNTIME | python_yapps@
dh_gencontrol: dpkg-gencontrol -plinuxcnc-uspace-dev -ldebian/changelog -Tdebian/linuxcnc-uspace-dev.substvars -Pdebian/linuxcnc-uspace-dev -UMulti-Arch returned exit code 255
dh_gencontrol: Aborting due to earlier error
make: *** [debian/rules:118: binary-arch] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
So something is still mucked up.
What do I do now?