qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] POD document had syntax errors at /usr/bin/pod2man line 68.
@ 2018-04-27  8:47 Rahul Gusai
  2018-04-27 13:52 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Rahul Gusai @ 2018-04-27  8:47 UTC (permalink / raw)
  To: qemu-devel

I am getting the following error while trying to compile the binaries for
QEMU emulator.







*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'*
What could be the issue ?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] POD document had syntax errors at /usr/bin/pod2man line 68.
  2018-04-27  8:47 [Qemu-devel] POD document had syntax errors at /usr/bin/pod2man line 68 Rahul Gusai
@ 2018-04-27 13:52 ` Eric Blake
  2018-04-27 13:57   ` Daniel P. Berrangé
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Blake @ 2018-04-27 13:52 UTC (permalink / raw)
  To: Rahul Gusai, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1137 bytes --]

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.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 619 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] POD document had syntax errors at /usr/bin/pod2man line 68.
  2018-04-27 13:52 ` Eric Blake
@ 2018-04-27 13:57   ` Daniel P. Berrangé
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel P. Berrangé @ 2018-04-27 13:57 UTC (permalink / raw)
  To: Eric Blake; +Cc: Rahul Gusai, qemu-devel

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 :|

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-27 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-27  8:47 [Qemu-devel] POD document had syntax errors at /usr/bin/pod2man line 68 Rahul Gusai
2018-04-27 13:52 ` Eric Blake
2018-04-27 13:57   ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).