[Bug 236263] lang/ghc: build fails if LOCALBASE != /usr/local

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 5 16:33:58 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236263

            Bug ID: 236263
           Summary: lang/ghc: build fails if LOCALBASE != /usr/local
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: haskell at FreeBSD.org
          Reporter: jcfyecrayz at liamekaens.com
             Flags: maintainer-feedback?(haskell at FreeBSD.org)
          Assignee: haskell at FreeBSD.org

lang/ghc fails to build with the default options (notably BOOT=off) if
LOCALBASE != /usr/local:


=============================
 .
 .
[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
=============================

It seems the pre-built bootstrap version of ghc has hard-coded references to
/usr/local.  Is there a way to override those references?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-haskell mailing list