[MacPorts] #58198: avr-binutils @ 2.32 patching error on snowleopard
MacPorts
noreply at macports.org
Fri Mar 15 13:23:34 UTC 2019
#58198: avr-binutils @ 2.32 patching error on snowleopard
--------------------------------------+--------------------------
Reporter: chrisjohgorman | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.5.3
Keywords: avr-binutils snowleopard | Port: avr-binutils
--------------------------------------+--------------------------
When I run `sudo port -v install avr-binutils` I get the following error.
{{{
---> Patching Makefile.in: s/[[:<:]]as\.(info|texi)/avr-&/g
/usr/bin/sed: -e expression #1, char 32: Invalid character class name
Error: reinplace: child process exited abnormally
Error: Failed to patch avr-binutils: reinplace sed(1) failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_cross_avr-binutils/avr-
binutils/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port avr-binutils failed
}}}
Upon examination, I found the following block from `crossbinutils-1.0.tcl`
fails to run properly on my machine.
{{{
# Fix Makefile
reinplace -q -E \
s/\[\[:<:\]\]${page}\\.(info|texi)/${crossbinutils.target}-&/g \
${worksrcpath}/${dir}/Makefile.in
}}}
--
Ticket URL: <https://trac.macports.org/ticket/58198>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list