[MacPorts] #64689: ghc @6.10.4 configure failure on Leopard

MacPorts noreply at macports.org
Fri Feb 18 15:45:10 UTC 2022


#64689: ghc @6.10.4 configure failure on Leopard
------------------------------+--------------------
 Reporter:  barracuda156      |      Owner:  (none)
     Type:  defect            |     Status:  new
 Priority:  Normal            |  Milestone:
Component:  ports             |    Version:  2.7.1
 Keywords:  powerpc, leopard  |       Port:  ghc
------------------------------+--------------------
 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.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64689>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list