Last active
August 29, 2015 14:21
-
-
Save dzackgarza/058a0dbb3be25936a708 to your computer and use it in GitHub Desktop.
Cabal repl recompiles after install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------- First Terminal ------------------------------ | |
╰─$ cabal install -j --enable-tests | |
Resolving dependencies... | |
Configuring hackage-server-0.5.0... | |
Building hackage-server-0.5.0... | |
Preprocessing executable 'hackage-server' for hackage-server-0.5.0... | |
line-map.c: file "<command-line>" left but not entered | |
line-map.c: file "<command-line>" left but not entered | |
[123 of 123] Compiling Main ( Main.hs, dist/dist-sandbox-56da88b/build/hackage-server/h | |
ackage-server-tmp/Main.o ) | |
line-map.c: file "<command-line>" left but not entered | |
line-map.c: file "<command-line>" left but not entered | |
Linking dist/dist-sandbox-56da88b/build/hackage-server/hackage-server ... | |
Preprocessing executable 'hackage-mirror' for hackage-server-0.5.0... | |
Preprocessing executable 'hackage-build' for hackage-server-0.5.0... | |
Preprocessing test suite 'HighLevelTest' for hackage-server-0.5.0... | |
Installing executable(s) in /root/hackage-server/.cabal-sandbox/bin | |
Installed hackage-server-0.5.0 | |
╰─$ hackage-server run | |
hackage-server: Guessing public URI as http://dzackgarza:8080 | |
(you can override with the --base-uri= flag) | |
hackage-server: There is no existing server state. | |
You can either import existing data using the various import modes, or start | |
with an empty state using the new mode. Either way, we have to make sure that | |
there is at least one admin user account, otherwise you'll not be able to | |
administer your shiny new hackage server! | |
Use --help for more information. | |
╰─$ hackage-server init 1 ↵ | |
hackage-server: Creating initial state... | |
finalising data for feature users | |
finalising data for feature core | |
finalising data for feature mirror | |
finalising data for feature upload | |
finalising data for feature tarIndexCache | |
finalising data for feature package-contents | |
finalising data for feature recentPackages | |
finalising data for feature user-details | |
finalising data for feature user-signup-reset | |
finalising data for feature legacy-passwds | |
finalising data for feature distro | |
finalising data for feature candidates | |
finalising data for feature reports-core | |
finalising data for feature reports-candidates | |
finalising data for feature documentation-core | |
finalising data for feature documentation-candidates | |
finalising data for feature download | |
hackage-server: Using default administrator account (user admin, passwd admin) | |
hackage-server: Done | |
╰─$ hackage-server run | |
hackage-server: Guessing public URI as http://dzackgarza:8080 | |
(you can override with the --base-uri= flag) | |
hackage-server: Ready! Point your browser at http://dzackgarza:8080 | |
--------------- Second Terminal ------------------------------ | |
╰─$ cabal repl | |
Preprocessing executable 'hackage-server' for hackage-server-0.5.0... | |
GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help | |
Loading package ghc-prim ... linking ... done. | |
Loading package integer-gmp ... linking ... done. | |
Loading package base ... linking ... done. | |
Loading package split-0.2.2 ... linking ... done. | |
Loading package tokenize-0.1.3 ... linking ... done. | |
Loading package array-0.4.0.1 ... linking ... done. | |
Loading package deepseq-1.3.0.1 ... linking ... done. | |
Loading package bytestring-0.10.6.0 ... linking ... done. | |
Loading package filepath-1.3.0.1 ... linking ... done. | |
Loading package old-locale-1.0.0.5 ... linking ... done. | |
Loading package time-1.4.0.1 ... linking ... done. | |
Loading package unix-2.7.1.0 ... linking ... done. | |
Loading package directory-1.2.2.1 ... linking ... done. | |
Loading package tar-0.4.1.0 ... linking ... done. | |
Loading package text-1.2.0.4 ... linking ... done. | |
Loading package text-icu-0.7.0.1 ... linking ... done. | |
Loading package snowball-1.0.0.1 ... linking ... done. | |
Loading package containers-0.5.0.0 ... linking ... done. | |
Loading package polyparse-1.11 ... linking ... done. | |
Loading package pretty-1.1.1.0 ... linking ... done. | |
Loading package random-1.0.1.1 ... linking ... done. | |
Loading package HaXml-1.25.3 ... linking ... done. | |
Loading package network-2.6.1.0 ... linking ... done. | |
Loading package transformers-0.4.3.0 ... linking ... done. | |
Loading package mtl-2.2.1 ... linking ... done. | |
Loading package parsec-3.1.9 ... linking ... done. | |
Loading package network-uri-2.6.0.3 ... linking ... done. | |
Loading package rss-3000.2.0.4 ... linking ... done. | |
Loading package binary-0.7.4.0 ... linking ... done. | |
Loading package cereal-0.4.1.1 ... linking ... done. | |
Loading package entropy-0.3.6 ... linking ... done. | |
Loading package template-haskell ... linking ... done. | |
Loading package tagged-0.8.0.1 ... linking ... done. | |
Loading package crypto-api-0.12.2.2 ... linking ... done. | |
Loading package pureMD5-2.1.2.1 ... linking ... done. | |
Loading package base64-bytestring-1.0.0.1 ... linking ... done. | |
Loading package blaze-builder-0.3.3.4 ... linking ... done. | |
Loading package process-1.2.3.0 ... linking ... done. | |
Loading package mime-mail-0.4.8.2 ... linking ... done. | |
Loading package stm-2.4.2 ... linking ... done. | |
Loading package transformers-compat-0.4.0.4 ... linking ... done. | |
Loading package transformers-base-0.4.4 ... linking ... done. | |
Loading package monad-control-0.3.3.1 ... linking ... done. | |
Loading package lifted-base-0.2.3.6 ... linking ... done. | |
Loading package blaze-markup-0.6.3.0 ... linking ... done. | |
Loading package blaze-html-0.7.1.0 ... linking ... done. | |
Loading package extensible-exceptions-0.1.1.4 ... linking ... done. | |
Loading package hslogger-1.2.8 ... linking ... done. | |
Loading package html-1.0.1.2 ... linking ... done. | |
Loading package sendfile-0.7.9 ... linking ... done. | |
Loading package syb-0.4.0 ... linking ... done. | |
Loading package system-filepath-0.4.13.3 ... linking ... done. | |
Loading package threads-0.5.1.3 ... linking ... done. | |
Loading package old-time-1.1.0.1 ... linking ... done. | |
Loading package time-compat-0.1.0.3 ... linking ... done. | |
Loading package utf8-string-0.3.8 ... linking ... done. | |
Loading package xhtml-3000.2.1 ... linking ... done. | |
Loading package zlib-0.5.4.2 ... linking ... done. | |
Loading package happstack-server-7.3.9 ... linking ... done. | |
Loading package friendly-time-0.3 ... linking ... done. | |
Loading package csv-0.1.2 ... linking ... done. | |
Loading package base16-bytestring-0.1.1.6 ... linking ... done. | |
Loading package async-2.0.1.4 ... linking ... done. | |
Loading package hashable-1.2.3.2 ... linking ... done. | |
Loading package scientific-0.3.3.8 ... linking ... done. | |
Loading package attoparsec-0.13.0.0 ... linking ... done. | |
Loading package dlist-0.7.1.1 ... linking ... done. | |
Loading package unordered-containers-0.2.5.1 ... linking ... done. | |
Loading package primitive-0.5.0.1 ... linking ... done. | |
Loading package vector-0.10.0.1 ... linking ... done. | |
Loading package aeson-0.8.1.0 ... linking ... done. | |
Loading package safecopy-0.8.5 ... linking ... done. | |
Loading package acid-state-0.12.4 ... linking ... done. | |
Loading package QuickCheck-2.6 ... linking ... done. | |
Loading package nats-1 ... linking ... done. | |
Loading package semigroups-0.16.2.2 ... linking ... done. | |
Loading package void-0.7 ... linking ... done. | |
Loading package HStringTemplate-0.7.3 ... linking ... done. | |
Loading package Cabal-1.22.3.0 ... linking ... done. | |
Loading object (dynamic) /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libcrypt.so .. | |
. done | |
final link ... done | |
line-map.c: file "<command-line>" left but not entered | |
line-map.c: file "<command-line>" left but not entered | |
[ 1 of 123] Compiling Distribution.Server.Pages.Package.HaddockTypes ( Distribution/Server/Pages/$ | |
ackage/HaddockTypes.hs, interpreted ) [flags changed] | |
[ 2 of 123] Compiling Distribution.Server.Pages.Package.HaddockLex ( dist/build/hackage-server/ha$ | |
kage-server-tmp/Distribution/Server/Pages/Package/HaddockLex.hs, interpreted ) [flags changed] | |
Distribution/Server/Pages/Package/HaddockLex.x:122:28: Warning: | |
Pattern match(es) are non-exhaustive | |
In a case alternative: Patterns not matched: [] | |
[ 3 of 123] Compiling Distribution.Server.Pages.Package.HaddockHtml ( Distribution/Server/Pages/Package/HaddockHtml.hs, interpreted ) [flags changed] [281/790] | |
[ 4 of 123] Compiling Distribution.Server.Pages.Package.HaddockParse ( dist/build/hackage-server/hackage-server-tmp/Distribution/Server/Pages/Package/HaddockParse.hs, interpreted ) [flags changed] | |
[ 5 of 123] Compiling Distribution.Server.Features.Search.ExtractDescriptionTerms ( Distribution/Server/Features/Search/ExtractDescriptionTerms.hs, interpreted ) [flags changed] | |
[ 6 of 123] Compiling Distribution.Server.Features.Search.ExtractNameTerms ( Distribution/Server/Features/Search/ExtractNameTerms.hs, interpreted ) [flags changed] | |
[ 7 of 123] Compiling Distribution.Server.Features.Search.BM25F ( Distribution/Server/Features/Search/BM25F.hs, interpreted ) [flags changed] | |
[ 8 of 123] Compiling Distribution.Server.Packages.ModuleForest ( Distribution/Server/Packages/ModuleForest.hs, interpreted ) [flags changed] | |
[ 9 of 123] Compiling Distribution.Server.Pages.Template ( Distribution/Server/Pages/Template.hs, interpreted ) [flags changed] | |
Distribution/Server/Pages/Template.hs:77:1: Warning: | |
Defined but not used: `adminURL' | |
[ 10 of 123] Compiling Distribution.Server.Pages.Util ( Distribution/Server/Pages/Util.hs, interpreted ) [flags changed] | |
[ 11 of 123] Compiling Distribution.Server.Framework.Hook ( Distribution/Server/Framework/Hook.hs, interpreted ) [flags changed] | |
[ 12 of 123] Compiling Distribution.Server.Framework.MemState ( Distribution/Server/Framework/MemState.hs, interpreted ) [flags changed] | |
[ 13 of 123] Compiling Distribution.Server.Framework.Templating ( Distribution/Server/Framework/Templating.hs, interpreted ) [flags changed] | |
[ 14 of 123] Compiling Distribution.Server.Framework.Error ( Distribution/Server/Framework/Error.hs, interpreted ) [flags changed] | |
Distribution/Server/Framework/Error.hs:37:1: Warning: | |
Module `Control.Monad.Error' is deprecated: | |
Use Control.Monad.Except instead | |
Distribution/Server/Framework/Error.hs:52:35: Warning: | |
In the use of type constructor or class `ErrorT' | |
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): | |
Deprecated: "Use Control.Monad.Trans.Except instead" | |
Distribution/Server/Framework/Error.hs:92:10: Warning: | |
In the use of type constructor or class `Error' | |
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): | |
Deprecated: "Use Control.Monad.Trans.Except instead" | |
Distribution/Server/Framework/Error.hs:92:10: Warning: | |
In the use of type constructor or class `Error' | |
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): | |
Deprecated: "Use Control.Monad.Trans.Except instead" | |
Distribution/Server/Framework/Error.hs:93:5: Warning: | |
In the use of `noMsg' | |
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): | |
Deprecated: "Use Control.Monad.Trans.Except instead" | |
Distribution/Server/Framework/Error.hs:94:5: Warning: | |
In the use of `strMsg' | |
(imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error): | |
Deprecated: "Use Control.Monad.Trans.Except instead" | |
[ 15 of 123] Compiling Distribution.Server.Util.ContentType ( Distribution/Server/Util/ContentType.hs, interpreted ) [flags changed] | |
[ 16 of 123] Compiling Distribution.Server.Framework.HappstackUtils ( Distribution/Server/Framework/HappstackUtils.hs, interpreted ) [flags changed] | |
[ 17 of 123] Compiling Distribution.Server.Framework.HtmlFormWrapper ( Distribution/Server/Framework/HtmlFormWrapper.hs, interpreted ) [flags changed] | |
[ 18 of 123] Compiling Distribution.Server.Framework.RequestContentTypes ( Distribution/Server/Framework/RequestContentTypes.hs, interpreted ) [flags changed] | |
[ 19 of 123] Compiling Distribution.Server.Framework.Resource ( Distribution/Server/Framework/Resource.hs, interpreted ) [flags changed] | |
[ 20 of 123] Compiling Distribution.Server.Util.Merge ( Distribution/Server/Util/Merge.hs, interpreted ) [flags changed] | |
[ 21 of 123] Compiling Distribution.Server.Util.Parse ( Distribution/Server/Util/Parse.hs, interpreted ) [flags changed] | |
[ 22 of 123] Compiling Distribution.Server.Framework.CacheControl ( Distribution/Server/Framework/CacheControl.hs, interpreted ) [flags changed] | |
[ 23 of 123] Compiling Distribution.Server.Framework.MemSize ( Distribution/Server/Framework/MemSize.hs, interpreted ) [flags changed] | |
[ 24 of 123] Compiling Distribution.Server.Framework.Instances ( Distribution/Server/Framework/Instances.hs, interpreted ) [flags changed] | |
[ 25 of 123] Compiling Distribution.Server.Framework.AuthTypes ( Distribution/Server/Framework/AuthTypes.hs, interpreted ) [flags changed] | |
[ 26 of 123] Compiling Distribution.Server.Users.Types ( Distribution/Server/Users/Types.hs, interpreted ) [flags changed] | |
.... | |
[118 of 123] Compiling Distribution.Server.Features.BuildReports.Render ( Distribution/Server/Features/BuildReports/Render.hs, interpreted ) [flags changed] [0/790] | |
[119 of 123] Compiling Distribution.Server.Features.Html ( Distribution/Server/Features/Html.hs, interpreted ) [flags changed] | |
[120 of 123] Compiling Distribution.Server.Features ( Distribution/Server/Features.hs, interpreted ) [flags changed] | |
[121 of 123] Compiling Paths_hackage_server ( dist/build/autogen/Paths_hackage_server.hs, interpreted ) | |
[122 of 123] Compiling Distribution.Server ( Distribution/Server.hs, interpreted ) | |
[123 of 123] Compiling Main ( Main.hs, interpreted ) | |
Ok, modules loaded: Main, Distribution.Server, Distribution.Server.Framework, Distribution.Server.Framework.Feature, Distribution.Server.Framework.Logging, Distribution.Server.Framework.BackupRestore, Distribution.Ser | |
ver.Framework.BackupDump, Distribution.Server.Framework.BlobStorage, Distribution.Server.Util.SigTerm, Distribution.Server.Util.GZip, Paths_hackage_server, Distribution.Server.Framework.MemSize, Distribution.Server.Fr | |
amework.Instances, Distribution.Server.Framework.CacheControl, Distribution.Server.Util.Parse, Distribution.Server.Util.Merge, Distribution.Server.Framework.Resource, Distribution.Server.Framework.HappstackUtils, Dist | |
ribution.Server.Util.ContentType, Distribution.Server.Framework.Error, Distribution.Server.Framework.Auth, Distribution.Server.Framework.Templating, Distribution.Server.Framework.AuthTypes, Distribution.Server.Framewo | |
rk.HtmlFormWrapper, Distribution.Server.Features, Distribution.Server.Features.Users, Distribution.Server.Users.Types, Distribution.Server.Users.Users, Distribution.Server.Users.Group, Distribution.Server.Users.State, | |
Distribution.Server.Users.Backup, Distribution.Server.Framework.AuthCrypt, Distribution.Server.Framework.MemState, Distribution.Server.Framework.Cache, Distribution.Server.Framework.ServerEnv, Distribution.Server.Fra | |
mework.RequestContentTypes, Distribution.Server.Framework.ResponseContentTypes, Distribution.Server.Framework.Hook, Distribution.Server.Features.StaticFiles, Distribution.Server.Features.Core, Distribution.Server.Feat | |
ures.Upload, Distribution.Server.Features.Mirror, Distribution.Server.Features.TarIndexCache, Distribution.Server.Features.Html, Distribution.Server.Features.PackageCandidates, Distribution.Server.Features.RecentPacka | |
ges, Distribution.Server.Features.Distro, Distribution.Server.Features.PackageContents, Distribution.Server.Features.Documentation, Distribution.Server.Features.BuildReports, Distribution.Server.Features.LegacyRedirec | |
ts, Distribution.Server.Features.PreferredVersions, Distribution.Server.Features.DownloadCount, Distribution.Server.Features.Tags, Distribution.Server.Features.Search, Distribution.Server.Features.PackageList, Distrib | |
ution.Server.Features.HaskellPlatform, Distribution.Server.Features.UserDetails, Distribution.Server.Features.UserSignup, Distribution.Server.Features.LegacyPasswds, Distribution.Server.Features.EditCabalFiles, Distri | |
bution.Server.Features.AdminFrontend, Distribution.Server.Features.HoogleData, Distribution.Server.Features.ServerIntrospect, Distribution.Server.Packages.PackageIndex, Distribution.Server.Pages.Template, Data.TarInde | |
x, Data.StringTable, Data.IntTrie, Distribution.Server.Features.TarIndexCache.State, Distribution.Server.Packages.Types, Distribution.Server.Util.ServeTarball, Distribution.Server.Features.Documentation.State, Distrib | |
ution.Server.Features.Core.State, Distribution.Server.Features.Core.Backup, Distribution.Server.Packages.Index, Distribution.Server.Util.Index, Distribution.Server.Features.Upload.State, Distribution.Server.Features.U | |
pload.Backup, Distribution.Server.Packages.Unpack, Distribution.Server.Features.LegacyPasswds.Auth, Distribution.Server.Features.HaskellPlatform.State, Distribution.Server.Util.CountingMap, Distribution.Server.Feature | |
s.PreferredVersions.State, Distribution.Server.Features.PreferredVersions.Backup, Distribution.Server.Features.Tags.State, Distribution.Server.Features.Tags.Backup, Distribution.Server.Packages.Render, Distribution.Se | |
rver.Packages.ModuleForest, Distribution.Server.Features.DownloadCount.State, Distribution.Server.Features.DownloadCount.Backup, Distribution.Server.Features.Search.PkgSearch, Distribution.Server.Features.Search.Searc | |
hEngine, Distribution.Server.Features.Search.BM25F, Distribution.Server.Features.Search.SearchIndex, Distribution.Server.Features.Search.DocIdSet, Distribution.Server.Features.Search.DocTermIds, Distribution.Server.Fe | |
atures.Search.DocFeatVals, Distribution.Server.Features.Search.TermBag, Distribution.Server.Features.Search.ExtractNameTerms, Distribution.Server.Features.Search.ExtractDescriptionTerms, Distribution.Server.Pages.Pack | |
age, Distribution.Server.Pages.Package.HaddockHtml, Distribution.Server.Pages.Package.HaddockTypes, Distribution.Server.Pages.Package.HaddockParse, Distribution.Server.Pages.Package.HaddockLex, Distribution.Server.Fea | |
tures.BuildReports.Backup, Distribution.Server.Features.BuildReports.State, Distribution.Server.Features.BuildReports.BuildReport, Distribution.Server.Features.BuildReports.BuildReports, Distribution.Server.Packages.C | |
hangeLog, Distribution.Server.Features.Distro.State, Distribution.Server.Features.Distro.Types, Distribution.Server.Features.Distro.Backup, Distribution.Server.Features.Distro.Distributions, Distribution.Server.Pages. | |
Recent, Distribution.Server.Features.PackageCandidates.Types, Distribution.Server.Features.PackageCandidates.State, Distribution.Server.Features.PackageCandidates.Backup, Distribution.Server.Features.BuildReports.Rend | |
er, Distribution.Server.Pages.Util, Distribution.Server.Pages.Group, Distribution.Server.Pages.Index. | |
*Main> | |
╰─$ ghc --version | |
The Glorious Glasgow Haskell Compilation System, version 7.6.3 | |
╰─$ cabal --version | |
cabal-install version 1.22.2.0 | |
using version 1.22.2.0 of the Cabal library | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment