pkgsrc-Bugs archive

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

pkg/29735: python packages don't build _locale.so module on Solaris



>Number:         29735
>Category:       pkg
>Synopsis:       python packages don't build _locale.so module on Solaris
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 19 01:29:00 +0000 2005
>Originator:     Simon Kuhn
>Release:        pkgsrc-current
>Organization:
Case Western Reserve University
>Environment:
SunOS reducto 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V240 Solaris

>Description:
Build a python package (at least python23 and python24) on Solaris 9 using 
gcc-3.3.5 from pkgsrc-current.

Build completes successfully. Packaging has an error because _locale.so is not 
installed. It isn't built because it depends on gettext/libiconv.
>How-To-Repeat:
Build python23 on Solaris 9 with gcc-3.3.5. bmake package yields:

tar: Unable to access lib/python2.3/lib-dynload/_locale.so (No such file or 
directory)
tar: WARNING! These file names were not selected:
lib/python2.3/lib-dynload/_locale.so

If you scroll back up in the build you'll discover some lines from python 
talking about disabling _locale.so.
>Fix:
Add

.include "../../devel/gettext-lib/buildlink3.mk"

to Makefile.common in python23 and python24.




Home | Main Index | Thread Index | Old Index