I did get openjpeg-2.4.0 built and the results look good, but I still want to test on an older distro yet tomorrow. Thanks for the hints.
I think I had patch for building new nasm as thirdparty (attached)
do not forgot to add nasm's tar.gz into thirdparty/src
if you want to test this too ....