Re: cabal sdist trouble with GHC from head

2014-10-30 Thread Mikhail Glushenkov
Hi,

On 30 October 2014 21:30, Sven Panne  wrote:
> 2014-10-30 17:20 GMT+01:00 Austin Seipp :
>> [...] So this just means that Cabal isn't necessarily *future compatible*
>> with future GHCs - they may change the package format, etc. But it is
>> backwards compatible with existing ones.
>
> OK, that's good to know. To be sure, I've just tested Cabal head + GHC
> 7.8.3, and it works. But as I've mentioned already, there seems to be
> *no* Cabal version which works with GHC head:
> https://travis-ci.org/haskell-opengl/StateVar/builds/39533448 Is this
> known to the Cabal people?

Yes, I know that the Cabal test suite wasn't passing on GHC HEAD for some time.

Re: the next release - I think it'll be out at the same time with GHC 7.10.1.
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: cabal sdist trouble with GHC from head

2014-10-30 Thread Austin Seipp
I would imagine they are well aware, what with all the changes that
have gone in the past few weeks (for backpack support, package db
overhauls, etc).

However, I think crux of it (and the real question) isn't are they
aware - but "When will there be a Cabal release that supports GHC
HEAD, which will become 7.10"? This is a question I'm afraid I cannot
answer - Johan does the typical Cabal releases, AFAIK.

I've CC'd Duncan and Johan - do either of you have plans for this?
Considering we hope the stable freeze will happen soon for 7.10, I
imagine Cabal won't be very far behind in this regard, but I'm not
sure if there's a plan set down anywhere as to when the next release
will happen.

On Thu, Oct 30, 2014 at 3:30 PM, Sven Panne  wrote:
> 2014-10-30 17:20 GMT+01:00 Austin Seipp :
>> [...] So this just means that Cabal isn't necessarily *future compatible*
>> with future GHCs - they may change the package format, etc. But it is
>> backwards compatible with existing ones.
>
> OK, that's good to know. To be sure, I've just tested Cabal head + GHC
> 7.8.3, and it works. But as I've mentioned already, there seems to be
> *no* Cabal version which works with GHC head:
> https://travis-ci.org/haskell-opengl/StateVar/builds/39533448 Is this
> known to the Cabal people?
>



-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: cabal sdist trouble with GHC from head

2014-10-30 Thread Sven Panne
2014-10-30 17:20 GMT+01:00 Austin Seipp :
> [...] So this just means that Cabal isn't necessarily *future compatible*
> with future GHCs - they may change the package format, etc. But it is
> backwards compatible with existing ones.

OK, that's good to know. To be sure, I've just tested Cabal head + GHC
7.8.3, and it works. But as I've mentioned already, there seems to be
*no* Cabal version which works with GHC head:
https://travis-ci.org/haskell-opengl/StateVar/builds/39533448 Is this
known to the Cabal people?
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: cabal sdist trouble with GHC from head

2014-10-30 Thread Austin Seipp
On Thu, Oct 23, 2014 at 8:47 AM, Sven Panne  wrote:
> 2014-10-23 15:01 GMT+02:00 Alan & Kim Zimmerman :
>> cabal has changed for HEAD, you need to install 1.21.1.0
>
> Hmmm, so we *force* people to update? o_O Perhaps I've missed an
> announcement, and I really have a hard time deducing this from the
> output on Travis CI. Is 1.21.1.0 backwards-compatible to previous
> GHCs? Or do I have to set up something more or less complicated
> depending on the GHC version (which would be unfortunate)?
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>

Just to be clear, Cabal will always support every major GHC version
going back several years. I think it even supports GHC 6.12 still and
Duncan tests with it. But, sometimes a GHC change may require you to
use a newer version of Cabal, for things to work.

So this just means that Cabal isn't necessarily *future compatible*
with future GHCs - they may change the package format, etc. But it is
backwards compatible with existing ones.

-- 
Regards,

Austin Seipp, Haskell Consultant
Well-Typed LLP, http://www.well-typed.com/
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: cabal sdist trouble with GHC from head

2014-10-30 Thread Sven Panne
2014-10-29 23:55 GMT+01:00 Herbert Valerio Riedel :
> Fyi, there's a `cabal-install-head` package now[1] (may take a few
> minutes till its properly published in the PPA though); please test it
> and lemme know if it works as expected...
>
>  [1]: 
> https://launchpad.net/~hvr/+archive/ubuntu/ghc/+sourcepub/4539223/+listing-archive-extra

Thanks for uploading this. Nevertheless, GHC from head and cabal from
head still don't like each other:

  https://travis-ci.org/haskell-opengl/StateVar/jobs/39470537#L103

I get "cabal: Prelude.chr: bad argument: 3031027"... o_O
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: cabal sdist trouble with GHC from head

2014-10-23 Thread Sven Panne
2014-10-23 15:01 GMT+02:00 Alan & Kim Zimmerman :
> cabal has changed for HEAD, you need to install 1.21.1.0

Hmmm, so we *force* people to update? o_O Perhaps I've missed an
announcement, and I really have a hard time deducing this from the
output on Travis CI. Is 1.21.1.0 backwards-compatible to previous
GHCs? Or do I have to set up something more or less complicated
depending on the GHC version (which would be unfortunate)?
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: cabal sdist trouble with GHC from head

2014-10-23 Thread Alan & Kim Zimmerman
cabal has changed for HEAD, you need to install 1.21.1.0

On Thu, Oct 23, 2014 at 2:40 PM, Sven Panne  wrote:

> 2014-10-22 15:16 GMT+02:00 Sven Panne :
> > Does anybody have a clue what's going wrong at the sdist step here?
> >
> >https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/38707011#L104
> >
> > This only happens with a GHC from head, a build with GHC 7.8.3 is fine:
> >
> >https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/38707010
> >
> > Any help highly appreciated...
>
> I would really need some help here, even adding a few more diagnostic
> things to the Travis CI configuration didn't give me a clue what's
> going wrong:
>
>https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/38813449#L110
>
> I totally fail to understand why Cabal's sdist step works with every
> released compiler, but not with a GHC from head. I don't even know if
> this is a Cabal issue or a GHC issue. The relevant part from the
> Travis CI log is:
>
>...
>cabal-1.18 sdist --verbose=3
>creating dist/src
>creating dist/src/sdist.-3586/OpenGLRaw-1.5.0.0
>Using internal setup method with build-type Simple and args:
>
>  
> ["sdist","--verbose=3","--builddir=dist","--output-directory=dist/src/sdist.-3586/OpenGLRaw-1.5.0.0"]
>cabal-1.18: dist/setup-config: invalid argument
>The command "cabal-1.18 sdist --verbose=3" exited with 1.
>...
>
> As can be seen from the log, dist/setup-config is there and can be
> accessed.
>
> Confused,
>S.
> ___
> ghc-devs mailing list
> ghc-devs@haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: cabal sdist trouble with GHC from head

2014-10-23 Thread Sven Panne
2014-10-22 15:16 GMT+02:00 Sven Panne :
> Does anybody have a clue what's going wrong at the sdist step here?
>
>https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/38707011#L104
>
> This only happens with a GHC from head, a build with GHC 7.8.3 is fine:
>
>https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/38707010
>
> Any help highly appreciated...

I would really need some help here, even adding a few more diagnostic
things to the Travis CI configuration didn't give me a clue what's
going wrong:

   https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/38813449#L110

I totally fail to understand why Cabal's sdist step works with every
released compiler, but not with a GHC from head. I don't even know if
this is a Cabal issue or a GHC issue. The relevant part from the
Travis CI log is:

   ...
   cabal-1.18 sdist --verbose=3
   creating dist/src
   creating dist/src/sdist.-3586/OpenGLRaw-1.5.0.0
   Using internal setup method with build-type Simple and args:
   
["sdist","--verbose=3","--builddir=dist","--output-directory=dist/src/sdist.-3586/OpenGLRaw-1.5.0.0"]
   cabal-1.18: dist/setup-config: invalid argument
   The command "cabal-1.18 sdist --verbose=3" exited with 1.
   ...

As can be seen from the log, dist/setup-config is there and can be accessed.

Confused,
   S.
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


cabal sdist trouble with GHC from head

2014-10-22 Thread Sven Panne
Does anybody have a clue what's going wrong at the sdist step here?

   https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/38707011#L104

This only happens with a GHC from head, a build with GHC 7.8.3 is fine:

   https://travis-ci.org/haskell-opengl/OpenGLRaw/jobs/38707010

Any help highly appreciated...

Cheers,
   S.
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs