Debian Bug report logs - #678786
haskell-llvm-base: FTBFS: error: 'class llvm::SMDiagnostic' has no member named 'Print'

version graph

Package: src:haskell-llvm-base; Maintainer for src:haskell-llvm-base is Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>;

Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Date: Sun, 24 Jun 2012 09:57:30 UTC

Severity: serious

Tags: sid, unreproducible, wheezy

Fixed in version 3.0.1.0-1

Done: Joachim Breitner <nomeata@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#678786; Package src:haskell-llvm-base. (Sun, 24 Jun 2012 09:57:33 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Sun, 24 Jun 2012 09:57:38 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: submit@bugs.debian.org
Subject: haskell-llvm-base: FTBFS: error: 'class llvm::SMDiagnostic' has no member named 'Print'
Date: Sun, 24 Jun 2012 11:28:52 +0200
Source: haskell-llvm-base
Version: 3.0.1.0-1
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20120624 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
> test -x debian/rules
> mkdir -p "."
> /usr/share/cdbs/1/rules/buildcore.mk:109: WARNING:  DEB_COMPRESS_EXCLUDE is a deprecated variable
> if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi
> for setup in Setup.lhs Setup.hs; do if test -e $setup; then ghc --make $setup -o debian/hlibrary.setup; exit 0; fi; done
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> debian/hlibrary.setup configure --ghc -v2 \
> 		--prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib \
> 		--builddir=dist-ghc \
> 		--haddockdir=/usr/lib/ghc-doc/haddock/llvm-base-3.0.1.0/ \
> 		--htmldir=/usr/share/doc/libghc-llvm-base-doc/html/ --enable-library-profiling  \
> 		   
> Configuring llvm-base-3.0.1.0...
> Flags chosen: developer=False
> Dependency base >=3 && <5: using base-4.5.0.0
> Using Cabal-1.14.0 compiled by ghc-7.4
> Using compiler: ghc-7.4.1
> Using install prefix: /usr
> Binaries installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/llvm-base-3.0.1.0/ghc-7.4.1
> Private binaries installed in: /usr/libexec
> Data files installed in: /usr/share/llvm-base-3.0.1.0
> Documentation installed in: /usr/share/doc/llvm-base-3.0.1.0
> No alex found
> Using ar found on system at: /usr/bin/ar
> No c2hs found
> No cpphs found
> No ffihugs found
> Using gcc version 4.7 found on system at: /usr/bin/gcc
> Using ghc version 7.4.1 found on system at: /usr/bin/ghc
> Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
> No greencard found
> Using haddock version 2.10.0 found on system at: /usr/bin/haddock
> No happy found
> No hmake found
> Using hpc version 0.6 found on system at: /usr/bin/hpc
> Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.19 found on system at: /usr/bin/HsColour
> No hugs found
> No jhc found
> Using ld found on system at: /usr/bin/ld
> No lhc found
> No lhc-pkg found
> No nhc98 found
> No pkg-config found
> Using ranlib found on system at: /usr/bin/ranlib
> Using strip found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> sh configure --with-compiler=ghc --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --with-gcc=/usr/bin/gcc
> configure: WARNING: unrecognized options: --with-gcc
> checking for g++... g++
> checking whether the C++ compiler works... yes
> checking for C++ compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for llvm-config... /usr/bin/llvm-config
> Target platform inferred as: x86_64-unknown-linux
> checking for library containing LLVMModuleCreateWithName... no
> checking how to run the C++ preprocessor... g++ -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking llvm-c/Core.h usability... yes
> checking llvm-c/Core.h presence... yes
> checking for llvm-c/Core.h... yes
> checking llvm/ADT/StringRef.h usability... yes
> checking llvm/ADT/StringRef.h presence... yes
> checking for llvm/ADT/StringRef.h... yes
> checking for llvm/Support/DynamicLibrary.h... yes
> checking for LLVMModuleCreateWithName in -lLLVMCore... yes
> configure: creating ./config.status
> config.status: creating llvm-base.buildinfo
> config.status: creating include/hs_llvm_config.h
> configure: WARNING: unrecognized options: --with-gcc
> Reading parameters from ./llvm-base.buildinfo
> debian/hlibrary.setup build --builddir=dist-ghc
> Building llvm-base-3.0.1.0...
> Preprocessing library llvm-base-3.0.1.0...
> [ 1 of 24] Compiling LLVM.Target.XCore ( LLVM/Target/XCore.hs, dist-ghc/build/LLVM/Target/XCore.o )
> [ 2 of 24] Compiling LLVM.Target.SystemZ ( LLVM/Target/SystemZ.hs, dist-ghc/build/LLVM/Target/SystemZ.o )
> [ 3 of 24] Compiling LLVM.Target.Sparc ( LLVM/Target/Sparc.hs, dist-ghc/build/LLVM/Target/Sparc.o )
> [ 4 of 24] Compiling LLVM.Target.PowerPC ( LLVM/Target/PowerPC.hs, dist-ghc/build/LLVM/Target/PowerPC.o )
> [ 5 of 24] Compiling LLVM.Target.PIC16 ( LLVM/Target/PIC16.hs, dist-ghc/build/LLVM/Target/PIC16.o )
> [ 6 of 24] Compiling LLVM.Target.Mips ( LLVM/Target/Mips.hs, dist-ghc/build/LLVM/Target/Mips.o )
> [ 7 of 24] Compiling LLVM.Target.MSP430 ( LLVM/Target/MSP430.hs, dist-ghc/build/LLVM/Target/MSP430.o )
> [ 8 of 24] Compiling LLVM.Target.CppBackend ( LLVM/Target/CppBackend.hs, dist-ghc/build/LLVM/Target/CppBackend.o )
> [ 9 of 24] Compiling LLVM.Target.CellSPU ( LLVM/Target/CellSPU.hs, dist-ghc/build/LLVM/Target/CellSPU.o )
> [10 of 24] Compiling LLVM.Target.CBackend ( LLVM/Target/CBackend.hs, dist-ghc/build/LLVM/Target/CBackend.o )
> [11 of 24] Compiling LLVM.Target.Blackfin ( LLVM/Target/Blackfin.hs, dist-ghc/build/LLVM/Target/Blackfin.o )
> [12 of 24] Compiling LLVM.Target.Alpha ( LLVM/Target/Alpha.hs, dist-ghc/build/LLVM/Target/Alpha.o )
> [13 of 24] Compiling LLVM.Target.ARM  ( LLVM/Target/ARM.hs, dist-ghc/build/LLVM/Target/ARM.o )
> [14 of 24] Compiling LLVM.Target.X86  ( LLVM/Target/X86.hs, dist-ghc/build/LLVM/Target/X86.o )
> [15 of 24] Compiling LLVM.Target.Native ( LLVM/Target/Native.hs, dist-ghc/build/LLVM/Target/Native.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.o )
> [17 of 24] Compiling LLVM.FFI.BitReader ( dist-ghc/build/LLVM/FFI/BitReader.hs, dist-ghc/build/LLVM/FFI/BitReader.o )
> [18 of 24] Compiling LLVM.FFI.BitWriter ( dist-ghc/build/LLVM/FFI/BitWriter.hs, dist-ghc/build/LLVM/FFI/BitWriter.o )
> [19 of 24] Compiling LLVM.FFI.Target  ( dist-ghc/build/LLVM/FFI/Target.hs, dist-ghc/build/LLVM/FFI/Target.o )
> [20 of 24] Compiling LLVM.FFI.ExecutionEngine ( dist-ghc/build/LLVM/FFI/ExecutionEngine.hs, dist-ghc/build/LLVM/FFI/ExecutionEngine.o )
> [21 of 24] Compiling LLVM.FFI.Support ( dist-ghc/build/LLVM/FFI/Support.hs, dist-ghc/build/LLVM/FFI/Support.o )
> [22 of 24] Compiling LLVM.FFI.Transforms.IPO ( dist-ghc/build/LLVM/FFI/Transforms/IPO.hs, dist-ghc/build/LLVM/FFI/Transforms/IPO.o )
> [23 of 24] Compiling LLVM.FFI.Transforms.Scalar ( dist-ghc/build/LLVM/FFI/Transforms/Scalar.hs, dist-ghc/build/LLVM/FFI/Transforms/Scalar.o )
> [24 of 24] Compiling LLVM.FFI.Analysis ( dist-ghc/build/LLVM/FFI/Analysis.hs, dist-ghc/build/LLVM/FFI/Analysis.o )
> [ 1 of 24] Compiling LLVM.Target.XCore ( LLVM/Target/XCore.hs, dist-ghc/build/LLVM/Target/XCore.p_o )
> [ 2 of 24] Compiling LLVM.Target.SystemZ ( LLVM/Target/SystemZ.hs, dist-ghc/build/LLVM/Target/SystemZ.p_o )
> [ 3 of 24] Compiling LLVM.Target.Sparc ( LLVM/Target/Sparc.hs, dist-ghc/build/LLVM/Target/Sparc.p_o )
> [ 4 of 24] Compiling LLVM.Target.PowerPC ( LLVM/Target/PowerPC.hs, dist-ghc/build/LLVM/Target/PowerPC.p_o )
> [ 5 of 24] Compiling LLVM.Target.PIC16 ( LLVM/Target/PIC16.hs, dist-ghc/build/LLVM/Target/PIC16.p_o )
> [ 6 of 24] Compiling LLVM.Target.Mips ( LLVM/Target/Mips.hs, dist-ghc/build/LLVM/Target/Mips.p_o )
> [ 7 of 24] Compiling LLVM.Target.MSP430 ( LLVM/Target/MSP430.hs, dist-ghc/build/LLVM/Target/MSP430.p_o )
> [ 8 of 24] Compiling LLVM.Target.CppBackend ( LLVM/Target/CppBackend.hs, dist-ghc/build/LLVM/Target/CppBackend.p_o )
> [ 9 of 24] Compiling LLVM.Target.CellSPU ( LLVM/Target/CellSPU.hs, dist-ghc/build/LLVM/Target/CellSPU.p_o )
> [10 of 24] Compiling LLVM.Target.CBackend ( LLVM/Target/CBackend.hs, dist-ghc/build/LLVM/Target/CBackend.p_o )
> [11 of 24] Compiling LLVM.Target.Blackfin ( LLVM/Target/Blackfin.hs, dist-ghc/build/LLVM/Target/Blackfin.p_o )
> [12 of 24] Compiling LLVM.Target.Alpha ( LLVM/Target/Alpha.hs, dist-ghc/build/LLVM/Target/Alpha.p_o )
> [13 of 24] Compiling LLVM.Target.ARM  ( LLVM/Target/ARM.hs, dist-ghc/build/LLVM/Target/ARM.p_o )
> [14 of 24] Compiling LLVM.Target.X86  ( LLVM/Target/X86.hs, dist-ghc/build/LLVM/Target/X86.p_o )
> [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 'LLVMOpaqueModule* LLVMGetModuleFromAssembly(const char*, unsigned int, char**)':
> 
> cbits/extra.cpp:390:15:
>      error: 'class llvm::SMDiagnostic' has no member named 'Print'
> make: *** [build-ghc-stamp] Error 1

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




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#678786; Package src:haskell-llvm-base. (Tue, 07 Aug 2012 23:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raúl Benencia <rul@kalgan.cc>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Tue, 07 Aug 2012 23:03:03 GMT) Full text and rfc822 format available.

Message #10 received at 678786@bugs.debian.org (full text, mbox):

From: Raúl Benencia <rul@kalgan.cc>
To: 678786@bugs.debian.org
Subject: Build successful
Date: Tue, 7 Aug 2012 19:59:46 -0300
[Message part 1 (text/plain, inline)]
I've successfuly built this package on amd64. Build log attached.
[haskell-llvm-base_3.0.1.0-1_unstable.log (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#678786; Package src:haskell-llvm-base. (Fri, 07 Sep 2012 10:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sébastien Villemot <sebastien.villemot@ens.fr>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Fri, 07 Sep 2012 10:57:03 GMT) Full text and rfc822 format available.

Message #15 received at 678786@bugs.debian.org (full text, mbox):

From: Sébastien Villemot <sebastien.villemot@ens.fr>
To: 678786@bugs.debian.org, 678786-submitter@bugs.debian.org
Subject: Re: Bug#678786: Build successful
Date: Fri, 07 Sep 2012 12:52:20 +0200
[Message part 1 (text/plain, inline)]
Control: tags -1 + unreproducible

Raúl Benencia <rul@kalgan.cc> writes:

> I've successfuly built this package on amd64. Build log attached.

Same here, build successful using pbuilder with both wheezy/amd64 and
sid/amd64.

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Maintainer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594
[Message part 2 (application/pgp-signature, inline)]

Added tag(s) unreproducible. Request was from Sébastien Villemot <sebastien.villemot@ens.fr> to 678786-submit@bugs.debian.org. (Fri, 07 Sep 2012 10:57:03 GMT) Full text and rfc822 format available.

Message sent on to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug#678786. (Fri, 07 Sep 2012 10:57:06 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#678786; Package src:haskell-llvm-base. (Fri, 14 Sep 2012 20:30:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kai Lüke <kailueke@riseup.net>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Fri, 14 Sep 2012 20:30:04 GMT) Full text and rfc822 format available.

Message #25 received at 678786@bugs.debian.org (full text, mbox):

From: Kai Lüke <kailueke@riseup.net>
To: 678786@bugs.debian.org
Subject: Re: Bug#678786: Build successful
Date: Fri, 14 Sep 2012 22:27:35 +0200
Same here. It worked well. Lucas, can you say if later there was an
other rebuild of the archive that worked well with the current version?
(afaik nothing changed)

Maybe this bug should be closed now.
Greets



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>:
Bug#678786; Package src:haskell-llvm-base. (Sat, 03 Nov 2012 15:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andrea Spadaccini <andrea.spadaccini@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Haskell Group <pkg-haskell-maintainers@lists.alioth.debian.org>. (Sat, 03 Nov 2012 15:45:03 GMT) Full text and rfc822 format available.

Message #30 received at 678786@bugs.debian.org (full text, mbox):

From: Andrea Spadaccini <andrea.spadaccini@gmail.com>
To: 678786@bugs.debian.org
Subject: Re: Bug#678786: Build successful
Date: Sat, 3 Nov 2012 15:41:57 +0000
Works for me too under pbuilder sid/amd64.



Reply sent to Joachim Breitner <nomeata@debian.org>:
You have taken responsibility. (Sat, 03 Nov 2012 21:09:07 GMT) Full text and rfc822 format available.

Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (Sat, 03 Nov 2012 21:09:08 GMT) Full text and rfc822 format available.

Message #35 received at 678786-done@bugs.debian.org (full text, mbox):

From: Joachim Breitner <nomeata@debian.org>
To: Andrea Spadaccini <andrea.spadaccini@gmail.com>, 678786-done@bugs.debian.org
Subject: Re: [Pkg-haskell-maintainers] Bug#678786: Build successful
Date: Sat, 03 Nov 2012 22:05:43 +0100
[Message part 1 (text/plain, inline)]
Version: 3.0.1.0-1

Hi Andrea,

Am Samstag, den 03.11.2012, 15:41 +0000 schrieb Andrea Spadaccini:
> Works for me too under pbuilder sid/amd64.

thanks, enough reports that its working now, so I’ll close it.

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
[signature.asc (application/pgp-signature, inline)]

No longer marked as found in versions haskell-llvm-base/3.0.1.0-1. Request was from Mònica Ramírez Arceda <monica@debian.org> to control@bugs.debian.org. (Tue, 06 Nov 2012 08:39:04 GMT) Full text and rfc822 format available.

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 05 Dec 2012 07:27:43 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 22:20:36 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.