Trying to build latest rawhide rpms for restraint. Discovered
Fedora-36 and 37 were not building. Build system showed errors
from libarchive builds with undefined references to methods
like BZ2_bzDecompressInit, BZ2_bzDecompress, etc. Outside
of build system, I found errors requesting the bzip2 library
be recompiled with -fPIE which is what this changeset does.
Once changes applied, build errors went away and the
executable comes up and runs without issues.
Trying to build latest rawhide rpms for restraint. Discovered Fedora-36 and 37 were not building. Build system showed errors from libarchive builds with undefined references to methods like BZ2_bzDecompressInit, BZ2_bzDecompress, etc. Outside of build system, I found errors requesting the bzip2 library be recompiled with -fPIE which is what this changeset does. Once changes applied, build errors went away and the executable comes up and runs without issues.