erebe / wstunnel

Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI - Static binary available
Other
3.22k stars 290 forks source link

Binary for 32 BIT linux #43

Closed gvsurenderreddy closed 4 years ago

gvsurenderreddy commented 4 years ago

Hello sir Any possibility for 32 bit linux please

erebe commented 4 years ago

Hello, I can't build static binary for 32bit Linux. Which Linux distribution are you using ?

gvsurenderreddy commented 4 years ago

Sir i'm using ubuntu Puppuy Linux 32 bit

erebe commented 4 years ago

This release should be working on 32bit puppy linux https://github.com/erebe/wstunnel/releases/download/v3.0/wstunnel-x86-linux-ubuntu18.tar.gz

Let me know if it is not the case.

Strange distro btw, I had trouble installing the devx sfs :x

gvsurenderreddy commented 4 years ago

Thanks sir really appreciate you help.So nice of you I"ll test and update u about the same

gvsurenderreddy commented 4 years ago

Sir ldd --version ldd (Ubuntu GLIBC 2.23-0ubuntu3) 2.23 but your GBLIC was built on ./wstunnel: /lib/libm.so.6: version `GLIBC_2.27' not found (required by ./wstunnel)

erebe commented 4 years ago

Which version of puppy linux do you have ? I used the Puppy bionic one, which is compatible with the latest LTS ubuntu

Ubuntu Bionic | x86 32-bit | BionicPup32 8.0 | Main - Mirror - Checksum
gvsurenderreddy commented 4 years ago

We are using XenialPup sir .Bionic has problem with TeamViewer we have more than 100 pc running Xenial pup

Screenshot 2020-05-11 at 10 37 05 PM
erebe commented 4 years ago

If you have one with the devx sfs installed you can build wstunnel like that

wget https://github.com/commercialhaskell/stack/releases/download/v2.1.1/stack-2.1.1-linux-i386.tar.gz
tar xzvf stack-2.1.1-linux-i386.tar.gz
git clone https://github.com/erebe/wstunnel.git
cd wstunnel
../stack*/stack build
../stack*/stack install

You will get the wstunnel binary after that into ~/.local/bin/wstunnel I hadn't had to do any tweak on bionic, so I am pretty confident it should work on Xenial. Let me know if it not the case.

After that the wstunnel binary should be portable across all your xenial distribution

P.s: The stack build can take a long time depending on the kind of hardware your machine has

gvsurenderreddy commented 4 years ago

Okay sir I"ll try to build it and updated you

gvsurenderreddy commented 4 years ago

../stack*/stack build Preparing to install GHC to an isolated location. This will not interfere with any system-level installation. Downloaded ghc-8.6.5. Received ExitFailure (-15) when running Raw command: /bin/tar Jxf /root/.stack/programs/i386-linux/ghc-8.6.5.tar.xz Run from: /root/.stack/programs/i386-linux/ghc-8.6.5.temp/

Error: Error encountered while unpacking GHC with tar Jxf /root/.stack/programs/i386-linux/ghc-8.6.5.tar.xz run in /root/.stack/programs/i386-linux/ghc-8.6.5.temp/

   The following directories may now contain files, but won't be used by stack:
     - /root/.stack/programs/i386-linux/ghc-8.6.5.temp/
     - /root/.stack/programs/i386-linux/ghc-8.6.5/

   For more information consider rerunning with --verbose flag
gvsurenderreddy commented 4 years ago

/root/.stack/programs/i386-linux/ghc-8.6.5/lib/ghc-8.6.5/integer-gmp-1.0.2.0/libHSinteger-gmp-1.0.2.0.a(wrappers.o):function integer_gmp_mpn_ior_n: error: undefined reference to '__gmpn_ior_n' collect2: error: ld returned 1 exit status gcc' failed in phaseLinker'. (Exit code: 1)

-- While building simple Setup.hs using: /root/.stack/programs/i386-linux/ghc-8.6.5/bin/ghc-8.6.5 -rtsopts -threaded -clear-package-db -global-package-db -hide-all-packages -package base -main-is StackSetupShim.mainOverride -package Cabal-2.4.0.1 /root/.stack/setup-exe-src/setup-mPHDZzAJ.hs /root/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs -o /root/.stack/setup-exe-cache/i386-linux/tmp-Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 Process exited with code: ExitFailure 1

gvsurenderreddy commented 4 years ago

conduit > 163 | {-# RULES "conduit: connectStream1 (runConduit/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:167:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitPure/.|)" may never fire conduit > because ‘runConduitPure’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitPure’ conduit > | conduit > 167 | {-# RULES "conduit: connectStream1 (runConduitPure/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:167:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitPure/.|)" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 167 | {-# RULES "conduit: connectStream1 (runConduitPure/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:170:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitPure/=$=)" may never fire conduit > because ‘runConduitPure’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitPure’ conduit > | conduit > 170 | {-# RULES "conduit: connectStream1 (runConduitPure/=$=)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:171:39: warning: [-Wdeprecations] conduit > In the use of ‘=$=’ (imported from Data.Conduit.Internal.Conduit): conduit > Deprecated: "Use .|" conduit > | conduit > 171 | runConduitPure (unstream left =$= right) = runIdentity (connectStream1 left right) conduit > | ^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:173:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitPure/fuse)" may never fire conduit > because ‘runConduitPure’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitPure’ conduit > | conduit > 173 | {-# RULES "conduit: connectStream1 (runConduitPure/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:173:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitPure/fuse)" may never fire conduit > because ‘fuse’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘fuse’ conduit > | conduit > 173 | {-# RULES "conduit: connectStream1 (runConduitPure/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:177:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitRes/.|)" may never fire conduit > because ‘runConduitRes’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitRes’ conduit > | conduit > 177 | {-# RULES "conduit: connectStream1 (runConduitRes/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:177:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitRes/.|)" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 177 | {-# RULES "conduit: connectStream1 (runConduitRes/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:180:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitRes/=$=)" may never fire conduit > because ‘runConduitRes’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitRes’ conduit > | conduit > 180 | {-# RULES "conduit: connectStream1 (runConduitRes/=$=)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:181:38: warning: [-Wdeprecations] conduit > In the use of ‘=$=’ (imported from Data.Conduit.Internal.Conduit): conduit > Deprecated: "Use .|" conduit > | conduit > 181 | runConduitRes (unstream left =$= right) = runResourceT (connectStream1 left right) conduit > | ^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:183:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitRes/fuse)" may never fire conduit > because ‘runConduitRes’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitRes’ conduit > | conduit > 183 | {-# RULES "conduit: connectStream1 (runConduitRes/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:183:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream1 (runConduitRes/fuse)" may never fire conduit > because ‘fuse’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘fuse’ conduit > | conduit > 183 | {-# RULES "conduit: connectStream1 (runConduitRes/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:214:14: warning: [-Wdeprecations] conduit > In the use of ‘$$’ (imported from Data.Conduit.Internal.Conduit): conduit > Deprecated: "Use runConduit and .|" conduit > | conduit > 214 | left $$ unstream right = connectStream2 left right conduit > | ^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:217:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduit/.|)" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 217 | {-# RULES "conduit: connectStream2 (runConduit/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:220:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduit/fuse)" may never fire conduit > because ‘fuse’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘fuse’ conduit > | conduit > 220 | {-# RULES "conduit: connectStream2 (runConduit/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:224:26: warning: [-Wdeprecations] conduit > In the use of ‘=$=’ (imported from Data.Conduit.Internal.Conduit): conduit > Deprecated: "Use .|" conduit > | conduit > 224 | runConduit (left =$= unstream right) = connectStream2 left right conduit > | ^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:227:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitPure/.|)" may never fire conduit > because ‘runConduitPure’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitPure’ conduit > | conduit > 227 | {-# RULES "conduit: connectStream2 (runConduitPure/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:227:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitPure/.|)" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 227 | {-# RULES "conduit: connectStream2 (runConduitPure/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:230:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitPure/fuse)" may never fire conduit > because ‘runConduitPure’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitPure’ conduit > | conduit > 230 | {-# RULES "conduit: connectStream2 (runConduitPure/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:230:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitPure/fuse)" may never fire conduit > because ‘fuse’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘fuse’ conduit > | conduit > 230 | {-# RULES "conduit: connectStream2 (runConduitPure/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:233:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitPure/=$=)" may never fire conduit > because ‘runConduitPure’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitPure’ conduit > | conduit > 233 | {-# RULES "conduit: connectStream2 (runConduitPure/=$=)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:234:30: warning: [-Wdeprecations] conduit > In the use of ‘=$=’ (imported from Data.Conduit.Internal.Conduit): conduit > Deprecated: "Use .|" conduit > | conduit > 234 | runConduitPure (left =$= unstream right) = runIdentity (connectStream2 left right) conduit > | ^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:237:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitRes/.|)" may never fire conduit > because ‘runConduitRes’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitRes’ conduit > | conduit > 237 | {-# RULES "conduit: connectStream2 (runConduitRes/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:237:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitRes/.|)" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 237 | {-# RULES "conduit: connectStream2 (runConduitRes/.|)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:240:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitRes/fuse)" may never fire conduit > because ‘runConduitRes’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitRes’ conduit > | conduit > 240 | {-# RULES "conduit: connectStream2 (runConduitRes/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:240:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitRes/fuse)" may never fire conduit > because ‘fuse’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘fuse’ conduit > | conduit > 240 | {-# RULES "conduit: connectStream2 (runConduitRes/fuse)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:243:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connectStream2 (runConduitRes/=$=)" may never fire conduit > because ‘runConduitRes’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘runConduitRes’ conduit > | conduit > 243 | {-# RULES "conduit: connectStream2 (runConduitRes/=$=)" forall left right. conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/Internal/Fusion.hs:244:29: warning: [-Wdeprecations] conduit > In the use of ‘=$=’ (imported from Data.Conduit.Internal.Conduit): conduit > Deprecated: "Use .|" conduit > | conduit > 244 | runConduitRes (left =$= unstream right) = runResourceT (connectStream2 left right) conduit > | ^^^ conduit > [ 4 of 14] Compiling Data.Conduit.Internal.List.Stream conduit > [ 5 of 14] Compiling Data.Conduit.Combinators.Stream conduit > [ 6 of 14] Compiling Data.Conduit conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit.hs:104:1: warning: [-Wunused-imports] conduit > The import of ‘Data.Functor.Identity’ is redundant conduit > except perhaps to import instances from ‘Data.Functor.Identity’ conduit > To import instances alone, use: import Data.Functor.Identity() conduit > | conduit > 104 | import Data.Functor.Identity (Identity, runIdentity) conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit.hs:105:1: warning: [-Wunused-imports] conduit > The import of ‘Control.Monad.Trans.Resource’ is redundant conduit > except perhaps to import instances from ‘Control.Monad.Trans.Resource’ conduit > To import instances alone, use: import Control.Monad.Trans.Resource() conduit > | conduit > 105 | import Control.Monad.Trans.Resource (ResourceT, runResourceT) conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit.hs:106:1: warning: [-Wunused-imports] conduit > The import of ‘Control.Monad.IO.Unlift’ is redundant conduit > except perhaps to import instances from ‘Control.Monad.IO.Unlift’ conduit > To import instances alone, use: import Control.Monad.IO.Unlift() conduit > | conduit > 106 | import Control.Monad.IO.Unlift (MonadUnliftIO) conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conduit > [ 7 of 14] Compiling Data.Conduit.Internal conduit > [ 8 of 14] Compiling Data.Conduit.Lift conduit > [ 9 of 14] Compiling Data.Conduit.List conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/List.hs:304:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: $$ fold" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 304 | {-# RULES "conduit: $$ fold" forall src f b. runConduit (src .| fold f b) = connectFold src f b #-} conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/List.hs:320:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: $$ foldM" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 320 | {-# RULES "conduit: $$ foldM" forall src f b. runConduit (src .| foldM f b) = connectFoldM src f b #-} conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/List.hs:363:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connect to mapM" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 363 | {-# RULES "conduit: connect to mapM" [2] forall f src. runConduit (src .| mapM f) = srcMapM src f #-} conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/List.hs:797:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: source/filter fusion .|" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 797 | {-# RULES "conduit: source/filter fusion .|" forall f src. src .| filter f = filterFuseRight src f #-} conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conduit > conduit > /tmp/stack4998/conduit-1.3.1.1/src/Data/Conduit/List.hs:821:11: warning: [-Winline-rule-shadowing] conduit > Rule "conduit: connect to sinkNull" may never fire conduit > because ‘.|’ might inline first conduit > Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘.|’ conduit > | conduit > 821 | {-# RULES "conduit: connect to sinkNull" forall src. runConduit (src .| sinkNull) = srcSinkNull src #-} conduit > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conduit > [10 of 14] Compiling Data.Streaming.FileRead conduit > [11 of 14] Compiling Data.Streaming.Filesystem conduit > [12 of 14] Compiling Data.Conduit.Combinators conduit > [13 of 14] Compiling Data.Conduit.Combinators.Unqualified conduit > [14 of 14] Compiling Conduit conduit > conduit > copy/register conduit > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/conduit-1.3.1.1-2yex1XltQEHK3Wphc8V0Q6 conduit > Registering library for conduit-1.3.1.1.. mutable-containers > configure mutable-containers > Configuring mutable-containers-0.3.4... mutable-containers > build mutable-containers > Preprocessing library for mutable-containers-0.3.4.. mutable-containers > Building library for mutable-containers-0.3.4.. mutable-containers > [1 of 9] Compiling Data.Mutable.Class mutable-containers > [2 of 9] Compiling Data.Mutable.BRef mutable-containers > [3 of 9] Compiling Data.Mutable.DLList mutable-containers > [4 of 9] Compiling Data.Mutable.Deque mutable-containers > [5 of 9] Compiling Data.Mutable.PRef mutable-containers > [6 of 9] Compiling Data.Mutable.SRef mutable-containers > [7 of 9] Compiling Data.Mutable.URef mutable-containers > [8 of 9] Compiling Data.Mutable mutable-containers > [9 of 9] Compiling Paths_mutable_containers mutable-containers > copy/register mutable-containers > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/mutable-containers-0.3.4-DXy2pxTWDDxJLIb0euIO9Q mutable-containers > Registering library for mutable-containers-0.3.4.. void > configure void > Configuring void-0.7.3... void > build void > Preprocessing library for void-0.7.3.. void > Building library for void-0.7.3.. void > [1 of 1] Compiling Data.Void.Unsafe void > copy/register void > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/void-0.7.3-3RYOrpJEx0UYkI9Ikv0XI void > Registering library for void-0.7.3.. adjunctions > configure adjunctions > Configuring adjunctions-4.4... adjunctions > build adjunctions > Preprocessing library for adjunctions-4.4.. adjunctions > Building library for adjunctions-4.4.. adjunctions > [ 1 of 11] Compiling Control.Monad.Trans.Conts adjunctions > [ 2 of 11] Compiling Data.Functor.Contravariant.Rep adjunctions > adjunctions > /tmp/stack4998/adjunctions-4.4/src/Data/Functor/Contravariant/Rep.hs:59:1: warning: [-Winline-rule-shadowing] adjunctions > Rule "tabulate/index" may never fire adjunctions > because rule "Class op index" for ‘index’ might fire first adjunctions > Probable fix: add phase [n] or [~n] to the competing rule adjunctions > | adjunctions > 59 | "tabulate/index" forall t. tabulate (index t) = t #-} adjunctions > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ adjunctions > [ 3 of 11] Compiling Data.Functor.Contravariant.Adjunction adjunctions > [ 4 of 11] Compiling Control.Monad.Trans.Contravariant.Adjoint adjunctions > [ 5 of 11] Compiling Data.Functor.Rep adjunctions > adjunctions > /tmp/stack4998/adjunctions-4.4/src/Data/Functor/Rep.hs:250:1: warning: [-Winline-rule-shadowing] adjunctions > Rule "tabulate/index" may never fire adjunctions > because rule "Class op index" for ‘index’ might fire first adjunctions > Probable fix: add phase [n] or [~n] to the competing rule adjunctions > | adjunctions > 250 | "tabulate/index" forall t. tabulate (index t) = t #-} adjunctions > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ adjunctions > [ 6 of 11] Compiling Data.Functor.Adjunction adjunctions > adjunctions > /tmp/stack4998/adjunctions-4.4/src/Data/Functor/Adjunction.hs:9:14: warning: [-Wtrustworthy-safe] adjunctions > ‘Data.Functor.Adjunction’ is marked as Trustworthy but has been inferred as safe! adjunctions > | adjunctions > 9 | {-# LANGUAGE Trustworthy #-} adjunctions > | ^^^^^^^^^^^ adjunctions > [ 7 of 11] Compiling Control.Monad.Trans.Adjoint adjunctions > [ 8 of 11] Compiling Control.Comonad.Trans.Adjoint adjunctions > [ 9 of 11] Compiling Control.Monad.Representable.State adjunctions > [10 of 11] Compiling Control.Monad.Representable.Reader adjunctions > [11 of 11] Compiling Control.Comonad.Representable.Store adjunctions > adjunctions > /tmp/stack4998/adjunctions-4.4/src/Control/Comonad/Representable/Store.hs:46:1: warning: [-Wunused-imports] adjunctions > The import of ‘Data.Semigroup’ is redundant adjunctions > except perhaps to import instances from ‘Data.Semigroup’ adjunctions > To import instances alone, use: import Data.Semigroup() adjunctions > | adjunctions > 46 | import Data.Semigroup adjunctions > | ^^^^^^^^^^^^^^^^^^^^^ adjunctions > adjunctions > copy/register adjunctions > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/adjunctions-4.4-J7SrRlF4p4uLfrM0tYd2Dn adjunctions > Registering library for adjunctions-4.4.. kan-extensions > configure kan-extensions > Configuring kan-extensions-5.2... kan-extensions > build kan-extensions > Preprocessing library for kan-extensions-5.2.. kan-extensions > Building library for kan-extensions-5.2.. kan-extensions > [ 1 of 13] Compiling Data.Functor.Contravariant.Coyoneda kan-extensions > [ 2 of 13] Compiling Data.Functor.Contravariant.Day kan-extensions > [ 3 of 13] Compiling Data.Functor.Contravariant.Yoneda kan-extensions > [ 4 of 13] Compiling Data.Functor.Day kan-extensions > [ 5 of 13] Compiling Data.Functor.Day.Curried kan-extensions > [ 6 of 13] Compiling Data.Functor.Invariant.Day kan-extensions > [ 7 of 13] Compiling Data.Functor.Kan.Lan kan-extensions > [ 8 of 13] Compiling Data.Functor.Coyoneda kan-extensions > [ 9 of 13] Compiling Control.Comonad.Density kan-extensions > [10 of 13] Compiling Control.Monad.Co kan-extensions > [11 of 13] Compiling Data.Functor.Kan.Ran kan-extensions > [12 of 13] Compiling Control.Monad.Codensity kan-extensions > [13 of 13] Compiling Data.Functor.Yoneda kan-extensions > copy/register kan-extensions > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/kan-extensions-5.2-KGAQCScW46S7R8OOU6xABy kan-extensions > Registering library for kan-extensions-5.2.. pointed > configure pointed > Configuring pointed-5.0.1... pointed > build pointed > Preprocessing library for pointed-5.0.1.. pointed > Building library for pointed-5.0.1.. pointed > [1 of 2] Compiling Data.Copointed pointed > [2 of 2] Compiling Data.Pointed pointed > copy/register pointed > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/pointed-5.0.1-AQYgRxHTyQX33s1HSTqT6g pointed > Registering library for pointed-5.0.1.. vector-instances > configure vector-instances > Configuring vector-instances-3.4... vector-instances > build vector-instances > Preprocessing library for vector-instances-3.4.. vector-instances > Building library for vector-instances-3.4.. vector-instances > [1 of 1] Compiling Data.Vector.Instances vector-instances > copy/register vector-instances > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/vector-instances-3.4-28MTetiG9ZZBzclnDq4MOG vector-instances > Registering library for vector-instances-3.4.. mono-traversable-instances> configure mono-traversable-instances> Configuring mono-traversable-instances-0.1.0.0... mono-traversable-instances> build mono-traversable-instances> Preprocessing library for mono-traversable-instances-0.1.0.0.. mono-traversable-instances> Building library for mono-traversable-instances-0.1.0.0.. mono-traversable-instances> [1 of 1] Compiling Data.MonoTraversable.Instances mono-traversable-instances> copy/register mono-traversable-instances> Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/mono-traversable-instances-0.1.0.0-LxZvCRNg2iabL5hGlDAwE mono-traversable-instances> Registering library for mono-traversable-instances-0.1.0.0.. classy-prelude > configure classy-prelude > Configuring classy-prelude-1.5.0... classy-prelude > build classy-prelude > Preprocessing library for classy-prelude-1.5.0.. classy-prelude > Building library for classy-prelude-1.5.0.. classy-prelude > [1 of 2] Compiling ClassyPrelude classy-prelude > [2 of 2] Compiling Paths_classy_prelude classy-prelude > copy/register classy-prelude > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/classy-prelude-1.5.0-2NWwsNS4NERGLsMR8H5pSk classy-prelude > Registering library for classy-prelude-1.5.0.. x509 > configure x509 > Configuring x509-1.7.5... x509 > build x509 > Preprocessing library for x509-1.7.5.. x509 > Building library for x509-1.7.5.. x509 > [ 1 of 14] Compiling Data.X509.AlgorithmIdentifier x509 > [ 2 of 14] Compiling Data.X509.Internal x509 > [ 3 of 14] Compiling Data.X509.ExtensionRaw x509 > x509 > /tmp/stack4998/x509-1.7.5/Data/X509/ExtensionRaw.hs:17:1: warning: [-Wunused-imports] x509 > The import of ‘Control.Applicative’ is redundant x509 > except perhaps to import instances from ‘Control.Applicative’ x509 > To import instances alone, use: import Control.Applicative() x509 > | x509 > 17 | import Control.Applicative x509 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ x509 > [ 4 of 14] Compiling Data.X509.DistinguishedName x509 > x509 > /tmp/stack4998/x509-1.7.5/Data/X509/DistinguishedName.hs:20:1: warning: [-Wunused-imports] x509 > The import of ‘Control.Applicative’ is redundant x509 > except perhaps to import instances from ‘Control.Applicative’ x509 > To import instances alone, use: import Control.Applicative() x509 > | x509 > 20 | import Control.Applicative x509 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ x509 > x509 > /tmp/stack4998/x509-1.7.5/Data/X509/DistinguishedName.hs:22:1: warning: [-Wunused-imports] x509 > The import of ‘Data.Semigroup’ is redundant x509 > except perhaps to import instances from ‘Data.Semigroup’ x509 > To import instances alone, use: import Data.Semigroup() x509 > | x509 > 22 | import Data.Semigroup x509 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ x509 > [ 5 of 14] Compiling Data.X509.Ext x509 > x509 > /tmp/stack4998/x509-1.7.5/Data/X509/Ext.hs:46:1: warning: [-Wunused-imports] x509 > The import of ‘Control.Applicative’ is redundant x509 > except perhaps to import instances from ‘Control.Applicative’ x509 > To import instances alone, use: import Control.Applicative() x509 > | x509 > 46 | import Control.Applicative x509 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ x509 > [ 6 of 14] Compiling Data.X509.CRL x509 > x509 > /tmp/stack4998/x509-1.7.5/Data/X509/CRL.hs:19:1: warning: [-Wunused-imports] x509 > The import of ‘Control.Applicative’ is redundant x509 > except perhaps to import instances from ‘Control.Applicative’ x509 > To import instances alone, use: import Control.Applicative() x509 > | x509 > 19 | import Control.Applicative x509 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ x509 > [ 7 of 14] Compiling Data.X509.OID x509 > x509 > /tmp/stack4998/x509-1.7.5/Data/X509/OID.hs:15:1: warning: [-Wunused-imports] x509 > The import of ‘Control.Applicative’ is redundant x509 > except perhaps to import instances from ‘Control.Applicative’ x509 > To import instances alone, use: import Control.Applicative() x509 > | x509 > 15 | import Control.Applicative x509 > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ x509 > [ 8 of 14] Compiling Data.X509.PublicKey x509 > [ 9 of 14] Compiling Data.X509.PrivateKey x509 > [10 of 14] Compiling Data.X509.EC x509 > [11 of 14] Compiling Data.X509.Cert x509 > [12 of 14] Compiling Data.X509.Signed x509 > [13 of 14] Compiling Data.X509.CertificateChain x509 > [14 of 14] Compiling Data.X509 x509 > x509 > copy/register x509 > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/x509-1.7.5-7L41fWhTvfhGsyeyfusrl0 x509 > Registering library for x509-1.7.5.. x509-store > configure x509-store > Configuring x509-store-1.6.7... x509-store > build x509-store > Preprocessing library for x509-store-1.6.7.. x509-store > Building library for x509-store-1.6.7.. x509-store > [1 of 3] Compiling Data.X509.CertificateStore x509-store > x509-store > /tmp/stack4998/x509-store-1.6.7/Data/X509/CertificateStore.hs:15:1: warning: [-Wunused-imports] x509-store > The import of ‘Data.Semigroup’ is redundant x509-store > except perhaps to import instances from ‘Data.Semigroup’ x509-store > To import instances alone, use: import Data.Semigroup() x509-store > | x509-store > 15 | import Data.Semigroup x509-store > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ x509-store > [2 of 3] Compiling Data.X509.Memory x509-store > [3 of 3] Compiling Data.X509.File x509-store > x509-store > /tmp/stack4998/x509-store-1.6.7/Data/X509/File.hs:6:1: warning: [-Wunused-imports] x509-store > The import of ‘Control.Applicative’ is redundant x509-store > except perhaps to import instances from ‘Control.Applicative’ x509-store > To import instances alone, use: import Control.Applicative() x509-store > | x509-store > 6 | import Control.Applicative x509-store > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ x509-store > x509-store > /tmp/stack4998/x509-store-1.6.7/Data/X509/File.hs:8:1: warning: [-Wunused-imports] x509-store > The import of ‘Data.ASN1.BinaryEncoding’ is redundant x509-store > except perhaps to import instances from ‘Data.ASN1.BinaryEncoding’ x509-store > To import instances alone, use: import Data.ASN1.BinaryEncoding() x509-store > | x509-store > 8 | import Data.ASN1.BinaryEncoding x509-store > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ x509-store > x509-store > /tmp/stack4998/x509-store-1.6.7/Data/X509/File.hs:9:1: warning: [-Wunused-imports] x509-store > The import of ‘Data.ASN1.Encoding’ is redundant x509-store > except perhaps to import instances from ‘Data.ASN1.Encoding’ x509-store > To import instances alone, use: import Data.ASN1.Encoding() x509-store > | x509-store > 9 | import Data.ASN1.Encoding x509-store > | ^^^^^^^^^^^^^^^^^^^^^^^^^ x509-store > x509-store > /tmp/stack4998/x509-store-1.6.7/Data/X509/File.hs:13:1: warning: [-Wunused-imports] x509-store > The import of ‘PEM(pemName)’ from module ‘Data.PEM’ is redundant x509-store > | x509-store > 13 | import Data.PEM (pemParseLBS, pemContent, pemName, PEM) x509-store > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ x509-store > x509-store > copy/register x509-store > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/x509-store-1.6.7-DjYQXo9kS0ZKgiWJwVxlGg x509-store > Registering library for x509-store-1.6.7.. x509-system > configure x509-system > Configuring x509-system-1.6.6... x509-system > build x509-system > Preprocessing library for x509-system-1.6.6.. x509-system > Building library for x509-system-1.6.6.. x509-system > [1 of 3] Compiling System.X509.MacOS x509-system > x509-system > /tmp/stack4998/x509-system-1.6.6/System/X509/MacOS.hs:8:1: warning: [-Wunused-imports] x509-system > The import of ‘Control.Applicative’ is redundant x509-system > except perhaps to import instances from ‘Control.Applicative’ x509-system > To import instances alone, use: import Control.Applicative() x509-system > | x509-system > 8 | import Control.Applicative x509-system > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ x509-system > [2 of 3] Compiling System.X509.Unix x509-system > [3 of 3] Compiling System.X509 x509-system > x509-system > copy/register x509-system > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/x509-system-1.6.6-GxYh6JVRDxOI0jhz6UHyQd x509-system > Registering library for x509-system-1.6.6.. x509-validation > configure x509-validation > Configuring x509-validation-1.6.11... x509-validation > build x509-validation > Preprocessing library for x509-validation-1.6.11.. x509-validation > Building library for x509-validation-1.6.11.. x509-validation > [1 of 5] Compiling Data.X509.Validation.Fingerprint x509-validation > x509-validation > /tmp/stack4998/x509-validation-1.6.11/Data/X509/Validation/Fingerprint.hs:24:10: warning: [-Wmissing-methods] x509-validation > • No explicit implementation for x509-validation > ‘memory-0.14.18:Data.ByteArray.Types.length’ and ‘memory-0.14.18:Data.ByteArray.Types.withByteArray’ x509-validation > • In the instance declaration for ‘ByteArrayAccess Fingerprint’ x509-validation > | x509-validation > 24 | instance ByteArrayAccess Fingerprint x509-validation > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ x509-validation > [2 of 5] Compiling Data.X509.Validation.Signature x509-validation > [3 of 5] Compiling Data.X509.Validation.Types x509-validation > [4 of 5] Compiling Data.X509.Validation.Cache x509-validation > [5 of 5] Compiling Data.X509.Validation x509-validation > x509-validation > /tmp/stack4998/x509-validation-1.6.11/Data/X509/Validation.hs:34:1: warning: [-Wunused-imports] x509-validation > The import of ‘Control.Applicative’ is redundant x509-validation > except perhaps to import instances from ‘Control.Applicative’ x509-validation > To import instances alone, use: import Control.Applicative() x509-validation > | x509-validation > 34 | import Control.Applicative x509-validation > | ^^^^^^^^^^^^^^^^^^^^^^^^^^ x509-validation > x509-validation > copy/register x509-validation > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/x509-validation-1.6.11-GY70NIh1ehN2KVAKBqcd7Q x509-validation > Registering library for x509-validation-1.6.11.. tls > configure tls > Configuring tls-1.4.1... tls > build tls > Preprocessing library for tls-1.4.1.. tls > Building library for tls-1.4.1.. tls > [ 1 of 52] Compiling Network.TLS.Crypto.Types tls > [ 2 of 52] Compiling Network.TLS.ErrT tls > [ 3 of 52] Compiling Network.TLS.Imports tls > [ 4 of 52] Compiling Network.TLS.Backend tls > [ 5 of 52] Compiling Network.TLS.Measurement tls > [ 6 of 52] Compiling Network.TLS.RNG tls > [ 7 of 52] Compiling Network.TLS.Crypto.DH tls > [ 8 of 52] Compiling Network.TLS.Extra.FFDHE tls > [ 9 of 52] Compiling Network.TLS.Types tls > [10 of 52] Compiling Network.TLS.Session tls > [11 of 52] Compiling Network.TLS.Compression tls > [12 of 52] Compiling Network.TLS.Cap tls > [13 of 52] Compiling Network.TLS.Util tls > [14 of 52] Compiling Network.TLS.Util.ASN1 tls > [15 of 52] Compiling Network.TLS.Util.Serialization tls > [16 of 52] Compiling Network.TLS.Crypto.IES tls > [17 of 52] Compiling Network.TLS.Crypto tls > [18 of 52] Compiling Network.TLS.Struct tls > [19 of 52] Compiling Network.TLS.MAC tls > [20 of 52] Compiling Network.TLS.Cipher tls > [21 of 52] Compiling Network.TLS.Extra.Cipher tls > [22 of 52] Compiling Network.TLS.Extra tls > [23 of 52] Compiling Network.TLS.Wire tls > [24 of 52] Compiling Network.TLS.Packet tls > [25 of 52] Compiling Network.TLS.Record.State tls > [26 of 52] Compiling Network.TLS.Record.Types tls > [27 of 52] Compiling Network.TLS.Record.Engage tls > [28 of 52] Compiling Network.TLS.Record.Disengage tls > [29 of 52] Compiling Network.TLS.Record tls > [30 of 52] Compiling Network.TLS.Handshake.State tls > [31 of 52] Compiling Network.TLS.Extension tls > [32 of 52] Compiling Network.TLS.State tls > [33 of 52] Compiling Network.TLS.X509 tls > [34 of 52] Compiling Network.TLS.Hooks tls > [35 of 52] Compiling Network.TLS.Credentials tls > [36 of 52] Compiling Network.TLS.Parameters tls > [37 of 52] Compiling Network.TLS.Context.Internal tls > [38 of 52] Compiling Network.TLS.Sending tls > [39 of 52] Compiling Network.TLS.Receiving tls > [40 of 52] Compiling Network.TLS.IO tls > [41 of 52] Compiling Network.TLS.Handshake.Key tls > [42 of 52] Compiling Network.TLS.Handshake.Signature tls > [43 of 52] Compiling Network.TLS.Handshake.Process tls > [44 of 52] Compiling Network.TLS.Handshake.Common tls > [45 of 52] Compiling Network.TLS.Handshake.Certificate tls > [46 of 52] Compiling Network.TLS.Handshake.Client tls > tls > /tmp/stack4998/tls-1.4.1/Network/TLS/Handshake/Client.hs:273:13: warning: [-Wincomplete-patterns] tls > Pattern match(es) are non-exhaustive tls > In a case alternative: tls > Patterns not matched: tls > (PrivKeyEC ) tls > (PrivKeyX25519 ) tls > (PrivKeyX448 ) tls > (PrivKeyEd25519 ) tls > ... tls > | tls > 273 | case pk of tls > | ^^^^^^^^^^... tls > [47 of 52] Compiling Network.TLS.Handshake.Server tls > [48 of 52] Compiling Network.TLS.Handshake tls > [49 of 52] Compiling Network.TLS.Context tls > [50 of 52] Compiling Network.TLS.Core tls > [51 of 52] Compiling Network.TLS.Internal tls > [52 of 52] Compiling Network.TLS tls > tls > copy/register tls > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/tls-1.4.1-n0GZq5RNpIKx1V4lcGaFL tls > Registering library for tls-1.4.1.. connection > configure connection > Configuring connection-0.3.1... connection > build connection > Preprocessing library for connection-0.3.1.. connection > Building library for connection-0.3.1.. connection > [1 of 2] Compiling Network.Connection.Types connection > [2 of 2] Compiling Network.Connection connection > connection > /tmp/stack4998/connection-0.3.1/Network/Connection.hs:68:1: warning: [-Wunused-imports] connection > The import of ‘Data.Tuple’ is redundant connection > except perhaps to import instances from ‘Data.Tuple’ connection > To import instances alone, use: import Data.Tuple() connection > | connection > 68 | import Data.Tuple (swap) connection > | ^^^^^^^^^^^^^^^^^^^^^^^^ connection > connection > copy/register connection > Installing library in /root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib/i386-linux-ghc-8.6.5/connection-0.3.1-5bmKNXfcLN46VWegbfA6Gb connection > Registering library for connection-0.3.1.. zlib > configure zlib > Configuring zlib-0.6.2.1... zlib > Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: Missing dependency on a foreign zlib > library: zlib > Missing (or bad) header file: zlib.h zlib > Missing (or bad) C library: z zlib > This problem can usually be solved by installing the system package that zlib > provides this library (you may need the "-dev" version). If the library is zlib > already installed but in a non-standard location then you can use the flags zlib > --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the zlib > library file does exist, it may contain errors that are caught by the C zlib > compiler at the preprocessing stage. In this case you can re-run configure zlib > with the verbosity flag -v3 to see the error messages. zlib > If the header file does exist, it may contain errors that are caught by the C zlib > compiler at the preprocessing stage. In this case you can re-run configure zlib > with the verbosity flag -v3 to see the error messages. zlib >

-- While building package zlib-0.6.2.1 using: /root/.stack/setup-exe-cache/i386-linux/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5 --builddir=.stack-work/dist/i386-linux/Cabal-2.4.0.1 configure --user --package-db=clear --package-db=global --package-db=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/pkgdb --libdir=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/lib --bindir=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/bin --datadir=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/share --libexecdir=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/libexec --sysconfdir=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/etc --docdir=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/doc/zlib-0.6.2.1 --htmldir=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/doc/zlib-0.6.2.1 --haddockdir=/root/.stack/snapshots/i386-linux/07d5803bf3dad264fda02ce18097879d962e91063268bc277b800a652c6e74bb/8.6.5/doc/zlib-0.6.2.1 --dependency=base=base-4.12.0.0 --dependency=bytestring=bytestring-0.10.8.2 -f-non-blocking-ffi -f-pkg-config --exact-configuration --ghc-option=-fhide-source-paths Process exited with code: ExitFailure 1 Progress 81/86 root@vultr:~/wstunnel#

gvsurenderreddy commented 4 years ago

Thanks sir finally I could build it successful.Thanks for you help