> On Mar 22, 2015, at 10:19 AM, Sean Lake <odysseus9...@gmail.com> wrote:
> 
> 
>> On Mar 22, 2015, at 10:04, Alexander Hansen <alexanderk.han...@gmail.com> 
>> wrote:
>> 
>> 
>>> On Mar 21, 2015, at 10:17 PM, Sean Lake <odysseus9...@gmail.com> wrote:
>>> 
>>> Adding the cc to the maintainer.
>>> 
>>>> On Mar 21, 2015, at 16:10, Sean Lake <odysseus9...@gmail.com> wrote:
>>>> 
>>>> Hello all,
>>>> 
>>>> I’m trying to get a couple of fink builds going from scratch, and I’m 
>>>> running into trouble install maxima.
>>>> 
>>>> fink show-deps maxima includes the following line:
>>>> sbcl (=1.2.8-1)
>>>> 
>>>> Also:
>>>> fink apropos sbcl
>>>> Information about 10457 packages read in 5 seconds.
>>>>  sbcl             1.2.9-1      ANSI Common Lisp implementation
>>>> 
>>>> So, there’s the trouble.
>>>> 
>>>> Thanks,
>>>> Sean
>>>> 
>>>> The machines I’m building on:
>>>> fink --version
>>>> Package manager version: 0.38.4
>>>> Distribution version: selfupdate-rsync Sat Mar 21 01:25:16 2015, 10.10, 
>>>> x86_64
>>>> Trees: local/main stable/main stable/crypto
>>>> 
>>>> fink --version
>>>> Package manager version: 0.38.4
>>>> Distribution version: selfupdate-rsync Sat Mar 21 01:08:14 2015, 10.10, 
>>>> x86_64
>>>> Trees: local/main stable/main stable/crypto
>>> 
>> 
>> 
>> I just updated maxima to use sbcl-1.2.9-1.
>> 
>> I didn’t use a more permissive BuildDepends: sbcl (>= 1.2.8-1) because I’m 
>> using an build option which effectively makes a copy of the SBCL interpreter 
>> in the maxima package; different sbcl versions will change the package 
>> contents.  This option avoids other dependency deadlocks when sbcl is 
>> updated.  This is definitely better than the old Depends: sbcl (= version) 
>> packaging.  Admittedly, it’s  not quite as good from a dependency standpoint 
>> as the prior packaging where maxima used custom sbcl-N-maxima packages, but 
>> on the other hand, all of those extra packages were potentially confusing.
>> 
>> -- 
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>> 
> 
> Is there any way to have the outdated sbcl be available as a package 
> alongside the current version? That is, is there any way for fink to have 
> more than one sbcl package, with the default being the most current, and some 
> way to pick an older version? That way maxima can build-depend on a 
> particular version of sbcl, without requiring an update of maxima every time 
> sbcl is updated in order to support new maxima installs.
> 
> I don't know if this would require fink to have a new feature. Maybe an 
> operator _v? Eg:
> 
> sudo fink install sbcl_v1.2.3-3
> 
> to get version 1.2.3-3 of sbcl, and:
> 
> sudo fink install sbcl
> 
> defaults to "current version."
> 
> That assumes that this is something apt_get cannot already handle and this is 
> a feature to be exposed to the users.
> 
> Thanks,
> Sean

That functionality exists already:

fink install sbcl-1.2.3-3
sudo apt-get install sbcl=1.2.3-3

Since we don’t purge old binary versions, you can actually install sbcl-1.2.8-1 
via the binary distribution right now on 10.10 via “apt-get install 
sbcl=1.2.8-1”.  

The “fink install” option will work if multiple versions of the package 
description are present, and we do support this.  Keeping package descriptions 
for older versions of sbcl around on updates is definitely possible; it just 
involves the sbcl maintainer copying the old one to a new file name, e.g. cp 
sbcl_x86_64.info sbcl-1.2.8-1.info, and adding the new file into CVS.  I’ll cc 
him about this.

A manual option exists, too, which is to download the older version of the 
sbcl.info, e.g. via the web interface 
(http://fink.cvs.sf.net/viewvc/fink/dists/10.7/stable/main/finkinfo/languages/sbcl-x86_64.info?revision=1.27
 
<http://fink.cvs.sf.net/viewvc/fink/dists/10.7/stable/main/finkinfo/languages/sbcl-x86_64.info?revision=1.27>).
  Then you can either rename the file and put it in 
/sw/fink/10.7/stable/main/finkinfo/languages or just save it to 
/sw/fink/10.7/local/main/finkinfo—though if you do that you’ll need to copy 
sbcl.patch from /sw/fink/10.7/stable/main/finkinfo/languages into 
/sw/fink/10.7/stable/main/finkinfo.

My preferred option would be for Jesse to keep the old SBCL version around 
until I put out an updated maxima, of course.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to