10.5 Leopard circular dependency on gcc7 gcc8 gcc9

Riccardo Mottola riccardo.mottola at libero.it
Mon Feb 17 09:39:15 UTC 2025


Hi Chris:


Chris Jones via macports-dev wrote:
> > port rdeps gcc7
> > sudo port install gcc7
>
> and post what you get

Artax:~ multix$ port rdeps gcc7
The following ports are dependencies of gcc7 @7.5.0_4:
xz
gettext
ncurses
gettext-tools-libs
libiconv
gperf
libtextstyle
gettext-runtime
cctools
libunwind-headers
xz-bootstrap
llvm-3.4
python27
pkgconfig
bzip2
db48
expat
libedit
libffi
dejagnu
expect
automake
autoconf
m4
tcl
sqlite3
zlib
openssl11
perl5
perl5.34
gdbm
readline
python_select
python2_select
llvm_select
gmp
   isl
   ld64
     ld64-127
       libmacho-headers
       llvm-3.3
   libmpc
     mpfr
   gcc_select
   libgcc7
     libgcc8
       libgcc9
         clang-11
           cmake
             clang-3.7
               clang-3.4
                 clang_select
               llvm-3.7
                 libcxx
                   clang-11-bootstrap
                     cmake-bootstrap
                     python27-bootstrap
                     gcc10-bootstrap
                     libstdcxx_clang_fix
             curl
               brotli
               nghttp2
                 legacy-support
               libidn2
                 libunistring
                   libtool
               libpsl
                 python310
                   openssl
                     openssl3
                   python_select-310
                   python3_select-310
                     python3_select
               curl-ca-bundle
                 unzip
               zstd
                 lz4
             libarchive
               libxml2
                 icu
               lzo2
               libb2
           clang-9.0
             libomp
             llvm-9.0
               xar
           llvm-11
         libgcc10
           texinfo
             help2man
               p5.34-locale-gettext
           libgcc11
             libgcc12
               libgcc13
                 libgcc
                   libgcc14


Artax:~ multix$ sudo port install gcc7
Password:
--->  Computing dependencies for gcc7
The following dependencies will be installed:
  libgcc7
  libgcc8
  libgcc9
Continue? [Y/n]:
--->  Fetching archive for libgcc9
--->  Attempting to fetch libgcc9-9.5.0_2.darwin_9.x86_64.tbz2 from 
http://packages.macports.org/libgcc9
--->  Attempting to fetch libgcc9-9.5.0_2.darwin_9.x86_64.tbz2 from 
http://fra.de.packages.macports.org/libgcc9
--->  Attempting to fetch libgcc9-9.5.0_2.darwin_9.x86_64.tbz2 from 
http://fco.it.packages.macports.org/libgcc9
--->  Configuring libgcc9
--->  Building libgcc9
--->  Staging libgcc9 into destroot
--->  Installing libgcc9 @9.5.0_2
--->  Activating libgcc9 @9.5.0_2
--->  Cleaning libgcc9
--->  Fetching archive for libgcc8
--->  Attempting to fetch libgcc8-8.5.0_1.darwin_9.x86_64.tbz2 from 
http://packages.macports.org/libgcc8
--->  Attempting to fetch libgcc8-8.5.0_1.darwin_9.x86_64.tbz2 from 
http://fra.de.packages.macports.org/libgcc8
--->  Attempting to fetch libgcc8-8.5.0_1.darwin_9.x86_64.tbz2 from 
http://fco.it.packages.macports.org/libgcc8
--->  Fetching distfiles for libgcc8
--->  Verifying checksums for libgcc8
--->  Extracting libgcc8
--->  Configuring libgcc8
--->  Building libgcc8
--->  Staging libgcc8 into destroot
--->  Installing libgcc8 @8.5.0_1
--->  Activating libgcc8 @8.5.0_1
--->  Cleaning libgcc8
--->  Fetching archive for libgcc7
--->  Attempting to fetch libgcc7-7.5.0_2.darwin_9.x86_64.tbz2 from 
http://packages.macports.org/libgcc7
--->  Attempting to fetch libgcc7-7.5.0_2.darwin_9.x86_64.tbz2 from 
http://fra.de.packages.macports.org/libgcc7
--->  Attempting to fetch libgcc7-7.5.0_2.darwin_9.x86_64.tbz2 from 
http://fco.it.packages.macports.org/libgcc7
--->  Fetching distfiles for libgcc7
--->  Verifying checksums for libgcc7
--->  Extracting libgcc7
--->  Applying patches to libgcc7
--->  Configuring libgcc7
--->  Building libgcc7
--->  Staging libgcc7 into destroot
--->  Installing libgcc7 @7.5.0_2
--->  Activating libgcc7 @7.5.0_2
--->  Cleaning libgcc7
--->  Cleaning gcc7
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.


it did run overnight... but seems fine for now. So now I don't get into 
a dependency loop. Interestingly, that fixed also gcc6
Wonder what was wong? There were no outdated gcc/libgcc ports, both were 
still installed.

Then, well there are issues compiling xz-bootstrap itself with gcc 6, 
7... but not with 4.8! amazing.

Riccaro


More information about the macports-dev mailing list