[MacPorts] #33660: Compiling libxml2 fails: "sed: RE error: illegal byte sequence"
#33660: Compiling libxml2 fails: "sed: RE error: illegal byte sequence" --------------------------------+------------------------------------------- Reporter: vince@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: replace | Port: libxml2 --------------------------------+------------------------------------------- Strangely, while trying to compile libxml2-2.7.8.tar.gz, I get the error mentioned in the subject. {{{ DEBUG: Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libxml2/libxml2/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libxml2/libxml2-2.7.8.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - DEBUG: Executing proc-post-org.macports.extract-extract-0 DEBUG: sed: RE error: illegal byte sequence while executing "exec /usr/bin/sed s|/etc|/opt/local/etc|g < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_te..." ("eval" body line 1) invoked from within "eval exec $cmdline" Error: reinplace: sed: RE error: illegal byte sequence Error: Target org.macports.extract returned: reinplace sed(1) failed DEBUG: Backtrace: reinplace sed(1) failed while executing "$post $targetname" }}} -- Ticket URL: <https://trac.macports.org/ticket/33660> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33660: Compiling libxml2 fails: "sed: RE error: illegal byte sequence" --------------------------------+------------------------------------------- Reporter: vince@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: replace | Port: libxml2 --------------------------------+------------------------------------------- Comment(by vince@…): The problem is caused by the line 2731 in the file runtest.c: {{{ "urip://example.com/résumé.html", }}} Obviously, while I appreciate the effort of the authors to place a French word in the example, it obviously confuses sed… -- Ticket URL: <https://trac.macports.org/ticket/33660#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33660: Compiling libxml2 fails: "sed: RE error: illegal byte sequence" --------------------------------+------------------------------------------- Reporter: vince@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: replace | Port: libxml2 --------------------------------+------------------------------------------- Comment(by vince@…): More specifically, the 'é's appear not be UTF-8 encoded, which causes the failure. -- Ticket URL: <https://trac.macports.org/ticket/33660#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33660: libxml2: sed: RE error: illegal byte sequence --------------------------------+------------------------------------------- Reporter: vince@… | Owner: cedric.luthi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: libxml2 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * keywords: replace => * owner: macports-tickets@… => cedric.luthi@… * cc: cedric.luthi@… (removed) Comment: What version of OS X are you running? I've seen many sed encoding issues fixed in other ports and in MacPorts base recently, for Mountain Lion... -- Ticket URL: <https://trac.macports.org/ticket/33660#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33660: libxml2: sed: RE error: illegal byte sequence ---------------------------------+------------------------------------------ Reporter: vince@… | Owner: cedric.luthi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: libxml2 | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r91036 -- Ticket URL: <https://trac.macports.org/ticket/33660#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts