Created attachment 274149 [details] emerge --info After a successful installation of python, I see the following message. It appears that I'm supposed to be told some particular, ebuild-generated options to pass to python-updater but that this helpful information is lost by over-escaping: The following is a snippet of the dev-lang/python-2.7.1-r1 installation: `` * * ************************************************************************ * * You have just upgraded from an older version of Python. * You should run 'python-updater ${options}' to rebuild Python modules. * * ************************************************************************ * '' I saw this also on my non-prefix system, but I'm attaching the emerge --info from my prefix where I last saw this. If it is intended for the user to come up with his own arguments to pass to python-updater, then a more standard placeholder syntax such as ewarn "You should run 'python-updater <options>' to rebuild Python modules." or just ewarn "You should run 'python-updater' to rebuild Python modules." since the user can be expected to examine python-updater --help if necessary and python-updater should ideally not need any options to be specified by default.
This warning is also present in python-3.2.2 which was recently made stable. Additionally, the ewarn includes control characters, which makes the message ugly in an e-mail ebuild log. Like below: [1;31m************************************************************************[0m You have just upgraded from an older version of Python. You should run 'python-updater ${options}' to rebuild Python modules. [1;31m************************************************************************[0m
The message is correct. ${options} means that users can pass additional options.
I disagree. ${options} means expanding the "options" environment variable. Something like <options> or [options] would mean that users can pass additional options.
Fixed in python-2.7.3, hitting the tree shortly.