Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#60419 closed defect (fixed)

clang-9.0 and dependents cannot be built on 10.6 because of a dependency cycle

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Chris Jones <jonesc@…>
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), larryv (Lawrence Velázquez), kencu (Ken), michaelld (Michael Dickens), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: clang-9.0 cmake curl libpsl python38

Description

https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/25071/steps/install-dependencies/logs/stdio

DEBUG: dlist_eval: all entries in dependency list have unsatisfied dependencies; can't process

Change History (8)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Cc: jeremyhu larryv kencu michaelld added
Port: clang-9.0 cmake curl libpsl python38 added; bison removed
Summary: bison cannot be built on 10.6 because of a dependency cycleclang-9.0 and dependents cannot be built on 10.6 because of a dependency cycle

The cycle is:

clang-9.0 -> cmake -> curl -> libpsl -> python38 -> clang-9.0

comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

The python37 portfile uses PortGroup clang_dependency 1.0 to combat this; the python38 portfile does not. Presumably it should be added to the python38 portfile. Any remaining clang dependencies that use python37 should presumably be switched to use python38 and then the portgroup can be removed from python37.

comment:3 Changed 5 years ago by jmroot (Joshua Root)

Cc: MarcusCalhoun-Lopez added

comment:4 Changed 4 years ago by Chris Jones <jonesc@…>

Owner: set to Chris Jones <jonesc@…>
Resolution: fixed
Status: newclosed

In d5b10f276e7cd27ce6e06d335f020250208810b0/macports-ports (master):

python38: Use clang_dependency PG
Closes: #60419

comment:5 in reply to:  2 ; Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

and then the portgroup can be removed from python37.

[343038d645ca5552d69050d38d9898b6e40571bb/macports-ports]

So now I should try building clang-9.0 on the 10.6 builder again.

comment:6 Changed 4 years ago by kencu (Ken)

please take a quick look at this <https://github.com/macports/macports-ports/pull/7247>.

cmake-bootstrap has no dependencies, and can build up to at least clang/llvm-10. It is simple to use it instead of the usual cmake port, on selected systems only if desired.

It eliminates these moving-targets in the current cmake port dependency tree.

comment:7 in reply to:  5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign:

So now I should try building clang-9.0 on the 10.6 builder again.

It's going here: https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/27370

comment:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Success! Thanks!

Note: See TracTickets for help on using tickets.