[MacPorts] #64880: gnome-keyring: implicit declaration of functions 'gettimeofday', 'utimes' is invalid (was: gnome-keyring does not build)

MacPorts noreply at macports.org
Thu Mar 24 02:19:41 UTC 2022


#64880: gnome-keyring: implicit declaration of functions 'gettimeofday', 'utimes'
is invalid
----------------------------+--------------------------------------
  Reporter:  TomDev234      |      Owner:  dbevans
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.7.2
Resolution:                 |   Keywords:  catalina bigsur monterey
      Port:  gnome-keyring  |
----------------------------+--------------------------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: ryandesign (added)
 * keywords:   => catalina bigsur monterey
 * owner:  (none) => dbevans
 * port:   => gnome-keyring


Old description:

> Error: Failed to build gnome-keyring: command execution failed

New description:

 {{{
 Error: Failed to build gnome-keyring: command execution failed
 }}}

--

Comment:

 Log says:

 {{{
 :info:build pkcs11/xdg-store/mock-xdg-module.c:91:2: error: implicit
 declaration of function 'gettimeofday' is invalid in C99 [-Werror
 ,-Wimplicit-function-declaration]
 :info:build         gettimeofday (tv, NULL);
 :info:build         ^
 :info:build pkcs11/xdg-store/mock-xdg-module.c:95:6: error: implicit
 declaration of function 'utimes' is invalid in C99 [-Werror,-Wimplicit-
 function-declaration]
 :info:build         if (utimes (filename, tv) < 0)
 :info:build             ^
 }}}

 Let me see what I can do.

-- 
Ticket URL: <https://trac.macports.org/ticket/64880#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list