plugin_info.plugin_object.set_site(self) File "/var/tmp/portage/www-apps/nikola-8.2.3-r2/work/Nikola-8.2.3-python3_11/install/usr/lib/python3.11/site-packages/nikola/plugin_categories.py", line 70, in set_site self.inject_templates() File "/var/tmp/portage/www-apps/nikola-8.2.3-r2/work/Nikola-8.2.3-python3_11/install/usr/lib/python3.11/site-packages/nikola/plugin_categories.py", line 79, in inject_templates mod_path = sys.modules[self.__class__.__module__].__file__ ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ KeyError: 'scan_posts' * ERROR: www-apps/nikola-8.2.3-r2::gentoo failed (compile phase): * (no error message) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-20231031-113534 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.4 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.4 Python 3.11.6 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.73.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): [1] php8.1 [2] php8.2 * go version go1.21.3 linux/amd64 HEAD of ::gentoo commit f0f86fdafceefd6988ec32a8c153821719966423 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Nov 4 22:16:58 2023 +0000 2023-11-04 22:16:58 UTC emerge -qpvO www-apps/nikola [ebuild N ] www-apps/nikola-8.2.3-r2 PYTHON_TARGETS="python3_11 -python3_10"
Created attachment 874085 [details] emerge-info.txt
Created attachment 874086 [details] emerge-history.txt.xz
Created attachment 874087 [details] environment
Created attachment 874088 [details] etc.clang.tar.xz
Created attachment 874089 [details] etc.portage.tar.xz
Created attachment 874090 [details] qlist-info.txt.xz
Created attachment 874091 [details] temp.tar.xz
Created attachment 874092 [details] www-apps:nikola-8.2.3-r2:20231104-230506.log.xz
Is this still an issue in 8.2.4?
(In reply to Ulrich Müller from comment #9) > Is this still an issue in 8.2.4? yes
Ran into this also today and found a related issue upstream at… https://github.com/getnikola/nikola/issues/3700 …as well as a merged post-8.2.4 pull request… https://github.com/getnikola/nikola/pull/3701 . We may need some form of backport or a new release from upstream for a fix I suppose.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=876398edc86a7c72569a36b3f972219a9c34a11d commit 876398edc86a7c72569a36b3f972219a9c34a11d Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2023-11-05 13:43:10 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2023-11-05 13:45:42 +0000 www-apps/nikola: Fix loading of plugins Bug: https://bugs.gentoo.org/916872 Signed-off-by: Ulrich Müller <ulm@gentoo.org> www-apps/nikola/files/nikola-8.2.4-yapsy.patch | 45 ++++++++++++++++++++++++++ www-apps/nikola/nikola-8.2.4.ebuild | 2 ++ 2 files changed, 47 insertions(+)
(In reply to Sebastian Pipping from comment #11) > Ran into this also today and found a related issue upstream at… > > https://github.com/getnikola/nikola/issues/3700 > > …as well as a merged post-8.2.4 pull request… > > https://github.com/getnikola/nikola/pull/3701 . > > We may need some form of backport or a new release from upstream for a fix I > suppose. I've added that commit as a patch to 8.2.4 (without revbump). Please test if this has fixed the problem, because I cannot reproduce it.
(In reply to Ulrich Müller from comment #13) > (In reply to Sebastian Pipping from comment #11) > > Ran into this also today and found a related issue upstream at… > > > > https://github.com/getnikola/nikola/issues/3700 > > > > …as well as a merged post-8.2.4 pull request… > > > > https://github.com/getnikola/nikola/pull/3701 . > > > > We may need some form of backport or a new release from upstream for a fix I > > suppose. > > I've added that commit as a patch to 8.2.4 (without revbump). > Why? If it changed, you should revbump even if it doesn't fix the issue. Also, it's extremely cheap to rebuild anyway.
(In reply to Sam James from comment #14) > > I've added that commit as a patch to 8.2.4 (without revbump). > > Why? If it changed, you should revbump even if it doesn't fix the issue. It is a build-time problem. Also, the hope is that the patch does fix the build failure.
Oh, sorry, for some reason I assumed it wasn't (I jumped to sping's comment). Plugins normally lead to runtime problems.
That said: I remember why I commented now. It looked like it might well be broken at runtime given plugins even if it doesn't build anymore now (if you already had it installed, then upgrade yapsy)?
I just verified that this change /does/ affect "nikola build" i.e. runtime behavior so I'll dare add the missing revbump a la git mv nikola-8.2.4.ebuild nikola-8.2.4-r1.ebuild Commit upcoming in a second… Thanks to ulm for the backport!
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4297ba38c8b460b95fc7360223f4621ced8696a2 commit 4297ba38c8b460b95fc7360223f4621ced8696a2 Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2023-11-05 14:15:51 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2023-11-05 14:15:51 +0000 www-apps/nikola: Add missing revbump Bug: https://bugs.gentoo.org/916872 Signed-off-by: Sebastian Pipping <sping@gentoo.org> www-apps/nikola/{nikola-8.2.4.ebuild => nikola-8.2.4-r1.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-)