Summary: | sys-process/time - mdate-sh hangs if $TIME_STYLE is set to long_iso | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Khayyam <cselkirk> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=133489 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch to set TIME_STYLE in mdate-sh
sys-process/time-1.7-r2.ebuild |
Created attachment 370632 [details]
sys-process/time-1.7-r2.ebuild
(In reply to Khayyam from comment #0) > To test the above: > > export TIME_STYLE="iso-long" ; emerge sys-process/time sorry, correction: export TIME_STYLE="long-iso" ; emerge sys-process/time should be fixed in autotools.eclass: http://sources.gentoo.org/eclass/autotools.eclass?r1=1.159&r2=1.160 (In reply to SpanKY from comment #3) > should be fixed in autotools.eclass: Indeed, that seems to have fixed it. Thanks. |
Created attachment 370630 [details, diff] patch to set TIME_STYLE in mdate-sh If TIME_STYLE is set (in my case to 'iso-long') the emerge of sys-process/time will hang when attempting to run '$(SHELL) ./mdate-sh time.texi' this is because the mdate.sh script expects to output a string (ie 'january'), but in the case of 'iso-long' it will output a numerical value and not the expected string. With the string not forthcoming the mdate-sh process hangs indefinitely and the emerge never completes. To test the above: export TIME_STYLE="iso-long" ; emerge sys-process/time Attatched is a bumped ebuild and patch which sets TIME_STYLE to 'locale' and so corrects the issue.