[MacPorts] #58646: gcc8 @8.3.0_4 +universal: does not build/install universal libraries

MacPorts noreply at macports.org
Fri Jul 19 17:30:08 UTC 2019


#58646: gcc8 @8.3.0_4 +universal: does not build/install universal libraries
------------------------+--------------------
  Reporter:  Ionic      |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  gcc8 gcc9  |
------------------------+--------------------
Changes (by Ionic):

 * cc: jmroot (added)


Comment:

 Okay, the `cctools` and `llvm-3.7` rebuilds were due to older versions of
 base not honoring `installs_libs no`. Shortly before the release of 2.3.0,
 jmr pushed a change that ignores such type of dependencies. So that's
 sane, because the only way cctools will  be used is by spawning binaries
 so any executable architecture will suffice.

 I was able to test down to 2.1.3, but 2.0.x is too old to reasonably test
 since `compiler.blacklist` and co. aren't supported by that version.

 All of this leaves me a bit puzzled. For instance, I don't understand why
 older base versions did try to rebuild cctools (and it dependency
 clang-3.7) with +universal, but not libgcc9 for instance. I do understand
 that newer port versions do not try to rebuild cctools any longer, because
 it uses `installs_libs no`, but that's really just a side-effect.

 I noticed that the `compilers-1.0` PG adds a `depends_skip_archcheck`
 clause on the compiler ports themselves, but not on any other
 dependencies, like the path-based libgcc dependency. I removed that clause
 just to see what happens, but it changed nothing. I also tried to hard-
 depend upon libgcc9 without using a path-based dependency style, but this
 also changed nothing, even with the older base version.

 I still think that this is a bug because variants should be getting synced
 up with dependencies.

 Joshua, might I ask for your opinion on this?

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


More information about the macports-tickets mailing list