Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 682312 - games-roguelike/stone-soup-0.23.0 should depend on dev-python/pyyaml - ModuleNotFoundError: No module named 'yaml'
Summary: games-roguelike/stone-soup-0.23.0 should depend on dev-python/pyyaml - Module...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-02 09:10 UTC by hkBst
Modified: 2019-08-03 20:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.39 KB, text/plain)
2019-06-07 14:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,1.63 KB, text/plain)
2019-06-07 14:19 UTC, Toralf Förster
Details
environment (environment,70.16 KB, text/plain)
2019-06-07 14:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.50 KB, application/x-bzip)
2019-06-07 14:19 UTC, Toralf Förster
Details
games-roguelike:stone-soup-0.23.2:20190607-032554.log (games-roguelike:stone-soup-0.23.2:20190607-032554.log,4.13 KB, text/plain)
2019-06-07 14:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.16 KB, application/x-bzip)
2019-06-07 14:19 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hkBst 2019-04-02 09:10:09 UTC
games-roguelike/stone-soup-0.23.0 failed to build:

make[2]: Entering directory '/var/tmp/portage/games-roguelike/stone-soup-0.23.0/work/stone_soup-0.23.0/source/contrib/lua/src'
Traceback (most recent call last):
  File "util/species-gen.py", line 12, in <module>
    import yaml  # pip install pyyaml
ModuleNotFoundError: No module named 'yaml'
make: *** [Makefile:1622: species-data.h] Error 1
make: *** Waiting for unfinished jobs....

It seems clear it needs pyyaml installed. Will test.
Comment 1 hkBst 2019-04-02 12:02:07 UTC
Tested and indeed pyyaml was needed for a successful install.
Comment 2 Larry the Git Cow gentoo-dev 2019-04-14 02:16:31 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ed64c18186c8a8ac63d9e92ef51914de4a3caa

commit 40ed64c18186c8a8ac63d9e92ef51914de4a3caa
Author:     Erik Mackdanz <stasibear@gentoo.org>
AuthorDate: 2019-04-14 02:16:04 +0000
Commit:     Erik Mackdanz <stasibear@gentoo.org>
CommitDate: 2019-04-14 02:16:04 +0000

    games-roguelike/stone-soup: Bump to 0.23.2, many ebuild updates
    
    - Use system lua (unbundle)
    - Add USE sound
    - Remove broken USE luajit
    - EAPI=7
    - Fix missing pyyaml dep
    - Install man page
    
    Closes: https://bugs.gentoo.org/682312
    Signed-off-by: Erik Mackdanz <stasibear@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.12

 games-roguelike/stone-soup/Manifest                |   1 +
 games-roguelike/stone-soup/metadata.xml            |   4 +
 .../stone-soup/stone-soup-0.23.2.ebuild            | 147 +++++++++++++++++++++
 3 files changed, 152 insertions(+)
Comment 3 Erik Mackdanz gentoo-dev 2019-04-14 02:18:13 UTC
Thanks for catching this and reporting it.  The issue is fixed in the 0.23.2 release
Comment 4 hkBst 2019-04-16 08:02:03 UTC
0.23.2 does not compile for me due to bug 682964 (calling dev-python/pyyaml in an insecure manner).
Comment 5 Toralf Förster gentoo-dev 2019-06-07 14:19:33 UTC
it is still an issue at unstable amd64 tinderbox image 17.1-desktop-plasma_test_20190531-023321
Comment 6 Toralf Förster gentoo-dev 2019-06-07 14:19:35 UTC
Created attachment 579074 [details]
emerge-info.txt
Comment 7 Toralf Förster gentoo-dev 2019-06-07 14:19:38 UTC
Created attachment 579076 [details]
emerge-history.txt
Comment 8 Toralf Förster gentoo-dev 2019-06-07 14:19:41 UTC
Created attachment 579078 [details]
environment
Comment 9 Toralf Förster gentoo-dev 2019-06-07 14:19:44 UTC
Created attachment 579080 [details]
etc.portage.tbz2
Comment 10 Toralf Förster gentoo-dev 2019-06-07 14:19:46 UTC
Created attachment 579082 [details]
games-roguelike:stone-soup-0.23.2:20190607-032554.log
Comment 11 Toralf Förster gentoo-dev 2019-06-07 14:19:49 UTC
Created attachment 579084 [details]
logs.tbz2
Comment 12 hkBst 2019-07-15 07:21:58 UTC
Not sure what changed, but 0.23.2 seems to have been successfully installed about two months ago.

$ emerge --info stone-soup
Portage 2.3.69 (python 3.7.3-final-0, default/linux/amd64/17.0/no-multilib, gcc-8.3.0, glibc-2.29-r2, 4.14.133-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.133-gentoo-x86_64-Intel-R-_Core-TM-_i5-6200U_CPU_@_2.30GHz-with-gentoo-2.6
KiB Mem:     8045584 total,   4597192 free
KiB Swap:   16123900 total,  16123900 free
Timestamp of repository gentoo: Sun, 14 Jul 2019 06:00:01 +0000
Head commit of repository gentoo: b2274ff2ecdb855c4f3178d1fb94aebb4bc8bd14
sh bash 5.0_p7
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          5.0_p7::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.8::gentoo, 3.7.3::gentoo
dev-util/cmake:           3.14.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="nl_NL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 berkdb bindist bzip2 cairo cjk cli consolekit crypt cxx dbus dri egl emacs flac fontconfig fortran gdbm gif gles gles2 gnutls gpm gtk iconv icu ipv6 jpeg jpeg2k lapack libressl libtirpc midi mp3 ncurses networkmanager nls nptl nss ogg opengl openmp otr pam pcre pdf png policykit postscript pulseaudio qml readline seccomp sqlite ssl startup-notification svg tcpd tiff tk truetype udev udisks unicode vorbis vulkan wav wayland webp xattr xcb xft xpm xscreensaver zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" L10N="en nl de fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965" XFCE_PLUGINS="brightness clock multiload-nandhp power trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

games-roguelike/stone-soup-0.23.2::gentoo was built with the following:
USE="ncurses tiles -debug -sound -test"
FEATURES="ebuild-locks preserve-libs ipc-sandbox binpkg-docompress parallel-fetch pid-sandbox config-protect-if-modified protect-owned usersync strict fixlafiles unknown-features-warn userpriv assume-digests sfperms userfetch sandbox network-sandbox merge-sync xattr usersandbox binpkg-dostrip distlocks unmerge-logs unmerge-orphans multilib-strict news binpkg-logs"
Comment 13 Stefan Strogin gentoo-dev 2019-08-01 10:40:08 UTC
Toralf, there is an error in your emerge-history.txt log.

Are you sure pyyaml was installed? Could you try to reproduce it once more?
Comment 14 Toralf Förster gentoo-dev 2019-08-03 20:46:54 UTC
mark as test-request till it can be reproduced again