Source: libemf
Version: 1.0.9+git.9.e2f97d9-1
Severity: important
Tags: upstream
Justification: fails to build from source

Builds of libemf have been failing on arm64, mips*, and the
non-release architectures hppa, m68k, and sh4:

  In file included from ../include/libEMF/wine/windef.h:16:0,
                   from ../include/libEMF/emf.h:27,
                   from libemf.h:32,
                   from libemf.cpp:24:
  ../include/libEMF/wine/winnt.h:61:3: error: #error Unknown CPU architecture!
   # error Unknown CPU architecture!
     ^~~~~
  In file included from ../include/libEMF/wine/windef.h:16:0,
                   from ../include/libEMF/emf.h:27,
                   from libemf.h:32,
                   from libemf.cpp:24:
  ../include/libEMF/wine/winnt.h:1429:2: error: #error You need to define a 
CONTEXT for your CPU
   #error You need to define a CONTEXT for your CPU
    ^~~~~
  ../include/libEMF/wine/winnt.h:1432:9: error: 'CONTEXT' does not name a type; 
did you mean 'CONTEXT86'?
   typedef CONTEXT *PCONTEXT;
           ^~~~~~~
           CONTEXT86

Could you please take a look?  It would be best if you could cut out
the CPU-dependent code altogether.  However, if that's infeasible,
please restrict libemf's official Architecture accordingly so that
incompatible autobuilders don't bother trying to cover it.

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to