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

Bootstrap failure network-uri <2.6 #2305

Closed
k-bx opened this issue Dec 26, 2014 · 8 comments
Closed

Bootstrap failure network-uri <2.6 #2305

k-bx opened this issue Dec 26, 2014 · 8 comments

Comments

@k-bx
Copy link

k-bx commented Dec 26, 2014

Hi!

If you clone this repo https://github.com/k-bx/docker-ghc-7.8 and run sudo docker build . you will (probably) see following error upon ./bootstrap.sh stage:

Configuring cabal-install-1.20.0.4...
Setup: At least the following dependencies are missing:
network-uri <2.6

Error during cabal-install bootstrap:
Configuring the cabal-install package failed.
2014/12/26 04:38:40 The command [/bin/sh -c ./bootstrap.sh] returned a non-zero code: 2

Please check it out.

@23Skidoo
Copy link
Member

I think it's a known issue.

@tibbe, can you please comment?

@tibbe
Copy link
Member

tibbe commented Dec 30, 2014

Just fixed with a new 1.18 and 1.20 cabal-install release.

@kaiko
Copy link

kaiko commented Dec 30, 2014

Is this error related to same issue (1.20.0.5)?

Preprocessing library network-uri-2.5.0.0...
haddock: No input file(s).

Error during cabal-install bootstrap:
Documenting the network-uri package failed.

@tibbe
Copy link
Member

tibbe commented Dec 30, 2014

@kaiko I saw that error once but I could reproduce it. Which version of GHC and Haddock do you have installed? I can bootstrap using

$ haddock --version
Haddock version 2.14.3, (c) Simon Marlow 2006
Ported to use the GHC API by David Waern 2006-2008
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.8.3

@mietek
Copy link
Contributor

mietek commented Dec 30, 2014

Confirming: Bootstrapping 1.20.0.5 works.

@tibbe
Copy link
Member

tibbe commented Dec 30, 2014

@kaiko Fixed. I didn't notice that 1.18 and 1.20 handles docs differently. I fixed 1.20 with yet another release.

@23Skidoo 23Skidoo closed this as completed Jan 1, 2015
@kaiko
Copy link

kaiko commented Jan 4, 2015

1.20.0.6 works.
1.18.0.5 works.
Inital error still arises for 1.18.0.6 and 1.18.0.7 (Setup: At least the following dependencies are missing: network <2.5).

Dockerfile:

FROM debian:wheezy
RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install make curl bzip2 gzip libffi-dev libgmp-dev zlib1g-dev

RUN curl -s http://downloads.haskell.org/~ghc/7.8.4/ghc-7.8.4-x86_64-unknown-linux-deb7.tar.bz2 | tar xj
RUN curl -s http://hackage.haskell.org/package/cabal-install-1.18.0.7/cabal-install-1.18.0.7.tar.gz | tar xz

RUN cd ghc-* && ./configure && make install
RUN cd cabal-* && ./bootstrap.sh --global
RUN cabal update

@tibbe
Copy link
Member

tibbe commented Jan 4, 2015

@kaiko I've release cabal-install-1.18.0.8, hopefully fixing the issue.

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

No branches or pull requests

5 participants