[GHC] #8683: add "cpp program" and "cpp program options" to settings file

GHC ghc-devs at haskell.org
Mon Mar 24 03:24:27 UTC 2014


#8683: add "cpp program" and "cpp program options" to settings file
-------------------------------------+------------------------------------
        Reporter:  carter            |            Owner:  carter
            Type:  feature request   |           Status:  patch
        Priority:  highest           |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.8.1-rc2
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #8439
-------------------------------------+------------------------------------

Comment (by carter):

 PROGRESSS!

 the relevant step of validate that was failing was was {{{ cd
 libraries/xhtml && ./Setup build   --builddir=dist-bindist}}}

 I took the liberty of running this by hand:
 {{{

 carter libraries/xhtml ‹fb9e0bb*› » ./Setup build   --builddir=dist-
 bindist -v3                                                   1 ↵
 Component build order: library
 creating dist-bindist/build
 creating dist-bindist/build/autogen
 Building xhtml-3000.2.1...
 Preprocessing library xhtml-3000.2.1...
 Building library...
 ("/Users/carter/Desktop/repoScratcher/ghc/bindisttest/install
 dir/bin/ghc",["--info"])
 ("/Users/carter/Desktop/repoScratcher/ghc/bindisttest/install
 dir/bin/ghc",["--info"])
 creating dist-bindist/build
 Environment: [("Apple_PubSub_Socket_Render","/tmp/launch-
 IehmnE/Render"),("CAML_LD_LIBRARY_PATH","/Users/carter/.opam/system/lib/stublibs:/usr/local/lib/ocaml/stublibs"),("CLICOLOR","1"),("COLORFGBG","7;0"),("COMMAND_MODE","unix2003"),("DBUS_LAUNCHD_SESSION_BUS_SOCKET","/tmp
 /launch-
 kHPpAS/unix_domain_listener"),("DISABLE_AUTO_UPDATE","true"),("DISPLAY","/tmp
 /launch-7MeZK8/org.macosforge.xquartz:0"),("EDITOR","subl -w
 -n"),("GNUTERM","x11"),("GREP_COLOR","1;32"),("GREP_OPTIONS","--
 color=auto"),("HOME","/Users/carter"),("ITERM_SESSION_ID","w0t1p0"),("LANG","en_US.UTF-8"),("LC_CTYPE","en_US.UTF-8"),("LESS","-R"),("LOGNAME","carter"),("LSCOLORS","Gxfxcxdxbxegedabagacad"),("MANPATH","/Users/carter/.opam/system/man:"),("MYTARCACHE","/Users/carter
 /.tarsnap-cache/"),("MYTARKEY","/Users/carter/.secureme/tarsnap-
 2011MBAir13.key"),("NODE_PATH","/usr/local/lib/node_modules:/usr/local/lib/node"),("OCAML_TOPLEVEL_PATH","/Users/carter/.opam/system/lib/toplevel"),("OLDPWD","/Users/carter/Desktop/repoScratcher/ghc"),("PAGER","less"),("PATH","/Users/carter/.opam/system/bin:/opt/local/bin:/Users/carter/bin:/usr/local/Cellar/smlnj/110.74/libexec/bin:/Applications/Postgres.app/Contents/MacOS/bin:/Users/carter/.scripts:/Users/carter/.cabal/bin:/Users/carter/Library/Haskell/bin:/Users/carter/docTemplates:/usr/local/share/npm/bin:/usr/local/share/python:/usr/local/Cellar/ruby/1.9.3-p194/bin:/usr/local/bin:/usr/local/sbin:/usr/local/cuda/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin:/usr/texbin"),("PKG_CONFIG_PATH","/opt/X11/lib/pkgconfig:"),("PWD","/Users/carter/Desktop/repoScratcher/ghc/libraries/xhtml"),("PYTHONPATH","/usr/local/share/python:/usr/local/lib/python:"),("SECURITYSESSIONID","186a4"),("SHELL","/bin/zsh"),("SHLVL","1"),("SSH_AUTH_SOCK","/tmp
 /launch-iHEzRI/Listeners"),("TERM","xterm-
 256color"),("TERM_PROGRAM","iTerm.app"),("TMPDIR","/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/"),("USER","carter"),("ZSH","/Users/carter
 /.oh-my-
 zsh"),("ZSH_THEME","carter"),("_","/Users/carter/Desktop/repoScratcher/ghc/libraries/xhtml/./Setup"),("__CF_USER_TEXT_ENCODING","0x1F5:0:0"),("__CHECKFIX1436934","1")]
 ("/Users/carter/Desktop/repoScratcher/ghc/bindisttest/install
 dir/bin/ghc",["--make","-v","-fbuilding-cabal-
 package","-O","-dynamic","-fPIC","-osuf","dyn_o","-hisuf","dyn_hi","-outputdir
 ","dist-bindist/build","-odir","dist-bindist/build","-hidir","dist-
 bindist/build","-stubdir","dist-bindist/build","-i","-idist-
 bindist/build","-i.","-idist-bindist/build/autogen","-Idist-
 bindist/build/autogen","-Idist-bindist/build","-optP-include","-optPdist-
 bindist/build/autogen/cabal_macros.h","-package-name","xhtml-3000.2.1
 ","-hide-all-packages","-no-user-package-db","-package-db","dist-
 bindist/package.conf.inplace","-package-
 id","base-4.7.0.0-db909df045884d25c2593604bc4b7fad","-XHaskell98","-XCPP","Text.XHtml","Text.XHtml.Frameset","Text.XHtml.Strict","Text.XHtml.Transitional","Text.XHtml.Debug","Text.XHtml.Table","Text.XHtml.Strict.Attributes","Text.XHtml.Strict.Elements","Text.XHtml.Frameset.Attributes","Text.XHtml.Frameset.Elements","Text.XHtml.Transitional.Attributes","Text.XHtml.Transitional.Elements","Text.XHtml.BlockTable","Text.XHtml.Extras","Text.XHtml.Internals","-Wall"])
 Glasgow Haskell Compiler, Version 7.8.0.20140323, stage 2 booted by GHC
 version 7.8.0.20140311
 Using binary package database:
 /Users/carter/Desktop/repoScratcher/ghc/bindisttest/install
 dir/lib/ghc-7.8.0.20140323/package.conf.d/package.cache
 Using package config file: dist-bindist/package.conf.inplace
 wired-in package ghc-prim mapped to ghc-
 prim-0.3.1.0-ed30589de10ea47e88c54710213a68e0
 wired-in package integer-gmp mapped to integer-
 gmp-0.5.1.0-5e6bd420a1279049d72fe1ad55e57662
 wired-in package base mapped to
 base-4.7.0.0-db909df045884d25c2593604bc4b7fad
 wired-in package rts mapped to builtin_rts
 wired-in package template-haskell mapped to template-
 haskell-2.9.0.0-0b1690f10983f893b9e2b88305e78762
 wired-in package dph-seq not found.
 wired-in package dph-par not found.
 Hsc static flags:
 wired-in package ghc-prim mapped to ghc-
 prim-0.3.1.0-ed30589de10ea47e88c54710213a68e0
 wired-in package integer-gmp mapped to integer-
 gmp-0.5.1.0-5e6bd420a1279049d72fe1ad55e57662
 wired-in package base mapped to
 base-4.7.0.0-db909df045884d25c2593604bc4b7fad
 wired-in package rts mapped to builtin_rts
 wired-in package template-haskell mapped to template-
 haskell-2.9.0.0-0b1690f10983f893b9e2b88305e78762
 wired-in package dph-seq not found.
 wired-in package dph-par not found.
 *** Chasing dependencies:
 Chasing modules from:
 *Text.XHtml,*Text.XHtml.Frameset,*Text.XHtml.Strict,*Text.XHtml.Transitional,*Text.XHtml.Debug,*Text.XHtml.Table,*Text.XHtml.Strict.Attributes,*Text.XHtml.Strict.Elements,*Text.XHtml.Frameset.Attributes,*Text.XHtml.Frameset.Elements,*Text.XHtml.Transitional.Attributes,*Text.XHtml.Transitional.Elements,*Text.XHtml.BlockTable,*Text.XHtml.Extras,*Text.XHtml.Internals
 Created temporary directory:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc15554_0
 *** C pre-processor:
 '' -include dist-bindist/build/autogen/cabal_macros.h -I dist-
 bindist/build -I dist-bindist/build -I dist-bindist/build/autogen -I dist-
 bindist/build -I
 '/Users/carter/Desktop/repoScratcher/ghc/bindisttest/install
 dir/lib/ghc-7.8.0.20140323/base-4.7.0.0/include' -I
 '/Users/carter/Desktop/repoScratcher/ghc/bindisttest/install
 dir/lib/ghc-7.8.0.20140323/integer-gmp-0.5.1.0/include' -I
 '/Users/carter/Desktop/repoScratcher/ghc/bindisttest/install
 dir/lib/ghc-7.8.0.20140323/include' '-D__GLASGOW_HASKELL__=708'
 '-Ddarwin_BUILD_OS=1' '-Dx86_64_BUILD_ARCH=1' '-Ddarwin_HOST_OS=1'
 '-Dx86_64_HOST_ARCH=1' '-U __PIC__' -D__PIC__ '-D__SSE__=1' '-D__SSE2__=1'
 -x assembler-with-cpp ./Text/XHtml.hs -o
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc15554_0/ghc15554_1.hscpp
 *** Deleting temp files:
 Deleting:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc15554_0/ghc15554_1.hscpp
 Warning: deleting non-existent
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc15554_0/ghc15554_1.hscpp
 *** Deleting temp dirs:
 Deleting: /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc15554_0
 ghc: could not execute:
 /Users/carter/Desktop/repoScratcher/ghc/bindisttest/install dir/bin/ghc
 returned ExitFailure 1
 }}}

 Still not sure whats happening, but its a bit more explicit whatever it is

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8683#comment:51>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list