http://bugzilla.novell.com/show_bug.cgi?id=545348 Summary: glchess: 3d view can not be enabled Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: dominique.leuenberger@tmf-group.com QAContact: qa@suse.de Found By: --- Created an attachment (id=321654) --> (http://bugzilla.novell.com/attachment.cgi?id=321654) strace of a simple 'import only' python script. Problem seems only to appear on x86_64 When trying to enable 3D view in glchess, you get a message that python-gtkglext is not installed, even though the package is installed. Also, this fails:
python Python 2.6.2 (r262:71600, Sep 24 2009, 06:20:21) [GCC 4.4.1 [gcc-4_4-branch revision 150839]] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import gtk.gtkgl Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named gtkgl
wheras on a i586 machine, this works. An strace shows python tries to find all the files in /usr/lib64, rpm -ql python-gtkglext shows that the python parts are all in /usr/lib/pythin[,,,] and only some binaries are in /usr/lib64/[...] this appears very inconsistent.
an strace attached.
-- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User prusnak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c1 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmatejek@novell.com, | |vuntz@novell.com --- Comment #1 from Pavol Rusnak <prusnak@novell.com> 2009-10-08 16:30:11 CEST --- If I'm correct python should be able to collect files from both /usr/lib and /usr/lib64 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c2 --- Comment #2 from Jan Matejek <jmatejek@novell.com> 2009-10-08 08:38:57 MDT --- truth but not the complete truth ;) this is a bug in python-gtkglext package. generally speaking, all files of a package should be -either- in /usr/lib -or- in /usr/lib64, not both. gtkglext breaks this rule. in this specific case, pygtk installs itself into %python_sitearch/gtk-2.0, which is not on search path (python doesn't recurse automatically), and installs a .pth file into %python_sitearch that adds the gtk-2.0 subdir to the search path. gtkglext installs half of itself into %python_sitelib/gtk-2.0 instead of %python_sitearch. which is a) wrong and b) broken because %python_sitelib/gtk-2.0 is not in the search path, as mentioned above -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c3 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Jan Matejek <jmatejek@novell.com> 2009-10-08 09:06:05 MDT --- fixed by sr22096 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User vuntz@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c4 --- Comment #4 from Vincent Untz <vuntz@novell.com> 2009-10-08 09:23:06 MDT --- Just wondering: did you send the patch upstream? Or should we do it? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c5 --- Comment #5 from Jan Matejek <jmatejek@novell.com> 2009-10-08 09:25:50 MDT --- I didn't, we definitely should. If by "we" you mean the gnome maintainers, or if you're in touch with the upstream, then by all means go ahead ;) otherwise i'll have to do it myself. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User prusnak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c6 --- Comment #6 from Pavol Rusnak <prusnak@novell.com> 2009-10-08 17:26:23 CEST --- I thought that package can combine both locations, that's how I meant my comment #1, but it seems I was wrong - Fedora fixes pygtkglext too: http://cvs.fedoraproject.org/viewvc/devel/pygtkglext/pygtkglext.spec?view=ma... I'm sure that I've seen other packages that do that in D:L:P :-/ I will go through all packages in D:L:P + Factory and check ... -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c7 --- Comment #7 from Jan Matejek <jmatejek@novell.com> 2009-10-08 09:30:18 MDT --- (In reply to comment #6)
I will go through all packages in D:L:P + Factory and check ...
thank you. meanwhile i'm looking into writing a rpmlint check for this. i'll also post an instructional mail to packaging -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User prusnak@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c8 --- Comment #8 from Pavol Rusnak <prusnak@novell.com> 2009-10-08 17:57:11 CEST --- It seems that all packages in D:L:P are OK. Unfortunately I was unable to check packages that use --record-rpm=INSTALLED_FILES in their spec files. RPMlint for it has its meaning :-) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=545348 User jmatejek@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=545348#c9 --- Comment #9 from Jan Matejek <jmatejek@novell.com> 2009-10-08 10:00:14 MDT --- vast majority of distutils (record-rpm) based packages is never going to hit this, because distutils know how to install correctly. of course, there is always the possibility that somebody does something weird (wxGTK, egenix-mx-base) to break them ;) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com