#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 bernddorn@…): Replying to [comment:2 ciserlohn@…]:
This is a common problem we're seeing with Mountain Lion's version of sed. It happens when sed is asked to replace characters in a file which has a strange character encoding. The solution is to tell sed to assume the C locale.
As a workaround try: {{{ sudo port install dsh destroot.env LANG=C }}} or {{{ sudo port install dsh destroot.env LC_CTYPE=C }}}
does not work either, still the same sed error {{{ $: grep error: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_dsh/dsh/main.log :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 :info:destroot sed: RE error: illegal byte sequence :info:destroot sed: RE error: illegal byte sequence :error:destroot org.macports.destroot for port dsh returned: command execution failed }}} -- Ticket URL: <https://trac.macports.org/ticket/35610#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS