[Pkg-haskell-maintainers] Bug#642701: Bug#642701: ghc: FTBFS: includes/ghcplatform.h:1:0: error: unterminated #ifndef

Joachim Breitner nomeata at debian.org
Sat Sep 24 19:53:40 UTC 2011


Hello Mònic,

 Am Samstag, den 24.09.2011, 19:12 +0200 schrieb Mònica Ramírez Arceda:
> Source: ghc
> Version: 7.0.4-6
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20110923 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> > /usr/bin/gcc -E    -fno-stack-protector  -Iincludes           -MM utils/hp2ps/AreaBelow.c -MF utils/hp2ps/dist/build/.depend.c_asm.bit
> > echo 'extensions ='                                               >> utils/dummy-ghc/dist-dummy-ghc/build/dummy-ghc.hs
> > 'tr' -d '\t' < compiler/main/DynFlags.hs | '/bin/sed' '/^xFlags/,/]/s/^ *( *"\([^"]*\)"[^"]*/  ["\1", "No\1"] ++/p;d' >> utils/dummy-ghc/dist-dummy-ghc/build/dummy-ghc.hs
> > includes/ghcplatform.h:1:0: error: unterminated #ifndef
> > sed -e 's|\\|/|g' -e 's| /$| \\|' -e "1s|\.o|\.o|" -e "1s|^|utils/unlit/|" -e "1s|utils/unlit/|utils/unlit/dist/build/|" -e "1s|dist/build/dist/build|dist/build|g" -e "s|/build/ghc-BIdsT4/ghc-7.0.4/||g" utils/unlit/dist/build/.depend.c_asm.bit >> utils/unlit/dist/build/.depend.c_asm.tmp && true
> > echo '  []'                                                       >> utils/dummy-ghc/dist-dummy-ghc/build/dummy-ghc.hs
> > "/usr/bin/ghc"   -H32m -O -lffi -optl-pthread  -package-conf libraries/bootstrapping.conf   -i -iutils/dummy-ghc/. -iutils/dummy-ghc/dist-dummy-ghc/build -iutils/dummy-ghc/dist-dummy-ghc/build/autogen -Iutils/dummy-ghc/dist-dummy-ghc/build -Iutils/dummy-ghc/dist-dummy-ghc/build/autogen        -package process -no-user-package-conf -rtsopts     -odir utils/dummy-ghc/dist-dummy-ghc/build -hidir utils/dummy-ghc/dist-dummy-ghc/build -stubdir utils/dummy-ghc/dist-dummy-ghc/build -hisuf hi -osuf  o -hcsuf hc -c utils/dummy-ghc/dist-dummy-ghc/build/dummy-ghc.hs -o utils/dummy-ghc/dist-dummy-ghc/build/dummy-ghc.o
> > Done.
> > "rm" -f utils/unlit/dist/build/.depend.c_asm.bit
> > "rm" -f utils/dummy-ghc/dist-dummy-ghc/build/.depend.c_asm.tmp
> > "rm" -f utils/genapply/dist/build/.depend.c_asm.tmp
> > echo "utils/unlit_dist_depfile_c_asm_EXISTS = YES" >> utils/unlit/dist/build/.depend.c_asm.tmp
> > touch utils/dummy-ghc/dist-dummy-ghc/build/.depend.c_asm.tmp
> > touch utils/genapply/dist/build/.depend.c_asm.tmp
> > make[2]: *** [utils/hp2ps/dist/build/.depend.c_asm] Error 1

I’m surprised to see ghc fail on amd64, the build is usually quite
reliable. Is this reproducible?

(Given that it fails early there is probably no lack of diskspace or
memory.)

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20110924/6cb042f1/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list