Red Hat Bugzilla – Bug 1306634
dahdi-tools-2.10.0-7.fc24 FTBFS: 'rcsid' defined but not used [-Werror=unused-const-variable]
Last modified: 2016-04-04 13:25:19 EDT
dahdi-tools-2.10.0-7.fc24 fails to build in F24:
gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I. -Ixtalk -Wall -Werror -c -o astribank_usb.o astribank_usb.c
dahdi_registration syntax OK
astribank_usb.c:37:19: error: 'rcsid' defined but not used [-Werror=unused-const-variable]
static const char rcsid = "$Id$";
This seems to be triggered by GCC 6.
*** Bug 1307417 has been marked as a duplicate of this bug. ***
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.
More information and reason for this action is here:
Latest upstream version is 2.11.1. It contains substantial changes and the offending file is not there anymore. Git tree has a commit:
Author: Tzafrir Cohen <email@example.com>
Date: Tue Jan 26 15:12:30 2016 +0200
Remove rcsid: Unused since move to Git
* While technically Git can support $ID keywords, in practice they are not
* GCC now give a warning about ''rcsid' defined but not used' for some
Let's just remove the unused rcsid.
that removes the rcsid definitions and prints in usage outputs.
dahdi-tools-2.10.0-8.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d9910060d0
dahdi-tools-2.10.0-8.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d9910060d0
dahdi-tools-2.10.0-8.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.