bwm-ng failed to build from source in Fedora rawhide/f37 https://koji.fedoraproject.org/koji/taskinfo?taskID=89758584 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Please fix bwm-ng 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, bwm-ng will be orphaned. Before branching of Fedora 38, bwm-ng 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 1900852 [details] build.log
Created attachment 1900853 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1900854 [details] state.log
This bug appears to have been reported against 'rawhide' during the Fedora Linux 37 development cycle. Changing version to 37.
output.c: In function 'print_header': output.c:156:13: error: format not a string literal and no format arguments [-Werror=format-security] 156 | wprintw(stdscr,show_all_if2str()); | ^~~~~~~ Also: input/proc_diskstats.c: In function 'get_disk_stats_proc': input/proc_diskstats.c:164:41: warning: pointer 'buffer_67' used after 'free' [-Wuse-after-free] 164 | deinit(1, "wrong format of procfile. %i: %s\n",n,buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ input/proc_diskstats.c:163:41: note: call to 'free' here 163 | free(buffer); | ^~~~~~~~~~~~
Fixes available upstream: https://github.com/vgropp/bwm-ng/pull/37 https://github.com/vgropp/bwm-ng/pull/42
https://github.com/vgropp/bwm-ng/pull/25 is also needed, but I've fixed that on rawhide. The simplest solution is probably to just update to the upstream 0.6.3 release.
FEDORA-2023-5a90f912e9 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5a90f912e9
FEDORA-2023-6dcad23d31 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-6dcad23d31
FEDORA-2023-5a90f912e9 has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5a90f912e9 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-6dcad23d31 has been pushed to the Fedora 37 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-6dcad23d31` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-6dcad23d31 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-6dcad23d31 has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-5a90f912e9 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.