[Pkg-haskell-maintainers] Bug#708804: haskell-llvm-base: FTBFS: error: no matching function for call to 'llvm::Function::setDoesNotThrow(bool)'

David Suárez david.sephirot at gmail.com
Sat May 18 17:52:54 UTC 2013


Source: haskell-llvm-base
Version: 3.0.1.0-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130517 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> [15 of 24] Compiling LLVM.Target.Native ( LLVM/Target/Native.hs, dist-ghc/build/LLVM/Target/Native.p_o )
> 
> LLVM/Target/Native.hs:10:1:
>     Warning: The import of `LLVM.Target.X86' is redundant
>                except perhaps to import instances from `LLVM.Target.X86'
>              To import instances alone, use: import LLVM.Target.X86()
> [16 of 24] Compiling LLVM.FFI.Core    ( dist-ghc/build/LLVM/FFI/Core.hs, dist-ghc/build/LLVM/FFI/Core.p_o )
> [17 of 24] Compiling LLVM.FFI.BitReader ( dist-ghc/build/LLVM/FFI/BitReader.hs, dist-ghc/build/LLVM/FFI/BitReader.p_o )
> [18 of 24] Compiling LLVM.FFI.BitWriter ( dist-ghc/build/LLVM/FFI/BitWriter.hs, dist-ghc/build/LLVM/FFI/BitWriter.p_o )
> [19 of 24] Compiling LLVM.FFI.Target  ( dist-ghc/build/LLVM/FFI/Target.hs, dist-ghc/build/LLVM/FFI/Target.p_o )
> [20 of 24] Compiling LLVM.FFI.ExecutionEngine ( dist-ghc/build/LLVM/FFI/ExecutionEngine.hs, dist-ghc/build/LLVM/FFI/ExecutionEngine.p_o )
> [21 of 24] Compiling LLVM.FFI.Support ( dist-ghc/build/LLVM/FFI/Support.hs, dist-ghc/build/LLVM/FFI/Support.p_o )
> [22 of 24] Compiling LLVM.FFI.Transforms.IPO ( dist-ghc/build/LLVM/FFI/Transforms/IPO.hs, dist-ghc/build/LLVM/FFI/Transforms/IPO.p_o )
> [23 of 24] Compiling LLVM.FFI.Transforms.Scalar ( dist-ghc/build/LLVM/FFI/Transforms/Scalar.hs, dist-ghc/build/LLVM/FFI/Transforms/Scalar.p_o )
> [24 of 24] Compiling LLVM.FFI.Analysis ( dist-ghc/build/LLVM/FFI/Analysis.hs, dist-ghc/build/LLVM/FFI/Analysis.p_o )
> cc1plus: warning: command line option '-Wimplicit' is valid for C/ObjC but not for C++ [enabled by default]
> cbits/extra.cpp: In function 'void LLVMSetDoesNotThrow(LLVMValueRef, int)':
> 
> cbits/extra.cpp:349:51:
>      error: no matching function for call to 'llvm::Function::setDoesNotThrow(bool)'
> 
> cbits/extra.cpp:349:51:  note: candidate is:
> 
> In file included from /usr/lib/llvm-3.2/include/llvm/IntrinsicInst.h:28:0:
>     0,
>                      from cbits/extra.cpp:61:
> 
> /usr/lib/llvm-3.2/include/llvm/Function.h:249:8:
>      note: void llvm::Function::setDoesNotThrow()
> 
> /usr/lib/llvm-3.2/include/llvm/Function.h:249:8:
>      note:   candidate expects 0 arguments, 1 provided
> 
> cbits/extra.cpp:349:51:
>      error: return-statement with a value, in function returning 'void' [-fpermissive]
> cbits/extra.cpp: In function 'LLVMOpaqueModule* LLVMGetModuleFromAssembly(const char*, unsigned int, char**)':
> 
> cbits/extra.cpp:390:15:
>      error: 'class llvm::SMDiagnostic' has no member named 'Print'
> cbits/extra.cpp: In function 'void LLVMAddLoopDependenceAnalysisPass(LLVMPassManagerRef)':
> 
> cbits/extra.cpp:543:1:
>      error: 'createLoopDependenceAnalysisPass' was not declared in this scope
> cbits/extra.cpp: In function 'llvm::ModulePass* createInternalize2Pass()':
> 
> cbits/extra.cpp:567:85:
>      error: no matching function for call to 'createInternalizePass(bool)'
> 
> cbits/extra.cpp:567:85:  note: candidates are:
> 
> In file included from cbits/extra.cpp:75:0: 
> 
> /usr/lib/llvm-3.2/include/llvm/Transforms/IPO.h:112:13:
>      note: llvm::ModulePass* llvm::createInternalizePass(const std::vector<const char*>&)
> 
> /usr/lib/llvm-3.2/include/llvm/Transforms/IPO.h:112:13:
>      note:   no known conversion for argument 1 from 'bool' to 'const std::vector<const char*>&'
> 
> /usr/lib/llvm-3.2/include/llvm/Transforms/IPO.h:114:13:
>      note: llvm::ModulePass* llvm::createInternalizePass()
> 
> /usr/lib/llvm-3.2/include/llvm/Transforms/IPO.h:114:13:
>      note:   candidate expects 0 arguments, 1 provided
> make: *** [build-ghc-stamp] Error 1

The full build log is available from:
   http://deiv.vzpla.net/logs/2013/05/17/haskell-llvm-base_3.0.1.0-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