Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20809 (galaxy) - Phoenix-bin crashes on start up with an error that it cannot load libgtk1.2.0.so.0
Summary: Phoenix-bin crashes on start up with an error that it cannot load libgtk1.2.0...
Status: RESOLVED FIXED
Alias: galaxy
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-11 15:18 UTC by Stuart Still
Modified: 2003-12-12 23:07 UTC (History)
0 users

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 Stuart Still 2003-05-11 15:18:45 UTC
With "gtk2" in the USE flags, phoenix-bin installs gtk2.2.0, however, it won't
run, giving an error about the lack of libgtk1.2.0.so.0.  Emerging gtk1.2.0
explicitly solves the problem.

Reproducible: Always
Steps to Reproduce:
1. Emerge phoenix-bin when gtk1.2.0 is not installed.
2. Run phoenix-bin

Actual Results:  
Error: libgtk1.2.0.so.0 is missing

Expected Results:  
Phoenix web browser should have appeared on screen.

I suspect this should be changed:

RDEPEND=">=sys-libs/lib-compat-1.0-r2
        ( gtk2? >=x11-libs/gtk+-2.0.8 :
                        =x11-libs/gtk+-1.2* )
         virtual/x11
         !net-www/phoenix-cvs"


To read:

RDEPEND=">=sys-libs/lib-compat-1.0-r2
         =x11-libs/gtk+-1.2* 
         virtual/x11
         !net-www/phoenix-cvs"
Comment 1 George Shapovalov (RETIRED) gentoo-dev 2003-05-12 18:56:35 UTC
Hi Stuart.

Thanks for spotting this!
Fixed. Please test.
Please note, phoenix-bin has been moved to install under /opt, as it should have from the beginning.

George
Comment 2 Stuart Still 2003-05-13 14:21:39 UTC
George,

To test, I unmerged gtk+, which removed gtk+-2.0.8-r1 and gtk+-1.2.0-r8.  Then, with my USE flags set to USE="gtk2 -gtk" I did 'emerge phoenix-bin'.  That emerged gtk+-2.2.1-r1, and then phoenix-bin.  The end result was that gtk+-2.2.1-r1 was installed, and no version og gtk+-1 was installed.  Phoenix therefore couldn't start, as it is compiled against gtk+-1.2

The RDEPEND still lists:
( gtk2? >=x11-libs/gtk+-2.0.8 :
                        =x11-libs/gtk+-1.2* )

So, it seems that if gtk2 is in USE flags, then it depends upon gtk+-2.0.8, when it should be depending upon gtk+-1.2.  Therefore, I think it should be:

RDEPEND=">=sys-libs/lib-compat-1.0-r2
         =x11-libs/gtk+-1.2* 
         virtual/x11
         !net-www/phoenix-cvs"

Hopefully, I did all that testing with the correct ebuild :)

Stuart
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2003-05-13 18:12:07 UTC
Hi Stuart.

Oops, sorry. looks like my fix to DEPEND, which I did on all versions got undone by further fixups to plugin handling in the -r1 (the version in stable is Ok from what I see).
Added the fix back, Please test.

George

PS
Could you please reopen the bug if you report any trouble and the bug is in TEST-REQUEST? This makes my searching for the bug a bit easier ;).
Comment 4 Stuart Still 2003-05-13 18:57:51 UTC
Thats it sorted now.  Sorry for not reopening the bug, not really too familiar with bugzilla :)

Anyway, hopefully it will all be in vane, cause firebird 0.6 is on its way real soon according to the firebird homepage.  I hope you gentoo devs have got a shiny new mozilla-firebird ebuild on the way :)

Stu
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2003-12-12 23:07:36 UTC
reclosing the bug