Opened 4 years ago
Closed 4 years ago
#60525 closed defect (fixed)
logrotate: error: no member named 'st_atim' in 'struct stat'
Reported by: | Schamschula (Marius Schamschula) | Owned by: | ctreleaven (Craig Treleaven) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | logrotate |
Description
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.
Attachments (2)
Change History (6)
Changed 4 years ago by Schamschula (Marius Schamschula)
Attachment: | logrotate-main.log added |
---|
comment:1 Changed 4 years ago by ctreleaven (Craig Treleaven)
Status: | assigned → accepted |
---|
Changed 4 years ago by Schamschula (Marius Schamschula)
Attachment: | logrotate-trace-main.log added |
---|
comment:2 Changed 4 years ago by ctreleaven (Craig Treleaven)
Argh, I believe the patchfile is no longer necessary. Would you please comment out the patchfiles line and try again to install? If this works, I'll commit the appropriate fix. Thanks.
comment:4 Changed 4 years ago by ctreleaven (Craig Treleaven)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Would you please try rebuilding the port with trace mode enabled? Most of the buildbots are tied up at the moment but at least 3 have finished with no such error.