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)

patch-py-obspy.diff (546 bytes) - added by petrrr 11 years ago.
patch for python/py-obspy/Portfile

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by petrrr

Attachment: patch-py-obspy.diff added

patch for python/py-obspy/Portfile

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: newclosed
Note: See TracTickets for help on using tickets.