Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785460 - sys-apps/portage: unit test failures and errors when source directory and TMPDIR contain non-UTF8 characters
Summary: sys-apps/portage: unit test failures and errors when source directory and TMP...
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-24 21:38 UTC by Zac Medico
Modified: 2021-04-24 23:38 UTC (History)
1 user (show)

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


Attachments
Log of test failures with current master branch at e974bf337cc427283be3e10e986151cba281a023 (portage-tests-non-utf8-e974bf337cc427283be3e10e986151cba281a023.log.xz,12.37 KB, application/x-xz)
2021-04-24 21:41 UTC, Zac Medico
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2021-04-24 21:38:04 UTC
Locally, I used printf "\\xa9" to generate a non-utf8 character, and I tested with sources in /tmp/portage�-not-utf8 and with TMPDIR=/tmp/tmpdir�-not-utf8 (I can copy and paste the non-UTF8 character in xfce4-terminal). I use these these steps to run the tests:

> $ git worktree add /tmp/portage�-not-utf8 HEAD
> $ cd /tmp/portage�-not-utf8 HEAD
> $ export TMPDIR=/tmp/tmpdir�-not-utf8
> $ lib/portage/tests/runTests.py
Comment 1 Zac Medico gentoo-dev 2021-04-24 21:41:05 UTC
Created attachment 702270 [details]
Log of test failures with current master branch at e974bf337cc427283be3e10e986151cba281a023