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

Attachment: mighttpd2-build-log.txt.gz
Description: application/gunzip

Attachment: pgpkQgH7teLnS.pgp
Description: PGP signature

Reply via email to