[MacPorts] #61670: netpipes fails to build in Big Sur

MacPorts noreply at macports.org
Fri Nov 27 03:20:54 UTC 2020


#61670: netpipes fails to build in Big Sur
--------------------------------------+----------------------
 Reporter:  alex1platon               |      Owner:  (none)
     Type:  defect                    |     Status:  new
 Priority:  Normal                    |  Milestone:
Component:  ports                     |    Version:  2.6.4
 Keywords:  netpipes Big Sur Big_Sur  |       Port:  netpipes
--------------------------------------+----------------------
 Using stock Command Line Tools for XCode 12.2

 {{{
 :info:build cc -DUSE_IOCTL -DPOSIX_SIG -DHAVE_INET_ATON -O   -c -o
 encapsulate.o encapsulate.c
 :info:build timelimit.c:98:9: error: implicitly declaring library function
 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-
 function-declaration]
 :info:build         if (0==strcmp(argv[1], "-v")) {
 :info:build                ^
 :info:build timelimit.c:98:9: note: include the header <string.h> or
 explicitly provide a declaration for 'strcmp'
 :info:build timelimit.c:119:12: error: implicitly declaring library
 function 'strlen' with type 'unsigned long (const char *)' [-Werror
 ,-Wimplicit-function-declaration]
 :info:build         ch = ch + strlen(ch)-1;
 :info:build                   ^
 :info:build timelimit.c:119:12: note: include the header <string.h> or
 explicitly provide a declaration for 'strlen'
 :info:build timelimit.c:152:58: error: implicitly declaring library
 function 'strerror' with type 'char *(int)' [-Werror,-Wimplicit-function-
 declaration]
 :info:build         fprintf(stderr, "%s: unable to fork (%s).\n",
 progname, strerror(errno));
 :info:build
 ^
 :info:build timelimit.c:152:58: note: include the header <string.h> or
 explicitly provide a declaration for 'strerror'
 :info:build 3 errors generated.
 :info:build make: *** [timelimit.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61670>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list