Question about Debian Linux support

I noticed that the “root-system” packages in Debian repo are quite outdated!
It’s complexed to make packages from scratch. I failed to build according to the guide below:
Can anybody who succeeded in building the debs share them somewhere?

Some old bug is still unresolved:

It seems to be that I need to add some EXTRA_LDFLAGS while building ROOT. Where should I define such environment? Like this?