From owner-freebsd-questions@FreeBSD.ORG Sun Sep 23 14:28:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CE7C1065675 for ; Sun, 23 Sep 2012 14:28:24 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id C8E218FC12 for ; Sun, 23 Sep 2012 14:28:23 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TFnAY-0000PM-A0 for freebsd-questions@freebsd.org; Sun, 23 Sep 2012 16:28:26 +0200 Received: from pool-100-1-118-58.nwrknj.fios.verizon.net ([100.1.118.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Sep 2012 16:28:26 +0200 Received: from rvclayton by pool-100-1-118-58.nwrknj.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Sep 2012 16:28:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: rvclayton@verizon.net (R. Clayton) Date: Sun, 23 Sep 2012 10:28:11 -0400 Lines: 91 Message-ID: <87fw68g6f8.fsf@UlanBator.myhome.westell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-100-1-118-58.nwrknj.fios.verizon.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:k4K8/3quZHxxyrB1HtAGh/MoZVc= Subject: Haskell platform install problem in ghc. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2012 14:28:24 -0000 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. #