[GHC] #13138: Clean up ghc-pkg validation warnings in build log

#13138: Clean up ghc-pkg validation warnings in build log -------------------------------------+------------------------------------- Reporter: mpickering | Owner: Type: task | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The build log has hundreds of lines of `ghc-pkg` warnings which I imagine are due to how GHC's build system is different to normal. We should either work out why there are so many errors and fix them or if they are harmless suppress them to remove the noise from the log. {{{ binary-0.8.3.0: Warning: Unrecognized field abi-depends on line 40 27 binary-0.8.3.0: Warning: Unrecognized field abi on line 28 28 binary-0.8.3.0: Warning: Unrecognized field indefinite on line 22 29 binary-0.8.3.0: Warning: haddock-interfaces: /var/drydock/workingcopy-21831/repo/glasgow-haskell- compiler/libraries/binary/dist-boot/doc/html/binary/binary.haddock doesn't exist or isn't a file 30 binary-0.8.3.0: cannot find any of ["Data/Binary.hi","Data/Binary.p_hi","Data/Binary.dyn_hi"] (ignoring) 31 binary-0.8.3.0: cannot find any of ["Data/Binary/Builder.hi","Data/Binary/Builder.p_hi","Data/Binary/Builder.dyn_hi"] (ignoring) 32 binary-0.8.3.0: cannot find any of ["Data/Binary/Get.hi","Data/Binary/Get.p_hi","Data/Binary/Get.dyn_hi"] (ignoring) 33 binary-0.8.3.0: cannot find any of ["Data/Binary/Get/Internal.hi","Data/Binary/Get/Internal.p_hi","Data/Binary/Get/Internal.dyn_hi"] (ignoring) 34 binary-0.8.3.0: cannot find any of ["Data/Binary/Put.hi","Data/Binary/Put.p_hi","Data/Binary/Put.dyn_hi"] (ignoring) 35 binary-0.8.3.0: cannot find any of ["Data/Binary/Class.hi","Data/Binary/Class.p_hi","Data/Binary/Class.dyn_hi"] (ignoring) 36 binary-0.8.3.0: cannot find any of ["Data/Binary/Internal.hi","Data/Binary/Internal.p_hi","Data/Binary/Internal.dyn_hi"] (ignoring) 37 binary-0.8.3.0: cannot find any of ["Data/Binary/Generic.hi","Data/Binary/Generic.p_hi","Data/Binary/Generic.dyn_hi"] (ignoring) 38 binary-0.8.3.0: cannot find any of ["libHSbinary-0.8.3.0.a","libHSbinary-0.8.3.0.p_a","libHSbinary-0.8.3.0-ghc7.10.3.so","libHSbinary-0.8.3.0-ghc7.10.3.dylib","HSbinary-0.8.3.0-ghc7.10.3.dll"] on library path (ignoring) 39 Cabal-1.25.0.0: Warning: Unrecognized field abi-depends on line 125 40 Cabal-1.25.0.0: Warning: Unrecognized field abi on line 106 41 Cabal-1.25.0.0: Warning: Unrecognized field indefinite on line 20 42 Cabal-1.25.0.0: Warning: haddock-interfaces: /var/drydock/workingcopy-21831/repo/glasgow-haskell- compiler/libraries/Cabal/Cabal/dist-boot/doc/html/Cabal/Cabal.haddock doesn't exist or isn't a file 43 Cabal-1.25.0.0: cannot find any of ["Distribution/Backpack.hi","Distribution/Backpack.p_hi","Distribution/Backpack.dyn_hi"] (ignoring) }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13138 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13138: Clean up ghc-pkg validation warnings in build log -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: task | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by asr): How can I reproduce that build log? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13138#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13138: Clean up ghc-pkg validation warnings in build log -------------------------------------+------------------------------------- Reporter: mpickering | Owner: (none) Type: task | Status: new Priority: low | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mpickering): That's a good question. You can easily see it still happens by looking at the `stderr` of any GHC build (for example, https://phabricator.haskell.org/harbormaster/build/25271/?l=0). The reason why I haven't been able to fix this yet (with D3322) is that these entries don't appear in my local build logs when running `./validate`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13138#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC