Skip to content

Instantly share code, notes, and snippets.

@Denommus
Created October 3, 2017 22:04
Show Gist options
  • Save Denommus/7096b9ae7f97fec0d38da462e7dc110f to your computer and use it in GitHub Desktop.
Save Denommus/7096b9ae7f97fec0d38da462e7dc110f to your computer and use it in GitHub Desktop.
clock-0.7.2: configure
clock-0.7.2: build
network-2.6.3.2: configure
old-time-1.1.0.3: download
foundation-0.0.15: configure
foundation-0.0.15: build
old-time-1.1.0.3: configure
Progress: 4/84
-- While building package old-time-1.1.0.3 using:
/tmp/stack13341/old-time-1.1.0.3/.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0 configure --with-ghc=/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/bin/ghc --with-ghc-pkg=/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/pkgdb --libdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/lib --bindir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/bin --datadir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/share --libexecdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/libexec --sysconfdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/etc --docdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/doc/old-time-1.1.0.3 --htmldir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/doc/old-time-1.1.0.3 --haddockdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/doc/old-time-1.1.0.3 --dependency=base=base-4.9.1.0 --dependency=old-locale=old-locale-1.0.0.7-KGBP1BSKxH5GCm0LnZP04j
Process exited with code: ExitFailure 1
Logs have been written to: /home/yuri/Projetos/InkittHaskell/.stack-work/logs/old-time-1.1.0.3.log
[1 of 2] Compiling Main ( /tmp/stack13341/old-time-1.1.0.3/Setup.hs, /tmp/stack13341/old-time-1.1.0.3/.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/setup/Main.o )
[2 of 2] Compiling StackSetupShim ( /home/yuri/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack13341/old-time-1.1.0.3/.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/setup/StackSetupShim.o )
Linking /tmp/stack13341/old-time-1.1.0.3/.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/setup/setup ...
Configuring old-time-1.1.0.3...
configure: WARNING: unrecognized options: --with-compiler
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/tmp/stack13341/old-time-1.1.0.3':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
-- While building package foundation-0.0.15 using:
/home/yuri/.stack/setup-exe-cache/x86_64-linux-tinfo6-nopie/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /home/yuri/Projetos/InkittHaskell/.stack-work/logs/foundation-0.0.15.log
Configuring foundation-0.0.15...
Building foundation-0.0.15...
Preprocessing library foundation-0.0.15...
/usr/bin/ld: .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/Foundation/System/Bindings/Posix_hsc_make.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
linking .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/Foundation/System/Bindings/Posix_hsc_make.o failed (exit code 1)
command was: /usr/bin/gcc .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/Foundation/System/Bindings/Posix_hsc_make.o .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/Foundation/System/Bindings/Posix_hsc_utils.o -o .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/Foundation/System/Bindings/Posix_hsc_make -fno-PIE -fno-stack-protector -L/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/lib/x86_64-linux-ghc-8.0.2/basement-0.0.2-HQuQCDQkzPb1RQsskWNdsw -Wl,-R,/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/lib/x86_64-linux-ghc-8.0.2/basement-0.0.2-HQuQCDQkzPb1RQsskWNdsw -L/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/base-4.9.1.0 -Wl,-R,/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/base-4.9.1.0 -L/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/integer-gmp-1.0.0.1 -Wl,-R,/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/integer-gmp-1.0.0.1 -lgmp -L/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/ghc-prim-0.5.0.0 -Wl,-R,/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/ghc-prim-0.5.0.0 -L/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/rts -Wl,-R,/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/rts -lm -lrt -ldl -lpthread
-- While building package network-2.6.3.2 using:
/tmp/stack13341/network-2.6.3.2/.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0 configure --with-ghc=/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/bin/ghc --with-ghc-pkg=/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/pkgdb --libdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/lib --bindir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/bin --datadir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/share --libexecdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/libexec --sysconfdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/etc --docdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/doc/network-2.6.3.2 --htmldir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/doc/network-2.6.3.2 --haddockdir=/home/yuri/.stack/snapshots/x86_64-linux-tinfo6-nopie/lts-9.6/8.0.2/doc/network-2.6.3.2 --dependency=base=base-4.9.1.0 --dependency=bytestring=bytestring-0.10.8.1 --dependency=unix=unix-2.7.2.1
Process exited with code: ExitFailure 1
Logs have been written to: /home/yuri/Projetos/InkittHaskell/.stack-work/logs/network-2.6.3.2.log
[1 of 2] Compiling Main ( /tmp/stack13341/network-2.6.3.2/Setup.hs, /tmp/stack13341/network-2.6.3.2/.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/setup/Main.o )
[2 of 2] Compiling StackSetupShim ( /home/yuri/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack13341/network-2.6.3.2/.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/setup/StackSetupShim.o )
Linking /tmp/stack13341/network-2.6.3.2/.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/setup/setup ...
Configuring network-2.6.3.2...
configure: WARNING: unrecognized options: --with-compiler
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/tmp/stack13341/network-2.6.3.2':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
-- While building package clock-0.7.2 using:
/home/yuri/.stack/setup-exe-cache/x86_64-linux-tinfo6-nopie/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0 build --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /home/yuri/Projetos/InkittHaskell/.stack-work/logs/clock-0.7.2.log
Configuring clock-0.7.2...
Building clock-0.7.2...
Preprocessing library clock-0.7.2...
/tmp/stack13341/clock-0.7.2/Clock.hsc:44:0: warning: "hsc_alignment" re-definido
/tmp/stack13341/clock-0.7.2/In file included from .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/System/Clock_hsc_make.c:1:0:
/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/template-hsc.h:88:0: note: essa é a localização da definição anterior
#define hsc_alignment(t...) \
/usr/bin/ld: .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/System/Clock_hsc_make.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
linking .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/System/Clock_hsc_make.o failed (exit code 1)
command was: /usr/bin/gcc .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/System/Clock_hsc_make.o .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/System/Clock_hsc_utils.o -o .stack-work/dist/x86_64-linux-tinfo6-nopie/Cabal-1.24.2.0/build/System/Clock_hsc_make -fno-PIE -fno-stack-protector -L/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/base-4.9.1.0 -Wl,-R,/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/base-4.9.1.0 -L/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/integer-gmp-1.0.0.1 -Wl,-R,/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/integer-gmp-1.0.0.1 -lgmp -L/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/ghc-prim-0.5.0.0 -Wl,-R,/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/ghc-prim-0.5.0.0 -L/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/rts -Wl,-R,/home/yuri/.stack/programs/x86_64-linux/ghc-tinfo6-nopie-8.0.2/lib/ghc-8.0.2/rts -lm -lrt -ldl -lpthread
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment