vpnc failed to build from source in Fedora rawhide/f42 https://koji.fedoraproject.org/koji/taskinfo?taskID=128159868 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild Please fix vpnc at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, vpnc will be orphaned. Before branching of Fedora 43, vpnc will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2073064 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2073065 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2073066 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
This package has files in /usr/sbin and the lack of rebuild is preventing the sbin merge from being finalized. There's a PR to update to a newer snapshot. Could that be merged?
I rebased & pushed that: https://src.fedoraproject.org/rpms/vpnc/pull-request/2
Rawhide build: https://koji.fedoraproject.org/koji/taskinfo?taskID=130688634
> There's a PR to update to a newer snapshot. Could that be merged? I think vpnc is basically unmaintained. I removed myself from the committers list a couple of years ago because I did not want to ship a security-related package in Fedora which was dead upstream for so many years. I suggest to chkr that the package should be retired but obviously that did not happen. @chkr: Maybe it's time to orphan the package? Or add @lkundrak as co-maintainer if he want that?
error: Installed (but unpackaged) file(s) found: /usr/lib/debug/usr/sbin/vpnc-0.5.3^20241114.git11e15a1-1.fc43.x86_64.debug /usr/sbin/vpnc /usr/sbin/vpnc-disconnect File listed twice: /usr/bin/vpnc-helper Installed (but unpackaged) file(s) found: /usr/lib/debug/usr/sbin/vpnc-0.5.3^20241114.git11e15a1-1.fc43.x86_64.debug /usr/sbin/vpnc /usr/sbin/vpnc-disconnect I don't really understand those errors as the %files section appears correct ...
The problem is serious. The installation can be "fixed" by adding - make install DESTDIR="$RPM_BUILD_ROOT" PREFIX=/usr + make install DESTDIR="$RPM_BUILD_ROOT" PREFIX=/usr SBINDIR=%{_sbindir} The package then builds, but is actually broken. The problem is that the consolehelper setup uses symlinks in /usr/bin to /usr/sbin, which obviously cannot work if the two directories are the same. One option is to drop the consolehelper wrapper. The other option is to rename the real binaries (e.g. to /usr/libexec/vpnc and /usr/libexec/vpnc-disconnect) and install the symlinks in /usr/bin. But the consolehelper wrapper is optional, so if the real binaries are moved, and the user doesn't have the -consoleuser subpackage installed, the binaries will not be in $PATH. So it seems -consoleuser subpackage would need to be merged with the main package. I think the changes of this magnitude need to be made a by a maintainer…