Description of problem: /usr/include/ObjectiveC2/blocks_runtime.h includes "ObjectiveC2/Availability.h" which is not provided in gnustep-base-devel nor in any other package. Version-Release number of selected component (if applicable): gnustep-base-devel-1.22.0-2.fc15.x86_64 How reproducible: Always. Steps to Reproduce: 1. compile a program that includes ObjectiveC2/blocks_runtime.h 2. see error: /usr/include/objc/blocks_runtime.h:5:10: fatal error: 'ObjectiveC2/Availability.h' file not found #include "ObjectiveC2/Availability.h" 3. see "No Matches found" from sudo yum whatprovides '*/Availability.h' Actual results: program does not compile, showing error from step 2 above. Expected results: program can compile. Additional info: Am trying to compile EtoileText which is in revision 7175 of svn co svn://svn.gna.org//etoile/trunk I have sourced /usr/lib64/GNUstep/Makefiles/GNUstep.sh The code includes "objc/blocks_runtime.h", and I did ln -s /usr/include/ObjectiveC2 /usr/include/objc, hence the odd location given in the error message. $ rpm -ql gnustep-base-devel-1.22.0-2.fc15.x86_64 | grep /include/ObjectiveC /usr/include/ObjectiveC2 /usr/include/ObjectiveC2/blocks_runtime.h $ grep -C1 Availability /usr/include/ObjectiveC2/blocks_runtime.h #include "ObjectiveC2/Availability.h" #ifdef __cplusplus
http://svn.gna.org/svn/gnustep/libs/base/trunk/Headers/ObjectiveC2/Availability.h shows a file with all code commented out. Touching a file /usr/include/ObjectiveC2/Availability.h works around the problem. The proper solution is to either: provide a file /usr/include/ObjectiveC2/Availability.h (with all code commented out? Why?) Or perhaps simply remove the line #include "ObjectiveC2/Availability.h" from /usr/include/ObjectiveC2/blocks_runtime.h.
Another problem with the same file: In file included from /usr/include/GNUstepBase/GSVersionMacros.h:287: /usr/include/objc/blocks_runtime.h:14:51: error: expected function body after function declarator BLOCKS_EXPORT const char *_Block_get_types(void*) OBJC_NONPORTABLE; $ rpm -ql gnustep-base-devel-1.22.0-2.fc15.x86_64 | xargs grep OBJC_NONPORTABLE/usr/include/ObjectiveC2/blocks_runtime.h:BLOCKS_EXPORT const char *_Block_get_types(void*) OBJC_NONPORTABLE;
In the copy/paste in https://bugzilla.redhat.com/show_bug.cgi?id=728744#c2, a newline is missing from the grep; the grep is for OBJC_NONPORTABLE;what comes after is output that belongs on the next line. Looks like a build regression test could help prevent these bugs.
This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping