[MacPorts] #54908: ghc @7.8.3_6: fails to build in trace mode on 10.11

MacPorts noreply at macports.org
Wed Sep 27 07:37:36 UTC 2017


#54908: ghc @7.8.3_6: fails to build in trace mode on 10.11
---------------------+-----------------
 Reporter:  dliessi  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  ghc
---------------------+-----------------
 Probably missing dependencies?
 See in particular the trace mode warnings regarding files provided by
 Haskell ports and `gc.h`.

 Full log attached.

 Terminal output:
 {{{
 $ sudo port -ts destroot ghc
 --->  Computing dependencies for ghc
 --->  Fetching distfiles for ghc
 --->  Verifying checksums for ghc
 --->  Extracting ghc
 --->  Applying patches to ghc
 --->  Configuring ghc
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/bin/alex
   /opt/local/bin/gmake
   /opt/local/bin/gnutar
   /opt/local/bin/grep
   /opt/local/bin/gsed
   /opt/local/bin/happy
   /opt/local/share/xml/docbook/4.1.2/catalog.xml
   /opt/local/share/xml/docbook/4.2/catalog.xml
   /opt/local/share/xml/docbook/4.3/catalog.xml
   /opt/local/share/xml/docbook/4.4/catalog.xml
   /opt/local/share/xml/docbook/4.5/catalog.xml
   /opt/local/share/xml/docbook/5.0/catalog.xml
   /opt/local/share/xsl/docbook-xsl/catalog.xml
 Warning: The following file inside the MacPorts prefix not installed by a
 port was accessed:
   /opt/local/etc/xml/catalog
 --->  Building ghc
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /opt/local/bin/alex
   /opt/local/bin/grep
   /opt/local/bin/haddock
   /opt/local/bin/happy
   /opt/local/bin/hpc
   /opt/local/bin/pkg-config
   /opt/local/include/gc/gc.h
   /opt/local/include/mach-o/fat.h
   /opt/local/include/mach-o/loader.h
   /opt/local/include/mach-o/nlist.h
   /opt/local/include/mach-o/reloc.h
   /opt/local/include/mach-o/x86_64/reloc.h
 Warning: The following file inside the MacPorts prefix not installed by a
 port was accessed:
   /opt/local/include/GC.h
 Error: Failed to build ghc: command execution failed
 Error: See /opt/local/var/macports/logs/_opt_macports-git_macports-
 ports_lang_ghc/ghc/main.log for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port ghc failed
 }}}

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


More information about the macports-tickets mailing list