Hi,

I have an apparently similar issue that I had with Leopard with older gccs, but in this case with current gcc14.
I want to test building openssl3 with gcc instead of clang and I do this:

Irrlicht:Arctic-Fox multix$ sudo port -v upgrade openssl3 configure.compiler=macports-gcc-14
Updating dependencies for libiconv @1.17_0+universal
Updating dependencies for libgcc14 @14.2.0_1+stdlib_flag
Updating dependencies for libgcc @9.0_0
Updating dependencies for libedit @20250104-3.1_0+universal
Updating dependencies for libffi @3.4.6_1+universal
Updating dependencies for bzip2 @1.0.8_0+universal
Updating dependencies for gettext-runtime @0.22.5_0+universal
Updating dependencies for libxml2 @2.13.5_2
Updating dependencies for libcxx @5.0.1_5
Updating dependencies for db48 @4.8.30_5
Updating dependencies for readline @8.2.013_0
Updating dependencies for gdbm @1.24_0
Updating dependencies for perl5.34 @5.34.3_1
Updating dependencies for perl5 @5.34.3_0+perl5_34
Updating dependencies for llvm_select @2_1
Updating dependencies for llvm-9.0 @9.0.1_3+emulated_tls
Updating dependencies for cctools @949.0.1_3+llvm90
Updating dependencies for gmp @6.3.0_0
Updating dependencies for isl @0.24_1
Updating dependencies for ld64-xcode @2_6
Updating dependencies for ld64 @3_6+ld64_xcode
Updating dependencies for mpfr @4.2.1_0
Updating dependencies for libmpc @1.3.1_0
Updating dependencies for lz4 @1.10.0_0
Updating dependencies for zstd @1.5.6_0
Updating dependencies for gcc_select @0.1_10
Updating dependencies for gcc14-libcxx @14.2.0_1+clang17
--->  Computing dependencies for openssl3...
Error: Cannot install libgcc14 for the archs 'i386 x86_64' because
Error: its dependency libmpc cannot build for the required archs.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.


Technically, I am not interested in i386, I don't have universal variants (at least not by me).
Is there a bug? where?

port installed gcc14
The following ports are currently installed:
  gcc14 @14.1.0_0+stdlib_flag
  gcc14 @14.2.0_1+stdlib_flag (active)

port installed libmpc
The following ports are currently installed:
  libmpc @1.3.1_0 (active)


both seem fine to me and "installing" gcc14 (the suggestion that fixed leopard) shows it is "fine":
$ sudo port install gcc14
Password:
--->  Computing dependencies for gcc14
--->  Cleaning gcc14
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.

nothing to upgrade/install, nothing broken... where is the catch? User error or a bug? where?

Riccardo


Reply via email to