[MacPorts] #61675: cftp fails to build on Big Sur
MacPorts
noreply at macports.org
Fri Nov 27 04:18:46 UTC 2020
#61675: cftp fails to build on Big Sur
----------------------------------+--------------------
Reporter: alex1platon | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Keywords: cftp big sur Big_Sur | Port: cftp
----------------------------------+--------------------
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
}}}
--
Ticket URL: <https://trac.macports.org/ticket/61675>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list