[Bug 251712] lang/fpc: uses incorrect linker path
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 9 17:27:18 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251712
Bug ID: 251712
Summary: lang/fpc: uses incorrect linker path
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: acm at FreeBSD.org
Reporter: amdmi3 at FreeBSD.org
Flags: maintainer-feedback?(acm at FreeBSD.org)
Assignee: acm at FreeBSD.org
I've noticed a problem when compiling games/hedgewars port: it builds fine in
poudriere, but fails on the host, being unable to link test fpc program trying
to run /bin/ld.bfd (which does not exist). I've tracked it down to this patch:
https://svnweb.freebsd.org/ports/head/lang/fpc/files/patch-compiler_systems_t__bsd.pas?revision=556252&view=markup
It composes linker path based on LOCALBASE environment variable. This doesn't
seem right as LOCALBASE is not guaranteed to be set (however it seems to be set
in poudriere). It looks like LOCALBASE value at the time of fpc build should be
hardcoded into the source here. Additionally, though it uses ld.bfd from
binutils, fpc does not have runtime dependency on binutils. This should be
fixed as well.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list