Opened 6 years ago
Last modified 6 years ago
#58045 closed defect
logrotate @3.15.0 fails to build on High Sierra — at Version 2
Reported by: | Schamschula (Marius Schamschula) | Owned by: | ctreleaven (Craig Treleaven) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | logrotate |
Description (last modified by Schamschula (Marius Schamschula))
While upgrading logrotate
on my High Sierra machine I get:
/usr/bin/clang -DHAVE_CONFIG_H -I. -include config.h -I/opt/local/include -Wall -Wextra -Wmissing-format-attribute -Wmissing-noreturn -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -pipe -Os -arch x86_64 -MT logrotate.o -MD -MP -MF .deps/logrotate.Tpo -c -o logrotate.o logrotate.c logrotate.c:478:38: warning: unused parameter 'acl' [-Wunused-parameter] acl_type acl, int force_mode) ^ logrotate.c:694:17: error: no member named 'st_atim' in 'struct stat' ts[0] = sb->st_atim; ~~ ^ logrotate.c:695:17: error: no member named 'st_mtim' in 'struct stat' ts[1] = sb->st_mtim; ~~ ^ 1 warning and 2 errors generated.
Ryan ran into a similar problem with optipng
: see https://sourceforge.net/p/optipng/bugs/47/, so I patched logrotate.c
, see attached files.
Change History (4)
Changed 6 years ago by Schamschula (Marius Schamschula)
Changed 6 years ago by Schamschula (Marius Schamschula)
Attachment: | patch-logrotate.c.diff added |
---|
comment:1 Changed 6 years ago by Schamschula (Marius Schamschula)
Owner: | set to ctreleaven |
---|---|
Status: | new → assigned |
comment:2 Changed 6 years ago by Schamschula (Marius Schamschula)
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.