ports/117708: vmware-guestd6 won't install under multi-byte locale

T R Smith trangayesi at gmail.com
Wed Oct 31 01:30:02 UTC 2007


>Number:         117708
>Category:       ports
>Synopsis:       vmware-guestd6 won't install under multi-byte locale
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 31 01:30:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     T R Smith
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD rudra.hindu.god 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When using a multi-byte locale (at least, en_US.UTF-8), the vmware-guestd6 port fails to install.  It stops during 'make patch' after sed produces an error about an invalid byte sequence.  It can be worked around by temporarily switching to the C locale.

Apparently, setting LC_CTYPE=C, as done in the port, isn't sufficient.
>How-To-Repeat:
export LC_ALL; LC_ALL=en_US.UTF-8
sudo portmaster /usr/ports/emulators/vmware-guestd6
..
===>  Patching for vmware-guestd-6.0.2.59824
LC_CTYPE=C /usr/bin/sed -i.bak "`/usr/bin/printf 's|\0152\013\0350|\0152\\\n\0350|g'`"  /usr/ports/emulators/vmware-guestd6/work/vmware-tools-distrib/lib/sbin32-6/vmware-checkvm
sed: 1: "s|j�|j\n�|g": RE error: illegal byte sequence
*** Error code 1

Stop in /usr/ports/emulators/vmware-guestd6.

===>>> make failed for emulators/vmware-guestd6

>Fix:
This workaround let me install the port:

LC_ALL=C sudo portmaster /usr/ports/emulators/vmware-guestd6


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list