[MacPorts] #60525: logrotate: error: no member named 'st_atim' in 'struct stat'

MacPorts noreply at macports.org
Wed May 20 11:14:25 UTC 2020


#60525: logrotate: error: no member named 'st_atim' in 'struct stat'
-------------------------+------------------------
 Reporter:  Schamschula  |      Owner:  ctreleaven
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  logrotate
-------------------------+------------------------
 While updating to logrotate 3.16.0 under Mojave I get the following
 errors:

 {{{
 :info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -include config.h
 -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -Wall
 -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith
 -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -arch
 x86_64 -MT logrotate.o -MD -MP -MF .deps/logrotate.Tpo -c -o logrotate.o
 logrotate.c
 :info:build logrotate.c:502:38: warning: unused parameter 'acl' [-Wunused-
 parameter]
 :info:build                             acl_type acl, int force_mode)
 :info:build                                      ^
 :info:build logrotate.c:726:17: error: no member named 'st_atim' in
 'struct stat'
 :info:build     ts[0] = sb->st_atim;
 :info:build             ~~  ^
 :info:build logrotate.c:727:17: error: no member named 'st_mtim' in
 'struct stat'
 :info:build     ts[1] = sb->st_mtim;
 :info:build             ~~  ^
 :info:build mv -f .deps/log.Tpo .deps/log.Po
 :info:build 1 warning and 2 errors generated.
 }}}

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


More information about the macports-tickets mailing list