While trying to emerge dev-libs/libgcrypt-1.1.91 failed, configure breaks while checking for GNU Pth: checking for GNU Pth... *FAILED* | Found Pth version GNU Pth . (), but required at least version 1.2.0. | Upgrade Pth under /usr to 1.2.0 or higher first, please. !!! ERROR: dev-libs/libgcrypt-1.1.91 failed. !!! Function econf, Line 339, Exitcode 1 !!! econf failed xeon# qpkg -i dev-libs/pth dev-libs/pth-1.4.0 * GNU Portable Threads [ http://www.gnu.org/software/pth/ ] So it appears I have version 1.4.0 installed. I have gone through the config.log, but I am unable to understand where the problem is occuring. I cannot figure out how it determines the pth version. Reproducible: Always Steps to Reproduce: 1.emerge rsync 2.emerge dev-libs/libgcrypt 3. Actual Results: I have the config.log but it is rather large and not sure if y'all want that.
After some tinkering around, I have mostly resolved the problem. The problem stems from something wrong in the gnu-pth build. gnu-pth produces /usr/bin/pth-config which the configure script for dev-libs/libgcrypt-1.1.91 was calling to get the version number of gnu-pth. Unfortunately pth-config was returning an empty version number which caused the configure script to terminate with and inappropriate gnu-pth version messagge. Rebuilding dev-libs/pth rebuilds the /usr/bin/pth-config file and it now works correctly.