Opened 11 years ago
Closed 11 years ago
#42576 closed defect (fixed)
py-obspy @0.9.0: fails to destroot
Reported by: | petrrr | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch maintainer | Cc: | |
Port: | py-obspy |
Description
The build works fine, but the port fails during destroot phase because the setup.py
script does not find a Fortran compiler during *installation*. I doubt the script really needs a Fortran compiler at that stage, but it checks for it presence and fails.
This problem can only be reproduced when the default gcc is set to none
. (sudo port select gcc none
).
Possible fixes:
- avoid checking for Fortran compiler on installation;
- setting the relevant environment variables during install phase as well;
Probable the first would be the cleaner solution, while the second is immediate to implement.
Attachments (1)
Change History (3)
Changed 11 years ago by petrrr
Attachment: | patch-py-obspy.diff added |
---|
comment:1 Changed 11 years ago by petrrr
The provided patch implements the second solution, a committer might want to add a haspatch keyword (or just commit). No revision bump for the moment, the content of the port does not change.
comment:2 Changed 11 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
patch for python/py-obspy/Portfile