Subject: pkg/11478: python pkg appears broken on a.out?
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mrg@eterna.com.au>
List: netbsd-bugs
Date: 11/12/2000 20:44:16
>Number:         11478
>Category:       pkg
>Synopsis:       python pkg appears broken on a.out?
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 12 20:44:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     matthew green
>Release:        <NetBSD-current source date>today
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
	
System: NetBSD 3am-out-of-beaumont.eterna.com.au 1.5E NetBSD 1.5E (_3am-out_) #64: Wed Aug 16 11:56:40 EST 2000 mrg@3am-eternal.eterna.com.au:/orb/y/obj.sys/_3am-out_ arm32


>Description:

	it was reported to me that m68k python was failing this very simple
	test:  "import socket".  i am unable to reproduce this problem on
	an ELF platform, but both m68k & arm32 (a.out) platforms fail in
	the same way.

	during the pkg's "install" phase, i noticed this several times:

ImportError: dynamic module does not define init function (init_socket)

>How-To-Repeat:


3am-out-of-beaumont ~> python
Python 2.0 (#2, Nov 13 2000, 15:08:30)
[GCC egcs-2.91.66 19990314 (egcs-1.1.2 release)] on netbsd1
Type "copyright", "credits" or "license" for more information.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
 >>> import socket
 Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/pkg/lib/python2.0/socket.py", line 41, in ?
     from _socket import *
 ImportError: dynamic module does not define init function (init_socket)