[MacPorts] #19985: ghc 6.10.3 cannot exec '/opt/local/bin/i686-apple-darwin8-gcc-4. 0.1'
#19985: ghc 6.10.3 cannot exec '/opt/local/bin/i686-apple-darwin8-gcc-4. 0.1' -----------------------------------------------------------------------------------+ Reporter: gonhidi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ghc 6.10.3 Tiger 10.4.11 /opt/local/bin/i686-apple-darwin8-gcc-4. 0.1 | Port: ghc -----------------------------------------------------------------------------------+ When building ghc 6.10.3_1 on MacOSX 10.4.11 (XCode 2.5 installed) I get the following error: {{{ Preprocessing library hpc-0.5.0.3... gcc: installation problem, cannot exec '/opt/local/bin/i686-apple- darwin8-gcc-4.0.1': No such file or directory compiling dist-bootstrapping/build/Trace/Hpc/Reflect_hsc_make.c failed command was: /opt/local/bin/gcc -c -I/opt/local/include -D__GLASGOW_HASKELL__=606 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ghc/work /ghc-bootstrap/lib/ghc-6.6/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_po rts_lang_ghc/work/ghc-bootstrap/lib/ghc-6.6/include dist- bootstrapping/build/Trace/Hpc/Reflect_hsc_make.c -o dist- bootstrapping/build/Trace/Hpc/Reflect_hsc_make.o make[1]: *** [bootstrapping.conf] Error 1 make: *** [stage1] Error 2 Warning: the following items did not execute (for ghc): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install Error: Status 1 encountered during processing. }}} Workaround: Soft-linking `/opt/local/bin/i686-apple-darwin8-gcc-4.0.1` to `/usr/bin/i686-apple-darwin8-gcc-4.0.1` seems to help get around this issue (but is not really a workaround for me because I later stumble upon a -lgmp issue such as (identical to?) the one noted on ticket #17321). -- Ticket URL: <http://trac.macports.org/ticket/19985> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19985: ghc 6.10.3 cannot exec '/opt/local/bin/i686-apple-darwin8-gcc-4. 0.1' -----------------------------------------------------------------------------------+ Reporter: gonhidi@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ghc 6.10.3 Tiger 10.4.11 /opt/local/bin/i686-apple-darwin8-gcc-4. 0.1 | Port: ghc -----------------------------------------------------------------------------------+ Changes (by ryandesign@…): * cc: ryandesign@… (added) * owner: macports-tickets@… => gwright@… Comment: Replying to [ticket:19985 gonhidi@…]:
gcc: installation problem, cannot exec '/opt/local/bin/i686-apple- darwin8-gcc-4.0.1': No such file or directory
Workaround: Soft-linking `/opt/local/bin/i686-apple-darwin8-gcc-4.0.1` to `/usr/bin/i686-apple-darwin8-gcc-4.0.1` seems to help get around this issue Have you used gcc_select to select another version of gcc, e.g. one you installed with MacPorts? If so, then you are being affected by #19856.
(but is not really a workaround for me because I later stumble upon a -lgmp issue such as (identical to?) the one noted on ticket #17321). Actually #19747.
-- Ticket URL: <http://trac.macports.org/ticket/19985#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19985: ghc 6.10.3 cannot exec '/opt/local/bin/i686-apple-darwin8-gcc-4. 0.1' -----------------------------------------------------------------------------------+ Reporter: gonhidi@… | Owner: gwright@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: ghc 6.10.3 Tiger 10.4.11 /opt/local/bin/i686-apple-darwin8-gcc-4. 0.1 | Port: ghc -----------------------------------------------------------------------------------+ Comment(by gonhidi@…): Replying to [comment:1 ryandesign@…]:
Replying to [ticket:19985 gonhidi@…]:
gcc: installation problem, cannot exec '/opt/local/bin/i686-apple- darwin8-gcc-4.0.1': No such file or directory
Workaround: Soft-linking `/opt/local/bin/i686-apple-darwin8-gcc-4.0.1` to `/usr/bin/i686-apple-darwin8-gcc-4.0.1` seems to help get around this issue Have you used gcc_select to select another version of gcc, e.g. one you installed with MacPorts? If so, then you are being affected by #19856.
I hadn't realized that it wasn't enough to `gcc_select gcc40` to ‘undo’ the use of `gcc_select`, so yes, I have been bitten by that one.
(but is not really a workaround for me because I later stumble upon a -lgmp issue such as (identical to?) the one noted on ticket #17321). Actually #19747.
Damm! I don't know how I missed that one. Sorry for the inconvenience and thank your for the prompt and kind help. -- Ticket URL: <http://trac.macports.org/ticket/19985#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19985: ghc 6.10.3 cannot exec '/opt/local/bin/i686-apple-darwin8-gcc-4. 0.1' --------------------------------+------------------------------------------- Reporter: gonhidi@… | Owner: gwright@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: duplicate | Keywords: ghc 6.10.3 Tiger 10.4.11 /opt/local/bin/i686-apple-darwin8-gcc-4. 0.1 Port: ghc | --------------------------------+------------------------------------------- Changes (by gwright@…): * status: new => closed * resolution: => duplicate Comment: Main issue is a duplicate of #19856. The "-lgmp" issue is the now resolved #19747. -- Ticket URL: <http://trac.macports.org/ticket/19985#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts