Created
February 1, 2021 18:43
-
-
Save oguimbal/0ef39d890eed2328b8f5f9d619fc324e to your computer and use it in GitHub Desktop.
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
✘ oliv ~/repos-my/lambda-haskell stack build | |
postgresql-libpq > configure | |
postgresql-libpq > [1 of 2] Compiling Main ( /tmp/stack-5099606a823910c9/postgresql-libpq-0.9.4.3/Setup.hs, /tmp/stack-5099606a823910c9/postgresql-libpq-0.9.4.3/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/setup/Main.o ) | |
postgresql-libpq > [2 of 2] Compiling StackSetupShim ( /home/oliv/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-5099606a823910c9/postgresql-libpq-0.9.4.3/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/setup/StackSetupShim.o ) | |
postgresql-libpq > Linking /tmp/stack-5099606a823910c9/postgresql-libpq-0.9.4.3/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/setup/setup ... | |
postgresql-libpq > Configuring postgresql-libpq-0.9.4.3... | |
postgresql-libpq > setup: Missing dependency on a foreign library: | |
postgresql-libpq > * Missing (or bad) C library: pq | |
postgresql-libpq > This problem can usually be solved by installing the system package that | |
postgresql-libpq > provides this library (you may need the "-dev" version). If the library is | |
postgresql-libpq > already installed but in a non-standard location then you can use the flags | |
postgresql-libpq > --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the | |
postgresql-libpq > library file does exist, it may contain errors that are caught by the C | |
postgresql-libpq > compiler at the preprocessing stage. In this case you can re-run configure | |
postgresql-libpq > with the verbosity flag -v3 to see the error messages. | |
postgresql-libpq > | |
persistent > configure | |
persistent > Configuring persistent-2.11.0.2... | |
persistent > build | |
persistent > Preprocessing library for persistent-2.11.0.2.. | |
persistent > Building library for persistent-2.11.0.2.. | |
persistent > [ 1 of 24] Compiling Database.Persist.Class.PersistConfig | |
persistent > [ 2 of 24] Compiling Database.Persist.Types.Base | |
persistent > [ 3 of 24] Compiling Database.Persist.Class.PersistField | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Class/PersistField.hs:24:1: warning: [-Wunused-imports] | |
persistent > The import of ‘Data.Monoid’ is redundant | |
persistent > except perhaps to import instances from ‘Data.Monoid’ | |
persistent > To import instances alone, use: import Data.Monoid() | |
persistent > | | |
persistent > 24 | import Data.Monoid ((<>)) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [ 4 of 24] Compiling Database.Persist.Class.PersistEntity | |
persistent > [ 5 of 24] Compiling Database.Persist.Types | |
persistent > [ 6 of 24] Compiling Database.Persist.Quasi | |
persistent > [ 7 of 24] Compiling Database.Persist.Class.PersistStore | |
persistent > [ 8 of 24] Compiling Database.Persist.Class.PersistUnique | |
persistent > [ 9 of 24] Compiling Database.Persist.Class.PersistQuery | |
persistent > [10 of 24] Compiling Database.Persist.Class.DeleteCascade | |
persistent > [11 of 24] Compiling Database.Persist.Class | |
persistent > [12 of 24] Compiling Database.Persist.Sql.Types.Internal | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Sql/Types/Internal.hs:34:1: warning: [-Wunused-imports] | |
persistent > The import of ‘Data.Monoid’ is redundant | |
persistent > except perhaps to import instances from ‘Data.Monoid’ | |
persistent > To import instances alone, use: import Data.Monoid() | |
persistent > | | |
persistent > 34 | import Data.Monoid ((<>)) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [13 of 24] Compiling Database.Persist.Sql.Types | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Sql/Types.hs:11:1: warning: [-Wunused-imports] | |
persistent > The import of ‘Database.Persist.Types.Base’ is redundant | |
persistent > except perhaps to import instances from ‘Database.Persist.Types.Base’ | |
persistent > To import instances alone, use: import Database.Persist.Types.Base() | |
persistent > | | |
persistent > 11 | import Database.Persist.Types.Base (FieldCascade) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [14 of 24] Compiling Database.Persist.Sql.Internal | |
persistent > [15 of 24] Compiling Database.Persist | |
persistent > [16 of 24] Compiling Database.Persist.Sql.Util | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Sql/Util.hs:24:1: warning: [-Wunused-imports] | |
persistent > The import of ‘Data.Monoid’ is redundant | |
persistent > except perhaps to import instances from ‘Data.Monoid’ | |
persistent > To import instances alone, use: import Data.Monoid() | |
persistent > | | |
persistent > 24 | import Data.Monoid ((<>)) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [17 of 24] Compiling Database.Persist.Sql.Class | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Sql/Class.hs:24:1: warning: [-Wunused-imports] | |
persistent > The import of ‘Data.Monoid’ is redundant | |
persistent > except perhaps to import instances from ‘Data.Monoid’ | |
persistent > To import instances alone, use: import Data.Monoid() | |
persistent > | | |
persistent > 24 | import Data.Monoid ((<>)) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [18 of 24] Compiling Database.Persist.Sql.Raw | |
persistent > [19 of 24] Compiling Database.Persist.Sql.Run | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Sql/Run.hs:15:1: warning: [-Wunused-imports] | |
persistent > The import of ‘Data.Pool’ is redundant | |
persistent > except perhaps to import instances from ‘Data.Pool’ | |
persistent > To import instances alone, use: import Data.Pool() | |
persistent > | | |
persistent > 15 | import Data.Pool (Pool, LocalPool) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [20 of 24] Compiling Database.Persist.Sql.Orphan.PersistStore | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Sql/Orphan/PersistStore.hs:34:1: warning: [-Wunused-imports] | |
persistent > The import of ‘Data.Monoid’ is redundant | |
persistent > except perhaps to import instances from ‘Data.Monoid’ | |
persistent > To import instances alone, use: import Data.Monoid() | |
persistent > | | |
persistent > 34 | import Data.Monoid (mappend, (<>)) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [21 of 24] Compiling Database.Persist.Sql.Orphan.PersistUnique | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Sql/Orphan/PersistUnique.hs:14:1: warning: [-Wunused-imports] | |
persistent > The import of ‘Data.Monoid’ is redundant | |
persistent > except perhaps to import instances from ‘Data.Monoid’ | |
persistent > To import instances alone, use: import Data.Monoid() | |
persistent > | | |
persistent > 14 | import Data.Monoid (mappend) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [22 of 24] Compiling Database.Persist.Sql.Orphan.PersistQuery | |
persistent > | |
persistent > /tmp/stack-5099606a823910c9/persistent-2.11.0.2/Database/Persist/Sql/Orphan/PersistQuery.hs:21:1: warning: [-Wunused-imports] | |
persistent > The import of ‘<>’ from module ‘Data.Monoid’ is redundant | |
persistent > | | |
persistent > 21 | import Data.Monoid (Monoid (..), (<>)) | |
persistent > | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
persistent > [23 of 24] Compiling Database.Persist.Sql.Migration | |
persistent > [24 of 24] Compiling Database.Persist.Sql | |
persistent > | |
persistent > copy/register | |
persistent > Installing library in /home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/lib/x86_64-linux-ghc-8.10.3/persistent-2.11.0.2-45UtL3fgnfRFhdIL61NCbi | |
persistent > Registering library for persistent-2.11.0.2.. | |
Progress 2/5 | |
-- While building package postgresql-libpq-0.9.4.3 (scroll up to its section to see the error) using: | |
/tmp/stack-5099606a823910c9/postgresql-libpq-0.9.4.3/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.2.1.0 configure --user --package-db=clear --package-db=global --package-db=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/pkgdb --libdir=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/lib --bindir=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/bin --datadir=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/share --libexecdir=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/libexec --sysconfdir=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/etc --docdir=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/doc/postgresql-libpq-0.9.4.3 --htmldir=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/doc/postgresql-libpq-0.9.4.3 --haddockdir=/home/oliv/.stack/snapshots/x86_64-linux-tinfo6/814e28d14b6a48586b7210f18faef89e0d4e63508395cee9b2f6032145c9dacf/8.10.3/doc/postgresql-libpq-0.9.4.3 --dependency=Cabal=Cabal-3.2.1.0 --dependency=base=base-4.14.1.0 --dependency=bytestring=bytestring-0.10.12.0 --dependency=unix=unix-2.7.2.2 -f-use-pkg-config --exact-configuration --ghc-option=-fhide-source-paths | |
Process exited with code: ExitFailure 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment