Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461518 - games-engines/renpy-6.14.1-r1 calls "eselect renpy update --if-unset" in pkg_preinst()
Summary: games-engines/renpy-6.14.1-r1 calls "eselect renpy update --if-unset" in pkg_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-12 12:25 UTC by Oliver Freyermuth
Modified: 2013-03-13 16:44 UTC (History)
2 users (show)

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


Attachments
Build+install log of =games-engines:renpy-6.14.1-r1 with the eselect-error (games-engines:renpy-6.14.1-r1:20130312-114730.log,81.68 KB, text/plain)
2013-03-12 12:28 UTC, Oliver Freyermuth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Freyermuth 2013-03-12 12:25:13 UTC
The ebuild of =games-engines/renpy-6.14.1-r1 calls         
  einfo "running: eselect renpy update --if-unset"
  eselect renpy update --if-unset
before the installation-stage, i.e. even on first installation. This of course has to fail as the files are not yet there. Output can be seen in the attached build-log. 
I think moving the line to post-install should be sufficient. As a workaround, calling "eselect renpy update --if-unset" manually after installation works fine, too. 


Reproducible: Always

Steps to Reproduce:
1. Emerge =games-engines/renpy-6.14.1-r1 on a system with no renpy installed before. 
2. Check with eselect renpy list which renpy version is selected. 

Actual Results:  
No renpy-version is selected at all. 

Expected Results:  
Select the new freshly installed renpy-version.
Comment 1 Oliver Freyermuth 2013-03-12 12:28:11 UTC
Created attachment 341798 [details]
Build+install log of =games-engines:renpy-6.14.1-r1 with the eselect-error

Look for the line 
"!!! Error: No targets for //usr/games/bin/renpy, system likely broken."
at begin of install stage.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-13 16:29:16 UTC
Yes, shouldn't that be called in pkg_postinst() instead?
Comment 3 Julian Ospald 2013-03-13 16:44:27 UTC
right, thanks for report, also added it to pkg_postrm

+  13 Mar 2013; Julian Ospald <hasufell@gentoo.org> renpy-6.14.1-r1.ebuild,
+  renpy-6.15.0.ebuild:
+  fix eselect logic wrt #461518


no revbump since I consider this trivial