Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xgamer is broken with Gtk2.pm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Sun Jun 10, 2012 7:00 pm    Post subject: xgamer is broken with Gtk2.pm Reply with quote

In a nutshell, xgamer has stopped working.
This is the case for stable and unstable.
When I try to launch the game from console I get a
Code:
Gtk-WARNING :** Can not open display at /usr/lib/perl5/vendor-perl/5.12.4/i686-linux/Gtk2.pm line 138.

So I guessed this may have something to do with me upgrading to the latest unstable perl (5.12.4-r2)
So I downgraded perl back to the stable 5.12.4-r1, then ran
Code:
perl-cleaner all

This did not fix it.
I did notice the following when I ran perl-cleaner:
Code:
Beginning a clean up of .ph files
 * Excluding files for 5.12.4 and 5.12.4/i686-linux from cleaning

Exclude?
Is the clue in Gtk2.pm ?
So I re-emerged gtk2-perl-1.244.0 (unstable)
Still broken.
So I pulled back gtk2-perl to stable (1.242.0) and now I get:
Code:
GLib-GObject-WARNING **: cannot register existing type `GConnectFlags' at /usr/lib/perl5/5.12.4/i686-linux/DynaLoader.pm line 223.

The "Gtk2.pm" leads me to believe it is a perl module, and I have run the perl-cleaner --allmodules command and that has still not fixed it.
Running a stable perl and stable xgamer and it's all broken. Does not compute. Any ideas?
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Mon Jul 02, 2012 10:37 pm    Post subject: Reply with quote

I noticed this when trying to rebuild xgamer.

Code:
*UsingModule::Build                                                                                                                                           
* perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/games-util/xgamer-0.3.0/image/ --create_packlist=0                                   
GLib-GObject-WARNING **: cannot register existing type `GConnectFlags' at /usr/lib/perl5/5.16.0/i686-linux/DynaLoader.pm line 213.                             
ERROR: Missing required field 'dist_abstract' for metafile                                                                                                     
Can't find dist packages without a MANIFEST file                                                                                                               
Run 'Build manifest' to generate one.                                                                                                                                                                                                                       
WARNING: Possible missing or corrupt 'MANIFEST' file.                                                                                                           
Nothing to enter for 'provides' field in metafile.                                                                                                             
Could not get valid metadata. Error is: Invalid metadata structure. Errors: Missing mandatory field, 'abstract' (abstract) [Validation: 1.4], value is
an undefined string (abstract) [Validation: 1.4] at /usr/lib/perl5/vendor_perl/5.16.0/Module/Build/Base.pm line 4571.
Could not create MYMETA files                                                                                                                                   
Creating new 'Build' script for 'App-XGamer' version '0.3.0'

Is it possible xgamer is just not going to play ball with this version of perl?

Is anybody actually using xgamer successfully?
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 572
Location: Scotland

PostPosted: Tue Jul 03, 2012 10:11 pm    Post subject: Reply with quote

Feels like I'm talking to myself here. lol.
I found this in the xgamer ebuild.
Code:
">=dev-lang/perl-5.8
   >=x11-libs/gtk+-2.16:2
   >=dev-perl/gtk2-perl-1.120
   >=x11-wm/openbox-3.0.0
   virtual/perl-File-Spec
   dev-perl/File-BaseDir
   dev-perl/XML-Simple
   dev-perl/glib-perl
   x11-misc/numlockx
   media-gfx/feh"

When I check perl-File-Spec, I see I have the latest unstable installed. But when I call the stable version I see...
Code:
Thistled@pig ~ $ sudo emerge =virtual/perl-File-Spec-3.31
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "~dev-lang/perl-5.12.1".
(dependency required by "virtual/perl-File-Spec-3.31" [ebuild])
(dependency required by "=virtual/perl-File-Spec-3.31" [argument])

Obviously there is no dev-lang/perl-5.12.1 in the tree
So does this mean xgamer will not work unless I can get my hands on perl-5.12.1
Should I file a bug?
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum