| Summary: | ca-certificates have non ascii characters in filenames which causes toaster to be unhappy | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Toaster | Reporter: | brian avery <brian.avery> | ||||
| Component: | toaster | Assignee: | Joshua Lock <joshuagloe> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Mihail Stanciu <stanciux.mihail> | ||||
| Severity: | normal | ||||||
| Priority: | Medium | CC: | alexandru.costinx.roman, belen.barros.pena, jessica.zhang, joshuagloe, michael.g.wood, stanciux.mihail | ||||
| Version: | 2.1 | ||||||
| Target Milestone: | 2.1 M4 | ||||||
| Hardware: | x86 | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | |||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |||||
| Attachments: |
|
||||||
|
Description
brian avery
2016-02-19 05:20:54 UTC
I've been able to reproduce this, I'm afraid, by building a core-image-sato image with toaster-next (cf1cebf59f5bb00f92401d29e3ab8490fdd32d57). I've attached the build log. Created attachment 3021 [details]
toaster_ui.log
I can't see the error in the log if I build only ca-certificates The exception is thrown during handling of the ImagePkgList MetadataEvent, so not triggering during build of the single recipe does make sense. I was able to work around this by converting the paths in ORMWrapper's save_target_file_information() method to instances of the unicode type. I'm going to propose a patch which does so for inclusion in the 2.1 timeframe. For the next release we should probably look at better supporting unicode in Toaster. This should be made much easier if the proposal to switch BitBake to Python 3 goes ahead. Workaround merged to bitbake: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7a309d964a86f3474eaab7df6d438ed797f935c0 I've filed https://bugzilla.yoctoproject.org/show_bug.cgi?id=9395 to track better supporting unicode in Toaster. Verified on master. |