[MacPorts] #54393: Port fails to execute an upgrade with the additional arguments given at invocation but uses it for upgrading the ports on which the given port depends

MacPorts noreply at macports.org
Wed Jun 28 20:23:30 UTC 2017


#54393: Port fails to execute an upgrade with the additional arguments given at
invocation but uses it for upgrading the ports on which the given port
depends
-----------------------------------------+-------------------
 Reporter:  ballapete                    |      Owner:
     Type:  defect                       |     Status:  new
 Priority:  Normal                       |  Milestone:
Component:  base                         |    Version:  2.4.1
 Keywords:  tiger, leopard, snowleopard  |       Port:
-----------------------------------------+-------------------
 On PPC Tiger, Mac OS X 10.4.11, and PPC Leopard, Mac OS X 10.5.8, `rev-
 upgrade` does not honour an additional option like `configure.compiler
 =macports-gcc-6`.


 On PPC Tiger, Mac OS X 10.4.11, and PPC Leopard, Mac OS X 10.5.8, an
 invocation like

 {{{
 port -vd upgrade texlive-basic texlive-bin configure.compiler=macports-
 gcc-6
 }}}

 does not build `texlive-bin` with GCC 6 but the compiler as chosen/found
 by its `Portfile`. Possibly the rearranging of the build sequence (first
 the second port, then the first port) makes the additional argument
 `configure.compiler=macports-gcc-6` disappear. Or applies only to the
 first port, which cannot be built because the second port, executed first,
 fails to build.


 On PPC Tiger, Mac OS X 10.4.11, and PPC Leopard, Mac OS X 10.5.8, an
 invocation like

 {{{
 port -vd upgrade poppler configure.compiler=macports-gcc-6
 }}}

 finds that `texlive-bin` needs rebuilding because
 `/opt/local/lib/libpoppler.dylib` has changed. When answering "`Y`", `rev-
 upgrade` does not use  the additional argument `configure.compiler
 =macports-gcc-6`.


 On Snow Leopard, Mac OS X 10.6.8, an invocation à la

 {{{
 port -vd upgrade « whatever » configure.compiler=macports-gcc-6
 }}}

 lets port use the additional argument `configure.compiler=macports-gcc-6`
 to upgrade all ports on which the named port depends.

--
Ticket URL: <https://trac.macports.org/ticket/54393>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list