Summary: | app-text/calibre-5.6.0 emerge fails at install stage | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | FlyingWaffle <flyingwaffle> |
Component: | Current packages | Assignee: | Ian Stakenvicius (RETIRED) <axs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | flyingwaffle, jstein, zmedico |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge info
build.log |
Created attachment 677083 [details]
build.log
In translations.py there's a format string that uses syntax which is apparently not supported by python3.7. Test case: $ python3.8 -c 'slug = "foo"; print(f"{slug=}")' slug='foo' $ python3.7 -c 'slug = "foo"; print(f"{slug=}")' File "<fstring>", line 1 (slug=) ^ SyntaxError: invalid syntax In src/calibre/utils/formatter.py it's also using the walrus := operator which is new in python3.8. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cdcc33e0836d87f15073935a5268da1d27d4ac5 commit 0cdcc33e0836d87f15073935a5268da1d27d4ac5 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-12-06 20:50:27 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-12-06 20:51:12 +0000 app-text/calibre: 5.6.0 requires at least python3.8 Closes: https://bugs.gentoo.org/758812 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-text/calibre/calibre-5.6.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |
Created attachment 677080 [details] emerge info The latest version of Calibre fails emerging at the install phase. Emerge info and build.log are attached.