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. Fix: This workaround let me install the port: LC_ALL=C sudo portmaster /usr/ports/emulators/vmware-guestd6 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
Responsible Changed From-To: freebsd-ports-bugs->matusita Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->closed Just fixed; use LC_ALL instead of LC_CTYPE while ${REINPLACE_CMD} run. Thank you for letting me to know, and sorry the fix takes so long time.
matusita 2008-02-19 16:37:18 UTC FreeBSD ports repository Modified files: emulators/vmware-guestd6 Makefile Log: Fix build error on multi-byte locale environment. No bumps since no content changes. PR: 117708 Submitted by: trangayesi at gmaildotcom Revision Changes Path 1.49 +1 -1 ports/emulators/vmware-guestd6/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"