broken python packages?
Jack Howarth <[email protected]> Sun, 29 Oct 2017 10:09:35 -0400
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <CAP5Ds0DBxaSNr8XXuXRsQaQG1SU7xLpZkUFcFA_aLS8WH1fMMQ@mail.gmail.com> |
Daniel,
Both current upstream numpy 1.13.1 and scipy 1.0.0 are no longer
buildable as fink-bld...
https://github.com/scipy/scipy/issues/7979
Upstream insists this is breakage in how we are building our python
compiler packages on Darwin. While I was originally dubious about
their argument, I suspect now that they are correct. The failures can
be reproduced using the packaging that I have placed on fink tracker
at...
https://sourceforge.net/p/fink/package-submissions/5028/
and
https://sourceforge.net/p/fink/package-submissions/5056/
by changing the line...
BuildAsNobody: false
to
BuildAsNobody: true
The failures seem to be in the linkage tests of the clang compiler as
now done in recent numpy and scipy. This issue doesn't occur on
MacPorts which is already on the newest upstream numpy and scipy
releases (although they may be building as root since their builds
default to using sandbox).
Comparing our python compiler package patches to those on
MacPorts, the one that jumps out is...
diff -ru Python-3.6.1.orig/Lib/sysconfig.py Python-3.6.1/Lib/sysconfig.py
--- Python-3.6.1.orig/Lib/sysconfig.py 2017-03-21 02:32:38.000000000 -0400
+++ Python-3.6.1/Lib/sysconfig.py 2017-04-29 11:40:11.000000000 -0400
@@ -374,11 +374,6 @@
if hasattr(e, "strerror"):
msg = msg + " (%s)" % e.strerror
raise OSError(msg)
- # On AIX, there are wrong paths to the linker scripts in the Makefile
- # -- these paths are relative to the Python source, but when installed
- # the scripts are in another directory.
- if _PYTHON_BUILD:
- vars['BLDSHARED'] = vars['LDSHARED']
# There's a chicken-and-egg situation on OS X with regards to the
# _sysconfigdata module after the changes introduced by #15298:
Do we really have to eliminate setting BLDSHARED to LDSHARED as this
could potentially be something the numpy and scipy developers are
relying on being set?
Jack
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel