File "util/species-gen.py", line 12, in <module> import yaml # pip install pyyaml ModuleNotFoundError: No module named 'yaml' make: *** [Makefile:1621: species-data.h] Error 1 * ERROR: games-roguelike/stone-soup-0.23.2::gentoo failed (compile phase): * emake failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-20190823-111827 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) [4] pypy (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.37.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.13.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm repository timestamp: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Wed, 28 Aug 2019 09:48:16 +0000 emerge -qpvO games-roguelike/stone-soup [ebuild N ] games-roguelike/stone-soup-0.23.2 USE="ncurses tiles -debug -sound -test"
Created attachment 588440 [details] emerge-info.txt
Created attachment 588442 [details] emerge-history.txt
Created attachment 588444 [details] environment
Created attachment 588446 [details] etc.portage.tbz2
Created attachment 588448 [details] games-roguelike:stone-soup-0.23.2:20190828-110424.log
Created attachment 588450 [details] logs.tbz2
Same problem here, using inotifywatch I found that python 3.7 and 3.9 run during build, but I have pyyaml without python_targets_python3_9. After rebuilding pyyaml with python 3.7 and 3.9, I was able to build stone-soup. BTW. I got this when I was building stone-soup with dev-lang/lua-5.1.5-r4 with deprecated flag. >cluautil.cc: In function ‘void luaopen_setmeta(lua_State*, const char*, const >luaL_Reg*, const char*)’: >cluautil.cc:55:5: error: ‘luaL_openlib’ was not declared in this scope; did you >mean ‘luaL_openlibs’? > 55 | luaL_openlib(ls, global, lua_lib, 0); > | ^~~~~~~~~~~~ > | luaL_openlibs >cluautil.cc: In function ‘void clua_register_metatable(lua_State*, const char*, >const luaL_Reg*, int (*)(lua_State*))’: >cluautil.cc:81:9: error: ‘luaL_openlib’ was not declared in this scope; did you >mean ‘luaL_openlibs’? > 81 | luaL_openlib(ls, nullptr, lr, 0); > | ^~~~~~~~~~~~ > | luaL_openlibs >make: *** [Makefile:1589: cluautil.o] Error 1
I'm also getting this while trying to build 0.24.0
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17c24c3ffa4c11dcae518c63567e14e9d02da2d commit b17c24c3ffa4c11dcae518c63567e14e9d02da2d Author: Erik Mackdanz <stasibear@gentoo.org> AuthorDate: 2020-11-16 17:35:14 +0000 Commit: Erik Mackdanz <stasibear@gentoo.org> CommitDate: 2020-11-16 17:35:14 +0000 games-roguelike/stone-soup: Properly specify pyyaml dep Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> Closes: https://bugs.gentoo.org/693012 Package-Manager: Portage-3.0.9, Repoman-3.0.2 games-roguelike/stone-soup/stone-soup-0.25.0.ebuild | 10 +++++++--- games-roguelike/stone-soup/stone-soup-0.25.1-r1.ebuild | 6 ++++-- games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild | 12 ++++-------- games-roguelike/stone-soup/stone-soup-0.25.1.ebuild | 6 ++++-- 4 files changed, 19 insertions(+), 15 deletions(-)
Thanks lekto and Rick for the helpful context and for your patience.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7542a3cf9697be8b69c850961d644e6d52954dae commit 7542a3cf9697be8b69c850961d644e6d52954dae Author: Erik Mackdanz <stasibear@gentoo.org> AuthorDate: 2020-12-12 13:51:11 +0000 Commit: Erik Mackdanz <stasibear@gentoo.org> CommitDate: 2020-12-12 13:51:11 +0000 games-roguelike/stone-soup: Correctly use python eclasses for bdeps Had omitted this version in previous fix. Closes: https://bugs.gentoo.org/759583 Closes: https://bugs.gentoo.org/693012 Signed-off-by: Erik Mackdanz <stasibear@gentoo.org> Package-Manager: Portage-3.0.12, Repoman-3.0.2 .../stone-soup/stone-soup-0.25.1-r1.ebuild | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-)