[MacPorts] #61590: alpine @2.23: fails to build on Big Sur

MacPorts noreply at macports.org
Sat Nov 21 11:17:32 UTC 2020


#61590: alpine @2.23: fails to build on Big Sur
----------------------+--------------------
 Reporter:  fcorrao1  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.6.4
 Keywords:  bigsur    |       Port:  alpine
----------------------+--------------------
 "sudo port install alpine" failed to build due to missing header includes

 {{{
 :info:build `cat CCTYPE` -c `cat CFLAGS` dummy.c
 :info:build dummy.c:615:28: error: implicit declaration of function 'time'
 is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build     stream->uid_validity = time (0);
 :info:build                            ^
 :info:build dummy.c:615:28: note: did you mean 'utime'?
 :info:build
 /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/usr/include/utime.h:72:5:
 note: 'utime' declared here
 :info:build int utime(const char *, const struct utimbuf *);
 :info:build     ^
 :info:build dummy.c:640:7: error: implicit declaration of function 'time'
 is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build   if (time (0) >=               /* time to do another test? */
 :info:build       ^
 :info:build dummy.c:726:23: warning: unsequenced modification and access
 to 'ts' [-Wunsequenced]
 :info:build     if (!ts && !(*(ts = default_proto (NIL))->dtb->create)
 (ts,"INBOX"))
 :info:build                       ^                                     ~~
 :info:build 1 warning and 2 errors generated.
 :info:build make[4]: *** [dummy.o] Error 1
 }}}

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


More information about the macports-tickets mailing list