[MacPorts] #67616: gcc 12.3.0 does not install libd10-uwfef on i386?
MacPorts
noreply at macports.org
Tue Jun 13 11:08:43 UTC 2023
#67616: gcc 12.3.0 does not install libd10-uwfef on i386?
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: i386 | Port: gcc12
--------------------------+--------------------
`R-bain` fails, not being able to find that lib:
{{{
* installing *source* package ‘bain’ ...
** using staged installation
** libs
using C compiler: ‘clang version 11.1.0’
using Fortran compiler: ‘GNU Fortran (MacPorts gcc12
12.3.0_0+stdlib_flag+universal) 12.3.0’
Warning in system2("xcrun", "--show-sdk-path", TRUE, TRUE) :
running command ''xcrun' --show-sdk-path 2>&1' had status 64
using SDK: ‘NA’‘NA’‘NA’‘NA’‘NA’‘NA’
/opt/local/bin/gfortran-mp-12 -fPIC -pipe -Os -m32 -c Bain.f90 -o
Bain.o
<stdin>:4110:11: warning: section "__textcoal_nt" is deprecated
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
<stdin>:4110:11: note: change section name to "__text"
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
<stdin>:4114:11: warning: section "__textcoal_nt" is deprecated
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
<stdin>:4114:11: note: change section name to "__text"
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
<stdin>:4119:11: warning: section "__textcoal_nt" is deprecated
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
<stdin>:4119:11: note: change section name to "__text"
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
<stdin>:4123:11: warning: section "__textcoal_nt" is deprecated
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
<stdin>:4123:11: note: change section name to "__text"
.section __TEXT,__textcoal_nt,coalesced,pure_instructions
^ ~~~~~~~~~~~~~
/opt/local/bin/clang-mp-11
-I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG
-isystem/opt/local/include/LegacySupport -I/opt/local/include -fPIC
-pipe -Os -arch i386 -c bain_init.c -o bain_init.o
/opt/local/bin/clang-mp-11 -dynamiclib -Wl,-headerpad_max_install_names
-undefined dynamic_lookup -single_module -multiply_defined suppress
-L/opt/local/Library/Frameworks/R.framework/Resources/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc
-L/opt/local/lib -lMacportsLegacySupport -arch i386 -o bain.so Bain.o
bain_init.o -L/opt/local/lib/gcc12/gcc/i386-apple-darwin10/12.3.0
-L/opt/local/lib/gcc12 -lMacportsLegacySupport -lgfortran -ld10-uwfef
-lquadmath -F/opt/local/Library/Frameworks/R.framework/.. -framework R
-Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option
'-L/opt/local/lib/gcc12/gcc/i386-apple-darwin10/12.3.0'
ld: library not found for -ld10-uwfef
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [bain.so] Error 1
ERROR: compilation failed for package ‘bain’
* removing
‘/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_R_R-
bain/R-bain/work/bain/bain.Rcheck/bain’
}}}
Portfile correctly asks for fortran.
GCC version:
{{{
gcc12 @12.3.0_0+stdlib_flag+universal (active)
requested_variants='+universal' platform='darwin 10' archs='i386 x86_64'
date='2023-06-12T04:25:10+0800'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/67616>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list