Ticket #4543 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

[with patch, with positive review] sage -sh fails to start

Reported by: burcin Owned by: burcin
Priority: blocker Milestone: sage-3.2
Component: misc Keywords:
Cc: craigcitro Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description

With 3.2.rc1, I get this:

burcin@karr ~/sage/sage-3.2.rc1 $ ./sage -sh

Starting subshell with Sage environment variables set.
Be sure to exit when you are done and do not do anything
with other copies of Sage!

basename: invalid option -- a
Try `basename --help' for more information.
Exited Sage subshell.

On my system basename does not accept a parameter -a.

burcin@karr ~/sage/sage-3.2.rc1 $ basename --version
basename (GNU coreutils) 6.10
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by FIXME unknown.

This can be fixed by removing the -a parameter on line 375 of the sage-sage script.

Attachments

trac_4543.patch Download (0.6 KB) - added by burcin 22 months ago.

Change History

Changed 22 months ago by burcin

Changed 22 months ago by burcin

  • cc craigcitro added
  • summary changed from sage -sh fails to start to [with patch, needs review] sage -sh fails to start

attachment:trac_4543.patch Download removes the -a parameter from basename in the sage-sage script. This fixes the problem on my system.

Changed 22 months ago by craigcitro

  • summary changed from [with patch, needs review] sage -sh fails to start to [with patch, with positive review] sage -sh fails to start

I don't really know where I got the -a argument -- I think I was copying it from somewhere else. Deleting it seems to work fine on my system, too, and I don't see why we'd need it. Positive review.

Changed 22 months ago by mabshoff

  • status changed from new to closed
  • resolution set to fixed

Merged in Sage 3.2.rc2

Note: See TracTickets for help on using tickets.