Opened 4 years ago

Last modified 4 years ago

#61621 closed defect

fpc 3.2.0: Linker Error — at Initial Version

Reported by: sitrucz1 (Curtis Matz) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: fpc

Description

When compiling I am receiving the error below.

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release
_tarballs_ports_lang_fpc/fpc/work/ppcx64 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/opt/local/var/macpo
rts/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_fpc/fpc/wor
k/fpcbuild-3.2.0/fpcsrc/rtl/units/x86_64-darwin -Fix86_64 -FE. -FUx86_64/units/x86_64-darwin -dRELEA
SE    -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew -FE. utils/msg2inc.pp
:info:build ld: library not found for -lc
:info:build An error occurred while linking 
:info:build msg2inc.pp(822,51) Error: Error while linking
:info:build msg2inc.pp(822,51) Fatal: There were 1 errors compiling module, stopping
:info:build Fatal: Compilation aborted

To reproduce I cleaned the port and then tried to install.

xxx@yyyy ~ % sudo port clean fpc
--->  Cleaning fpc
xxx@yyyy ~ % sudo port install fpc
--->  Fetching archive for fpc
--->  Attempting to fetch fpc-3.2.0_0.darwin_20.x86_64.tbz2 from https://packages.macports.org/fpc
--->  Attempting to fetch fpc-3.2.0_0.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/fpc/fpc
--->  Attempting to fetch fpc-3.2.0_0.darwin_20.x86_64.tbz2 from https://mse.uk.packages.macports.org/fpc
--->  Fetching distfiles for fpc
--->  Verifying checksums for fpc
--->  Extracting fpc
--->  Configuring fpc
--->  Building fpc
Error: Failed to build fpc: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_fpc/fpc/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port fpc failed

Change History (0)

Note: See TracTickets for help on using tickets.