Summary: | sys-power/nut-2.6.2 fails to build if python is python3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexandre Rostovtsev (RETIRED) <tetromino> |
Component: | [OLD] Server | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | david+gentoo.org |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 406099 | ||
Bug Blocks: | 415635 | ||
Attachments: |
whitespace fix
replace the outdated "file" builtin reference and automatically close after reading patch to update ebuild to include these two patches |
Description
Alexandre Rostovtsev (RETIRED)
![]() Created attachment 307089 [details, diff]
whitespace fix
patch #1 fixes the stray ' ' prior to a \t for whitespace correctness
Created attachment 307091 [details, diff]
replace the outdated "file" builtin reference and automatically close after reading
patch #2 replaces "file(...)" with: "with open(...) as f" to deal with the outdated "file" builtin reference and to also close the file descriptor automatically
Created attachment 307093 [details, diff]
patch to update ebuild to include these two patches
patch to update ebuild to include these two patches
Just to notice: this is fixed by update to 2.6.3 here: #406099 :) let's fix this with bug 406099 |