pkgsrc-Bugs archive

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

Re: pkg/41906 (lang/python25 fails to package on Darwin: lib-dynload/pyexpat.so)



The following reply was made to PR pkg/41906; it has been noted by GNATS.

From: Jesse Peterson <jpeterson275%comcast.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: obache%NetBSD.org@localhost, darwin-pkg-people%netbsd.org@localhost, 
pkg-manager%netbsd.org@localhost,
 pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost
Subject: Re: pkg/41906 (lang/python25 fails to package on Darwin:
 lib-dynload/pyexpat.so)
Date: Wed, 19 Aug 2009 20:10:17 -0700

 I think I've tracked this down a transform.sed (pkgsrc wrappers) issue.
 
 Line 254 of my transform.sed has this RE:
 
 s|^-I/[^    `"':;,]*$||g
 
 Which will make short work of the include path that is handed to it:
 
 /bin/echo 
X-I/private/tmp/pbulk-20090818/outer-obj/wrkobjdir/lang/python25/work/Python-2.5.4/./Modules/expat
 | /usr/bin/sed -e 1s/^X// -f ../.wrapper/tmp/transform.sed
 
 However it needs that include path to find header files and such. Once that 
line is removed (from transform.sed) then Python is able to be built and 
packaged seemingly fine and the pyexpat works from from Python.
 
 I don't know if this is a Darwin sed (gsed?) issue or the Python build system 
is using absolute paths or something. Thoughts? Obviously the NetBSD package 
works fine so I have to assume that this is a Darwin issue.
 
 Thanks, - Jesse
 
 On Wed, 19 Aug 2009 10:04:30 +0000 (UTC)
 obache%NetBSD.org@localhost wrote:
 
 > Synopsis: lang/python25 fails to package on Darwin: lib-dynload/pyexpat.so
 > 
 > Responsible-Changed-From-To: pkg-manager->darwin-pkg-people
 > Responsible-Changed-By: obache%NetBSD.org@localhost
 > Responsible-Changed-When: Wed, 19 Aug 2009 10:04:28 +0000
 > Responsible-Changed-Why:
 > Problem on Darwin.
 
 
 -- 
 Jesse Peterson <jpeterson275%comcast.net@localhost>
 


Home | Main Index | Thread Index | Old Index