Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656194 - games-board/pysolfc-2.2.0 fails at build because module "pysollib" not found
Summary: games-board/pysolfc-2.2.0 fails at build because module "pysollib" not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-20 22:05 UTC by jorgicio
Modified: 2019-07-29 22:24 UTC (History)
4 users (show)

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


Attachments
The log (pysolfc-2.2.0.log,72.77 KB, text/x-log)
2018-05-20 22:06 UTC, jorgicio
Details
pysol 2.2.0 ebuild logs, tarballed (pysolfc220errors.tar.bz,34.82 KB, application/x-bzip)
2018-05-21 05:38 UTC, Radu
Details
diff to the current ebuid (ebuild.diff,1.31 KB, patch)
2018-05-24 20:49 UTC, Michelangelo Scopelliti
Details | Diff
working ebuild (pysolfc-2.2.0.ebuild,1.70 KB, text/plain)
2018-05-24 20:50 UTC, Michelangelo Scopelliti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2018-05-20 22:05:53 UTC
Hi!

Version 2.2.0 of pysolfc is bumped and this happens when it tries to build it:

(...)

running build_scripts
creating /var/tmp/portage/games-board/pysolfc-2.2.0/work/PySolFC-pysolfc-2.2.0-python3_5/scripts
copying and adjusting pysol.py -> /var/tmp/portage/games-board/pysolfc-2.2.0/work/PySolFC-pysolfc-2.2.0-python3_5/scripts
changing mode of /var/tmp/portage/games-board/pysolfc-2.2.0/work/PySolFC-pysolfc-2.2.0-python3_5/scripts/pysol.py from 644 to 755
 * python3_5: running distutils-r1_run_phase python_compile_all
Traceback (most recent call last):
  File "gen-html.py", line 6, in <module>
    from pysollib.mygettext import fix_gettext
ImportError: No module named 'pysollib'
 * ERROR: games-board/pysolfc-2.2.0::gentoo failed (compile phase):
 *   gen-html failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 3606:  Called distutils-r1_src_compile
 *   environment, line  897:  Called _distutils-r1_run_common_phase 'python_compile_all'
 *   environment, line  337:  Called multibuild_foreach_variant 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 2312:  Called _multibuild_run 'distutils-r1_run_phase' 'python_compile_all'
 *   environment, line 2310:  Called distutils-r1_run_phase 'python_compile_all'
 *   environment, line  885:  Called python_compile_all
 *   environment, line 2729:  Called die
 * The specific snippet of code:
 *       PYTHONPATH=../pysollib "${EPYTHON}" gen-html.py || die "gen-html failed";
 * 
 * If you need support, post the output of `emerge --info '=games-board/pysolfc-2.2.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=games-board/pysolfc-2.2.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/games-board/pysolfc-2.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-board/pysolfc-2.2.0/temp/environment'.
 * Working directory: '/var/tmp/portage/games-board/pysolfc-2.2.0/work/PySolFC-pysolfc-2.2.0/html-src'
 * S: '/var/tmp/portage/games-board/pysolfc-2.2.0/work/PySolFC-pysolfc-2.2.0'

I'll attach the log then.

Thanks.

Reproducible: Always
Comment 1 jorgicio 2018-05-20 22:06:29 UTC
Created attachment 532406 [details]
The log
Comment 2 Radu 2018-05-21 05:38:30 UTC
Created attachment 532412 [details]
pysol 2.2.0 ebuild logs, tarballed
Comment 3 Radu 2018-05-21 05:39:30 UTC
This bug affects me too, I've attached my own logs. Also, this bug is simmilar to the bug #616516.
Comment 4 Radu 2018-05-21 05:41:16 UTC
Sorry I meant: bug #646516
Comment 5 Michelangelo Scopelliti 2018-05-24 20:49:36 UTC
Created attachment 533076 [details, diff]
diff to the current ebuid

I've written an working ebuild (diff attached).
The issue id in PYTHONPATH definition; '..' is sufficient.
There is another problem, though: pysolfc-2.2.0 does not include any cardset; thus, extra-cardset has to be forces (see diff)
Comment 6 Michelangelo Scopelliti 2018-05-24 20:50:54 UTC
Created attachment 533078 [details]
working ebuild

This ebuild works for me
Comment 7 Radu 2018-05-26 14:16:25 UTC
attachment 533078 [details] works for me too! A big Thank You for Michelangelo Scopelliti !
Comment 8 Larry the Git Cow gentoo-dev 2019-07-29 22:24:30 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(-)