View previous topic :: View next topic |
Author |
Message |
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Wed Jan 22, 2014 9:15 pm Post subject: Be careful with the last portage-9999 build it makes sepuku |
|
|
After the last update of portage-9999 the result of emerge command is:
Code: |
Traceback (most recent call last):
File "/usr/bin/emerge", line 50, in <module>
retval = emerge_main()
File "/usr/lib64/portage/pym/_emerge/main.py", line 1016, in emerge_main
action=myaction, args=myfiles, opts=myopts)
File "/usr/lib64/portage/pym/portage/proxy/objectproxy.py", line 31, in __call__
return result(*args, **kwargs)
File "/usr/lib64/portage/pym/_emerge/actions.py", line 3232, in load_emerge_config
root_trees["root_config"] = RootConfig(settings, root_trees, setconfig)
File "/usr/lib64/portage/pym/_emerge/RootConfig.py", line 27, in __init__
self.sets = self.setconfig.getSets()
File "/usr/lib64/portage/pym/portage/_sets/__init__.py", line 263, in getSets
self._parse()
File "/usr/lib64/portage/pym/portage/_sets/__init__.py", line 223, in _parse
newsets = setclass.multiBuilder(optdict, self.settings, self.trees)
File "/usr/lib64/portage/pym/portage/_sets/files.py", line 154, in multiBuilder
if d[:1] == '.':
BytesWarning: Comparison between bytes and string |
The solution is : http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..."
Last edited by Kollin on Thu Jan 23, 2014 12:26 am; edited 1 time in total |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Thu Jan 23, 2014 9:49 pm Post subject: |
|
|
You can do `PYTHONWARNINGS=i emerge -1uDN =sys-apps/portage-9999` to upgrade to the version which contains a fix by Arfrever; he is one of the Portage developers, who has also suggested this temporary solution. |
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Sat Jan 25, 2014 12:22 pm Post subject: |
|
|
TomWij wrote: | You can do `PYTHONWARNINGS=i emerge -1uDN =sys-apps/portage-9999` to upgrade to the version which contains a fix by Arfrever; he is one of the Portage developers, who has also suggested this temporary solution. |
Thank you! _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Wed Apr 09, 2014 4:27 pm Post subject: |
|
|
Now every time i run portage (ver sys-apps/portage-2.2.10) i'm getting this:
Code: | emerge -pv gcc
/usr/lib64/portage/pym/portage/_sets/files.py:154: BytesWarning: Comparison between bytes and string
if d[:1] == '.':
|
How can i fix this?
Thank you! _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Wed Apr 09, 2014 5:26 pm Post subject: |
|
|
Seems the same thing as your first post; quite odd, reconsider to switch to either stable or 9999 using the before mentioned PYTHONWARNINGS trick. |
|
Back to top |
|
|
Kollin Veteran
Joined: 25 Feb 2006 Posts: 1139 Location: Sofia/Bulgaria
|
Posted: Wed Apr 09, 2014 5:46 pm Post subject: |
|
|
Thank you! _________________ "Dear Enemy: may the Lord hate you and all your kind, may you be turned orange in hue, and may your head fall off at an awkward moment."
"Linux is like a wigwam - no windows, no gates, apache inside..." |
|
Back to top |
|
|
Chryyz n00b
Joined: 12 Jan 2013 Posts: 2
|
Posted: Wed Jun 04, 2014 12:38 am Post subject: |
|
|
I have been watching this warning show up constantly through several portage updates, and even a world update and system rebuild. The above PYTHONWARNINGS solution does not seem to accomplish anything for me. Any advice on how to proceed? |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Wed Jun 04, 2014 8:56 pm Post subject: |
|
|
According to other Portage developers, this is as intended as warnings were turned on to be able to catch them; please file bugs about them, such that the warnings can be fixed. Thank you very much in advance.
Bug reports can be filed at Gentoo Bugzilla. Read here how to write a bug report, for more in-depth details and troubleshooting steps you can read our Bugzilla HOWTO. |
|
Back to top |
|
|
|