[MacPorts] #61621: fpc 3.2.0: Linker Error
MacPorts
noreply at macports.org
Sun Nov 22 13:38:06 UTC 2020
#61621: fpc 3.2.0: Linker Error
-----------------------+-------------------------
Reporter: sitrucz1 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: free pascal
Port: fpc |
-----------------------+-------------------------
Description changed by sitrucz1:
Old 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 at yyyy ~ % sudo port clean fpc
> ---> Cleaning fpc
> xxx at 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
> }}}
New description:
When compiling on Big Sur 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 at yyyy ~ % sudo port clean fpc
---> Cleaning fpc
xxx at 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
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/61621#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list