| Summary: | dev-java/javatoolkit-0.6.0 fails with Python3.7 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Helmut Jarausch <jarausch> |
| Component: | Current packages | Assignee: | Java team <java> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | espinafre, joel, jstein |
| Priority: | Normal | Keywords: | PATCH |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
check if the xml file is empty
patch for xml file open in correct mode for py3 |
||
|
Description
Helmut Jarausch
2018-10-02 16:52:03 UTC
Created attachment 549580 [details, diff]
check if the xml file is empty
It turned out that a build.xml file was empty.
The attached patches just skips empty xml-files.
I'm having the same problem, but it isn't because of empty files as addressed by the patch. The issue is that the file should be opened with mode 'wb'. Created attachment 555818 [details, diff]
patch for xml file open in correct mode for py3
Berendzen's patch is sufficient for me. I can confirm it works. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/javatoolkit.git/commit/?id=adf9ed1917ab33ff0db1b9646a7e174c8e3e9184 commit adf9ed1917ab33ff0db1b9646a7e174c8e3e9184 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-10-29 21:20:03 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-10-29 21:20:53 +0000 fix - check if xml file is empty Bug: https://bugs.gentoo.org/667590 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> src/py/build-xml-rewrite | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee82c0047a4661cf61246a6263290de6e8583715 commit ee82c0047a4661cf61246a6263290de6e8583715 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-10-29 21:47:17 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-10-29 21:51:18 +0000 dev-java/javatoolkit-0.6.2: bump Closes: https://bugs.gentoo.org/667590 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> dev-java/javatoolkit/Manifest | 1 + dev-java/javatoolkit/javatoolkit-0.6.2.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) |