Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2012 10:28:11 -0400
From:      rvclayton@verizon.net (R. Clayton)
To:        freebsd-questions@freebsd.org
Subject:   Haskell platform install problem in ghc.
Message-ID:  <87fw68g6f8.fsf@UlanBator.myhome.westell.com>

next in thread | raw e-mail | index | archive | help
I'm on this

  $ uname -a
  FreeBSD BurkinaFaso 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue
  Jun 12 01:47:53 UTC 2012
  root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

  $

and go here 

  $ cd /usr/ports/devel/hs-haskell-platform/

  $ grep -i version Makefile
  PORTVERSION=    2012.2.0.0

  $

and do this

  # make install clean

and fail in lang/ghc with this (see the whole sad story at the end of this
message)

  gmake -r --no-print-directory -f ghc.mk phase=final all
  "inplace/bin/ghc-stage1"   -H32m -O -I/usr/local/include -L/usr/local/lib
  -package-name ghc-prim-0.2.0.0 -hide-all-packages -i
  -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build
  -ilibraries/ghc-prim/dist-install/build/autogen
  -Ilibraries/ghc-prim/dist-install/build
  -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.
  -optP-include -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h
  -package rts-1.0 -split-objs -package-name ghc-prim -XHaskell98 -XCPP
  -XMagicHash -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples
  -XEmptyDataDecls -XNoImplicitPrelude -O2  -no-user-package-conf -rtsopts
  -odir libraries/ghc-prim/dist-install/build -hidir
  libraries/ghc-prim/dist-install/build -stubdir
  libraries/ghc-prim/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c
  libraries/ghc-prim/./GHC/Types.hs -o
  libraries/ghc-prim/dist-install/build/GHC/Types.o
  /usr/bin/ld: unrecognized option '--build-id=none'

How do I fix this?

The whole make:

  # make install clean
  ===>   hs-haskell-platform-2012.2.0.0_1 depends on executable: ghc - not found
  ===>    Verifying install for ghc in /usr/ports/lang/ghc
  ===>  Building for ghc-7.4.1
  Makefile:62: target `all' given more than once in the same rule.
  ===--- building phase 0
  gmake -r --no-print-directory -f ghc.mk phase=0 phase_0_builds
  gmake[1]: Nothing to be done for `phase_0_builds'.
  ===--- building phase 1
  gmake -r --no-print-directory -f ghc.mk phase=1 phase_1_builds
  gmake[1]: Nothing to be done for `phase_1_builds'.
  ===--- building final phase
  gmake -r --no-print-directory -f ghc.mk phase=final all
  "inplace/bin/ghc-stage1"   -H32m -O -I/usr/local/include -L/usr/local/lib
  -package-name ghc-prim-0.2.0.0 -hide-all-packages -i
  -ilibraries/ghc-prim/. -ilibraries/ghc-prim/dist-install/build
  -ilibraries/ghc-prim/dist-install/build/autogen
  -Ilibraries/ghc-prim/dist-install/build
  -Ilibraries/ghc-prim/dist-install/build/autogen -Ilibraries/ghc-prim/.
  -optP-include
  -optPlibraries/ghc-prim/dist-install/build/autogen/cabal_macros.h -package
  rts-1.0 -split-objs -package-name ghc-prim -XHaskell98 -XCPP -XMagicHash
  -XForeignFunctionInterface -XUnliftedFFITypes -XUnboxedTuples
  -XEmptyDataDecls -XNoImplicitPrelude -O2  -no-user-package-conf -rtsopts
  -odir libraries/ghc-prim/dist-install/build -hidir
  libraries/ghc-prim/dist-install/build -stubdir
  libraries/ghc-prim/dist-install/build -hisuf hi -osuf  o -hcsuf hc -c
  libraries/ghc-prim/./GHC/Types.hs -o
  libraries/ghc-prim/dist-install/build/GHC/Types.o 
  /usr/bin/ld: unrecognized option '--build-id=none'
  /usr/bin/ld: use the --help option for usage information
  gmake[1]: *** [libraries/ghc-prim/dist-install/build/GHC/Types.o] Error 1
  gmake: *** [all] Error 2
  *** Error code 1

  Stop in /usr/ports/lang/ghc.
  *** Error code 1

  Stop in /usr/ports/lang/ghc.
  *** Error code 1

  Stop in /usr/ports/devel/hs-haskell-platform.

  # 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87fw68g6f8.fsf>