unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12332: 24.2.50; forgetting --without-gconf leads to crash at launch
@ 2012-09-02  9:46 Peter Dyballa
  2012-09-02 11:17 ` Jan Djärv
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2012-09-02  9:46 UTC (permalink / raw)
  To: 12332

Hello!

Having configured as

In GNU Emacs 24.2.50.1 (i386-apple-darwin10.8.0, X toolkit, Xaw3d scroll bars)
 of 2012-09-02 on Sumac.local
Bzr revision: 109853 eggert@cs.ucla.edu-20120902071010-fd19rvrjk5hqaro2
Configured using:
 `configure '--build=x86_64-apple-darwin10.8.0'
 '--host=i386-apple-darwin10.8.0' '--target=i386-apple-darwin10.8.0'
 '--with-wide-int' '--without-pop' '--without-sound' '--without-gpm'
 '--without-dbus' '--without-selinux' '--with-x-toolkit=athena'
 '--disable-ns-self-contained' '--without-xpm' '--without-jpeg'
 '--without-tiff' '--without-gif' '--without-png' '--without-rsvg'
 '--x-libraries=/usr/X11/lib' '--x-includes=/usr/X11/include'
 '--enable-locallisppath=/Library/Application
 Support/Emacs/calendar24:/Library/Application Support/Emacs' 'CFLAGS=-g
 -H -pipe -fPIC -fno-common -O0 -march=prescott -mtune=prescott -m32
 -fomit-frame-pointer -msse3 -foptimize-register-move -ftree-vectorize'
 'CPPFLAGS=-I/sw/include' 'LDFLAGS=-L/sw/lib -m32 -Wl,-dead_strip_dylibs
 -Wl,-bind_at_load -Wl,-t' 'CC=gcc-4.2' 'CXX=g++-4.2'
 'PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/share/pkgconfig:/sw/lib/pkgconfig:/usr/X11/lib\
/pkgconfig:/usr/X11/share/pkgconfig:/usr/lib/pkgconfig'
 'build_alias=x86_64-apple-darwin10.8.0'
 'host_alias=i386-apple-darwin10.8.0'
 'target_alias=i386-apple-darwin10.8.0''

GNU Emacs uses

	/sw/lib/fontconfig2/lib/libfontconfig.1.dylib (compatibility version 8.0.0, current version 8.2.0)
	/sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 16.0.0, current version 16.0.0)
	/sw/lib/gnutls28/libgnutls.28.dylib (compatibility version 36.0.0, current version 36.1.0)
	/sw/lib/libMagickCore.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/sw/lib/libMagickWand.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/sw/lib/libXaw3d.8.dylib (compatibility version 9.0.0, current version 9.1.0)
	•/sw/lib/libgconf-2.4.dylib (compatibility version 6.0.0, current version 6.5.0)
	•/sw/lib/libglib-2.0.0.dylib (compatibility version 2201.0.0, current version 2201.4.0)
	/sw/lib/libm17n-core.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/libm17n-flt.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/libotf.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/sw/lib/libxml2.2.dylib (compatibility version 11.0.0, current version 11.0.0)
	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/xft2/lib/libXft.2.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)

but fails to launch:

 src/emacs

(process:83853): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use g_type_init() prior to this function

(process:83853): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(process:83853): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
Fatal error (10)Bus error (core dumped)
Exit 138


On Mac OS X 10.6.8. Using --without-gconf a working GNU Emacs is built:

	/sw/lib/fontconfig2/lib/libfontconfig.1.dylib (compatibility version 8.0.0, current version 8.2.0)
	/sw/lib/freetype219/lib/libfreetype.6.dylib (compatibility version 16.0.0, current version 16.0.0)
	/sw/lib/gnutls28/libgnutls.28.dylib (compatibility version 36.0.0, current version 36.1.0)
	/sw/lib/libMagickCore.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/sw/lib/libMagickWand.5.dylib (compatibility version 6.0.0, current version 6.0.0)
	/sw/lib/libXaw3d.8.dylib (compatibility version 9.0.0, current version 9.1.0)
	/sw/lib/libm17n-core.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/libm17n-flt.0.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/libotf.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/sw/lib/libxml2.2.dylib (compatibility version 11.0.0, current version 11.0.0)
	/sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, current version 5.0.0)
	/sw/lib/xft2/lib/libXft.2.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXmu.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)


--
Greetings

  Pete

"Debugging? Klingons do not debug. Our software does not coddle the weak."






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12332: 24.2.50; forgetting --without-gconf leads to crash at launch
  2012-09-02  9:46 bug#12332: 24.2.50; forgetting --without-gconf leads to crash at launch Peter Dyballa
@ 2012-09-02 11:17 ` Jan Djärv
  2012-09-02 17:50   ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Djärv @ 2012-09-02 11:17 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 12332-done

Hello.

2012-09-02 11:46, Peter Dyballa skrev:

>   src/emacs
>
> (process:83853): GLib-GObject-CRITICAL **: gtype.c:2458: initialization assertion failed, use g_type_init() prior to this function
>
> (process:83853): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed
>
> (process:83853): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
> Fatal error (10)Bus error (core dumped)
> Exit 138
>
>

Fixed in trunk.  GConf uses Gobject (where g_type_init is), but does not list 
it as a link time dependency, it apparently is linked in at runtime.  Thus, 
configure for Emacs does not find g_type_init and does not call it.

	Jan D.







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12332: 24.2.50; forgetting --without-gconf leads to crash at launch
  2012-09-02 11:17 ` Jan Djärv
@ 2012-09-02 17:50   ` Peter Dyballa
  2012-09-02 18:48     ` Jan D.
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2012-09-02 17:50 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 12332-done


Am 02.09.2012 um 13:17 schrieb Jan Djärv:

> GConf uses Gobject (where g_type_init is), but does not list it as a link time dependency, it apparently is linked in at runtime.  Thus, configure for Emacs does not find g_type_init and does not call it.

I simply thought: Why is configure checking something really not related with Athena?

--
Greetings

  Pete


"Evolution"            o           __o                     _o _
          °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12332: 24.2.50; forgetting --without-gconf leads to crash at launch
  2012-09-02 17:50   ` Peter Dyballa
@ 2012-09-02 18:48     ` Jan D.
  2012-09-02 19:16       ` Peter Dyballa
  0 siblings, 1 reply; 6+ messages in thread
From: Jan D. @ 2012-09-02 18:48 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 12332-done

Peter Dyballa skrev 2012-09-02 19:50:
>
> Am 02.09.2012 um 13:17 schrieb Jan Djärv:
>
>> GConf uses Gobject (where g_type_init is), but does not list it as a link time dependency, it apparently is linked in at runtime.  Thus, configure for Emacs does not find g_type_init and does not call it.
>
> I simply thought: Why is configure checking something really not related with Athena?
>

I don't understand the question.  You can link in for example dbus or 
libxml, both which doesn't have anything to do with Athena.  But in both 
cases we must check for them.
The text font for Emacs is taken from GConf if available (but Xsettings 
is preferred), so we must check for that.  Not all optional libraries in 
Emacs are related to the toolkit used.

	Jan D.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12332: 24.2.50; forgetting --without-gconf leads to crash at launch
  2012-09-02 18:48     ` Jan D.
@ 2012-09-02 19:16       ` Peter Dyballa
  2012-09-02 20:09         ` Jan Djärv
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Dyballa @ 2012-09-02 19:16 UTC (permalink / raw)
  To: Jan D.; +Cc: 12332-done


Am 02.09.2012 um 20:48 schrieb Jan D.:

> I don't understand the question.  You can link in for example dbus or libxml, both which doesn't have anything to do with Athena.  But in both cases we must check for them.
> The text font for Emacs is taken from GConf if available (but Xsettings is preferred), so we must check for that.  Not all optional libraries in Emacs are related to the toolkit used.

For me GConf is related to GTK ("Gnome configuration database system" is the working title Fink gives it), so I don't understand why it's not being left out by configure since it knows that I'm not wanting to use GNOME/GTK. 

--
Greetings

  Pete

Clovis' Consideration of an Atmospheric Anomaly:
        The perversity of nature is nowhere better demonstrated than by the fact that, when exposed to the same atmosphere, bread becomes hard while crackers become soft






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12332: 24.2.50; forgetting --without-gconf leads to crash at launch
  2012-09-02 19:16       ` Peter Dyballa
@ 2012-09-02 20:09         ` Jan Djärv
  0 siblings, 0 replies; 6+ messages in thread
From: Jan Djärv @ 2012-09-02 20:09 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 12332-done

Hello.

> 
> For me GConf is related to GTK ("Gnome configuration database system" is the working title Fink gives it), so I don't understand why it's not being left out by configure since it knows that I'm not wanting to use GNOME/GTK. 

Configure can't read minds, it can not possiby know that you not now or in the future will use Gnome.  Gnome is a desktop and you don't need Gtk+ ti interact with it.

	Jan D.







^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-09-02 20:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-02  9:46 bug#12332: 24.2.50; forgetting --without-gconf leads to crash at launch Peter Dyballa
2012-09-02 11:17 ` Jan Djärv
2012-09-02 17:50   ` Peter Dyballa
2012-09-02 18:48     ` Jan D.
2012-09-02 19:16       ` Peter Dyballa
2012-09-02 20:09         ` Jan Djärv

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).