Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585124 - games-board/pysolfc-2.0-r3 fail when default python is set to python-3.4
Summary: games-board/pysolfc-2.0-r3 fail when default python is set to python-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-05 23:20 UTC by Tomasz Golinski
Modified: 2019-07-29 22:24 UTC (History)
0 users

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


Attachments
build.log (build.log.gz,157.58 KB, application/x-gzip)
2016-06-08 21:34 UTC, Tomasz Golinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Golinski 2016-06-05 23:20:28 UTC
Pysolfc installs only Python-2.7 files and it fails when default python interpreter is not 2.7:

pysol.py 
Traceback (most recent call last):
  File "/usr/bin/pysol.py", line 25, in <module>
    from pysollib.init import init
ImportError: No module named 'pysollib'


Running it via "python2.7 `which pysol.py`" works fine, even though it complains a bit:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pysollib/winsystems/common.py", line 43, in init_tile
    top.tk.eval('package require ttk::theme::'+t)
TclError: can't find package ttk::theme::blue
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2016-06-08 20:58:47 UTC
missing emerge --info and log of emerge.  Please attach.
Comment 2 Tomasz Golinski 2016-06-08 21:34:03 UTC
Created attachment 436912 [details]
build.log

emerge --info
Portage 2.2.28 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.22-r4, 4.5.0-gentoo x86_64)
=================================================================
System uname: Linux-4.5.0-gentoo-x86_64-AMD_Athlon-tm-_X4_750K_Quad_Core_Processor-with-gentoo-2.2
KiB Mem:    16363204 total,   7584484 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 07 Jun 2016 13:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.6.3::gentoo, 4.7.3-r1::gentoo, 4.8.5::gentoo, 4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

Local
    location: /usr/portage/local
    masters: gentoo
    priority: 0

gamerlay
    location: /usr/portage/local/layman/gamerlay
    masters: gentoo
    priority: 1

sunrise
    location: /usr/portage/local/layman/sunrise
    masters: gentoo
    priority: 2

x11
    location: /usr/portage/local/layman/x11
    masters: gentoo
    priority: 3

Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/init.d /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/xdg"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.vectranet.pl/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -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 a52 aac acoustid acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib cups cxx dbus dri dts dvd dvdr emboss emeral encode exif firefox flac fortran gdbm gif gimp glamor gpm gtk gtk3 iconv icu jpeg kpathsea lcms libnotify mad mmx mmxext mng mobi modules mp3 mp4 mpeg multilib musepack musicbrainz ncurses nls nptl offensive ogg opencl opengl openmp opus pam pango pcre pdf png policykit postscript ppds qt3support qt4 qt5 readline sane scanner sdl seccomp session smp spell sse sse2 sse3 sse4a ssl ssse3 startup-notification svg system-cairo system-icu system-jpeg system-libvpx system-sqlite tcpd tetex threads tiff truetype udev udisks unicode usb userlocales vaapi vdpau vorbis webp wxwidgets x264 xcb xft xml xmp xv xvid zlib" ABI_X86="64" ALSA_CARDS="intel8x0 emu10k1 virtuoso" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="serial" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2016-06-08 22:56:58 UTC
what does `which pysol.py` return?
Comment 4 Tomasz Golinski 2016-06-08 23:15:09 UTC
Ah, it returns /usr/bin/pysol.py. It's apparently some file orphaned by portage back from 2007. I don't know why it wasn't removed while updating. After removing this file, problem disappears (although it still complains about ttk::theme::blue). Thanks.
Comment 5 Larry the Git Cow gentoo-dev 2019-07-29 22:24:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a0eaa29b442c711d3a666375188713f8ac2c969

commit 2a0eaa29b442c711d3a666375188713f8ac2c969
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2019-07-29 22:23:18 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2019-07-29 22:24:07 +0000

    games-board/pysolfc: Drop all old versions
    
    Closes: https://bugs.gentoo.org/585124
    Closes: https://bugs.gentoo.org/656194
    Closes: https://bugs.gentoo.org/666670
    Closes: https://bugs.gentoo.org/670046
    Closes: https://bugs.gentoo.org/671836
    Package-Manager: Portage-2.3.69, Repoman-2.3.13
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-board/pysolfc/Manifest                       |  4 --
 .../pysolfc/files/pysolfc-PIL-imports.patch        | 49 ---------------
 games-board/pysolfc/files/pysolfc-pillow-6.patch   | 20 -------
 games-board/pysolfc/pysolfc-2.0-r5.ebuild          | 64 --------------------
 games-board/pysolfc/pysolfc-2.2.0.ebuild           | 69 ---------------------
 games-board/pysolfc/pysolfc-2.4.0-r1.ebuild        | 69 ---------------------
 games-board/pysolfc/pysolfc-2.6.2.ebuild           | 70 ----------------------
 7 files changed, 345 deletions(-)