[Bug 473124] New: Python wrong ELF class
https://bugzilla.novell.com/show_bug.cgi?id=473124 Summary: Python wrong ELF class Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Critical Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gassauer@kde.org QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/4.2; Linux) KHTML/4.2.0 (like Gecko) SUSE importing functools throws an error IMHO after an update of today. the function worked till about 21:00 20090205 python Python 2.6 (r26:66714, Feb 3 2009, 20:49:49) [GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import functools Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.6/functools.py", line 10, in <module> from _functools import partial, reduce ImportError: /usr/lib64/python2.6/lib-dynload/_functools.so: wrong ELF class: ELFCLASS32
Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
rpm -qa | grep -i python|sort apache2-mod_python-3.3.1-147.35 dbus-1-python-0.83.0-21.37 gimp-plugins-python-2.6.3-1.2 gnome-python-desktop-2.24.0-1.38 IPython-0.8.4-1.27 ldtp-python-1.3.0-4.18
https://bugzilla.novell.com/show_bug.cgi?id=473124 User gassauer@kde.org added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c1 --- Comment #1 from ferdinand gassauer <gassauer@kde.org> 2009-02-05 17:06:59 MST --- installed modules libbeagle-python-0.3.5.1-5.3 libboost_python1_36_0-1.36.0-12.1 libopensync-plugin-python-module-0.22-37.84 libpython2_6-1_0-2.6.0-2.22.1 libpython2_6-1_0-32bit-2.6.0-2.22.1 libxml2-python-2.7.1-9.1 libxslt-python-1.1.24-19.1 python-2.6.0-2.21.1 python-32bit-2.6.0-2.21.1 python-base-2.6.0-2.22.1 python-base-32bit-2.6.0-2.22.1 python-cairo-1.6.4-1.33 python-cairo-devel-1.6.4-1.33 python-cheetah-2.0.1-3.5 python-cherrypy2-2.3.0-3.5 python-cherrypy-3.0.3-2.5 python-compizconfig-0.7.8-2.17 python-configobj-4.5.3-0.pm.1 python-curses-2.6.0-2.21.1 python-dateutil-1.4-1.305 python-devel-2.6.0-2.22.1 python-doc-2.6-2.15 python-doc-pdf-2.6-2.15 python-dot-0.9.10-4.4 python-egenix-mx-base-3.0.0-6.1 python-egenix-mx-base-devel-3.0.0-6.1 python-fcgi-2000.09.21-149.83 python-ftputil-2.2.3-2.4 python-gdata-1.0.4-1.324 python-gdbm-2.6.0-2.21.1 python-gnome-2.22.0-67.29 python-gnome-32bit-2.22.0-67.30 python-gnome-extras-2.19.1-145.16 python-gnome-menus-2.24.1-3.1 python-gobject2-2.14.0-9.2 python-gobject2-devel-2.14.0-9.2 python-goocanvas-0.9.0-1.2 python-gtk-2.12.0-23.2 python-gtk-devel-2.12.0-23.2 python-gtkglext-1.1.0-47.75 python-gtksourceview-2.4.0-1.36 python-httplib2-0.4.0-1.29 python-imaging-1.1.6-168.99 python-kde-3.16.0-19.4 python-kde3-3.16.0-73.118 python-kid-0.9.6-1.330 python-ldap-2.3.5-1.35 python-libproxy-0.2.3-17.1 python-lxml-1.1.2-3.4 python-matplotlib-0.98.5.2-2.1 python-notify-0.1.1-1.2 python-numeric-24.2-195.9 python-numpy-1.2.1-8.2 python-obexftp-0.22-37.40 python-opengl-2.0.1.09-50.128 python-openssl-0.7.0-1.18 python-opensync-0.22-150.31 python-orbit-2.14.3-137.12 python-pam-0.5.0-3.69 python-parsing-1.4.11-1.4 python-psycopg-1.1.21-2.1 python-psycopg2-2.0.8-3.4 python-pybluez-0.15-3.42 python-pygame-1.8.1-2.7 python-qscintilla-2.3-2.17 python-qt-3.17.4-1.95 python-qt4-4.4.3-1.41 python-ReportLab-2.1-2.1 python-satsolver-0.13.2-0.1.1 python-serial-2.4-1.26 python-setuptools-0.6c9-2.1 python-sip-4.7.9-3.2 python-tk-2.6.0-2.21.1 python-twisted-8.0.1-1.62 python-twisted-doc-8.0.1-1.62 python-twisted-web-8.0.0-1.58 python-urlgrabber-3.1.0-178.9 python-wxGTK-2.8.9.1-0.pm.1 python-xml-2.6.0-2.22.1 python-zopeinterface-3.3.0-79.52 rpm-python-4.4.2.3-20.1 yast2-python-bindings-2.17.3-1.42 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User gassauer@kde.org added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c2 --- Comment #2 from ferdinand gassauer <gassauer@kde.org> 2009-02-05 17:15:45 MST --- reverting to python-base-2.6.0-2.19 solves the problem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User gassauer@kde.org added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c3 --- Comment #3 from ferdinand gassauer <gassauer@kde.org> 2009-02-05 23:59:36 MST --- BTW this also seems to break NFS exports, the server does "not respond", the client sees the exported path but does not see the files and directories in it -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent AssignedTo|bnc-team-screening@forge.pr |jmatejek@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User dmueller@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c4 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |gassauer@kde.org --- Comment #4 from Dirk Mueller <dmueller@novell.com> 2009-02-06 03:50:11 MST --- I don't think the NFS issue is related here. anyway, I can not reproduce it,the elf class is correct. can you please run rpm -V python-base python python-32bit python-base-32bit ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c5 --- Comment #5 from Jan Matejek <jmatejek@novell.com> 2009-02-06 05:15:04 MST --- can't reproduce it either. looks like files from python-base and python-base-32bit got mixed up somehow... reinstalling python-base-2.6.0-2.22.1 wouldn't help? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User dmueller@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c6 --- Comment #6 from Dirk Mueller <dmueller@novell.com> 2009-02-06 06:05:13 MST --- I believe this can only happen if either python or python-base is a different architecture than the others, which is strange. try rpm -q --qf "%{NAME} %{ARCH}\n" python-base python -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c7 --- Comment #7 from Jan Matejek <jmatejek@novell.com> 2009-02-06 06:27:42 MST --- (In reply to comment #6)
I believe this can only happen if either python or python-base is a different architecture than the others, which is strange.
no, not really, because both the interpreter and _functools.so come from the same package (python-base) only thing that comes to mind is that the python-base would be i586 and libpython x86_64 - but then the 32bit python interpreter wouldn't be able to load libpython, right? i can't reproduce this setup, because if i install python-base from i586, it automatically picks up 32bit libpython... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User gassauer@kde.org added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c8 ferdinand gassauer <gassauer@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|gassauer@kde.org | --- Comment #8 from ferdinand gassauer <gassauer@kde.org> 2009-02-06 07:04:47 MST --- after running the update from OpenSuSE 11.1 Update repository I get the error again I am using 2.6.0-2.22.1-x86_64 from repo-update http://download.opensuse.org/update/11.1/ . .rpm -q --qf "%{NAME} %{ARCH}\n" python-base python python-base x86_64 python x86_64 kdesvn@cc-gf2:~> rpm -V python-base python python-32bit python-base-32bit S.5....T /usr/lib64/python2.6/lib-dynload/_bisect.so S.5....T /usr/lib64/python2.6/lib-dynload/_bytesio.so S.5....T /usr/lib64/python2.6/lib-dynload/_codecs_cn.so S.5....T /usr/lib64/python2.6/lib-dynload/_codecs_hk.so S.5....T /usr/lib64/python2.6/lib-dynload/_codecs_iso2022.so S.5....T /usr/lib64/python2.6/lib-dynload/_codecs_jp.so S.5....T /usr/lib64/python2.6/lib-dynload/_codecs_kr.so S.5....T /usr/lib64/python2.6/lib-dynload/_codecs_tw.so S.5....T /usr/lib64/python2.6/lib-dynload/_collections.so S.5....T /usr/lib64/python2.6/lib-dynload/_csv.so S.5....T /usr/lib64/python2.6/lib-dynload/_ctypes.so S.5....T /usr/lib64/python2.6/lib-dynload/_ctypes_test.so S.5....T /usr/lib64/python2.6/lib-dynload/_elementtree.so S.5....T /usr/lib64/python2.6/lib-dynload/_fileio.so S.5....T /usr/lib64/python2.6/lib-dynload/_functools.so S.5....T /usr/lib64/python2.6/lib-dynload/_heapq.so S.5....T /usr/lib64/python2.6/lib-dynload/_hotshot.so S.5....T /usr/lib64/python2.6/lib-dynload/_json.so S.5....T /usr/lib64/python2.6/lib-dynload/_locale.so S.5....T /usr/lib64/python2.6/lib-dynload/_lsprof.so S.5....T /usr/lib64/python2.6/lib-dynload/_md5.so S.5....T /usr/lib64/python2.6/lib-dynload/_multibytecodec.so S.5....T /usr/lib64/python2.6/lib-dynload/_multiprocessing.so S.5....T /usr/lib64/python2.6/lib-dynload/_random.so S.5....T /usr/lib64/python2.6/lib-dynload/_sha.so S.5....T /usr/lib64/python2.6/lib-dynload/_sha256.so S.5....T /usr/lib64/python2.6/lib-dynload/_sha512.so S.5....T /usr/lib64/python2.6/lib-dynload/_socket.so S.5....T /usr/lib64/python2.6/lib-dynload/_struct.so S.5....T /usr/lib64/python2.6/lib-dynload/_testcapi.so S.5....T /usr/lib64/python2.6/lib-dynload/_weakref.so S.5....T /usr/lib64/python2.6/lib-dynload/array.so S.5....T /usr/lib64/python2.6/lib-dynload/audioop.so S.5....T /usr/lib64/python2.6/lib-dynload/binascii.so S.5....T /usr/lib64/python2.6/lib-dynload/bz2.so S.5....T /usr/lib64/python2.6/lib-dynload/cPickle.so S.5....T /usr/lib64/python2.6/lib-dynload/cStringIO.so S.5....T /usr/lib64/python2.6/lib-dynload/cmath.so S.5....T /usr/lib64/python2.6/lib-dynload/crypt.so S.5....T /usr/lib64/python2.6/lib-dynload/datetime.so S.5....T /usr/lib64/python2.6/lib-dynload/fcntl.so S.5....T /usr/lib64/python2.6/lib-dynload/future_builtins.so S.5....T /usr/lib64/python2.6/lib-dynload/grp.so S.5....T /usr/lib64/python2.6/lib-dynload/itertools.so S.5....T /usr/lib64/python2.6/lib-dynload/linuxaudiodev.so S.5....T /usr/lib64/python2.6/lib-dynload/math.so S.5....T /usr/lib64/python2.6/lib-dynload/mmap.so S.5....T /usr/lib64/python2.6/lib-dynload/nis.so S.5....T /usr/lib64/python2.6/lib-dynload/operator.so S.5....T /usr/lib64/python2.6/lib-dynload/ossaudiodev.so S.5....T /usr/lib64/python2.6/lib-dynload/parser.so S.5....T /usr/lib64/python2.6/lib-dynload/resource.so S.5....T /usr/lib64/python2.6/lib-dynload/select.so S.5....T /usr/lib64/python2.6/lib-dynload/spwd.so S.5....T /usr/lib64/python2.6/lib-dynload/strop.so S.5....T /usr/lib64/python2.6/lib-dynload/syslog.so S.5....T /usr/lib64/python2.6/lib-dynload/termios.so S.5....T /usr/lib64/python2.6/lib-dynload/time.so S.5....T /usr/lib64/python2.6/lib-dynload/unicodedata.so S.5....T /usr/lib64/python2.6/lib-dynload/zlib.so ...L... /usr/lib/python2.6 S.5....T /usr/lib/python2.6/lib-dynload/_bsddb.so S.5....T /usr/lib/python2.6/lib-dynload/_hashlib.so S.5....T /usr/lib/python2.6/lib-dynload/_sqlite3.so S.5....T /usr/lib/python2.6/lib-dynload/_ssl.so S.5....T /usr/lib/python2.6/lib-dynload/readline.so ...L... /usr/lib/python2.6 kdesvn@cc-gf2:~> python Python 2.6 (r26:66714, Feb 3 2009, 20:49:49) [GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import functools Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.6/functools.py", line 10, in <module> from _functools import partial, reduce ImportError: /usr/lib64/python2.6/lib-dynload/_functools.so: wrong ELF class: ELFCLASS32
after going back to repo-oss no problem any more python Python 2.6 (r26:66714, Feb 3 2009, 20:49:49) [GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import functools import functools
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c9 Jan Matejek <jmatejek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |gassauer@kde.org --- Comment #9 from Jan Matejek <jmatejek@novell.com> 2009-02-06 07:25:59 MST --- let's see ... S.5....T /usr/lib64/python2.6/lib-dynload/_functools.so file size differs from original, md5sum obviously also differs, modify time differs... there's something weird going on in your system. please post output of the following: rpm -qf /usr/lib64/python2.6/lib-dynload/_functools.so then do: zypper in -f python-base and post output, if any, of: rpm -V python-base if the last command gives no output (i.e. all package files are intact), try reproducing the bug (it should be gone) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c10 --- Comment #10 from Jan Matejek <jmatejek@novell.com> 2009-02-06 07:28:10 MST --- it's a long shot, but ... please make sure that /usr/lib/python2.6/lib-dynload and /usr/lib64/python2.6/lib-dynload are really different directories and not linked to each other in some obscure way -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User jmatejek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c11 --- Comment #11 from Jan Matejek <jmatejek@novell.com> 2009-02-06 07:33:49 MST --- ...L... /usr/lib/python2.6 maybe it's not that long shot after all. this looks as if /usr/lib/python2.6 was a symlink to /usr/lib64/python2.6. please confirm my suspicion ;e) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=473124 User gassauer@kde.org added comment https://bugzilla.novell.com/show_bug.cgi?id=473124#c12 ferdinand gassauer <gassauer@kde.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|gassauer@kde.org | Resolution| |FIXED --- Comment #12 from ferdinand gassauer <gassauer@kde.org> 2009-02-06 07:45:10 MST --- thanks - this was the problem after removing the link everything works fine again -- Configure bugmail: https://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