
Cabal from HEAD started to issue the warning "Warning: Cannot run preprocessors. Run 'configure' command first." when running "cabal sdist" after a "cabal install", see e.g. https://travis-ci.org/haskell-opengl/OpenGL/jobs/74581138#L264. Previous versions didn't do this, see e.g. https://travis-ci.org/haskell-opengl/OpenGL/jobs/74581137#L264. Somehow the warning doesn't make sense, because the package has obviously been built before, so configuration must have happened, too. Is this a new bug in Cabal? Cheers, S.

On 07/08/15 19:31, Sven Panne wrote:
Cabal from HEAD started to issue the warning
"Warning: Cannot run preprocessors. Run 'configure' command first."
when running "cabal sdist" after a "cabal install", see e.g. https://travis-ci.org/haskell-opengl/OpenGL/jobs/74581138#L264. Previous versions didn't do this, see e.g. https://travis-ci.org/haskell-opengl/OpenGL/jobs/74581137#L264. Somehow the warning doesn't make sense, because the package has obviously been built before, so configuration must have happened, too.
Is this a new bug in Cabal?
As a guess, configuration may have happened in a different dist directory (like, if you were using sandboxes).

2015-08-07 18:41 GMT+02:00 Roman Cheplyaka
As a guess, configuration may have happened in a different dist directory (like, if you were using sandboxes).
Hmmm, both "cabal install" and "cabal sdist" happened in the same directory without any sandboxes, see the logs in the OP and the config at https://github.com/haskell-opengl/OpenGL/blob/master/.travis.yml. If the sdist really magically happens elsewhere, I consider this a bug in cabal. In general, cabal's behavior is a bit opaque IMHO...
participants (2)
-
Roman Cheplyaka
-
Sven Panne