Re: [Gtk-osx-users] Failure while building gtk+



On Sep 14, 2010, at 5:54 PM, Phillip Heller wrote:

> 
> On Sep 14, 2010, at 4:50 PM, John Ralls wrote:
> 
>> 
>> On Sep 13, 2010, at 10:41 PM, John Ralls wrote:
>>> 
>>> Yes, it looks like the gtk-introspection patch is still screwed up. I'll have to work on it tomorrow.
>> 
>> The new patch is pushed and tested successfully on my machine.
>> 
>> There are two ways you can apply it: The easy way is to  delete the source directory and re-run jhbuild build (if you've left that window at the error prompt from jhbuild, you can just select option 6). The somewhat more difficult way is to cd to to gtk+ source directory, reverse gtk-introspection.patch (you'll find it in ~/.cache/jhbuild), retrieve the new patch from github and apply it, then rebuild. If that doesn't make sense to you without more explanation, just do the delete-and-rebuild.
> 
> John,
> 
>  Thanks for that, I've now gotten through the gtk+ build no problem.
> 
> However, I've encountered another new failure (which I didn't see on the same build on the laptop a few weeks back...), in pygobject:
> 
> bank-argument.c: In function 'pyg_argument_from_pyobject':
> bank-argument.c:46: error: 'GI_TYPE_TAG_UINT' undeclared (first use in this function)
> bank-argument.c:46: error: (Each undeclared identifier is reported only once
> bank-argument.c:46: error: for each function it appears in.)
> bank-argument.c:66: error: 'GI_TYPE_TAG_INT_WAS_REMOVED' undeclared (first use in this function)
> bank-argument.c:69: error: 'GI_TYPE_TAG_LONG_WAS_REMOVED' undeclared (first use in this function)
> bank-argument.c:72: error: 'GI_TYPE_TAG_ULONG' undeclared (first use in this function)
> bank-argument.c: In function 'pyarray_to_pyobject':
> bank-argument.c:187: error: 'GI_TYPE_TAG_INT_WAS_REMOVED' undeclared (first use in this function)
> bank-argument.c: In function 'pyg_argument_to_pyobject':
> bank-argument.c:251: error: 'GI_TYPE_TAG_UINT' undeclared (first use in this function)
> bank-argument.c:263: error: 'GI_TYPE_TAG_INT_WAS_REMOVED' undeclared (first use in this function)
> bank-argument.c:266: error: 'GI_TYPE_TAG_LONG_WAS_REMOVED' undeclared (first use in this function)
> bank-argument.c:269: error: 'GI_TYPE_TAG_ULONG' undeclared (first use in this function)
> make[2]: *** [repo_la-bank-argument.lo] Error 1
> 
> A cursory google of this error reveals it might be related to gobject-introspection, which does successfully build with jhbuild.
> 
> Thoughts?
> 
> Thanks again for the help!

Hmm. I just built meta-gtk-osx-python and it went through without error. Maybe you need to blow away your source directories and start fresh.

OTOH, what arch are you building? I built i386 with SDK10.5.

Regards,
John Ralls



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]