heres a snippet from my recent portage upgrade: sleep: invalid time interval `0.1' Try `sleep --help' for more information. sleep: invalid time interval `0.1' Try `sleep --help' for more information. sleep: invalid time interval `0.1' Try `sleep --help' for more information. sleep: invalid time interval `0.1' Try `sleep --help' for more information. sleep: invalid time interval `0.1' Try `sleep --help' for more information. Darkmere root # locale LANG=sv_SE LC_CTYPE="sv_SE" LC_NUMERIC="sv_SE" LC_TIME="sv_SE" LC_COLLATE="sv_SE" LC_MONETARY="sv_SE" LC_MESSAGES=en_GB LC_PAPER="sv_SE" LC_NAME="sv_SE" LC_ADDRESS="sv_SE" LC_TELEPHONE="sv_SE" LC_MEASUREMENT="sv_SE" LC_IDENTIFICATION="sv_SE" LC_ALL= the "," is a separator, the "." is not. Reproducible: Always Steps to Reproduce: Unmask portage .38, emerge portage
sorry, correct version is: sys-apps/portage-2.0.48_pre5
All my preX ebuilds including portage-2.0.48_pre5.ebuild have echo -ne "\a" ; sleep 0.1 ; echo -ne "\a" ; sleep 1 line numbers : 169-173 in the portage-2.0.48_pre5.ebuild since sleep inherits each computers locale to understand notations, all locales where a decimal point is NOT represented with a (.) will give an error. locales can be found at /usr/share/locale/local.alias A trivial fix would be a "sleep 1" instead of a "sleep 0.1"
I have portage-2.0.48_pre6 with French locale and still having the bug.
fixed (or should we better say worked around ?)