Bug 1190796
| Summary: | ipv6calc-0.97.4-7.fc22 FTBFS: ipv6calcoptions.c:80:29: error: 'sizeof' on array function parameter 'longopts_custom' will return size of 'const struct option *' [-Werror=sizeof-array-argument] | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> |
| Component: | ipv6calc | Assignee: | Peter Bieringer <pb> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | mmaslano, pb |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://koji.fedoraproject.org/koji/taskinfo?taskID=8874459 | ||
| Whiteboard: | |||
| Fixed In Version: | ipv6calc-0.98.0-10.fc22 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-09 08:38:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Issue already fixed in upstream trunk, plan to release new version this weekend. ipv6calc-0.98.0-8.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ipv6calc-0.98.0-8.fc21 ipv6calc-0.98.0-8.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/ipv6calc-0.98.0-8.fc20 Package ipv6calc-0.98.0-8.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ipv6calc-0.98.0-8.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2404/ipv6calc-0.98.0-8.fc21 then log in and leave karma (feedback). ipv6calc-0.98.0-8.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0900/ipv6calc-0.98.0-8.el6 ipv6calc-0.98.0-8.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0897/ipv6calc-0.98.0-8.el7 ipv6calc-0.98.0-10.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ipv6calc-0.98.0-10.el6 ipv6calc-0.98.0-10.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/ipv6calc-0.98.0-10.el7 ipv6calc-0.98.0-10.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/ipv6calc-0.98.0-10.fc20 ipv6calc-0.98.0-10.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ipv6calc-0.98.0-10.fc21 ipv6calc-0.98.0-10.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/ipv6calc-0.98.0-10.fc22 This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 ipv6calc-0.98.0-10.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. ipv6calc-0.98.0-10.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. ipv6calc-0.98.0-10.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. ipv6calc-0.98.0-10.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report. ipv6calc-0.98.0-10.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. |
ipv6calc-0.97.4-7.fc22 fails to build in F22 with GCC 5.0: gcc -c ipv6calcoptions.c -D_GNU_SOURCE -O2 -Wall -g -Wformat -Werror -Werror=format-security -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/ -I../external-fallback/GeoIP -I../external-fallback/IP2Location -I../external-fallback/IP2Location/iMath gcc -c ipv6calctypes.c -D_GNU_SOURCE -O2 -Wall -g -Wformat -Werror -Werror=format-security -D__EXTENSIONS__ -fPIC -I. -I../ -I../databases/lib/ -I../external-fallback/GeoIP -I../external-fallback/IP2Location -I../external-fallback/IP2Location/iMath ipv6calcoptions.c: In function 'ipv6calc_options_add': ipv6calcoptions.c:80:29: error: 'sizeof' on array function parameter 'longopts_custom' will return size of 'const struct option *' [-Werror=sizeof-array-argument] if (*maxentries_p + MAXENTRIES_ARRAY(longopts_custom) >= (MAXLONGOPTIONS - 1)) { ^ ipv6calcoptions.c:74:169: note: declared here void ipv6calc_options_add(char *shortopts_p, const int shortopts_maxlen, struct option longopts[], int *maxentries_p, const char *shortopts_custom, const struct option longopts_custom[], const int longopts_custom_entries) { ^ cc1: all warnings being treated as errors Makefile:48: recipe for target 'ipv6calcoptions.o' failed make[2]: *** [ipv6calcoptions.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/ipv6calc-0.97.4/lib' Difference between working and failing build root: libgcc 4.9.2-5.fc22 > 5.0.0-0.7.fc22 libstdc++ 4.9.2-5.fc22 > 5.0.0-0.7.fc22 libstdc++-devel 4.9.2-5.fc22 > 5.0.0-0.7.fc22 libblkid 2.26-0.2.fc22 > 2.26-0.3.fc22 libuuid 2.26-0.2.fc22 > 2.26-0.3.fc22 libfdisk 2.26-0.2.fc22 > 2.26-0.3.fc22 libgomp 4.9.2-5.fc22 > 5.0.0-0.7.fc22 libmount 2.26-0.2.fc22 > 2.26-0.3.fc22 libsmartcols 2.26-0.2.fc22 > 2.26-0.3.fc22 isl > 0.14-3.fc22 cpp 4.9.2-5.fc22 > 5.0.0-0.7.fc22 util-linux 2.26-0.2.fc22 > 2.26-0.3.fc22 gcc-c++ 4.9.2-5.fc22 > 5.0.0-0.7.fc22 gcc 4.9.2-5.fc22 > 5.0.0-0.7.fc22