Summary: | dev-python/sip: restore old to fix sci-geosciences/qgis-9999 build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | José de Paula Rodrigues <espinafre> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | andrewammerlaan, dennis.lissov, espinafre, kalin, sam, sci-geosciences |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=856658 https://bugs.gentoo.org/show_bug.cgi?id=850787 https://bugs.gentoo.org/show_bug.cgi?id=859811 https://bugs.gentoo.org/show_bug.cgi?id=877835 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Fixes AttributeError: 'ScopedName' object has no attribute 'replace' |
Description
José de Paula Rodrigues
2022-07-19 22:53:59 UTC
Also neither qgis-3.22.8 nor qgis-3.22.9 build :-/ I also tried to create sip-6.2.2 but qgis could NOT be built as well (cannot find sipconfig). The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4f5189ffc8e87e3c17c4a4c60a899ae83b8b81 commit fb4f5189ffc8e87e3c17c4a4c60a899ae83b8b81 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-24 17:05:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-24 17:05:59 +0000 dev-python/sip: add 6.6.2 Bug: https://bugs.gentoo.org/823005 Closes: https://bugs.gentoo.org/856658 Closes: https://bugs.gentoo.org/851840 Bug: https://bugs.gentoo.org/859415 Signed-off-by: Sam James <sam@gentoo.org> dev-python/sip/Manifest | 1 + dev-python/sip/sip-6.6.2.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) Well, qgis-9999 still doesn't build against sip-6.6.2 as of 2022-08-11T20:00Z. However, there is an upstream QGIS report ( https://github.com/qgis/QGIS/issues/49214#issuecomment-1173202558 ) that indicates that the issue should be fixed with sip-6.6.3 (still unreleased). A related QGIS report mentions the sip commit which should fix the issue, and land on their upcoming sip-6.6.3 release ( https://riverbankcomputing.com/hg/sip/diff/323d39a2d602/sipbuild/generator/parser/instantiations.py ). I've downloaded that diff as a patch to a file named /etc/portage/patches/dev-python/sip-6.6.2/fix_proto.patch and rebuilt sip 6.6.2 and qgis-9999 (mine is tailored to have >=dev-python/sip-6.6.2 as a dependency; it is the only difference from the Gentoo qgis-9999 ebuild). Success, qgis-9999 (again, as of 2022-08-11T20:00Z) builds and runs like a champ. The patch applies cleanly, and there seems to be no side effects. Also, qgis-3.22.9 builds and runs cleanly even with the patched sip-6.6.2, so we could either make the patch against sip-6.6.2 "official" or wait for sip-6.6.3, which should contain this fix, and drop once and for all the need for sip versions older than 6.6 for all qgis versions. Created attachment 799341 [details, diff]
Fixes AttributeError: 'ScopedName' object has no attribute 'replace'
Patches cleanly against sip-6.6.2
Instead of re-adding the old version, we should bump sip to 6.7.* |