[MacPorts] #61158: xorg-libxcb : destroot weirdness

MacPorts noreply at macports.org
Thu Sep 10 13:37:50 UTC 2020


#61158: xorg-libxcb : destroot weirdness
-------------------------+-------------------------
 Reporter:  RJVB         |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  xorg-libxcb
-------------------------+-------------------------
 port:xorg-libxcb has a build dependency on python which AFAICS is actually
 a build dependency on `port:xorg-xcb-proto`.

 I noticed a little weirdness when upgrading my libxcb port, which I have
 installed `+universal`. As often, I ran a `port build` and only did the
 `port destroot` when the build succeeded.

 I do not have a universal version of the selected python port installed,
 and was served with a request to install the port only when I executed the
 libxcb destroot step (as usual, no indication that this was actually a
 "request" to install the universal variant of the dependency!).

 Two things:
 1) installing a build dependency only for the destroot step is a little
 late and in this case proof that
 2) a build dependency on python because python scripts are used does not
 (normally) require a universal python interpreter, so for this port there
 can be an additional `depends_skip_archcheck-append` line that adds all
 the possibly required pythonXY ports.

 (and as a side-note, I really don't see why good old Python 2.7 wouldn't
 be used as long as upstream doesn't require a v3 interpreter. Saves some
 pointless updating when a new 3x version becomes the default.)

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


More information about the macports-tickets mailing list