[MacPorts] #40870: vsftpd build failure on Mavericks (10.9)

MacPorts noreply at macports.org
Wed Oct 23 11:47:27 PDT 2013


#40870: vsftpd build failure on Mavericks (10.9)
---------------------+--------------------
 Reporter:  dluke@…  |      Owner:  pmq@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.2.0
 Keywords:           |       Port:  vsftpd
---------------------+--------------------
 vsftpd fails to build on 10.9 because it sets -Werror:
 {{{
 gcc -c sysstr.c -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4
 -Wall -W -Wshadow -Werror -Wformat-security -D_FORTIFY_SOURCE=2
 -idirafter dummyinc
 sysstr.c:77:40: error: implicit conversion from enumeration type 'enum
 EVSFSysStrOpenMode' to different enumeration type 'enum
 EVSFSysUtilOpenMode' [-Werror,-Wenum-conversion]
   enum EVSFSysUtilOpenMode open_mode = kVSFSysStrOpenUnknown;
                            ~~~~~~~~~   ^~~~~~~~~~~~~~~~~~~~~
 }}}

 Attached patch adds a Makefile reinplace to remove -Werror which allows it
 to build.

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


More information about the macports-tickets mailing list