Oh wow, I guess twrp redid their website. Awesome. >< I'll try to rebuild the OP soon and get proper links. That was a copy-paste of the standard twrp OP from like five years ago. Didn't even notice that links had broken. The official builds are still available on twrp.me, but they are for Lineage 15.1 and stock 7.1.x or earlier. Nvidia has done several breaking bootloader and kernel changes over the years, so I can't have one build that fits all. And my official releases here track my official Lineage releases. I don't plan to have an official twrp release that works on stock 8.x.x until Lineage 17.1 gets official foster builds.
As for kernel... That gets a bit fun as I'm sure you're aware if you track the nv-tegra repos. There's 3 kernel source repos and close to 30 dt repos. My forks are on cm-shield: https://gitlab.incom.co/CM-Shield, along with everything else. I dunno why it wouldn't compile for you. I can compile the android release branches completely unmodified in a Lineage 16.0 tree. The one thing that comes to mind is that upstream uses Linaro GCC 6.4.1 and I track that for kernel builds. Nv-tegra has a repo for that too. Though fwiw, my kernel is an l4t baseline with cherry-pick picks from android. Nvidia uses the same kernel baseline for l4t and android. And since l4t still has git history and android doesn't... yeah.
For a full build, I have twrp support in my Lineage trees and build from lineage-16.0. I've recently put together a set of local manifests to have a minimal lineage tree for building twrp. See: https://gitlab.incom.co/CM-Shield/scripts/-/tree/lineage-16.0/manifests/twrp. The scripts repo can be used to generate a twrp image for anything from t114 to t194.
As for kernel... That gets a bit fun as I'm sure you're aware if you track the nv-tegra repos. There's 3 kernel source repos and close to 30 dt repos. My forks are on cm-shield: https://gitlab.incom.co/CM-Shield, along with everything else. I dunno why it wouldn't compile for you. I can compile the android release branches completely unmodified in a Lineage 16.0 tree. The one thing that comes to mind is that upstream uses Linaro GCC 6.4.1 and I track that for kernel builds. Nv-tegra has a repo for that too. Though fwiw, my kernel is an l4t baseline with cherry-pick picks from android. Nvidia uses the same kernel baseline for l4t and android. And since l4t still has git history and android doesn't... yeah.
For a full build, I have twrp support in my Lineage trees and build from lineage-16.0. I've recently put together a set of local manifests to have a minimal lineage tree for building twrp. See: https://gitlab.incom.co/CM-Shield/scripts/-/tree/lineage-16.0/manifests/twrp. The scripts repo can be used to generate a twrp image for anything from t114 to t194.