[MacPorts] #65146: Circular dependency of gcc11 on Snow Leopard
MacPorts
noreply at macports.org
Mon May 9 22:15:23 UTC 2022
#65146: Circular dependency of gcc11 on Snow Leopard
------------------------------+-------------------------
Reporter: barracuda156 | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: snowleopard
Port: gcc11, libgcc11 |
------------------------------+-------------------------
Comment (by barracuda156):
Replying to [comment:2 ryandesign]:
> Just to clarify: These lines are not in the gcc11 Portfile we publish,
correct? You have added them? And after you added, them this problem
appeared?
>
> Why did you add these lines? What is the problem you encountered prior
to this attempt to fix it?
These are lines from `gcc10-bootstrap` notes: https://github.com/macports
/macports-ports/blob/master/lang/gcc10-bootstrap/Portfile
They are necessary in order to build a port using `gcc10-bootstrap`. And
`gcc11` cannot be built with an Xcode compiler on 10.6.x. The optimal way
to get to `gcc11` on 10.5–10.6 is to build `gcc10-bootstrap` and then use
it for `gcc11`.
By the way, I know now what is the problem: for whatever reason,
blacklisting `gcc-4.x` prevents Macports from seeing `gcc10-bootstrap`
setting.
Specifically, once this is removed `compiler.blacklist-append {clang <
800} gcc-4.0 *gcc-4.2 {llvm-gcc-4.2 < 2336.1} {macports-clang-3.[4-7]}`, I
get correct dependencies:
{{{
macmini:bin svacchanda$ ./port deps libgcc11
Full Name: libgcc11 @11.3.0_1
Extract Dependencies: xz
Build Dependencies: gcc10-bootstrap, texinfo, gcc10-bootstrap, cctools,
gmp,
isl, ld64, libiconv, libmpc, mpfr, zstd
Library Dependencies: zlib
}}}
I guess this is a wrong behavior in the base.
--
Ticket URL: <https://trac.macports.org/ticket/65146#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list