HEAD doesn't build without sphinx-build
If you git clone HEAD and run ./validate the system should build without further ado. It doesn't. The make all fails, complaining about an absence of sphinx-build. Using the mk .sample files doesn't help.
Installing sphinx-bulid resolves the issue.
So the documentation here and/or the default build are out of sync with each other.
Trac metadata
Trac field | Value |
---|---|
Version | 8.4.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | low |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- jrp2014 changed weight to 3
changed weight to 3
- jrp2014 added Tbug Trac import labels
added Tbug Trac import labels
- Maintainer
I'm not sure I agree that
validate
should pass if sphinx-build is missing.Validate
is intended to serve as a comprehensive check of the tree; this includes checking that the documentation is buildable. If you want to build without documentation, I would suggest not usingvalidate
and configuremk/build.mk
appropriately:BUILD_SPHINX_HTML = NO BUILD_SPHINX_PDF = NO
Well, I'm not sure what I did, but it used to validate without sphinx-build. Now even with sphinx-build, I get
"inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -O0 -H64m -Wall -Werror -hide-all-packages -i -iutils/haddock/driver -iutils/haddock/haddock-api/src -iutils/haddock/haddock-library/vendor/attoparsec-0.13.1.0 -iutils/haddock/haddock-library/src -iutils/haddock/dist/build -Iutils/haddock/dist/build -iutils/haddock/dist/build/haddock/autogen -Iutils/haddock/dist/build/haddock/autogen -optP-DIN_GHC_TREE -optP-include -optPutils/haddock/dist/build/haddock/autogen/cabal_macros.h -package-id Cabal-2.3.0.0 -package-id array-0.5.2.0 -package-id base-4.12.0.0 -package-id bytestring-0.10.8.2 -package-id containers-0.5.11.0 -package-id deepseq-1.4.4.0 -package-id directory-1.3.2.3 -package-id filepath-1.4.2 -package-id ghc-8.5 -package-id ghc-boot-8.5 -package-id transformers-0.5.5.0 -package-id xhtml-3000.2.2 -funbox-strict-fields -Wall -fwarn-tabs -O2 -threaded -XHaskell2010 -no-user-package-db -rtsopts -Wno-unused-imports -Wno-deprecations -Wnoncanonical-monad-instances -odir utils/haddock/dist/build -hidir utils/haddock/dist/build -stubdir utils/haddock/dist/build -c utils/haddock/haddock-library/vendor/attoparsec-0.13.1.0/Data/Attoparsec/ByteString/Char8.hs -o utils/haddock/dist/build/Data/Attoparsec/ByteString/Char8.dyn_o "inplace/bin/ghc-stage2" -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -O0 -H64m -Wall -Werror -hide-all-packages -i -iutils/haddock/driver -iutils/haddock/haddock-api/src -iutils/haddock/haddock-library/vendor/attoparsec-0.13.1.0 -iutils/haddock/haddock-library/src -iutils/haddock/dist/build -Iutils/haddock/dist/build -iutils/haddock/dist/build/haddock/autogen -Iutils/haddock/dist/build/haddock/autogen -optP-DIN_GHC_TREE -optP-include -optPutils/haddock/dist/build/haddock/autogen/cabal_macros.h -package-id Cabal-2.3.0.0 -package-id array-0.5.2.0 -package-id base-4.12.0.0 -package-id bytestring-0.10.8.2 -package-id containers-0.5.11.0 -package-id deepseq-1.4.4.0 -package-id directory-1.3.2.3 -package-id filepath-1.4.2 -package-id ghc-8.5 -package-id ghc-boot-8.5 -package-id transformers-0.5.5.0 -package-id xhtml-3000.2.2 -funbox-strict-fields -Wall -fwarn-tabs -O2 -threaded -XHaskell2010 -no-user-package-db -rtsopts -Wno-unused-imports -Wno-deprecations -Wnoncanonical-monad-instances -odir utils/haddock/dist/build -hidir utils/haddock/dist/build -stubdir utils/haddock/dist/build -c utils/haddock/haddock-library/vendor/attoparsec-0.13.1.0/Data/Attoparsec.hs -o utils/haddock/dist/build/Data/Attoparsec.dyn_o Warning: -rtsopts and -with-rtsopts have no effect with -shared. Call hs_init_ghc() from your main() function to set these options. utils/haddock/haddock-api/src/Haddock/Interface/Rename.hs:546:40: error: • Couldn't match type ‘GhcPass 'Renamed’ with ‘DocNameI’ Expected type: Maybe (LDerivStrategy DocNameI) Actual type: Maybe (LDerivStrategy GhcRn) • In the ‘deriv_strategy’ field of a record In the first argument of ‘return’, namely ‘(DerivDecl {deriv_ext = noExt, deriv_type = ty', deriv_strategy = strat, deriv_overlap_mode = omode})’ In a stmt of a 'do' block: return (DerivDecl {deriv_ext = noExt, deriv_type = ty', deriv_strategy = strat, deriv_overlap_mode = omode}) | 546 | , deriv_strategy = strat | ^^^^^ utils/haddock/ghc.mk:20: recipe for target 'utils/haddock/dist/build/Haddock/Interface/Rename.dyn_o' failed make[1]: *** [utils/haddock/dist/build/Haddock/Interface/Rename.dyn_o] Error 1 make[1]: *** Waiting for unfinished jobs.... Makefile:122: recipe for target 'all' failed
- Maintainer
Is it possible that you pulled without running
git submodule update
? - Ben Gamari closed
closed
- Maintainer
Indeed that testsuite failure should now be resolved as well.
Trac metadata
Trac field Value Resolution Unresolved → ResolvedFixed - Maintainer
The new Hadrian build system has been merged. Relabeling the tickets concerning the legacy
make
build system to prevent confusion.Trac metadata
Trac field Value Component Build System → Build System (make) - trac-import added ghc build failure label
added ghc build failure label
- Ben Gamari added Plow label
added Plow label