[MacPorts] #62488: py38-scipy - vodemodule.c - fatal error: 'threads.h' not found

MacPorts noreply at macports.org
Wed May 19 18:30:28 UTC 2021


#62488: py38-scipy -  vodemodule.c - fatal error: 'threads.h' not found
-------------------------+-----------------------
  Reporter:  dyne2meter  |      Owner:  michaelld
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.4
Resolution:              |   Keywords:  elcapitan
      Port:  py-scipy    |
-------------------------+-----------------------

Comment (by michaelld):

 Related: During my testing I was regularly iterating over the "build"
 phase  ... at some point I realized that the executed build command was
 different if I also had "port" go through "configure" ... so I look in the
 Portfile & there is a "pre-configure" phase that sets variables for
 "build" and "destroot" ... which just doesn't make sense! I split those
 into "pre-build" and "pre-destroot" and that seems to provide the
 necessary commands. If the port builds all the way through then the result
 is the same, but if doing stage by stage the results will be different the
 way the Portfile is currently setup.

 I don't understand what is the value in setting later stage variables in
 an earlier stage. It breaks stage-by-stage building, and to me doesn't
 make any sense. Maybe I put that code there IDK ... either way, hoping
 someone can explain why "port" needs these split off that way ... or, if I
 can just go with my new way that allows stage-by-stage builds.

-- 
Ticket URL: <https://trac.macports.org/ticket/62488#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list