Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update dependencies #25

wants to merge 1 commit into from

Conversation

MDeltaX
Copy link

@MDeltaX MDeltaX commented Apr 4, 2017

No description provided.

@cgaebel
Copy link
Owner

cgaebel commented Apr 11, 2017

why is travis failing?

@MDeltaX
Copy link
Author

MDeltaX commented Apr 12, 2017

The compiler version is the problem (7.8.4).

cabal2nix https://github.com/koenigmaximilian/network-bitcoin.git --revision 67047b747450a479970f7d138d34eca01a8d8115 --shell | nix-build - --arg compiler '"ghc784"' --no-out-link

failes with a similar error:

...
Configuring case-insensitive-1.2.0.8...
Setup: At least the following dependencies are missing:
semigroups ==0.18.*
builder for ‘/nix/store/av69m16wpxwpipmpj5pyqv7gyl89y6sf-case-insensitive-1.2.0.8.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/ai14m3bp8ajqa9n9lll51nhn1308j7xy-http-client-0.5.6.1.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/nbgxf53hpihzzvqfz85pvj70qibyas6g-http-types-0.9.1.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/867bzxjzr3x6i29vqi6hgllcbch63vck-network-bitcoin-1.8.1.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/867bzxjzr3x6i29vqi6hgllcbch63vck-network-bitcoin-1.8.1.drv’ failed

nix-build '<nixpkgs>' -A haskell.packages.ghc784.case-insensitive --no-out-link

these derivations will be built:
  /nix/store/av69m16wpxwpipmpj5pyqv7gyl89y6sf-case-insensitive-1.2.0.8.drv
building path(s) ‘/nix/store/64y2nqr07hp020bg8pqavvfq067k3ysg-case-insensitive-1.2.0.8’
setupCompilerEnvironmentPhase
Build with /nix/store/nmhx0bpcxg5hgi2l82k4kxq82jvq646x-ghc-7.8.4.
unpacking sources
unpacking source archive /nix/store/vn4611j76wnzxrdip4mimrz1vsdj1bir-case-insensitive-1.2.0.8.tar.gz
source root is case-insensitive-1.2.0.8
setting SOURCE_DATE_EPOCH to timestamp 1487026093 of file case-insensitive-1.2.0.8/test/test.hs
patching sources
Run jailbreak-cabal to lift version restrictions on build inputs.
compileBuildDriverPhase
setupCompileFlags: -package-db=/tmp/nix-build-case-insensitive-1.2.0.8.drv-0/package.conf.d -j1
[1 of 1] Compiling Main             ( Setup.lhs, /tmp/nix-build-case-insensitive-1.2.0.8.drv-0/Main.o )
Linking Setup ...
configuring
configureFlags: --verbose --prefix=/nix/store/64y2nqr07hp020bg8pqavvfq067k3ysg-case-insensitive-1.2.0.8 --libdir=$prefix/lib/$compiler --libsubdir=$pkgid --with-gcc=gcc --package-db=/tmp/nix-build-case-insensitive-1.2.0.8.drv-0/package.conf.d --ghc-option=-optl=-Wl,-rpath=/nix/store/64y2nqr07hp020bg8pqavvfq067k3ysg-case-insensitive-1.2.0.8/lib/ghc-7.8.4/case-insensitive-1.2.0.8 --enable-split-objs --disable-library-profiling --disable-executable-profiling --enable-shared --enable-library-vanilla --enable-executable-dynamic --enable-tests
Configuring case-insensitive-1.2.0.8...
Setup: At least the following dependencies are missing:
semigroups ==0.18.*
builder for ‘/nix/store/av69m16wpxwpipmpj5pyqv7gyl89y6sf-case-insensitive-1.2.0.8.drv’ failed with exit code 1
error: build of ‘/nix/store/av69m16wpxwpipmpj5pyqv7gyl89y6sf-case-insensitive-1.2.0.8.drv’ failed

There is no problem with 7.10.3 and 8.0.2:

cabal2nix https://github.com/koenigmaximilian/network-bitcoin.git --revision 67047b747450a479970f7d138d34eca01a8d8115 --shell | nix-build - --arg compiler '"ghc7103"' --no-out-link

...
/nix/store/sn2bysl3q0f1nqspfzmv1yyp6cw3h5yi-network-bitcoin-1.8.1

nix-build '<nixpkgs>' -A haskell.packages.ghc7103.case-insensitive --no-out-link

/nix/store/nnc2h0z9mkw5nr4y8zmn18aywb4r86js-case-insensitive-1.2.0.8

cabal2nix https://github.com/koenigmaximilian/network-bitcoin.git --revision 67047b747450a479970f7d138d34eca01a8d8115 --shell | nix-build - --arg compiler '"ghc802"' --no-out-link

...
/nix/store/jmgcsdg93bhpszmx4xgci7bllwc66nd3-network-bitcoin-1.8.1

nix-build '<nixpkgs>' -A haskell.packages.ghc802.case-insensitive --no-out-link

/nix/store/wjilbzfhka1b1kg24lc9mw0470f4429b-case-insensitive-1.2.0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants