Ticket #876 (reopened defect)

Opened 21 months ago

Last modified 20 months ago

Build fails for zlib 0.5

Reported by: guest Owned by:
Priority: low Milestone:
Component: Cabal library Version: HEAD
Severity: minor Keywords:
Cc: Difficulty: very easy (<1 hour)
GHC Version: Platform:

Description

Build fails when using zlib 0.5, version 0.5.3 works fine. Deps should be updated.

Change History

Changed 21 months ago by duncan

  • status changed from new to closed
  • resolution set to invalid

This isn't the right place to report bugs in individual packages. Please contact the maintainers of the packages involved (it's not clear if you mean the maintainer of zlib or the maintainers of packages that depend on zlib).

Changed 20 months ago by benmachine

  • status changed from closed to reopened
  • resolution invalid deleted

It's not a bug in zlibcabal-install claims it can build with zlib-0.5.0.0 but we get this error:

[ 6 of 44] Compiling Distribution.Client.GZipUtils ( Distribution/Client/GZipUtils.hs, dist/build/cabal/cabal-tmp/Distribution/Client/GZipUtils.o )
    
Distribution/Client/GZipUtils.hs:33:38:
    Not in scope: `decompressWithErrors'

Distribution/Client/GZipUtils.hs:33:59:
    Not in scope: `gzipOrZlibFormat'

Distribution/Client/GZipUtils.hs:39:17:
    Not in scope: data constructor `StreamError'

Distribution/Client/GZipUtils.hs:39:29:
    Not in scope: data constructor `DataError'

Distribution/Client/GZipUtils.hs:42:12:
    Not in scope: data constructor `StreamEnd'

Distribution/Client/GZipUtils.hs:43:13:
    Not in scope: data constructor `StreamChunk'

Distribution/Client/GZipUtils.hs:44:13:
    Not in scope: data constructor `StreamError'

I can't find a ChangeLog? for zlib but I assume the fix is to specify the dep as zlib >= 0.5.2 && < 0.6.

Note: See TracTickets for help on using tickets.