[Pkg-haskell-maintainers] Bug#676055: mighttpd2: FTBFS: Mighty.hs:117:31: Not in scope: data constructor `HostAny'

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon Jun 4 22:07:05 UTC 2012


Source: mighttpd2
Version: 2.5.6-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120604 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
>  debian/rules build
> ghc Setup.hs -o debian/mighttpd2.setup
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/mighttpd2.setup ...
> test -f debian/rules
> debian/mighttpd2.setup configure --prefix=/usr \
> 	                                  --enable-tests
> Configuring mighttpd2-2.5.6...
> touch stamp-configure
> test -f debian/rules
> debian/mighttpd2.setup build
> Building mighttpd2-2.5.6...
> Preprocessing test suite 'test' for mighttpd2-2.5.6...
> [1 of 6] Compiling Paths_mighttpd2  ( dist/build/autogen/Paths_mighttpd2.hs, dist/build/test/test-tmp/Paths_mighttpd2.o )
> [2 of 6] Compiling Parser           ( Parser.hs, dist/build/test/test-tmp/Parser.o )
> [3 of 6] Compiling Types            ( Types.hs, dist/build/test/test-tmp/Types.o )
> [4 of 6] Compiling Route            ( Route.hs, dist/build/test/test-tmp/Route.o )
> [5 of 6] Compiling Config.Internal  ( Config/Internal.hs, dist/build/test/test-tmp/Config/Internal.o )
> [6 of 6] Compiling Main             ( test/Test.hs, dist/build/test/test-tmp/Main.o )
> Loading package ghc-prim ... linking ... done.
> Loading package integer-gmp ... linking ... done.
> Loading package base ... linking ... done.
> Loading package bytestring-0.9.2.1 ... linking ... done.
> Loading package array-0.4.0.0 ... linking ... done.
> Loading package deepseq-1.3.0.0 ... linking ... done.
> Loading package text-0.11.2.0 ... linking ... done.
> Loading package blaze-builder-0.3.1.0 ... linking ... done.
> Loading package containers-0.4.2.1 ... linking ... done.
> Loading package base-unicode-symbols-0.2.2.3 ... linking ... done.
> Loading package transformers-0.3.0.0 ... linking ... done.
> Loading package transformers-base-0.4.1 ... linking ... done.
> Loading package monad-control-0.3.1.3 ... linking ... done.
> Loading package lifted-base-0.1.1 ... linking ... done.
> Loading package resourcet-0.3.2.1 ... linking ... done.
> Loading package semigroups-0.8.3.2 ... linking ... done.
> Loading package void-0.5.5.1 ... linking ... done.
> Loading package conduit-0.4.2 ... linking ... done.
> Loading package blaze-builder-conduit-0.4.0.2 ... linking ... done.
> Loading package hashable-1.1.2.3 ... linking ... done.
> Loading package case-insensitive-0.4.0.1 ... linking ... done.
> Loading package http-types-0.6.11 ... linking ... done.
> Loading package mtl-2.1.1 ... linking ... done.
> Loading package parsec-3.1.2 ... linking ... done.
> Loading package unix-2.5.1.0 ... linking ... done.
> Loading package network-2.3.0.13 ... linking ... done.
> Loading package network-conduit-0.4.0.1 ... linking ... done.
> Loading package simple-sendfile-0.2.3 ... linking ... done.
> Loading package unix-compat-0.3.0.1 ... linking ... done.
> Loading package unordered-containers-0.2.1.0 ... linking ... done.
> Loading package vault-0.2.0.0 ... linking ... done.
> Loading package wai-1.2.0.2 ... linking ... done.
> Loading package warp-1.2.1.1 ... linking ... done.
> Loading package filepath-1.3.0.0 ... linking ... done.
> Loading package old-locale-1.0.0.4 ... linking ... done.
> Loading package old-time-1.1.0.0 ... linking ... done.
> Loading package directory-1.1.0.2 ... linking ... done.
> Loading package fast-logger-0.0.2 ... linking ... done.
> Loading package byteorder-1.0.3 ... linking ... done.
> Loading package time-1.4 ... linking ... done.
> Loading package wai-logger-0.1.4 ... linking ... done.
> Loading package wai-logger-prefork-0.1.3 ... linking ... done.
> Loading package attoparsec-0.10.1.1 ... linking ... done.
> Loading package attoparsec-conduit-0.4.0.1 ... linking ... done.
> Loading package enumerator-0.4.19 ... linking ... done.
> Loading package attoparsec-enumerator-0.3 ... linking ... done.
> Loading package asn1-data-0.6.1.3 ... linking ... done.
> Loading package base64-bytestring-0.1.1.1 ... linking ... done.
> Loading package cereal-0.3.5.1 ... linking ... done.
> Loading package entropy-0.2.1 ... linking ... done.
> Loading package largeword-1.0.1 ... linking ... done.
> Loading package tagged-0.4.2.1 ... linking ... done.
> Loading package crypto-api-0.10.2 ... linking ... done.
> Loading package crypto-pubkey-types-0.1.1 ... linking ... done.
> Loading package pem-0.1.1 ... linking ... done.
> Loading package process-1.1.0.1 ... linking ... done.
> Loading package certificate-1.2.3 ... linking ... done.
> Loading package dlist-0.5 ... linking ... done.
> Loading package data-default-0.4.0 ... linking ... done.
> Loading package cookie-0.4.0 ... linking ... done.
> Loading package cpu-0.1.0 ... linking ... done.
> Loading package primitive-0.4.1 ... linking ... done.
> Loading package vector-0.9.1 ... linking ... done.
> Loading package cryptocipher-0.3.3 ... linking ... done.
> Loading package random-1.0.1.1 ... linking ... done.
> Loading package cprng-aes-0.2.3 ... linking ... done.
> Loading package failure-0.2.0.1 ... linking ... done.
> Loading package regex-base-0.93.2 ... linking ... done.
> Loading package regex-posix-0.95.1 ... linking ... done.
> Loading package regex-compat-0.95.1 ... linking ... done.
> Loading package socks-0.4.1 ... linking ... done.
> Loading package cryptohash-0.7.5 ... linking ... done.
> Loading package tls-0.9.5 ... linking ... done.
> Loading package tls-extra-0.4.6 ... linking ... done.
> Loading package utf8-string-0.3.7 ... linking ... done.
> Loading package zlib-0.5.3.3 ... linking ... done.
> Loading package zlib-bindings-0.1.0.1 ... linking ... done.
> Loading package zlib-conduit-0.4.0.1 ... linking ... done.
> Loading package http-conduit-1.4.1.6 ... linking ... done.
> Loading package http-date-0.0.2 ... linking ... done.
> Loading package io-choice-0.0.1 ... linking ... done.
> Loading package primes-0.2.1.0 ... linking ... done.
> Loading package static-hash-0.0.1 ... linking ... done.
> Loading package blaze-html-0.4.3.1 ... linking ... done.
> Loading package pretty-1.1.1.0 ... linking ... done.
> Loading package template-haskell ... linking ... done.
> Loading package file-embed-0.0.4.4 ... linking ... done.
> Loading package wai-app-static-1.2.0.3 ... linking ... done.
> Loading package wai-app-file-cgi-0.5.8 ... linking ... done.
> Loading package unix-bytestring-0.3.5 ... linking ... done.
> Loading package cpphs-1.13.3 ... linking ... done.
> Loading package haskell-src-exts-1.11.1 ... linking ... done.
> Loading package ansi-terminal-0.5.5 ... linking ... done.
> Loading package ansi-wl-pprint-0.6.4 ... linking ... done.
> Loading package extensible-exceptions-0.1.1.4 ... linking ... done.
> Loading package hostname-1.0 ... linking ... done.
> Loading package xml-1.3.12 ... linking ... done.
> Loading package test-framework-0.6 ... linking ... done.
> Loading package test-framework-th-prime-0.0.5 ... linking ... done.
> Loading package HUnit-1.2.4.2 ... linking ... done.
> Loading package test-framework-hunit-0.2.7 ... linking ... done.
> Linking dist/build/test/test ...
> Preprocessing executable 'mkindex' for mighttpd2-2.5.6...
> [1 of 1] Compiling Main             ( mkindex.hs, dist/build/mkindex/mkindex-tmp/Main.o )
> Linking dist/build/mkindex/mkindex ...
> Preprocessing executable 'mighty' for mighttpd2-2.5.6...
> [1 of 9] Compiling Parser           ( Parser.hs, dist/build/mighty/mighty-tmp/Parser.o )
> [2 of 9] Compiling Paths_mighttpd2  ( dist/build/autogen/Paths_mighttpd2.hs, dist/build/mighty/mighty-tmp/Paths_mighttpd2.o )
> [3 of 9] Compiling Types            ( Types.hs, dist/build/mighty/mighty-tmp/Types.o )
> [4 of 9] Compiling Config.Internal  ( Config/Internal.hs, dist/build/mighty/mighty-tmp/Config/Internal.o )
> [5 of 9] Compiling Route            ( Route.hs, dist/build/mighty/mighty-tmp/Route.o )
> [6 of 9] Compiling FileCache        ( FileCache.hs, dist/build/mighty/mighty-tmp/FileCache.o )
> [7 of 9] Compiling FileCGIApp       ( FileCGIApp.hs, dist/build/mighty/mighty-tmp/FileCGIApp.o )
> [8 of 9] Compiling Config           ( Config.hs, dist/build/mighty/mighty-tmp/Config.o )
> [9 of 9] Compiling Main             ( Mighty.hs, dist/build/mighty/mighty-tmp/Main.o )
> 
> Mighty.hs:117:31: Not in scope: data constructor `HostAny'
> make: *** [build-arch] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/06/04/mighttpd2_2.5.6-1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.





More information about the Pkg-haskell-maintainers mailing list