New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16592 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

hmake build failure

Reported by: rogpeppe@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: rogpeppe@…, flatter@…
Port: hmake

Description

$ port install hmake
--->  Fetching hmake
--->  Verifying checksum(s) for hmake
--->  Extracting hmake
--->  Configuring hmake
--->  Building hmake with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hmake/work/hmake-3.13" && make all " returned error 2
Command output: Makefile:10: *** Cannot find compiler type.  Stop.

Error: Status 1 encountered during processing.
$ 

i have ghc already installed (under macports) if that makes any difference.

i'm running under mac os 10.5.3 on a macbook.

Change History

comment:1 Changed 5 years ago by rogpeppe@…

  • Cc rogpeppe@… added

Cc Me!

comment:2 Changed 5 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to invalid

The hmake port is already at version 3.14, which is necessary to work with ghc 6.8.x. Please update your ports and try again.

sudo port sync
sudo port install hmake

Please re-open this ticket if that does not resolve the issue.

comment:3 Changed 5 years ago by joseph.bruce@…

I'm getting the same error, even after syncing.

comment:4 Changed 5 years ago by flatter@…

  • Cc flatter@… added

Cc Me!

comment:5 Changed 5 years ago by flatter@…

Same thing for me.

comment:6 Changed 5 years ago by blb@…

  • Status changed from closed to reopened
  • Resolution invalid deleted

comment:7 Changed 5 years ago by blb@…

Looks like hmake 3.14 isn't the fix for this, I see a failure here as well:

DEBUG: Environment: CFLAGS='-pipe -O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2' MACOSX_DEPLOYMENT_TARGET='10.5' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-pipe -O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-pipe -O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2' FFLAGS='-pipe -O2' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_blb_devel_macports_trunk_dports_devel_hmake/work/hmake-3.14" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man/man1 --buildwith=ghc'
The builtin 'echo' command doesn't do '-n' - emulating it.
./configure: line 58: -o: command not found
./configure: line 59: /opt/local/var/macports/build/_Users_blb_devel_macports_trunk_dports_devel_hmake/work/hmake-3.14/script/echo: No such file or directory

-o: command not found is very suspicious. That is preceded by ${CCC}, so perhaps another Tcl env bug edge case?

comment:8 Changed 5 years ago by blb@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Not the Tcl env bug...fixed in r41602 by patching the configure script to define what CCC is prior to actually trying to use it.

comment:9 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.