pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45345: lang/python31 wrongly builds pyexpat



>Number:         45345
>Category:       pkg
>Synopsis:       lang/python31 wrongly builds pyexpat
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 08 21:00:00 +0000 2011
>Originator:     Pierre Allegraud
>Release:        Current
>Organization:
>Environment:
>Description:
lang/python31 builds pyexpat module (which should be built by 
textproc/py-expat). This module isn't linked with libexpat.so.
>How-To-Repeat:

>Fix:
Replace "expat" by "pyexpat" in patch-am.

I m using this patch:

Index: lang/python31/PLIST.common
===================================================================
--- lang/python31/PLIST.common
+++ lang/python31/PLIST.common
@@ -1707,11 +1707,10 @@
 lib/python${PY_VER_SUFFIX}/lib-dynload/math.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/mmap.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/nis.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/operator.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/parser.so
-lib/python${PY_VER_SUFFIX}/lib-dynload/pyexpat.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/resource.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/select.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/syslog.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/termios.so
 lib/python${PY_VER_SUFFIX}/lib-dynload/time.so

Index: lang/python31/distinfo
===================================================================
--- lang/python31/distinfo
+++ lang/python31/distinfo
@@ -5,11 +5,11 @@
 Size (Python-3.1.4.tar.bz2) = 9887870 bytes
 SHA1 (patch-aa) = ae156c486007cfd14d378dd211108d3af4b841b1
 SHA1 (patch-ab) = 7d4d6aa9239f53f1ce9ecd377890d71557c58ca4
 SHA1 (patch-ah) = f93c0aab7b0d5e8e9f80433dda5ed5a22861f6b9
 SHA1 (patch-al) = 48e348c64cf54756cf5b10254661ac089bec3e0a
-SHA1 (patch-am) = 7943623eba8aaa0c10ef8c55407045fb2eba5305
+SHA1 (patch-am) = 47d6b7993c1c8e3e203490eb14bf66888f3e39d6
 SHA1 (patch-an) = 933acde107b735931d26ace4eef251000b9f07ba
 SHA1 (patch-ao) = dca396744edc5c0f86c8912bf54347a630cd865b
 SHA1 (patch-au) = a2cefb240d91121315d02104416324c971af6a20
 SHA1 (patch-av) = dcbcd47a50b56d1fd8b5e5594b94a155c52d5e39
 SHA1 (patch-aw) = 598e4710c426110012048946786a6d72f050e0fc

Index: lang/python31/patches/patch-am
===================================================================
--- lang/python31/patches/patch-am
+++ lang/python31/patches/patch-am
@@ -5,11 +5,11 @@
 @@ -17,7 +17,7 @@ from distutils.command.install_lib impor
  from distutils.spawn import find_executable
  
  # This global variable is used to hold the list of modules to be disabled.
 -disabled_module_list = []
-+disabled_module_list = ["_bsddb", "_curses", "_curses_panel", "_elementtree", 
"_sqlite3", "_tkinter", "_gdbm", "expat", "readline"]
++disabled_module_list = ["_bsddb", "_curses", "_curses_panel", "_elementtree", 
"_sqlite3", "_tkinter", "_gdbm", "pyexpat", "readline"]
  
  def add_dir_to_list(dirlist, dir):
      """Add the directory 'dir' to the list 'dirlist' (at the front) if
 @@ -362,9 +362,15 @@ class PyBuildExt(build_ext):
              os.unlink(tmpfile)




Home | Main Index | Thread Index | Old Index