[MacPorts] #68008: rust-bootstrap: attempts to build universal, but the latter no longer supported by cmake-bootstrap

MacPorts noreply at macports.org
Tue Aug 22 18:19:54 UTC 2023


#68008: rust-bootstrap: attempts to build universal, but the latter no longer
supported by cmake-bootstrap
---------------------------------------------+-----------------------------
  Reporter:  mascguy                         |      Owner:  MarcusCalhoun-
                                             |  Lopez
      Type:  defect                          |     Status:  assigned
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:  2.8.1
Resolution:                                  |   Keywords:
      Port:  rust-bootstrap cmake-bootstrap  |
---------------------------------------------+-----------------------------

Old description:

> It's not clear whether this is an issue with `rust-bootstrap`, `cmake-
> bootstrap`, or both. But the former enables `+universal` by default,
> whilst the latter no longer supports universal builds as of 2023-06:
>
> https://github.com/macports/macports-
> ports/commit/a4fda7b98703ff055b9dacb7e1dca58d5376d490
>
> Perhaps that's fine though...?
>
> However, the build for `rust-bootstrap` is blocked, due to `cmake-
> bootstrap` failing to build:
>
> {{{
> ---------------------------------------------
> CMake 3.9.6, Copyright 2000-2017 Kitware, Inc. and Contributors
> ---------------------------------------------
> Error when bootstrapping CMake:
> Cannot find appropriate C compiler on this system.
> Please specify one using environment variable CC.
> See cmake_bootstrap.log for compilers attempted.
> }}}
>
> https://build.macports.org/builders/ports-
> 13_arm64-builder/builds/32652/steps/install-dependencies/logs/stdio
>
> Full log also attached: `cmake-bootstrap-build-13-arm.log.gz`.

New description:

 It's not clear whether this is an issue with `rust-bootstrap`, `cmake-
 bootstrap`, or both. But the former enables `+universal` by default,
 whilst the latter no longer supports universal builds as of 2023-06:

 [a4fda7b98703ff055b9dacb7e1dca58d5376d490/macports-ports]

 Perhaps that's fine though...?

 However, the build for `rust-bootstrap` is blocked, due to `cmake-
 bootstrap` failing to build:

 {{{
 ---------------------------------------------
 CMake 3.9.6, Copyright 2000-2017 Kitware, Inc. and Contributors
 ---------------------------------------------
 Error when bootstrapping CMake:
 Cannot find appropriate C compiler on this system.
 Please specify one using environment variable CC.
 See cmake_bootstrap.log for compilers attempted.
 }}}

 https://build.macports.org/builders/ports-
 13_arm64-builder/builds/32652/steps/install-dependencies/logs/stdio

 Full log also attached: `cmake-bootstrap-build-13-arm.log.gz`.

--

Comment (by ryandesign):

 Replying to [ticket:68008 mascguy]:
 > It's not clear whether this is an issue with `rust-bootstrap`, `cmake-
 bootstrap`, or both. But the former enables `+universal` by default,
 whilst the latter no longer supports universal builds as of 2023-06:
 >
 > [a4fda7b98703ff055b9dacb7e1dca58d5376d490/macports-ports]
 >
 > Perhaps that's fine though...?

 This did not disable the universal variant. It added `universal_variant
 no` which merely tells MacPorts base not to add the default universal
 variant. But the port still includes the muniversal portgroup which adds
 its own universal variant. To disable the universal variant would require
 removing the muniversal portgroup.

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


More information about the macports-tickets mailing list