[darcs-users] [darcs-devel] buildbot failure in darcs on thorkil tn9 Linux-2.6.13-15 SUSE-10.0?i686

Thorkil Naur naur at post11.tele.dk
Wed Mar 18 16:09:23 UTC 2009

Hi Eric,

On Wednesday 18 March 2009 16:35, Eric Kow wrote:
> On Wed, Mar 18, 2009 at 16:10:04 +0100, Thorkil Naur wrote:
> > > runghc Setup build
> > >  in dir /home/tn/tn/buildbot/darcs/thorkil_linux/thorkil tn9/build
> > >  watching logfiles {}
> > >  argv: ['runghc', 'Setup', 'build']
> > >  environment: {...
> > > Setup: Package darcs-2.2.0 can't be built on this system.
> > > program finished with exit code 1
> > 
> > Details, running by hand:
> This means that we've got you configured to use neither libcurl nor http
> on the build master.
> Do you have the HTTP package (>= 3000.0 && < 3001.2) installed on this
> slave or libcurl for that matter?

I guess this will tell you something:

> tn at linux:~> ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.8.2
> tn at linux:~> ghc-pkg list
> /home/tn/tn/install/ghc-6.8.2/lib/ghc-6.8.2/package.conf:
>     Cabal-, GLUT-, HUnit-, OpenGL-,
>     QuickCheck-, array-, base-,
>     bytestring-, cgi-3001.1.5.1, containers-,
>     directory-, fgl-, filepath-, (ghc-6.8.2),
>     haskell-src-, haskell98-, hpc-, html-,
>     mtl-, network-, old-locale-, old-time-,
>     packedstring-, parallel-, parsec-,
>     pretty-, process-, random-, readline-,
>     regex-base-, regex-compat-, regex-posix-,
>     rts-1.0, stm-, template-haskell-, time-,
>     unix-, xhtml-3000.0.2.1
> /home/tn/.ghc/i386-linux-6.8.2/package.conf:
>     Cabal-, QuickCheck-, extensible-exceptions-,
>     haskeline-, hscolour-1.10.1, utf8-string-0.3.4
> tn at linux:~> curl --version
> curl 7.14.0 (i686-suse-linux) libcurl/7.14.0 OpenSSL/0.9.7g zlib/1.2.3
> Protocols: ftp gopher telnet dict ldap http file https ftps
> Features: IPv6 Largefile NTLM SSL libz
> tn at linux:~>

The response (I guess) is "No" to the HTTP question and "Yes, but probably in 
a too old version" to the libcurl question.

I seem to recall an earlier request to install some HTTP package, some 
version. And, it is not to be difficult or anything that I do not usually 
comply with these requests immediately, it is simply that I have found it 
interesting and useful to observe, well, what happens if I don't do that, 
what is the error reaction from the builder? And sometimes, as in this case, 
we find some weakness, perhaps it is in Cabal (I mean, what do you think of 
an error message that says "Setup: Package darcs-2.2.0 can't be built on this 
system.", but no additional details provided?), perhaps it is somewhere else.

In any case, I got an error message from a build that complained about the 
HTTP package (and also about network)


> runghc Setup configure --verbose --user -f-curl -f-libwww -f-type-witnesses 
>  in dir /home/tn/tn/buildbot/darcs/thorkil_linux/thorkil tn9/build
>  watching logfiles {}
>  argv: ['runghc', 'Setup', 'configure', '--verbose', '--user', '-f-curl', 
'-f-libwww', '-f-type-witnesses', '-ftype-witnesses']
>  environment: {...
> Configuring darcs-2.2.0...
> Setup: At least the following dependencies are missing:
> HTTP >=3000.0 && <3001.2, network ==2.2.*
> program finished with exit code 1

but the very next build passed the configure step, so the (tentative, of 
course) conclusion in this case was that the HTTP/network complaint was 
needless. In any case, I still haven't complied with the HTTP/network 

> Right now we have
>    cabal_extra=["-f-curl", "-f-libwww", "-f-type-witnesses"]),
> in the build master config.  Either we'll have to change this to
>    cabal_extra=["-f-type-witnesses"]), # re-enable curl
> or
>    cabal_extra=["-f-curl", "-fhttp", "-f-type-witnesses"]), # enable HTTP
> But it's up to you...

I'll stop here, there is more in the reply to Petr's reply to this letter.

> -- 
> Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
> PGP Key ID: 08AC04F9

Best regards

More information about the darcs-users mailing list