`emerge --info package_name` outputs package USE flags after the phrase 'package_name was built with the following:' which is neat and shown properly when emerge prints its output to terminal. However, if one redirects this output to the file like this: `emerge --info package_name > info` and then opens this file with text editor the output will differ. Now USEs are put before the 'package_name was built with the following:'. Reproducible: Always Steps to Reproduce: 1. run `emerge --info portage > info` 2. open this 'info' file in your favourite text editor 3. see that USE flags are misplaced Actual Results: (copypasted from file) ================================================================= Package Settings ================================================================= USE="(ipc) (multilib) python3 -build -doc -epydoc (-pypy2_0) -python2 (-selinux) -xattr" ABI_X86="64" LINGUAS="ru -pl" PYTHON_TARGETS="python2_7 python3_2 -pypy1_9 (-pypy2_0) -python2_6 -python3_1 -python3_3 -python3_4" sys-apps/portage-2.1.12.2 was built with the following: Expected Results: (copypasted from terminal output) ================================================================= Package Settings ================================================================= sys-apps/portage-2.1.12.2 was built with the following: USE="(ipc) (multilib) python3 -build -doc -epydoc (-pypy2_0) -python2 (-selinux) -xattr" ABI_X86="64" LINGUAS="ru -pl" PYTHON_TARGETS="python2_7 python3_2 -pypy1_9 (-pypy2_0) -python2_6 -python3_1 -python3_3 -python3_4"
Created attachment 357848 [details] emerge --info portage
This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f029338fd0e9417d7ed7700940b8506134fdb977
(In reply to Zac Medico from comment #2) > This is fixed in git: > > http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit; > h=f029338fd0e9417d7ed7700940b8506134fdb977 Thanks! Looking forward to see it in the new portage version.
This is fixed in 2.2.2.