[Pkg-haskell-maintainers] Bug#749369: mighttpd2: FTBFS - `increment' is applied to too many arguments

Michael Tautschnig mt at debian.org
Mon May 26 16:16:28 UTC 2014


Package: mighttpd2
Version: 3.0.3-2
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
[3 of 4] Compiling Server           ( src/Server.hs, dist-ghc/build/mighty/mighty-tmp/Server.o )

src/Server.hs:166:31:
    Couldn't match expected type `network-2.4.1.2:Network.Socket.Types.SockAddr
                                  -> IO Bool'
                with actual type `IO ()'
    In the return type of a call of `increment'
    Probable cause: `increment' is applied to too many arguments
    In the `settingsOnOpen' field of a record
    In the expression:
      defaultSettings
        {settingsPort = opt_port opt,
         settingsOnException = if debug then
                                   printStdout
                               else
                                   warpHandler rpt,
         settingsOnOpen = increment stt, settingsOnClose = decrement stt,
         settingsTimeout = opt_connection_timeout opt,
         settingsHost = HostAny,
         settingsFdCacheDuration = opt_fd_cache_duration opt}

src/Server.hs:167:31:
    Couldn't match expected type `network-2.4.1.2:Network.Socket.Types.SockAddr
                                  -> IO ()'
                with actual type `IO ()'
    In the return type of a call of `decrement'
    Probable cause: `decrement' is applied to too many arguments
    In the `settingsOnClose' field of a record
    In the expression:
      defaultSettings
        {settingsPort = opt_port opt,
         settingsOnException = if debug then
                                   printStdout
                               else
                                   warpHandler rpt,
         settingsOnOpen = increment stt, settingsOnClose = decrement stt,
         settingsTimeout = opt_connection_timeout opt,
         settingsHost = HostAny,
         settingsFdCacheDuration = opt_fd_cache_duration opt}
/usr/share/cdbs/1/class/hlibrary.mk:120: recipe for target 'build-ghc-stamp' failed
make: *** [build-ghc-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

The full build log is attached.

Best,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mighttpd2-build-log.txt.gz
Type: application/x-gunzip
Size: 13333 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20140526/8b3bdb52/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20140526/8b3bdb52/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list