Subject: Re: packages depending on latest gtk2 crash on Darwin
To: Matthias Scheler <tron@zhadum.org.uk>
From: Mark E. Perkins <perkinsm@bway.net>
List: pkgsrc-users
Date: 01/13/2007 13:08:49
On 2007/01/13 12:10, Matthias Scheler wrote:
> On Sat, Jan 13, 2007 at 11:53:11AM -0500, Mark E. Perkins wrote:
>> of which were also updated today) crash on start (oddly, wireshark does not
>> crash). The error printed is just "Bus error". The top lines that may be
>> useful from the crash log are:
>>
>> OS Version: 10.4.8 (Build 8L127)
>> Report Version: 4
>
> What architecture? Intel or Powerpc?
PowerPC (iMac G5).
>
> XChat linked against GTK+ built from recent pkgsrc works fine on my
> Power Mac G5.
I just built xchat-2.6.8 and it crashes, as well. How recent is your gtk2+?
I have:
# $NetBSD: Makefile,v 1.135 2007/01/10 18:03:51 drochner Exp $
DISTNAME= gtk+-2.10.7
PKGREVISION= 1
>
>> Any clues as to what might be the source of the problem?
>
> Which version of GCC is installed? Old versions of GCC distributed by
> Apple (especially 4.0, they now use 4.0.1) had serious bugs. You can
> download a new version of GCC from Apple as part of Xcode tools here:
>
> http://developer.apple.com/tools/xcode/
>
> Kind regards
-> gcc --version
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5250)
I've had no problems with this gcc up until this gtk2 problem (e.g., no
problems with this gcc and earlier versions of gtk2).
My pkgsrc is on a disk image that I back up regularly (e.g., before starting
pkg updates). So I went back to the image from before this gtk2 update, built
the latest gqview (against gtk2+-2.10.6), and it runs fine.
Thanks,
Mark