Opened 4 years ago
Closed 4 years ago
#61675 closed defect (fixed)
cftp: error: implicitly declaring library function 'exit'
Reported by: | alex1platon | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | bigsur catalina | Cc: | |
Port: | cftp |
Description
using Command Line Tools for XCode 12.2
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I. -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -pipe -Os -isys :info:build signals.c:56:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-d :info:build exit(1); :info:build ^ :info:build signals.c:56:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' :info:build 1 error generated. :info:build make: *** [signals.o] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build sockets.c:120:27: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types wit :info:build if (getsockname(s, addr, lenp) == -1) { :info:build ^~~~ :info:build /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/sys/socket.h:706:78: note: passing argument to parameter here :info:build int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict) :info:build ^ :info:build 1 warning generated. :info:build 2 warnings generated. :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_cftp/cftp/work :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_cftp/cftp/work/cft :info:build Exit code: 2 :error:build Failed to build cftp: command execution failed
Attachments (1)
Change History (3)
Changed 4 years ago by alex1platon
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | bigsur catalina added; cftp big sur Big_Sur removed |
---|---|
Summary: | cftp fails to build on Big Sur → cftp: error: implicitly declaring library function 'exit' |
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
In 104391c9be5fe72438f493f7616b2eeeac8ac511/macports-ports (master):