Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645490 - sys-apps/portage: portage.util.apply_permissions: BytesWarning: str() on a bytes instance
Summary: sys-apps/portage: portage.util.apply_permissions: BytesWarning: str() on a by...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-23 18:13 UTC by William L. Thomson Jr.
Modified: 2018-12-05 21:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William L. Thomson Jr. 2018-01-23 18:13:50 UTC
Portage 2.3.19, I cannot explain the following. I get it at times when working with packages. No clue what it means.

>>> Creating Manifest for /usr/portage/local/os-xtoo/www-servers/tomcat
/usr/lib64/python3.5/site-packages/portage/util/__init__.py:1100: BytesWarning: str() on a bytes instance
  func_call = "chown('%s', %i, %i)" % (filename, uid, gid)


There is never any problem with the merge, just spits out that message.
Comment 1 Zac Medico gentoo-dev 2018-12-05 21:38:00 UTC
Reported-by: Martin Väth <martin@mvath.de>

> Performing Global Updates
> (Could take a couple of minutes if you have a lot of binary packages.)
>   .='update pass'  *='binary update'  #='/var/db update'  @='/var/db move'
>   s='/var/db SLOT move'  %='binary move'  S='binary SLOT move'
>   p='update /etc/portage/package.*'
> /var/portage/repos/qt/profiles/updates/3Q-2018.
> /var/portage/repos/kde/profiles/updates/4Q-2018.
> /var/portage/repos/gentoo/profiles/updates/1Q-2015.............................................................
> /var/portage/repos/gentoo/profiles/updates/2Q-2015....................................................................................................................................................................
> /var/portage/repos/gentoo/profiles/updates/3Q-2015......................
> /var/portage/repos/gentoo/profiles/updates/4Q-2015................................
> /var/portage/repos/gentoo/profiles/updates/1Q-2016............................................
> /var/portage/repos/gentoo/profiles/updates/2Q-2016............................................................
> /var/portage/repos/gentoo/profiles/updates/3Q-2016.........................
> /var/portage/repos/gentoo/profiles/updates/4Q-2016...............................
> /var/portage/repos/gentoo/profiles/updates/1Q-2017..................................
> /var/portage/repos/gentoo/profiles/updates/2Q-2017....
> /var/portage/repos/gentoo/profiles/updates/3Q-2017.........................
> /var/portage/repos/gentoo/profiles/updates/4Q-2017.......
> /var/portage/repos/gentoo/profiles/updates/1Q-2018.......................
> /var/portage/repos/gentoo/profiles/updates/2Q-2018...................
> /var/portage/repos/gentoo/profiles/updates/3Q-2018...
> /var/portage/repos/gentoo/profiles/updates/4Q-2018......
> /usr/lib64/python3.5/site-packages/portage/util/__init__.py:1100: BytesWarning: str() on a bytes instance
>   func_call = "chown('%s', %i, %i)" % (filename, uid, gid)
> Permission denied: 'chown('b'/var/portage/packages/Packages.31941'', 0, 250)'