Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2827 - multi-gnome-terminal 1.4.0 doesn't build in Gentoo. Got a Fix anyway.
Summary: multi-gnome-terminal 1.4.0 doesn't build in Gentoo. Got a Fix anyway.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-18 10:44 UTC by Gabriele Giorgetti
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriele Giorgetti 2002-05-18 10:44:00 UTC
multi-gnome-terminal fails to compile with the version of gettext that is
currently in gentoo ( gettext (GNU gettext) 0.11.1 ) so i had to disable adding 
--without-gettext to this line of the ebuild:

line 26: use nls     || myconf=--disable-nls --without-gettext

But once it get compiled and installed it just Segfault when is executed 
(that is happening to other People too, I've asked int the #gentoo chan.)

The segfault message:
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkCheckMenuItem'
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-19 06:11:40 UTC
I always build with nls support .. dont ask why ;)  So havent caught this.

However, it does segfault for me if I dont run it as my user, but as root or
a test user.  So I guess the newer versions need some or other config file or
env variable to be present, or it crash ... ill have a look into what it could
be.
Comment 2 Gabriele Giorgetti 2002-05-19 07:23:12 UTC
Hi I got in touch with the multi-gnome-terminal author that is also Italian ( so
I don't have an hard time trying to explain myslef in engl. :) )

And well, I've compiled the CVS version in Gentoo and it works just fine.

He will soon release a new version, 1.5.and something (that is actually the CVS
snapshot I compiled on Gentoo).

So well all the gettext and the segfault probl. will be there no longer.

I'll update your ebuild If I get that new version before you :)

Cheers.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-19 11:35:45 UTC
Seems like we had the same idea ;)

Anyhow, this is my mail to him, which seems its not really a gettext problem.
Or rather, the segfault is not.

----------------------snip--------------------------------
It seems there is a problem with mgt-1.4.0 or mgt-1.4.1
if ~/.gnome/MultiTerminal do not exist.  It will crash
if none is found, or if it do not contain some or other
settings.

nosferatu .gnome # cp Terminal MultiTerminal     
nosferatu .gnome # multi-gnome-terminal 
nosferatu .gnome # rm MultiTerminal
nosferatu .gnome # multi-gnome-terminal 

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkCheckMenuItem'
nosferatu .gnome # 
nosferatu .gnome # touch MultiTerminal     
nosferatu .gnome # multi-gnome-terminal 

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkCheckMenuItem'
nosferatu .gnome # 
-----------------------------------snip--------------------------------
Comment 4 Gabriele Giorgetti 2002-05-20 01:52:13 UTC
Ok, I've talked a bit with the multi-gnome-terminal author on IRC, and well, he
said is going to release soon a 1.5.0 version.

Of course this version works just fine, as I compiled it (from CVS) and tested
it  , the segfault does not happen anymore as I already said.

Should we wait for that day to close this bug :) ?

Cheers.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-05-20 16:02:50 UTC
I think it will be best.  Also tried 1.4.1, but same issues.
Comment 6 Bob Phan 2002-05-30 10:17:19 UTC
Should version 1.4.0 and higher be masked?

Currently 1.3.13 works fine for me, but update world wants 1.4.0 which of
course, does not work.  I've manually masked it, but that's a pain.

Just wondering.
Comment 7 Gabriele Giorgetti 2002-05-30 10:26:45 UTC
Yeah I think that version >= 1.4.0 should be masked.

This of course untill the MGT version 1.5.0 will be out and tested in gentoo.

Martin what do you think ?

-- stroke
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-06-10 13:52:00 UTC
Ok, this one should be fixed with 1.5.0_rc* in portage.