Description of problem: A rebuild on PPC aborts with this error: glib-enum-types.c: In function 'g_spawn_error_get_type': glib-enum-types.c:452:7: error: stray '#' in program glib-enum-types.c:452:10: error: 'ifndef' undeclared (first use in this function) glib-enum-types.c:452:10: note: each undeclared identifier is reported only once for each function it appears in glib-enum-types.c:454:7: error: stray '#' in program glib-enum-types.c:454:10: error: 'endif' undeclared (first use in this function) make: *** [glib-enum-types.o] Error 1 Version-Release number of selected component (if applicable): rubygem-glib2-1.1.2-2.fc17 How reproducible: Always Steps to Reproduce: 1. ppc-koji build --scratch f17 rubygem-glib2-1.1.2-2.fc17.scr.rpm 2. 3. Actual results: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=447174 Expected results: Additional info:
same error with rubygem-glib2-1.1.2-3.fc17 http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=447193
Please attach generated * mkmf.log * glib-enum-types.h * glib-enum-types.c * Makefile under ext/glib2 .
Created attachment 570895 [details] mkmf.log
Created attachment 570896 [details] glib-enum-types.h
Created attachment 570897 [details] glib-enum-types.c
Created attachment 570902 [details] Makefile
These files are from a rubygem-glib2-1.1.2-3.fc17 build with different line numbers in the error message: glib-enum-types.c: In Funktion »g_spawn_error_get_type«: glib-enum-types.c:604:7: Fehler: verirrtes »#« im Programm glib-enum-types.c:604:10: Fehler: »ifndef« nicht deklariert (erste Benutzung in dieser Funktion) glib-enum-types.c:604:10: Anmerkung: jeder nicht deklarierte Bezeichner wird nur einmal für jede Funktion, in der er vorkommt, gemeldet glib-enum-types.c:606:7: Fehler: verirrtes »#« im Programm glib-enum-types.c:606:10: Fehler: »endif« nicht deklariert (erste Benutzung in dieser Funktion) make: *** [glib-enum-types.o] Fehler 1
Changed: ppc only -> All
(In reply to comment #7) > These files are from a rubygem-glib2-1.1.2-3.fc17 build with different line > numbers in the error message: > This issue got fixed with -4, however now fails on %check, seemingly due to ppc/ppc64 (and perhaps endianness) issue.
rubygem-glib2-1.1.2-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/rubygem-glib2-1.1.2-5.fc17
ref: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=466848
Package rubygem-glib2-1.1.2-5.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rubygem-glib2-1.1.2-5.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-4822/rubygem-glib2-1.1.2-5.fc17 then log in and leave karma (feedback).
rubygem-glib2-1.1.2-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.