Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 81176
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Ripton <dripton@ripton.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 81176 depends on: Show dependency tree
Bug 81176 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-02-07 16:18 0000

    

------- Comment #1 From David Ripton 2005-02-07 16:42:37 0000 -------
The games-board/pysol-4.82 ebuild fails if Python 2.4 is installed.  This is a
packaging problem, not an actual compatibility problem; if one installs PySol
from source it works fine with 2.4.

"emerge pysol" works fine, but then:

$ pysol
/usr/bin/pysol: could not find the file 'pysol_24.pyc' !

The problem is that it installs only .pyc files (which are not portable across
Python versions) instead of .py files.  And no .pyc file for 2.4 is installed:

$ qpkg -l -nc pysol |grep "\.py"
/usr/share/pysol/4.82/pysol_15.pyc
/usr/share/pysol/4.82/pysol_16.pyc
/usr/share/pysol/4.82/pysol_20.pyc
/usr/share/pysol/4.82/pysol_21.pyc
/usr/share/pysol/4.82/pysol_22.pyc
/usr/share/pysol/4.82/pysol_23.pyc

This is a classic binaries-are-brittle problem.  IMO the ebuild should
distribute the .py files and build the .pyc files dynamically on install, as is
done with other Python ebuilds, and 99% of other Gentoo ebuilds.

------- Comment #2 From Patrick Fourniols 2005-06-09 02:05:45 0000 -------
a workaround is to unpack somewhere pysol-4.82-src.tar.bz2 and to run:
python <somewhere>/pysol-4.82/src/pysol.py if you want like me play absolutly a
bit ;)
pysol must be merged ;)

------- Comment #3 From SpanKY 2005-06-23 18:03:34 0000 -------
4.82-r1 now installs with the source code

------- Comment #4 From David Ripton 2005-06-24 05:44:10 0000 -------
Confirm that it now installs correctly.  But I had permission problems that
prevented non-root users in the games group from playing.  

A manual "chgrp -R games /usr/games/lib/pysol" fixed the problem -- some files
had group permissions, but the group was "root" rather than "games".

Once I did that, it was playable with Python 2.4.1.  Thanks.

------- Comment #5 From SpanKY 2005-06-24 06:36:41 0000 -------
oops, forgot the prepgamesdirs ... thanks for the feedback

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug