lhapdf-config --incdir does not show the include directories anymore and instead of it just prints help+error message. Reproducible: Always Steps to Reproduce: 1. run lhapdf-config --incdir 2. See the error+help message. Actual Results: user@fedora:~$ lhapdf-config --incdir lhapdf-config: configuration tool for the LHAPDF parton density function evolution library https://www.lhapdf.org/ Usage: lhapdf-config [options] Options: --help | -h : show this help message --prefix : show the installation prefix (cf. autoconf) --incdir : show the path to the LHAPDF C++ header directory --libdir : show the path to the LHAPDF library directory --datadir : show the path to the LHAPDF data directory --pythonpath|--pydir : show the path(s) to the directory containing LHAPDF's Python package --cxx : returns a compiler string matching that used to build LHAPDF --cxxflags : returns a string matching the compiler flags used to build LHAPDF --cflags|--cppflags : returns a '-I' string for insertion into CPPFLAGS --libs : returns a '-L/-l' string for insertion into LDFLAGS/LDLIBS --ldflags|--libs-only-L : returns a '-L' string for insertion into LDFLAGS --ldlibs|--libs-only-l : returns a '-l' string for insertion into LDLIBS --version : return LHAPDF release version number Error: Unknown option '--incdir' Expected Results: user@fedora:~$ lhapdf-config --incdir /usr/include Additional Information: This is obviously broken upstream. As a quick fix one can add to lhapdf-config: # Loop over arguments for opt in "$@"; do case "$opt" in --help) print_help && exit 0 ;; --h) print_help && exit 0 ;; --version) echo "6.5.6" && exit 0 ;; --prefix) show_prefix=1 ;; --includedir) show_incdir=1 ;; --incdir) show_incdir=1 ;; <-------------- --libdir) show_libdir=1 ;; --datadir) show_datdir=1 ;; --pythonpath) show_pypath=1 ;; --pydir) show_pypath=1 ;; --cxx) show_cxxexe=1 ;; --cxxflags) show_cflags=1 ;; --cflags) show_iflags=1 ;; --cppflags) show_iflags=1 ;; --ldflags) show_Lflags=1 ;; --libs-only-L) show_Lflags=1 ;; --ldlibs) show_lflags=1 ;; --libs-only-l) show_lflags=1 ;; --libs) show_Lflags=1; show_lflags=1 ;; *) print_help echo "Error: Unknown option '$opt'" >&2 exit 1 ;; esac done
FEDORA-2026-f6c1c89402 (lhapdf-6.5.6-2.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2026-f6c1c89402
FEDORA-2026-bf3828833c (lhapdf-6.5.6-2.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-bf3828833c
FEDORA-2026-b260595bd0 (lhapdf-6.5.6-2.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-b260595bd0
FEDORA-EPEL-2026-ee399de276 (lhapdf-6.5.6-2.el8) has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ee399de276
FEDORA-EPEL-2026-28a3ad0e17 (lhapdf-6.5.6-2.el10_1) has been submitted as an update to Fedora EPEL 10.1. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-28a3ad0e17
FEDORA-2026-b260595bd0 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-b260595bd0` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-b260595bd0 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-218f8af7a4 has been pushed to the Fedora EPEL 10.3 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-218f8af7a4 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-ee77ef69b5 has been pushed to the Fedora EPEL 10.2 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ee77ef69b5 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-bf3828833c has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-bf3828833c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-bf3828833c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-b6e970dc2d has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-b6e970dc2d See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-ee399de276 has been pushed to the Fedora EPEL 8 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ee399de276 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-2026-28a3ad0e17 has been pushed to the Fedora EPEL 10.1 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-28a3ad0e17 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2026-f6c1c89402 has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f6c1c89402` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f6c1c89402 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Sorry for not reporting it earlier, just discovered another bug in the updated LHAPDF. Basically, the logic of `lhapdf-config` was updated so user@fedora:~/LHAPDFTEST$ 6.5.6/lhapdf-config --ldflags -L/usr/lib64 -L/usr/lib -L/usr/lib64 -lyaml-cpp user@fedora:~/LHAPDFTEST$ 6.5.5/lhapdf-config --ldflags -L/usr/lib -L/usr/lib64 -lyaml-cpp -L/usr/lib64 -lLHAPDF This logic breaks builds for downstream packages. I have no fix so far. Best regards, Andrii
The logic has changed and you need to put both --ldflags and --ldlibs to get the complete set of flags: $ lhapdf-config --cflags -I/usr/include -I-I/usr/include $ lhapdf-config --ldflags --ldlibs -L/usr/lib64 -L/usr/lib -L/usr/lib64 -lyaml-cpp -lLHAPDF The double -I-I in the cflags is a bug which I have now fixed in the -3 release. And puting both -L/usr/lib and -L/usr/lib64 in ldflags is not correct either. With the new version: $ lhapdf-config --cflags -I/usr/include $ lhapdf-config --ldflags --ldlibs -L/usr/lib64 -lyaml-cpp -lLHAPDF $ lhapdf-config --incdir /usr/include $ lhapdf-config --includedir /usr/include $ lhapdf-config --libdir /usr/lib64
FEDORA-EPEL-2026-218f8af7a4 (lhapdf-6.5.6-3.el10_3) has been pushed to the Fedora EPEL 10.3 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2026-ee77ef69b5 (lhapdf-6.5.6-3.el10_2) has been pushed to the Fedora EPEL 10.2 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2026-ee399de276 (lhapdf-6.5.6-3.el8) has been pushed to the Fedora EPEL 8 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-f6c1c89402 (lhapdf-6.5.6-3.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2026-28a3ad0e17 (lhapdf-6.5.6-3.el10_1) has been pushed to the Fedora EPEL 10.1 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-EPEL-2026-b6e970dc2d (lhapdf-6.5.6-3.el9) has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-b260595bd0 (lhapdf-6.5.6-3.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2026-bf3828833c (lhapdf-6.5.6-3.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.