[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-1.2.3.0, GLUT-2.1.1.1, HUnit-1.2.0.0, OpenGL-2.2.1.1,
>     QuickCheck-1.1.0.0, array-0.1.0.0, base-3.0.1.0,
>     bytestring-0.9.0.1, cgi-3001.1.5.1, containers-0.1.0.1,
>     directory-1.0.0.0, fgl-5.4.1.1, filepath-1.1.0.0, (ghc-6.8.2),
>     haskell-src-1.0.1.1, haskell98-1.0.1.0, hpc-0.5.0.0, html-1.0.1.1,
>     mtl-1.1.0.0, network-2.1.0.0, old-locale-1.0.0.0, old-time-1.0.0.0,
>     packedstring-0.1.0.0, parallel-1.0.0.0, parsec-2.1.0.0,
>     pretty-1.0.0.0, process-1.0.0.0, random-1.0.0.0, readline-1.0.1.0,
>     regex-base-0.72.0.1, regex-compat-0.71.0.1, regex-posix-0.72.0.2,
>     rts-1.0, stm-2.1.1.0, template-haskell-2.2.0.0, time-1.1.2.0,
>     unix-2.3.0.0, xhtml-3000.0.2.1
> /home/tn/.ghc/i386-linux-6.8.2/package.conf:
>     Cabal-1.6.0.1, QuickCheck-2.1.0.1, extensible-exceptions-0.1.1.0,
>     haskeline-0.6.1.3, 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)

http://buildbot.darcs.net/buildbot-darcs/builders/thorkil%20tn9%20Linux-2.6.13-15%20SUSE-10.0%20i686/builds/337/steps/configure/logs/stdio

> runghc Setup configure --verbose --user -f-curl -f-libwww -f-type-witnesses 
-ftype-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 
request.

> 
> 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
Thorkil


More information about the darcs-users mailing list