[MacPorts] #43617: texinfo: texi2dvi incompatible with bsdsed

MacPorts noreply at macports.org
Mon May 19 13:18:34 PDT 2014


#43617: texinfo: texi2dvi incompatible with bsdsed
----------------------+--------------------------------
  Reporter:  ionic@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  texinfo  |
----------------------+--------------------------------

Comment (by ionic@…):

 I'm just not sure what to do with that.

 Sure, `texi2dvi` fails with `bsdsed` and it doesn't with `gnused`. But
 does this mean, that it is a texinfo bug?

 The baseline is `bsdsed` as shipped by Apple failing when being run on any
 input containing non-ASCII characters.

 To make matters even more complicated: it fails only when `LC_CTYPE` is
 set to any UTF-8 locale. Running `LC_CTYPE=C LANG=C texi2dvi --pdf --batch
 foo.texi` works fine.

 So... I guess `texi2dvi` needs some more code to detect the input file's
 charset and and change the `LC_CTYPE` and `LANG` environment variables
 accordingly to some locale supporting the detected charset... but does
 that make sense?

-- 
Ticket URL: <https://trac.macports.org/ticket/43617#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list