On Wed, Mar 31, 2010 at 5:45 AM, David Kirkby <david.kir...@onetel.net> wrote: > On 31 March 2010 01:57, William Stein <wst...@gmail.com> wrote: >> On Tue, Mar 30, 2010 at 4:33 PM, Dr. David Kirkby > >>> Could it be a forward compatibility issue? >>> >>> 1) Sage 4.3.4 contains the latest iconv (1.13.1) >>> >>> 2) Code is Sage tests iconv, finds it's a late version, and makes use of the >>> features in the the latest version. >>> >>> 3) After doing a 'sage -upgrade', iconv 1.13.1 is removed. >>> >>> 4) After 'sage -upgrade' the system supplied iconv is the only iconv package >>> available. Any code which relied on new features in the latest iconv library >>> suddenly breaks, as those features no longer exist. >>> >>> Note, the iconv package I created deletes old copies of itself, as >>> spkg-install contains: >> >> Yes, I'm sure this is the problem. > > I only postulated this. I'm certainly not sure it is the reason, > though I suspect quite strong it is. > >> Thus your iconv package in >> sage-4.3.5 will *break* most sage's version <= 4.3.4 that upgrade... > > No it will not. It will only be version 4.3.4, as that is the only > version which will have installed iconv. The iconv package never > existed in earlier releases.
See sage-support. We already have a report of this happening today. It's happening to hundreds of people probably, at least. > >> Can you make a version of the spkg that doesn't delete the previous >> version on operating systems where iconv isn't going to be installed? >> I.e., make an spkg asap that tests if not on solaris or cygwin, and in >> that case immediately exits. This test should be first, before >> anything else. >> >> I can then post that spkg online, so "sage -upgrade" isn't broken. >> >> -- William > > I can do that, but it will have to wait until the weekend, as I am > tied up and are not at home. I don't have time to create the revised > spkg and test it. > > I believe this incident highlights a number of issues I've raised > before, but sometimes I feel I'm hitting my head against a wall. Instead of reading the rest of this long email, I'm posting a new spkg, which took all of 3 minutes. William -- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org To unsubscribe, reply using "remove me" as the subject.