Subject: pkg/25233: mail/mailman doesn't build right on Darwin
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: pkgsrc-bugs
Date: 04/19/2004 00:00:50
>Number: 25233
>Category: pkg
>Synopsis: mail/mailman doesn't build right on Darwin
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 19 00:01:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael Wolfson
>Release: Darwin 7.3.0
>Organization:
>Environment:
Darwin Gizmobook 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power Macintosh powerpc
>Description:
Tried this with python22 and python23-pth.
Same behavior.
during make configure:
checking for user name "mailman"... Traceback (most recent call last):
File "conftest.py", line 1, in ?
import pwd
ImportError: Failure linking new module: : dyld: /usr/pkg/bin/python2p3 Undefine
d symbols:
/usr/pkg/lib/python2p3/lib-dynload/pwd.so undefined reference to _PyArg_ParseTup
le expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/pwd.so undefined reference to _PyErr_Occurred
expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/pwd.so undefined reference to _PyErr_SetStrin
g expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/pwd.so undefined reference to
cat: conftest.out: No such file or directory
okay
checking for --with-groupname... mailman
checking for group name "mailman"... Traceback (most recent call last):
File "conftest.py", line 1, in ?
import grp
ImportError: Failure linking new module: : dyld: /usr/pkg/bin/python2p3 Undefine
d symbols:
/usr/pkg/lib/python2p3/lib-dynload/grp.so undefined reference to _PyArg_ParseTup
le expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/grp.so undefined reference to _PyDict_SetItem
String expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/grp.so undefined reference to _PyErr_Occurred
expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/grp.so undefined referen
cat: conftest.out: No such file or directory
okay
[...]
---------------
during make:
/usr/pkg/bin/python2p3 ../build/bin/msgfmt.py -o ca/LC_MESSAGES/mailman.mo ca/LC
_MESSAGES/mailman.po
Traceback (most recent call last):
File "../build/bin/msgfmt.py", line 31, in ?
import struct
ImportError: Failure linking new module: : dyld: /usr/pkg/bin/python2p3 Undefine
d symbols:
/usr/pkg/lib/python2p3/lib-dynload/struct.so undefined reference to _PyArg_Parse
Tuple expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/struct.so undefined reference to _PyErr_Excep
tionMatches expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/struct.so undefined reference to _PyErr_NewEx
ception expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/struct.so
*** Error code 1 (ignored)
[...]
-----------
during make install:
/usr/bin/install -c -o root -g wheel -m 644 sitelist.cfg /usr/pkg/lib/mailman/su
pport
for p in email-2.5.4 JapaneseCodecs-1.4.10 KoreanCodecs-2.0.5; do gunzip -c ./
$p.tar.gz | (cd . ; tar xf -); (cd ./$p ; umask 02 ; PYTHONPATH=/usr/pkg/lib/ma
ilman/pythonlib /usr/pkg/bin/python2p3 setup.py --quiet install --install-lib /u
sr/pkg/lib/mailman/pythonlib --install-purelib /usr/pkg/lib/mailman/pythonlib
--install-data /usr/pkg/lib/mailman/pythonlib); rm -rf ./$p; done
/usr/pkg/lib/python2p3/distutils/dist.py:213: UserWarning: 'licence' distributio
n option is deprecated; use 'license'
warnings.warn(msg)
ld: Undefined symbols:
_PyArg_ParseTuple
_PyDict_SetItemString
_PyErr_Format
_PyErr_NewException
_PyErr_NoMemory
_PyErr_Occurred
_PyExc_UnicodeError
_PyExc_ValueError
_PyInt_FromLong
_PyModule_GetDict
_PyString_FromString
_PyString_FromStringAndSize
_PyTuple_New
_PyUnicodeUCS2_EncodeUnicodeEscape
_PyUnicodeUCS2_FromObject
_PyUnicodeUCS2_FromUnicode
_PyUnicodeUCS2_Resize
_Py_FatalError
_Py_InitModule4
__PyString_Resize
error: command 'gcc' failed with exit status 1
ld: Undefined symbols:
_PyArg_ParseTuple
_PyArg_ParseTupleAndKeywords
_PyCFunction_NewEx
_PyCObject_AsVoidPtr
_PyCObject_FromVoidPtr
_PyClass_New
_PyDict_New
_PyDict_SetItemString
_PyErr_Format
_PyErr_NewException
_PyErr_Occurred
_PyErr_SetString
_PyExc_TypeError
_PyExc_UnicodeError
_PyExc_ValueError
_PyInt_AsLong
_PyInt_FromLong
_PyInt_Type
_PyList_Append
_PyList_New
_PyMem_Malloc
_PyMethod_New
_PyModule_GetDict
_PyObject_CallMethod
_PyObject_Free
_PyObject_GetAttrString
_PyObject_SetAttrString
_PyString_AsString
_PyString_FromString
_PyString_FromStringAndSize
_PyTuple_New
_PyType_IsSubtype
_PyUnicodeUCS2_FromUnicode
_Py_FatalError
_Py_InitModule4
__Py_NoneStruct
error: command 'gcc' failed with exit status 1
[...]
make ignores the errors, so mailman finishes compiling and installing.
# /usr/pkg/lib/mailman/bin/check_perms
Traceback (most recent call last):
File "/usr/pkg/lib/mailman/bin/check_perms", line 31, in ?
import pwd
ImportError: Failure linking new module: : dyld: python2p3 Undefined symbols:
/usr/pkg/lib/python2p3/lib-dynload/pwd.so undefined reference to _PyArg_ParseTuple expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/pwd.so undefined reference to _PyErr_Occurred expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/pwd.so undefined reference to _PyErr_SetString expected to be defined in the executable
/usr/pkg/lib/python2p3/lib-dynload/pwd.so undefined reference to _PyExc_KeyEr
>How-To-Repeat:
cd pkgsrc/mail/mailman;make install
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: