[MacPorts] #41101: tcpreplay @3.4.4 failed to build due to strlcat/strcpy on OS X.9

MacPorts noreply at macports.org
Thu Oct 31 10:18:36 PDT 2013


#41101: tcpreplay @3.4.4 failed to build due to strlcat/strcpy on OS X.9
--------------------------+--------------------------------
 Reporter:  luc.dandoy@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.2.1
 Keywords:                |       Port:  tcpreplay
--------------------------+--------------------------------
 {{{
 sudo port install tcpreplay
 --->  Computing dependencies for tcpreplay
 --->  Fetching archive for tcpreplay
 --->  Attempting to fetch tcpreplay-3.4.4_0.darwin_13.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/tcpreplay
 --->  Attempting to fetch tcpreplay-3.4.4_0.darwin_13.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/tcpreplay
 --->  Attempting to fetch tcpreplay-3.4.4_0.darwin_13.x86_64.tbz2 from
 http://packages.macports.org/tcpreplay
 --->  Fetching distfiles for tcpreplay
 --->  Verifying checksums for tcpreplay
 --->  Extracting tcpreplay
 --->  Configuring tcpreplay
 --->  Building tcpreplay
 Error: org.macports.build for port tcpreplay returned: command execution
 failed
 Please see the log file for port tcpreplay for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_tcpreplay/tcpreplay/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port tcpreplay failed
 }}}

 Apparently, same issue as in ticket #40763

 Adding the following to the CFLAGS seems to solve the issue:

 {{{
 -D_FORTIFY_SOURCE=0
 }}}

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


More information about the macports-tickets mailing list