View previous topic :: View next topic |
Author |
Message |
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Sun Jun 10, 2012 7:00 pm Post subject: xgamer is broken with Gtk2.pm |
|
|
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
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 |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Mon Jul 02, 2012 10:37 pm Post subject: |
|
|
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 |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Jul 03, 2012 10:11 pm Post subject: |
|
|
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 |
|
|
|