[MacPorts] #67883: rpki-client @8.5: error: implicit declaration of function 'mkostemp' is invalid in C99

MacPorts noreply at macports.org
Mon Jul 31 13:50:34 UTC 2023


#67883: rpki-client @8.5: error: implicit declaration of function 'mkostemp' is
invalid in C99
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  artkiver
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  rpki-client
------------------------+-------------------------
 https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/230175/steps
 /install-port/logs/stdio
 {{{
   CC       rpki_client-output.o
   CC       rpki_client-parser.o
   CC       rpki_client-print.o
   CC       rpki_client-repo.o
 output.c:137:7: error: implicit declaration of function 'mkostemp' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
         fd = mkostemp(output_tmpname, O_CLOEXEC);
              ^
 output.c:137:7: note: did you mean 'mkstemp'?
 /usr/include/stdlib.h:201:6: note: 'mkstemp' declared here
 int      mkstemp(char *);
          ^
 1 error generated.
 make[1]: *** [rpki_client-output.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 }}}

 And please disable silent rules.

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


More information about the macports-tickets mailing list