openocd failed to build from source in Fedora rawhide/f39 https://koji.fedoraproject.org/koji/taskinfo?taskID=103640028 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Please fix openocd 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, openocd will be orphaned. Before branching of Fedora 40, openocd 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 1978593 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1978594 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1978595 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39.
This looks like it's due to libgpiod going from 1.6 to 2.0, I think.
https://sourceforge.net/p/openocd/tickets/306/ - pbrobinson pinged it in March, but no response yet.
Until this is resolved (e.g. if upstream moves from libgpiod 1.6 to 2.0), would it be an option to remove "BuildRequires: libgpiod-devel" and replace "--enable-linuxgpiod" with "--disable-linuxgpiod" (or just remove the enable argument)? I did it in a COPR build for myself and so I could use openocd installed by the package manager again.
I would disable the gpiod support, as I don't imagine to many people are using it that way. Or at least not for long/seriously because AFAIK the GPIO adapter is fairly slow, and for just a few dollars can be replaced with a hardware JTAG adapter that runs an order of magnitude faster (Ex: I have a busblaster which has a CPLD to drive the JTAG signalling, current price $34).
Even on the rpi, which I'm assuming might be one of the more popular GPIO adapters, there is a custom bcm2835gpio driver, which doesn't appear to depend on libgpiod.
FEDORA-2023-41222ff8dd has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-41222ff8dd
FEDORA-2023-41222ff8dd has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-41222ff8dd` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-41222ff8dd See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-41222ff8dd has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.