Bug 30601

Summary: build failure with gobject-introspection 0.9.10.
Product: PackageKit Reporter: Koop Mast <kwm>
Component: GeneralAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
i915 platform: i915 features:

Description Koop Mast 2010-10-04 13:03:04 UTC
Packagekit 0.6.7. Gobject-introspection 0.9.10. Builds fine with g-i 0.9.8.

  GISCAN PackageKitGlib-1.0.gir
/usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{'
/usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';'
Namespace is empty; likely causes are:
* Not including .h files to be scanned
* Broken --identifier-prefix

gmake[4]: *** [PackageKitGlib-1.0.gir] Error 1
gmake[4]: Leaving directory `/usr/home/kwm/cvs/marcus/ports/ports-mgmt/packagekit/work/PackageKit-0.6.7/lib/packagekit-glib2'
Comment 1 Richard Hughes 2010-10-05 00:38:58 UTC
You need to use the recently released 0.6.8 if you want new introspection support.
Comment 2 Koop Mast 2010-10-05 01:24:04 UTC
0.6.8 also fails to build but, did you mean 0.6.9? Because with that release the introspection stuff builds again.

Thanks!
Comment 3 Richard Hughes 2010-10-05 02:59:00 UTC
Yes, sorry, I meant 0.6.9.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.