Skip to content

reedsolomon-0.0.1.2

Compare
Choose a tag to compare
@NicolasT NicolasT released this 02 Dec 00:23
· 169 commits to master since this release

Release 0.0.1.1 with disabled maintainer mode during cbits build

After investigation of the build failures on Hackage, caused by autools 'maintainer mode' kicking in and required packages not being installed on the build systems, it turns out cabal unpack doesn't honor timestamps of files contained in sdist tarballs while unpacking. This in turn causes some source files in cbits to appear newer than their generated versions (e.g. configure.ac being newer than configure), and the 'maintainer mode' rules being triggered, which we obviously don't want to happen in release packages.

This patch changes Setup.hs to explicitly pass --disable-maintainer-mode to configure in builds of packages whose version number doesn't match the development version, 999.

This is a work-around for Cabal issue #2311.

See: haskell/cabal#2311
See: 4eeceb8