tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Problem building lang/python27 after recent changes
Hi,
On Fri, 18 Apr 2014 01:10:22 +0900, Adam Ciarci?ski <adam%netbsd.org@localhost>
wrote:
Greetings,
I came across a problem building lang/python27 on OS X after recent changes.
Seems like openssl is not detected correctly.:
-----
=> Checking file-check results for python27-2.7.6nb3
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in
/tmp/pkgsrc/lang/python27/work/.destdir/usr/pkg:
ERROR:
/tmp/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/_hashlib.so
ERROR:
/tmp/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/_ssl.so
ERROR: ************************************************************
ERROR: The following files are in
/tmp/pkgsrc/lang/python27/work/.destdir/usr/pkg but not in the PLIST:
ERROR:
/tmp/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/_md5.so
ERROR:
/tmp/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/_sha.so
ERROR:
/tmp/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/_sha256.so
ERROR:
/tmp/pkgsrc/lang/python27/work/.destdir/usr/pkg/lib/python2.7/lib-dynload/_sha512.so
-----
Reverting 2 changes in patches/patch-am solves the issue:
-----
diff -r1.15 patch-am
75c75
< + ssl_incs = find_file('openssl/ssl.h', [],
---
+ ssl_incs = find_file('openssl/ssl.h', inc_dirs,
95c95
< + search_for_ssl_incs_in)
---
+ inc_dirs + search_for_ssl_incs_in)
-----
Please, fix.
It is almost reverting changes :(
Origin of the issue is that header files are not installed in /usr/include with
recent Xcode.
I.e, missing /usr/include/openssl/ssl.h, but SSLBASE (=BUILDLINK_PREFIX.openssl) point to
"/usr".
It also affect to "buildink-openssl-des-h" and "openss-fake-pc" target in
security/openssl/builtin.mk.
Do you know that OS X have builtin openssl.pc file?
If it exists, how about its contents, especially "prefix" and "includedir"?
--
OBATA Akio / obata%lins.jp@localhost
Home |
Main Index |
Thread Index |
Old Index