Date: Tue, 05 Mar 2019 16:33:55 +0000 From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 236263] lang/ghc: build fails if LOCALBASE != /usr/local Message-ID: <bug-236263-16154@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236263 Bug ID: 236263 Summary: lang/ghc: build fails if LOCALBASE !=3D /usr/local Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: haskell@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com Flags: maintainer-feedback?(haskell@FreeBSD.org) Assignee: haskell@FreeBSD.org lang/ghc fails to build with the default options (notably BOOT=3Doff) if LOCALBASE !=3D /usr/local: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D . . [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... cc: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument] cc: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument] /usr/bin/ld: cannot find -liconv cc: error: linker command failed with exit code 1 (use -v to see invocation) `cc' failed in phase `Linker'. (Exit code: 1) *** Error code 1 Stop. make: stopped in /usr/ports/lang/ghc =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D It seems the pre-built bootstrap version of ghc has hard-coded references to /usr/local. Is there a way to override those references? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236263-16154>