array-0.2.0.0 doesn't build with 6.12rc1

[ 6 of 10] Compiling Data.Array.IO ( Data/Array/IO.hs, dist/build/Data/Array/IO.o ) Data/Array/IO.hs:73:13: `haFD' is not a (visible) field of constructor `Handle__' Data/Array/IO.hs:73:22: `haBuffer' is not a (visible) field of constructor `Handle__' Data/Array/IO.hs:73:36: `haIsStream' is not a (visible) field of constructor `Handle__' Data/Array/IO.hs:74:5: Not in scope: data constructor `Buffer' Data/Array/IO.hs:74:13: `bufBuf' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:74:25: `bufWPtr' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:74:36: `bufRPtr' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:75:4: Not in scope: `bufferEmpty' Data/Array/IO.hs:82:24: `bufWPtr' is not a (visible) constructor field name Data/Array/IO.hs:82:35: `bufRPtr' is not a (visible) constructor field name Data/Array/IO.hs:86:24: `bufRPtr' is not a (visible) constructor field name Data/Array/IO.hs:95:27: Not in scope: type constructor or class `RawBuffer' Data/Array/IO.hs:101:10: Not in scope: `readRawBuffer' Data/Array/IO.hs:125:22: `haFD' is not a (visible) field of constructor `Handle__' Data/Array/IO.hs:125:31: `haBuffer' is not a (visible) field of constructor `Handle__' Data/Array/IO.hs:125:45: `haIsStream' is not a (visible) field of constructor `Handle__' Data/Array/IO.hs:127:18: Not in scope: data constructor `Buffer' Data/Array/IO.hs:127:26: `bufBuf' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:127:42: `bufWPtr' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:127:53: `bufSize' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:135:30: `bufWPtr' is not a (visible) constructor field name Data/Array/IO.hs:142:7: Not in scope: data constructor `Buffer' Data/Array/IO.hs:142:15: `bufBuf' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:142:27: `bufState' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:142:36: Not in scope: data constructor `WriteBuffer' Data/Array/IO.hs:143:8: `bufRPtr' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:143:19: `bufWPtr' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:143:34: `bufSize' is not a (visible) field of constructor `Buffer' Data/Array/IO.hs:151:22: Not in scope: type constructor or class `RawBuffer' Data/Array/IO.hs:151:43: Not in scope: type constructor or class `RawBuffer' Data/Array/IO.hs:153:22: Not in scope: type constructor or class `RawBuffer' Data/Array/IO.hs:153:35: Not in scope: type constructor or class `RawBuffer'

On 31/10/2009 14:14, Ganesh Sittampalam wrote:
[ 6 of 10] Compiling Data.Array.IO ( Data/Array/IO.hs, dist/build/Data/Array/IO.o )
Data/Array/IO.hs:73:13: `haFD' is not a (visible) field of constructor `Handle__'
You need array 0.3.0.0 which comes with GHC 6.12rc1, but is (probably) not on Hackage yet. darcs get http://darcs.haskell.org/packages/array (when darcs.haskell.org is back up). Cheers, Simon

Ross Paterson wrote:
On Mon, Nov 02, 2009 at 02:05:01PM +0000, Simon Marlow wrote:
You need array 0.3.0.0 which comes with GHC 6.12rc1, but is (probably) not on Hackage yet.
No it isn't: array-0.3.0.0 will be defined by what's released in GHC 6.12.
That creates a timing problem, given that people will want to test the GHC 6.12 RC against packages that will depend on array and other core libraries like it. Obviously they could install the development versions manually, but this seems rather inconvenient. I guess the problem with uploading it before the release is that people who don't want the bleeding edge will also pick up the upload by default. Cheers, Ganesh =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ===============================================================================

On Mon, Nov 02, 2009 at 05:06:21PM -0000, Sittampalam, Ganesh wrote:
Ross Paterson wrote:
On Mon, Nov 02, 2009 at 02:05:01PM +0000, Simon Marlow wrote:
You need array 0.3.0.0 which comes with GHC 6.12rc1, but is (probably) not on Hackage yet.
No it isn't: array-0.3.0.0 will be defined by what's released in GHC 6.12.
That creates a timing problem, given that people will want to test the GHC 6.12 RC against packages that will depend on array and other core libraries like it.
You already have the array 0.3.0.0 package if you installed the RC. The problem is that the darcs.cabal file says: build-depends: [...] array >= 0.1 && < 0.3, [...] so it's not using it. Thanks Ian

Ian Lynagh wrote:
You already have the array 0.3.0.0 package if you installed the RC. The problem is that the darcs.cabal file says: build-depends: [...] array >= 0.1 && < 0.3, [...] so it's not using it.
Oh, I see. Sorry for the noise - I got confused about what has been removed from the GHC distro and what hasn't. (Looks like there's at least one dependency with the same problem, so it could all get rather fiddly. Natural consequence of the safety-first approach of the PVP, I guess.) Ganesh =============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer: http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html ===============================================================================
participants (5)
-
Ganesh Sittampalam
-
Ian Lynagh
-
Ross Paterson
-
Simon Marlow
-
Sittampalam, Ganesh