Opened 3 years ago

#64689 new defect

ghc @6.10.4 configure failure on Leopard

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, leopard Cc:
Port: ghc

Description

From what I understand this was the latest version to work for PowerPC.

--->  Configuring ghc
Executing:  cd "/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/ghc-6.10.4" && ./configure --prefix=/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/destroot/opt/local --datadir=/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/destroot/opt/local/share/ghc-6.10.4 --with-gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib --with-ghc='/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/ghc-bootstrap/bin/ghc' --with-gcc=/usr/bin/gcc-4.2 --build=powerpc-apple-darwin --host=powerpc-apple-darwin --target=powerpc-apple-darwin 
checking build system type... powerpc-apple-darwin
checking host system type... powerpc-apple-darwin
checking target system type... powerpc-apple-darwin
Canonicalised to: powerpc-apple-darwin
checking version of ghc... ./configure: line 2888:  2317 Trace/BPT trap          "${WithGhc-ghc}" --version > conftestghc 2>&1
unknown
./configure: line 2885: test: unknownunknown: integer expression expected
./configure: line 2886: test: unknownunknown: integer expression expected
./configure: line 2887: test: unknownunknown: integer expression expected
checking for nhc... no
checking for nhc98... no
checking for hbc... no
checking for ld... /opt/local/bin/ld
./configure: line 3291: test: unknown: integer expression expected
checking for path to top of build tree... dyld: Library not loaded: /opt/local/lib/libgmp.3.dylib
  Referenced from: /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/ghc-bootstrap/lib/ghc-6.10.1/ghc
  Reason: image not found
./configure: line 3312:  2340 Trace/BPT trap          $WithGhc -v0 -pgmc /usr/bin/gcc-4.2 -pgml /usr/bin/gcc-4.2 -pgma /usr/bin/gcc-4.2 --make pwd -o pwd
./configure: line 3314: utils/pwd/pwd: No such file or directory
configure: error: cannot determine current directory
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/ghc-6.10.4" && ./configure --prefix=/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/destroot/opt/local --datadir=/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/destroot/opt/local/share/ghc-6.10.4 --with-gmp-includes=/opt/local/include --with-gmp-libraries=/opt/local/lib --with-ghc='/opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/ghc-bootstrap/bin/ghc' --with-gcc=/usr/bin/gcc-4.2 --build=powerpc-apple-darwin --host=powerpc-apple-darwin --target=powerpc-apple-darwin 
Exit code: 1
Error: Failed to configure ghc: consult /opt/local/var/macports/build/_opt_PPCLeopardPorts_lang_ghc/ghc/work/ghc-6.10.4/config.log
Error: Failed to configure ghc: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_PPCLeopardPorts_lang_ghc/ghc/main.log for details.

Attachments (1)

main.log (38.0 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (1)

Changed 3 years ago by barracuda156

Attachment: main.log added
Note: See TracTickets for help on using tickets.