[MacPorts] #31821: [minor issue] sed issue while building arm-none-eabi-binutils

MacPorts noreply at macports.org
Fri Oct 28 20:07:12 PDT 2011


#31821: [minor issue] sed issue while building arm-none-eabi-binutils
--------------------------------+-------------------------------------------
 Reporter:  ekawahyu@…          |       Owner:  macports-tickets@…                   
     Type:  enhancement         |      Status:  new                                  
 Priority:  Low                 |   Milestone:                                       
Component:  ports               |     Version:  2.0.3                                
 Keywords:                      |        Port:  arm-none-eabi-binutils               
--------------------------------+-------------------------------------------
 This is a known issue of incompatibility between BSD sed (Mac) and GNU sed
 (macports). I don't know where to file this issue, therefore, I put it
 here as note/enhancement request.

 In the past, I renamed /usr/bin/sed to /usr/bin/darwinsed and created a
 symbolic link of /usr/bin/sed -> /opt/local/bin/gsed. It turned out that
 building arm-none-eabi-binutils failed because of this, and it is fine
 when I put the symbolic link back to BSD sed.

 I did not keep the log file, but I copy the error message below:

 {{{
 --->  Verifying checksum(s) for arm-none-eabi-binutils
 --->  Checksumming binutils-2.21.53.0.1.tar.bz2
 --->  Extracting arm-none-eabi-binutils
 --->  Extracting binutils-2.21.53.0.1.tar.bz2
 Error: reinplace: /usr/bin/sed: -e expression #1, char 42: Invalid
 character class name
 Error: Target org.macports.patch returned: reinplace sed(1) failed
 Warning: the following items did not execute (for arm-none-eabi-binutils):
 org.macports.activate org.macports.patch org.macports.configure
 org.macports.build org.macports.destroot org.macports.install
 Error: Failed to install arm-none-eabi-binutils
 Log for arm-none-eabi-binutils is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_tarballs_ports_cross_arm-none-eabi-binutils/arm-none-eabi-
 binutils/main.log
 Error: The following dependencies were not installed: arm-none-eabi-
 binutils libmpc mpfr
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 This is only a minor issue and I hope this could help someone else who
 replaces the BSD sed with GNU sed, like I did.

 The arm-none-eabi-binutils builds just fine using BSD sed. Thank you.

-- 
Ticket URL: <https://trac.macports.org/ticket/31821>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list