Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493694 - dev-scheme/tinyscheme - tinyscheme: Could not open file init.scm
Summary: dev-scheme/tinyscheme - tinyscheme: Could not open file init.scm
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-08 20:05 UTC by Robbert
Modified: 2013-12-11 13:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robbert 2013-12-08 20:05:27 UTC
When loading tinyscheme for the first time after emerging I get the message "Could not open file init.scm"

i.e.:
robbert /  $ tinyscheme 
Could not open file init.scm
TinyScheme 1.39
ts> 


This does not happen when I am in the directory /usr/share/tinyscheme (where the init.scm is).

i.e:
robbert /usr/share/tinyscheme  $ tinyscheme 
TinyScheme 1.39
ts> 


I believe the tinyscheme excecutable wants to have the init.scm in the same directory, which is not the case at the moment.

It is also strange that I installed tinyscheme 1.40 but on runtime it states 1.39.
Comment 1 Panagiotis Christopoulos (RETIRED) gentoo-dev 2013-12-09 14:08:34 UTC
True, I'll try make an ebuild for 1.41.
Comment 2 Panagiotis Christopoulos (RETIRED) gentoo-dev 2013-12-09 15:44:30 UTC
Well, I just saw the logic inside the 1.40 ebuild and if you execute an "env-update && source /etc/profile && source ~/.bashrc" after emerging the package, you will get a TINYSCHEMEINIT=/usr/share/tinyscheme/init.scm in your environment and won't have the issue with "Could not open file init.scm". I'll leave this open for the moment.
Comment 3 Panagiotis Christopoulos (RETIRED) gentoo-dev 2013-12-11 13:41:57 UTC
*tinyscheme-1.41 (11 Dec 2013)

  11 Dec 2013; Panagiotis Christopoulos <pchrist@gentoo.org>
  +tinyscheme-1.41.ebuild, +files/tinyscheme-1.41-makefile.patch:
  Bump to 1.41 contains various fixes for bug #334649, bug #455294, bug
  #455296, bug #455298, bug #455300 and bug #493694, thanks to Agostino Sarubbo
  (ago at gentoo dot org) for reporting the QA issues. Special thanks to
  Michael Mair-Keimberger (iamnr3) who made the patches in bug #455296. Prefix
  (darwin) keywords dropped cause logic inside the ebuild has changed and the
  ebuild needs rekeywording.

I bumped tinyscheme to 1.41. I'm closing this now, remember to start a new shell or source /etc/profile after emerging tinyscheme, and the init file will be loaded. If you still have issues please reopen. Thank you for your report.