[MacPorts] #35610: dsh fails with "sed: RE error: illegal byte sequence"

MacPorts noreply at macports.org
Tue Aug 21 12:35:17 PDT 2012


#35610: dsh fails with "sed: RE error: illegal byte sequence"
---------------------------------+------------------------------------------
 Reporter:  bruce@…              |       Owner:  bjorn@…         
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  2.1.2           
 Keywords:  mountain lion        |        Port:  dsh             
---------------------------------+------------------------------------------

Comment(by ciserlohn@…):

 Replying to [comment:8 bernddorn@…]:
 > Replying to [comment:6 ciserlohn@…]:
 > > Could you try?
 > > {{{
 > > $ LC_ALL=C sudo port install dsh
 > > }}}
 >
 > still the same error after doing
 > {{{
 > sudo port selfupdate
 > sudo port clean dsh
 >  LC_ALL=C sudo port install dsh
 > }}}
 >
 > btw: i've seen that other ports have been modified to fix this issue,
 though i dunno if this is required for the dsh port
 > e.g: https://trac.macports.org/changeset/96676
 >

 This fix as well as the various other fixes regarding this issues can't be
 applied here. They modify the usage of the macports reinplace command
 which the dsh port doesn't use.[[BR]]
 See http://lists.macosforge.org/pipermail/macports-
 dev/2012-August/019993.html for an explanation.

 However, the reinplace command uses sed under the hood and therefore
 yielding the same issue. The aforementioned fix tells the reinplace
 command to set LC_CTYPE=C before invoking sed.[[BR]]
 The suggestions I made in my previous comments ([comment:3] [comment:6])
 do essentially the same thing.

-- 
Ticket URL: <https://trac.macports.org/ticket/35610#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list