On 02/05/2019 01:20 AM, Douglas R. Reno via lfs-dev wrote:
Hey guys,
I was examining the logs on my 32-bit machine tonight and noticed the
following:
for tz in etcetera southamerica northamerica europe africa antarctica
asia australasia backward pacificnew systemv; do
> zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
> zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
> zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
> done
warning: -y is obsolescent
warning: -y is obsolescent
[snip]
It seems that the "-y" option is obsolete and might spam the logs. I
think we should try to address this in the next cycle, although this
cycle wouldn't be bad because then users wouldn't report the warning to
us repeatedly in 8.4.
I'm not sure what the best approach is here though.
That warning is built into the code:
case 'y':
if (yitcommand == NULL) {
warning(_("-y is obsolescent"));
yitcommand = optarg;
} else {
fprintf(stderr,
_("%s: More than one -y option specified\n"),
progname);
return EXIT_FAILURE;
}
break;
If we do not use the -y option, there is a built in function
'yearistype'. That function calls a sh script also named yearistype.
(There is no .sh extension).
I cannot find yearistype.sh any more. The script 'yearistype' does not
seem to be installed so running zic outside of the glibc tree does not
seem to be an option.
I think the pest way to addres this is to just remove the '-y "sh
yearistype.sh"' option form the zic commands.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page