Bug 804319 - FTBFS: error: stray '#' in program (In function 'g_spawn_error_get_type)
Summary: FTBFS: error: stray '#' in program (In function 'g_spawn_error_get_type)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-glib2
Version: 17
Hardware: powerpc
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/ruby-gnome2/ruby-g...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-17 19:44 UTC by Karsten Hopp
Modified: 2012-04-12 03:14 UTC (History)
1 user (show)

Fixed In Version: rubygem-glib2-1.1.2-5.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-12 03:14:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
mkmf.log (47.55 KB, text/x-log)
2012-03-18 14:38 UTC, Karsten Hopp
no flags Details
glib-enum-types.h (5.88 KB, text/x-chdr)
2012-03-18 14:39 UTC, Karsten Hopp
no flags Details
glib-enum-types.c (51.81 KB, text/x-csrc)
2012-03-18 14:39 UTC, Karsten Hopp
no flags Details
Makefile (9.42 KB, application/octet-stream)
2012-03-18 14:40 UTC, Karsten Hopp
no flags Details

Description Karsten Hopp 2012-03-17 19:44:12 UTC
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:

Comment 1 Karsten Hopp 2012-03-17 19:45:12 UTC
same error with rubygem-glib2-1.1.2-3.fc17

http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=447193

Comment 2 Mamoru TASAKA 2012-03-18 03:35:19 UTC
Please attach generated
* mkmf.log
* glib-enum-types.h
* glib-enum-types.c
* Makefile
under ext/glib2 .

Comment 3 Karsten Hopp 2012-03-18 14:38:33 UTC
Created attachment 570895 [details]
mkmf.log

Comment 4 Karsten Hopp 2012-03-18 14:39:29 UTC
Created attachment 570896 [details]
glib-enum-types.h

Comment 5 Karsten Hopp 2012-03-18 14:39:55 UTC
Created attachment 570897 [details]
glib-enum-types.c

Comment 6 Karsten Hopp 2012-03-18 14:40:25 UTC
Created attachment 570902 [details]
Makefile

Comment 7 Karsten Hopp 2012-03-18 14:43:44 UTC
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

Comment 8 Mamoru TASAKA 2012-03-19 05:09:19 UTC
Changed: ppc only -> All

Comment 9 Mamoru TASAKA 2012-03-26 06:25:33 UTC
(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.

Comment 10 Fedora Update System 2012-03-27 04:59:04 UTC
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

Comment 12 Fedora Update System 2012-03-28 06:00:42 UTC
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).

Comment 13 Fedora Update System 2012-04-12 03:14:50 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.