+++ dann frazier [Dec 07 09 19:37 ]:
> Package: pandoc
> Version: 1.2.1-1
> Severity: serious
> 
> pandoc reliably fails to build on hppa:
>   
> https://buildd.debian.org/build.php?&pkg=pandoc&ver=1.2.1-1&arch=hppa&file=log
> 
> From the most recent build attempt:
> [...]
> Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config
> 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
> /usr/bin/gcc /tmp/23391.c -o /tmp/23391 -D__GLASGOW_HASKELL__=610 -I. 
> -D_HIGHLIGHTING -D_HIGHLIGHTING -I/usr/lib/ghc-6.10.4/process-1.0.1.1/include 
> -I/usr/lib/haskell-packages/ghc6/lib/network-2.2.1.4/ghc-6.10.4/include 
> -I/usr/lib/ghc-6.10.4/directory-1.0.0.3/include 
> -I/usr/lib/ghc-6.10.4/unix-2.3.2.0/include 
> -I/usr/lib/ghc-6.10.4/old-time-1.0.0.2/include 
> -I/usr/lib/ghc-6.10.4/bytestring-0.9.1.4/include 
> -I/usr/lib/ghc-6.10.4/base-4.1.0.0/include -I/usr/lib/ghc-6.10.4/include
> mv dist dist-ghc6
> mv dist-ghc6 dist
> debian/hlibrary.setup build
> Preprocessing library pandoc-1.2.1...
> Preprocessing executables for pandoc-1.2.1...
> Building pandoc-1.2.1...
> [ 1 of 29] Compiling Paths_pandoc     ( dist/build/autogen/Paths_pandoc.hs, 
> dist/build/Paths_pandoc.o )
> [ 2 of 29] Compiling Text.Pandoc.XML  ( src/Text/Pandoc/XML.hs, 
> dist/build/Text/Pandoc/XML.o )
> [ 3 of 29] Compiling Text.Pandoc.CharacterReferences ( 
> src/Text/Pandoc/CharacterReferences.hs, 
> dist/build/Text/Pandoc/CharacterReferences.o )
> [ 4 of 29] Compiling Text.Pandoc.Definition ( src/Text/Pandoc/Definition.hs, 
> dist/build/Text/Pandoc/Definition.o )
> [ 5 of 29] Compiling Text.Pandoc.Shared ( src/Text/Pandoc/Shared.hs, 
> dist/build/Text/Pandoc/Shared.o )
> [ 6 of 29] Compiling Text.Pandoc.TH   ( src/Text/Pandoc/TH.hs, 
> dist/build/Text/Pandoc/TH.o )
> [ 7 of 29] Compiling Text.Pandoc.ODT  ( src/Text/Pandoc/ODT.hs, 
> dist/build/Text/Pandoc/ODT.o )
> 
> src/Text/Pandoc/ODT.hs:49:24:
>     Template Haskell splice illegal in a stage-1 compiler
>           makeZip $ "data" </> "odt-styles"
> make: *** [build-ghc6-stamp] Error 1

Pandoc, like many other Haskell programs, uses Template Haskell, which
requires a stage-2 compiler. I'm not sure why the ghc compiler on hppa
is only stage-1, but that would be the place to fix the problem.




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to