qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] POD document had syntax errors at /usr/bin/pod2man line


From: Daniel P . Berrangé
Subject: Re: [Qemu-devel] POD document had syntax errors at /usr/bin/pod2man line 68.
Date: Fri, 27 Apr 2018 14:57:24 +0100
User-agent: Mutt/1.9.2 (2017-12-15)

On Fri, Apr 27, 2018 at 08:52:53AM -0500, Eric Blake wrote:
> On 04/27/2018 03:47 AM, Rahul Gusai wrote:
> > I am getting the following error while trying to compile the binaries for
> > QEMU emulator.
> >
> 
> Your mailer corrupted line spacing, making it difficult to read.
> 
> > *GEN   qemu.1qemu.pod around line 95: Non-ASCII character seen before
> > =encoding in 'Sch�tz.'. Assuming UTF-8POD document had syntax errors at
> > /usr/bin/pod2man line 68.Makefile:297: recipe for target 'qemu.1'
> > failedmake: *** [qemu.1] Error 255make: *** Deleting file 'qemu.1'*
> 
> qemu.pod is a generated file; the version in my build tree starts out:
> 
> =encoding UTF-8
> 
> and then uses proper UTF-8 encoding of line 95:
> 
> by Tibor "TS" Schütz.
> 
> > What could be the issue ?
> 
> What do the following output in your setup:
> 
> $ locale
> $ grep =encoding qemu.pod
> $ sed -n '92,98p' qemu.pod | od -tx1z
> 
> I'm wondering if somehow you have a non-UTF-8 locale such that the
> generated .pod file is encoded in a different locale, to the point that
> pod2man then chokes on the file.

If that is the cause, it just reinforces that we should make our makefile
set a sane LC_CTYPE for *every* command we invoke, not just the few places
we set it for python.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]