Fedora Account System
Red Hat Associate
Red Hat Customer
On Fedora 42 when I install apr-devel, an apr-1-config script gets installed to /usr/bin as in the previous Fedora 41, but also additionally to /usr/sbin. These two variants differ in output: `/usr/bin/apr-1-config --includedir` outputs `/usr/include/apr-1` but `/usr/sbin/apr-1-config --includedir` outputs `/usr/sbin/apr-1-config//usr/include/apr-1` The variant that gets used depends on `PATH` (I discovered this when my fedora:42 docker image failed to compile httpd because of missing apr because `which apr-1-config` returned the second variant. My VM worked fine, because the first variant got used.). It seems there are two issues: 1) the script gets installed to /usr/sbin (a change from fedora 41, might be related to /usr/(s)bin merge, but frankly I don't understand how this happens) – imho it should be only in /usr/bin (or at least the output should not differ) 2) the script detects a cross compilation and that's why the output is different (probably an issue for the upstream apr) If there is any additional info needed, please let me know. Reproducible: Always Steps to Reproduce: 1. run dnf install apr-devel 2. execute `/usr/bin/apr-1-config --includedir` 3. execute `/usr/sbin/apr-1-config --includedir` Actual Results: step 2 outputs /usr/include/apr-1 step 3 outputs /usr/sbin/apr-1-config//usr/include/apr-1 Expected Results: step 2 outputs /usr/include/apr-1 step 3 outputs /usr/include/apr-1 OR bash: /usr/sbin/apr-1-config: No such file or directory
Fix in https://src.fedoraproject.org/rpms/apr/pull-request/6
Can confirm it works. [root@7b896ef66c42 /]# /usr/sbin/apr-1-config --includedir /usr/include/apr-1 [root@7b896ef66c42 /]# /usr/bin/apr-1-config --includedir /usr/include/apr-1 Thank you.
Package: apr-1.7.6-3.fc43 Build: https://koji.fedoraproject.org/koji/buildinfo?buildID=2789697
FEDORA-2025-04dfcc0185 (apr-1.7.6-3.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2025-04dfcc0185
FEDORA-2025-04dfcc0185 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-2025-04dfcc0185` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-04dfcc0185 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-04dfcc0185 (apr-1.7.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.