On Mon, 25 Nov 2013, Martin Costabel wrote:

> Coming across the new bindist by chance (BTW, great work! My respect to
> those involved), I wanted to try and use it.
> Now during years of not using apt-get and a bindist, I all but forgot
> how to do it. It turns out I am not the only one, though... Fink itself
> seem to have forgotten.
>
> I added the line
> deb http://bindist.finkproject.org/10.9 stable main
> to the sources.list file and changed the config line UseBinaryDist: from
> false to true. Then I used `fink install` for two or three packages.
>
> The result is that Fink correctly downloaded the debs from the bindist
> server, but then went ahead and compiled them from source anyway,
> without apologizing in any way. An example output is shown below.
>
> Did I forget some additional step necessary to make this work, or has
> Fink forgotten how to use the bindist?
>
> --
> Martin
>
> Example output:
>
> costabel% fink update gnuplot
> Information about 8157 packages read in 0 seconds.
> The following package will be installed or updated:
>  gnuplot
> /sw/bin/apt-get-lockwait -q --ignore-breakage --download-only install
> gnuplot=4.6.4-4
> Reading Package Lists...
> Building Dependency Tree...
> 1 packages upgraded, 0 newly installed, 0 to remove and 21  not upgraded.
> Need to get 3343kB of archives. After unpacking 0B will be used.
> Get:1 http://bindist.finkproject.org stable/main gnuplot 4.6.4-4 [3343kB]
> Fetched 3343kB in 12s (274kB/s)
> Download complete and in download only mode
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-gnuplot-4.6.4-4
> /sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-gnuplot-4.6.4-4' in
> `/sw/src/fink.build/fink-buildlock-gnuplot-4.6.4-4_2013.11.25-13.01.18_darwin-x86_64.deb'.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i
> /sw/src/fink.build/fink-buildlock-gnuplot-4.6.4-4_2013.11.25-13.01.18_darwin-x86_64.deb
> Selecting previously deselected package fink-buildlock-gnuplot-4.6.4-4.
> (Reading database ... 263568 files and directories currently installed.)
> Unpacking fink-buildlock-gnuplot-4.6.4-4 (from
> .../fink-buildlock-gnuplot-4.6.4-4_2013.11.25-13.01.18_darwin-x86_64.deb) ...
> Setting up fink-buildlock-gnuplot-4.6.4-4 (2013.11.25-13.01.18) ...
>
> sudo -u fink-bld [ENV] sh -c /tmp/fink.SZWdN
> env LANG=C LC_ALL=C /sw/bin/tar  --no-same-owner --no-same-permissions
> -xf /sw/src/gnuplot-4.6.4.tar.gz
> [and so on, goes ahead and builds and installs gnuplot from source]


Having been running my own private bindists to save 
compiling the same thing for several similar macs, I 
discovered this some years ago[*], some of the bindist code 
has been disabled or removed from fink when there was no 
official bindist.  I was advised then to use sudo apt-get 
update followed by sudo apt-get dist-upgrade after setting 
the correct lines in /sw/etc/apt/sources.list

This works, but has the undesirable effect of not updating 
the package descriptions, only the lists of available debs. 
So I do run fink selfupdate after doing the apt-get 
commands.

It would be nice to have the bindist functionality restored, 
but it does work OK with apt-get.

-- Viv
________________________________________________
Dr Viv Kendon    http://quantum.leeds.ac.uk/~viv
tel: +44 113 343 4864      Physics and Astronomy
Quantum Information Group    University of Leeds


[*]
>From: Viv Kendon <v.ken...@leeds.ac.uk>
To: Fink Users Mailing List 
<fink-users@lists.sourceforge.net>
Date: Tue, 15 Dec 2009 15:26:56 +0000 (GMT)
Subject: [Fink-users] using own binary dist with 10.6
X-Spam-Status: No, score=0.2 required=5.0 
tests=AWL,DNS_FROM_RFC_ABUSE,
     FORGED_RCVD_HELO autolearn=no version=3.0.5

I have successfully run my own internal binary distribution
for 10.4 and 10.5, but I can't get it working between my two
(clean installed) 10.6 systems.  Is it something to do with
the way UseBinaryDist is automatically set to false for the
moment?  What I observe is that, even with that flag set to
true in fink.conf, and the server added to apt sources.list,
the debs are correctly pulled from the server, but then it
starts doing a compile from source instead of installing the
deb it just collected:

   fink -b install deborphan
Information about 7917 packages read in 1 seconds.
The following package will be installed or updated:
   deborphan
The following additional package will be installed:
   dialog
Do you want to continue? [Y/n]
/sw/bin/apt-get-lockwait --ignore-breakage --download-only 
install
deborphan=1.7.23-2 dialog=1.0-20060221-1002
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
    deborphan dialog
0 packages upgraded, 2 newly installed, 0 to remove and 50 
not upgraded.
Need to get 168kB of archives. After unpacking 545kB will be 
used.
Get:1 http://bramley.leeds.ac.uk unstable/main dialog 
1.0-20060221-1002
[112kB]
  <snip>

There is more discussion from this date, but I don't think 
useful conclusions, because the suggested amendment to the 
Perl didn't work.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
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