disable binary archive downloads for ports install

Freek Dijkstra software at macfreek.nl
Tue Jul 23 09:02:49 PDT 2013


Hi,

Is there a way to enforce building of a package, thus disabling
downloads of precompiles binary archives?

I expected that "port build" following by "port install" to work, but it
still seems to download a precompiled version:

> ~# port build py32-pillow      
> --->  Computing dependencies for py32-Pillow
> --->  Fetching distfiles for py32-Pillow
> --->  Verifying checksum(s) for py32-Pillow
> --->  Extracting py32-Pillow
> --->  Applying patches to py32-Pillow
> --->  Configuring py32-Pillow
> --->  Building py32-Pillow
> ~# port -v install py32-Pillow
> --->  Computing dependencies for py32-Pillow.
> --->  Fetching archive for py32-Pillow
> --->  py32-Pillow-2.1.0_0.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
> --->  Attempting to fetch py32-Pillow-2.1.0_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/py32-Pillow
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100  417k  100  417k    0     0   346k      0  0:00:01  0:00:01 --:--:--  702k
> --->  Attempting to fetch py32-Pillow-2.1.0_0.darwin_11.x86_64.tbz2.rmd160 from http://lil.fr.packages.macports.org/py32-Pillow
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   512  100   512    0     0   7379      0 --:--:-- --:--:-- --:--:-- 14628
> --->  Installing py32-Pillow @2.1.0_0
> --->  Activating py32-Pillow @2.1.0_0
[...]

I'm using MacPorts 2.1.3 on Mac OS 10.7.5.

Regards,
Freek

PS: for those wondering why (as a precompiled package is usually the
same as the one build locally): I use python32 variant +ucs4, and when
compiling binary modules (such as py32-Pillow), the package is different
based on the python variant. Apparently, the precompiled version is
compile --without-wide-unicode (the ucs2 variant), while I'm using the
ucs4 variant (--with-wide-unicode).


More information about the macports-users mailing list