[Pkg-clamav-devel] Bug#674330: clamav: FTBFS: llvm/lib/ExecutionEngine/JIT/Intercept.cpp:69:67: error: 'lseek64' was not declared in this scope

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu May 24 09:30:01 UTC 2012


Source: clamav
Version: 0.97.3+dfsg-2.1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> make[6]: Entering directory `/«BUILDDIR»/clamav-0.97.3+dfsg/libclamav/c++'
>   CXX    libclamavcxx_la-bytecode2llvm.lo
>   CXX    libclamavcxx_la-ClamBCRTChecks.lo
>   CXX    libclamavcxx_la-detect.lo
> detect.cpp: In function 'void cli_detect_env_jit(cli_environment*)':
> detect.cpp:135:12: warning: enumeration value 'Minix' not handled in switch [-Wswitch]
>   CXX    AliasAnalysis.lo
>   CXX    AliasSetTracker.lo
>   CXX    BasicAliasAnalysis.lo
> llvm/lib/Analysis/BasicAliasAnalysis.cpp: In function 'const llvm::Value* DecomposeGEPExpression(const llvm::Value*, int64_t&, llvm::SmallVectorImpl<{anonymous}::VariableGEPIndex>&, const llvm::TargetData*)':
> llvm/lib/Analysis/BasicAliasAnalysis.cpp:414:58: warning: narrowing conversion of 'Scale' from 'uint64_t {aka long unsigned int}' to 'int64_t {aka long int}' inside { } is ill-formed in C++11 [-Wnarrowing]
>   CXX    CaptureTracking.lo
>   CXX    DebugInfo.lo
>   CXX    CallGraph.lo
>   CXX    MemoryBuiltins.lo
>   CXX    PointerTracking.lo
>   CXX    ProfileInfo.lo
>   CXX    ValueTracking.lo
>   CXX    ELFCodeEmitter.lo
>   CXX    ELFWriter.lo
>   CXX    LiveVariables.lo
>   CXX    MachineBasicBlock.lo
>   CXX    MachineDominators.lo
>   CXX    MachineFunction.lo
>   CXX    MachineFunctionAnalysis.lo
>   CXX    MachineFunctionPass.lo
>   CXX    MachineFunctionPrinterPass.lo
>   CXX    MachineInstr.lo
>   CXX    MachineLoopInfo.lo
>   CXX    MachineModuleInfo.lo
> In file included from llvm/lib/CodeGen/MachineModuleInfo.cpp:24:0:
> ./llvm/include/llvm/ADT/PointerUnion.h: In instantiation of 'class llvm::PointerUnionUIntTraits<llvm::MCSymbol*, std::vector<llvm::MCSymbol*>*>':
> ./llvm/include/llvm/ADT/PointerIntPair.h:43:8:   required from 'class llvm::PointerIntPair<void*, 1u, bool, llvm::PointerUnionUIntTraits<llvm::MCSymbol*, std::vector<llvm::MCSymbol*>*> >'
> ./llvm/include/llvm/ADT/PointerUnion.h:67:11:   required from 'class llvm::PointerUnion<llvm::MCSymbol*, std::vector<llvm::MCSymbol*>*>'
> llvm/lib/CodeGen/MachineModuleInfo.cpp:60:55:   required from here
> ./llvm/include/llvm/ADT/PointerUnion.h:39:10: warning: comparison between 'enum llvm::PointerLikeTypeTraits<llvm::MCSymbol*>::<anonymous>' and 'enum llvm::PointerLikeTypeTraits<std::vector<llvm::MCSymbol*>*>::<anonymous>' [-Wenum-compare]
> ./llvm/include/llvm/ADT/PointerUnion.h:39:10: warning: enumeral mismatch in conditional expression: 'llvm::PointerLikeTypeTraits<llvm::MCSymbol*>::<anonymous enum>' vs 'llvm::PointerLikeTypeTraits<std::vector<llvm::MCSymbol*>*>::<anonymous enum>' [enabled by default]
>   CXX    MachineRegisterInfo.lo
>   CXX    ObjectCodeEmitter.lo
>   CXX    PostRAHazardRecognizer.lo
>   CXX    PseudoSourceValue.lo
>   CXX    ScheduleDAG.lo
>   CXX    TargetInstrInfoImpl.lo
>   CXX    UnreachableBlockElim.lo
>   CXX    ExecutionEngine.lo
>   CXX    Intercept.lo
> llvm/lib/ExecutionEngine/JIT/Intercept.cpp: In constructor '{anonymous}::StatSymbols::StatSymbols()':
> llvm/lib/ExecutionEngine/JIT/Intercept.cpp:69:67: error: 'lseek64' was not declared in this scope
> make[6]: *** [Intercept.lo] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/24/clamav_0.97.3+dfsg-2.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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-clamav-devel mailing list