restraint-harness / restraint

Simple test harness which can be used with beaker
GNU General Public License v3.0
15 stars 26 forks source link

libarchive requires bzip2 compiled with -fPIE #261

Closed cbouchar closed 2 years ago

cbouchar commented 2 years ago

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.

cbouchar commented 2 years ago

Proceeding with merge. Failed checks are resolved by these pulls: https://github.com/restraint-harness/restraint/pull/262 https://github.com/restraint-harness/restraint/pull/265