[MacPorts] #34401: hs-platform-GLUT @2.1.1.2 build fail
#34401: hs-platform-GLUT @2.1.1.2 build fail -------------------------------------+-------------------------------------- Reporter: willy.wolff.0@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: -------------------------------------+-------------------------------------- Want to install haskell-platform -- Ticket URL: <https://trac.macports.org/ticket/34401> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34401: hs-platform-GLUT @2.1.1.2 build fail -------------------------------------+-------------------------------------- Reporter: willy.wolff.0@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: hs-platform-GLUT -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * port: => hs-platform-GLUT Comment: Your log says: {{{ ghc: could not execute: /usr/bin/gcc-4.2 }}} I'll bet you're using Xcode 4.3. Rebuild ghc. See wiki:ProblemHotlist#xcode43 -- Ticket URL: <https://trac.macports.org/ticket/34401#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34401: hs-platform-GLUT @2.1.1.2 build fail -------------------------------------+-------------------------------------- Reporter: willy.wolff.0@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: hs-platform-GLUT -------------------------------------+-------------------------------------- Comment(by willy.wolff.0@…): I have command line tool installed with xcode. xcode-select -print-path /Applications/Xcode.app/Contents/Developer xcode-select -version xcode-select version 2307. sudo port -fp uninstall --follow-dependents ghc ... sudo port install haskell-platform ghc @6.10.4_5, hs-platform-OpenGL @2.2.1.1_0 installed correctly. but with hs-platform-GLUT same error with gcc42 and tclIndex no such file directory like before -- Ticket URL: <https://trac.macports.org/ticket/34401#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34401: hs-platform-GLUT @2.1.1.2 build fail -------------------------------------+-------------------------------------- Reporter: willy.wolff.0@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: hs-platform-GLUT -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Ignore the tclIndex error message; it's irrelevant. The relevant error is that ghc is trying to use /usr/bin/gcc-4.2 and there is no gcc-4.2 in Xcode 4.3. I'll bet you got the binary from our packages server, which was built with Xcode 4.1 I think. Force MacPorts to build ghc from source instead: {{{ sudo port -ns upgrade --force ghc }}} Then things like hs-platform-GLUT that use ghc should work. -- Ticket URL: <https://trac.macports.org/ticket/34401#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34401: hs-platform-GLUT @2.1.1.2 build fail -------------------------------------+-------------------------------------- Reporter: willy.wolff.0@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: hs-platform-GLUT -------------------------------------+-------------------------------------- Comment(by willy.wolff.0@…): I try to updrade has you have suggested, but got error to: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4/ghc/stage1-inplace/ghc -package-name containers-0.2.0.1 -hide-all-packages -no-user-package-conf -split-objs -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -I/opt/local/include -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package array-0.2.0.0 -package base-4.1.0.0 -O -XDeriveDataTypeable -XMagicHash -XRank2Types -XCPP -idist/build -H32m -O -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4/libffi -I/opt/local/include -L/opt/local/lib -O2 -Rghc-timing -XGenerics -Wall -fno-warn-deprecated-flags -c Data/Map.hs -o dist/build/Data/Map.o -ohi dist/build/Data/Map.hi :info:build i686-apple-darwin11-gcc-apple-4.2.1: error trying to exec '/opt/local/libexec/apple-gcc42/gcc/i686-apple-darwin11/4.2.1/as': execv: Permission denied :info:build <<ghc: 1706265832 bytes, 2359 GCs, 18279032/29299064 avg/max bytes residency (10 samples), 70M in use, 0.00 INIT (0.00 elapsed), 2.63 MUT (7.74 elapsed), 1.54 GC (1.60 elapsed) :ghc>> :info:build make[2]: *** [dist/build/Data/Sequence.o] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build <<ghc: 1041019096 bytes, 1124 GCs, 16715740/29521376 avg/max bytes residency (8 samples), 70M in use, 0.00 INIT (0.00 elapsed), 1.57 MUT (8.91 elapsed), 0.98 GC (1.03 elapsed) :ghc>> :info:build <<ghc: 1222735736 bytes, 1531 GCs, 17599759/30707144 avg/max bytes residency (9 samples), 73M in use, 0.00 INIT (0.00 elapsed), 1.86 MUT (10.07 elapsed), 1.20 GC (1.26 elapsed) :ghc>> :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4/libraries/containers' :info:build make[1]: *** [make.library.containers] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4/libraries' :info:build make: *** [stage1] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/work/ghc-6.10.4" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for ghc): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for ghc is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_ghc/ghc/main.log -- Ticket URL: <https://trac.macports.org/ticket/34401#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34401: hs-platform-GLUT @2.1.1.2 build fail -------------------------------------+-------------------------------------- Reporter: willy.wolff.0@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: hs-platform-GLUT -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: gwright@…, ryandesign@… (added) Comment: Could you please attach the entire main.log? -- Ticket URL: <https://trac.macports.org/ticket/34401#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34401: hs-platform-GLUT @2.1.1.2 build fail -------------------------------+-------------------------------- Reporter: willy.wolff.0@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: wontfix | Keywords: Port: hs-platform-GLUT | -------------------------------+-------------------------------- Changes (by cal@…): * status: new => closed * resolution: => wontfix Comment: Since this ticket concerns GHC 6.x and the hs-platform-* ports no longer exist, I assume it is obsolete. -- Ticket URL: <https://trac.macports.org/ticket/34401#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts