[Pkg-haskell-maintainers] Bug#676022: helium: FTBFS: ld: cannot find -lncurses

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon Jun 4 21:53:12 UTC 2012


Source: helium
Version: 1.7~pre20090428-3
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:
> gcc -o lvmrun -lm -ldl core/main.o core/stats.o core/options.o core/schedule.o core/evaluator.o core/instr.o core/thread.o core/stack.o core/loader.o core/module.o core/print.o core/ccall.o core/dynamic.o core/fail.o core/misc.o core/signals.o core/systhread.o core/sys.o core/primfloat.o heap/fixed.o heap/bytes.o heap/alloc.o heap/compact.o heap/custom.o heap/finalise.o heap/freelist.o heap/gc_ctrl.o heap/major_gc.o heap/minor_gc.o heap/memory.o heap/roots.o heap/weak.o heap/globroots.o prim/prims.o prim/primio.o prim/primsys.o prim/primstring.o
> make[2]: Leaving directory `/«PKGBUILDDIR»/lvm/src/runtime'
> ****************************************************
>   Libraries (with overloading)
> ****************************************************
> cd ../lib; /usr/bin/make 
> make[2]: Entering directory `/«PKGBUILDDIR»/helium/lib'
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm LvmLang.core
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm LvmIO.core
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm LvmException.core
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm HeliumLang.core
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm PreludePrim.core
> "/«PKGBUILDDIR»/helium/bin/helium" -b --overloading Prelude.hs
> Compiling Prelude.hs
> Compilation successful
> "/«PKGBUILDDIR»/helium/bin/helium" -b --overloading List.hs
> Compiling ./Maybe.hs
> (34,32): Warning: Missing pattern in generator: 
>   Nothing <- ...
> Compilation successful with 1 warning
> Compiling List.hs
> (36,7): Warning: Variable "eq" is not used
> (43,10): Warning: Variable "eq" is not used
> (43,13): Warning: Variable "x" is not used
> (65,13): Warning: Variable "sep" is not used
> (66,13): Warning: Variable "sep" is not used
> (72,41): Warning: Variable "t" is not used
> (73,51): Warning: Variable "h" is not used
> (87,9): Warning: Variable "eq" is not used
> (112,11): Warning: Variable "f" is not used
> (118,11): Warning: Variable "f" is not used
> (125,48): Warning: Variable "b" shadows the one at (124,11)
> (137,10): Warning: Variable "cmp" is not used
> (144,11): Warning: Variable "cmp" is not used
> (147,20): Warning: Variable "max" shadows the one at Prelude
> (152,11): Warning: Variable "cmp" is not used
> (155,20): Warning: Variable "min" shadows the one at Prelude
> (72,38): Warning: Missing pattern in generator: 
>   [] <- ...
> (73,50): Warning: Missing pattern in generator: 
>   [] <- ...
> Compilation successful with 18 warnings
> "/«PKGBUILDDIR»/helium/bin/helium" -b --overloading Maybe.hs
> Compiling Maybe.hs
> (34,32): Warning: Missing pattern in generator: 
>   Nothing <- ...
> Compilation successful with 1 warning
> "/«PKGBUILDDIR»/helium/bin/helium" -b --overloading Char.hs
> Compiling Char.hs
> Compilation successful
> echo LvmLang.lvm LvmIO.lvm LvmException.lvm HeliumLang.lvm PreludePrim.lvm Prelude.o List.o Maybe.o Char.o
> LvmLang.lvm LvmIO.lvm LvmException.lvm HeliumLang.lvm PreludePrim.lvm Prelude.o List.o Maybe.o Char.o
> make[2]: Leaving directory `/«PKGBUILDDIR»/helium/lib'
> ****************************************************
>   Simple libraries (without overloading)
> ****************************************************
> cd ../lib/simple; /usr/bin/make 
> make[2]: Entering directory `/«PKGBUILDDIR»/helium/lib/simple'
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm LvmLang.core
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm LvmIO.core
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm LvmException.core
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm HeliumLang.core
> /«PKGBUILDDIR»/helium/../lvm/src/lib/coreasm PreludePrim.core
> "/«PKGBUILDDIR»/helium/bin/helium" -b --no-overloading Prelude.hs
> Compiling Prelude.hs
> Compilation successful
> "/«PKGBUILDDIR»/helium/bin/helium" -b --no-overloading List.hs
> Compiling ./Maybe.hs
> (34,32): Warning: Missing pattern in generator: 
>   Nothing <- ...
> Compilation successful with 1 warning
> Compiling List.hs
> (45,38): Warning: Missing pattern in generator: 
>   [] <- ...
> (46,50): Warning: Missing pattern in generator: 
>   [] <- ...
> Compilation successful with 2 warnings
> "/«PKGBUILDDIR»/helium/bin/helium" -b --no-overloading Maybe.hs
> Compiling Maybe.hs
> (34,32): Warning: Missing pattern in generator: 
>   Nothing <- ...
> Compilation successful with 1 warning
> "/«PKGBUILDDIR»/helium/bin/helium" -b --no-overloading Char.hs
> Compiling Char.hs
> Compilation successful
> echo LvmLang.lvm LvmIO.lvm LvmException.lvm HeliumLang.lvm PreludePrim.lvm Prelude.o List.o Maybe.o Char.o
> LvmLang.lvm LvmIO.lvm LvmException.lvm HeliumLang.lvm PreludePrim.lvm Prelude.o List.o Maybe.o Char.o
> make[2]: Leaving directory `/«PKGBUILDDIR»/helium/lib/simple'
> ****************************************************
>   TextHint: the textual Helium interpreter
> ****************************************************
> /usr/bin/ghc -o ../bin/texthint --make -W -fwarn-tabs -fwarn-duplicate-exports -fwarn-orphans -fwarn-unused-imports  -static -i../../lvm/src/lib/common:../../lvm/src/lib/common/ghc:../../lvm/src/lib/lvm:../../lvm/src/lib/asm:../../lvm/src/lib/core:./utils:./parser:./staticanalysis/miscellaneous:./staticanalysis/inferencers:./staticanalysis/directives:./staticanalysis/staticchecks:./staticanalysis/heuristics:./staticanalysis/messages:./syntax:./codegeneration:./main:./modulesystem:../../Top/src/Top/..:./texthint -O2 texthint/Main.hs
> [3 of 5] Compiling ConfigFile       ( texthint/ConfigFile.hs, texthint/ConfigFile.o )
> 
> texthint/ConfigFile.hs:4:1:
>     Warning: The import of `Control.Monad' is redundant
>                except perhaps to import instances from `Control.Monad'
>              To import instances alone, use: import Control.Monad()
> 
> texthint/ConfigFile.hs:5:1:
>     Warning: The import of `Data.Map' is redundant
>                except perhaps to import instances from `Data.Map'
>              To import instances alone, use: import Data.Map()
> 
> texthint/ConfigFile.hs:7:1:
>     Warning: The import of `Data.Either' is redundant
>                except perhaps to import instances from `Data.Either'
>              To import instances alone, use: import Data.Either()
> 
> texthint/ConfigFile.hs:27:1: Warning: Defined but not used: `eol'
> [4 of 5] Compiling OSSpecific       ( utils/OSSpecific.hs, utils/OSSpecific.o )
> [5 of 5] Compiling Main             ( texthint/Main.hs, texthint/Main.o )
> 
> texthint/Main.hs:17:8:
>     Warning: In the use of `catch'
>              (imported from Prelude, but defined in System.IO.Error):
>              Deprecated: "Please use the new exceptions variant, Control.Exception.catch"
> 
> texthint/Main.hs:22:1:
>     Warning: The import of `System.IO' is redundant
>                except perhaps to import instances from `System.IO'
>              To import instances alone, use: import System.IO()
> 
> texthint/Main.hs:53:11: Warning: Defined but not used: `sep'
> 
> texthint/Main.hs:54:11: Warning: Defined but not used: `sep'
> 
> texthint/Main.hs:88:14:
>     Warning: Pattern match(es) are non-exhaustive
>              In a case alternative:
>                  Patterns not matched:
>                      []
>                      (GHC.Types.C# #x) : _ with #x `notElem` ['o', 'h', 'p', 'l', 'a']
>                      [GHC.Types.C# 'o']
>                      (GHC.Types.C# 'o') : ((GHC.Types.C# #x) : _)
>                      with
>                      #x `notElem` ['v']
>                      ...
> 
> texthint/Main.hs:284:6: Warning: Defined but not used: `success'
> 
> texthint/Main.hs:323:14: Warning: Defined but not used: `succes'
> 
> texthint/Main.hs:327:14: Warning: Defined but not used: `succes'
> 
> texthint/Main.hs:506:11: Warning: Defined but not used: `x'
> 
> texthint/Main.hs:537:8: Warning: Defined but not used: `escapables'
> Linking ../bin/texthint ...
> /usr/bin/ld: cannot find -lncurses
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/06/04/helium_1.7~pre20090428-3_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