Date: Wed, 31 Oct 2007 01:24:02 GMT From: T R Smith <trangayesi@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/117708: vmware-guestd6 won't install under multi-byte locale Message-ID: <200710310124.l9V1O2hJ011553@www.freebsd.org> Resent-Message-ID: <200710310130.l9V1U1YL011496@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710310124.l9V1O2hJ011553>