[MacPorts] #57443: gpp4 @1.3.1: libtool: compile: unrecognized option `-pipe'

MacPorts noreply at macports.org
Sat Apr 10 08:29:02 UTC 2021


#57443: gpp4 @1.3.1: libtool: compile: unrecognized option `-pipe'
-------------------------+------------------------
  Reporter:  ryandesign  |      Owner:  ryandesign
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gpp4        |
-------------------------+------------------------
Changes (by ryandesign):

 * status:  new => accepted
 * owner:  (none) => ryandesign


Comment:

 The build is erroneously trying to enable the fortran parts when a fortran
 variant has not been selected.

 This is happening because the buildbot does the fetch phase separately (so
 that failed fetches aren't considered failed builds) but the port
 erroneously tries to set configure args in the fetch phase. By the time
 the configure phase is done separately, the args are no longer there.
 Ports must set configure args either in pre-configure or in the global
 phaseless part of the portfile.

 This problem was introduced in [f81d15d883b637dba04064a72e5d55bc5ecd4b36
 /macports-ports].

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


More information about the macports-tickets mailing list