Le samedi 02 août 2008 à 11:45 +1000, Russell Coker a écrit :
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493316
ImportError: /var/lib/python-support/python2.5/selinux/audit2why.so: undefined symbol: Py_InitModule4
This file is built against python2.4, because of insufficient cleanup.
The following fix (untested) should do the trick.
--- debian/local.mk.orig 2008-08-02 04:30:11.283617192 +0200
+++ debian/local.mk 2008-08-02 04:33:43.159612186 +0200
@@ -132,6 +132,7 @@
$(make_directory) $(EXTENSIONS_DIR)
for version in $(ALL_PY_VERSIONS); do \
rm -f src/$(SWIGSO) src/$(SWIGLOBJ); \
+ rm -f src/audit2why.lo src/audit2why.so \
$(MAKE) -C src DESTDIR=$(TMPTOP) PYLIBVER=python$$version \
PYTHONLIBDIR=$(PYTHONLIBDIRTOP)/python$$version/ \
pywrap install-pywrap; \
> Feel free to NMU at priority high if it's a simple fix that doesn't require
> discussion.
Brrrr, I think I’ll let you integrate the fix in the way you see fit for
this insane build system.
--
.''`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=