Binary archive for mpich-default is available but not used

Christopher Nielsen mascguy at rochester.rr.com
Sun Apr 25 13:47:31 UTC 2021


On 2021-04-24 11:22, Rainer Müller wrote:
> On 2021-04-24 10.42, Davide Liessi wrote:
>> I'm trying to install mpich-default with default variants on macOS 10.13.6.
>> The package is available at http://packages.macports.org/mpich-default/ <http://packages.macports.org/mpich-default/>
>> but port is refusing to install from the prebuilt binary.
>> 
>> $ sudo port -b install mpich-default
>> --->  Computing dependencies for mpich-default
>> Error: Failed to archivefetch mpich-default: Binary-only mode
>> requested with no usable archive sites configured
>> Error: See /opt/local/var/macports/logs/_opt_macports-git_macports-ports_science_mpich/mpich-default/main.log
>> for details.
>> Error: Follow https://guide.macports.org/#project.tickets <https://guide.macports.org/#project.tickets> to report a bug.
>> Error: Processing of port mpich-default failed
>> 
>> main.log attached, but I cannot see anything meaningful in there with
>> respect to this problem.
>> 
>> I have just updated many other ports in binary-only mode without any problems.
>> Any ideas?
> 
> The mpich-default port clears the archive_sites which will prevent the lookup of 
> binary archives for download. That is why no download attempt is in the provided 
> log excerpt. The buildbots are not aware of this and will publish these archives 
> after building, but they will never be found.
> 
> https://github.com/macports/macports-ports/blob/7541d508815705d370fbe619b3a407e30963edf1/science/mpich/Portfile#L223 <https://github.com/macports/macports-ports/blob/7541d508815705d370fbe619b3a407e30963edf1/science/mpich/Portfile#L223>
This is also the case for openmpi ports.

We briefly discussed on the Dev mailing list several months ago, and we suspect it *may* be possible to publish binaries. But we need to confirm that the buildbot versions aren’t tied to that specific hardware. (And if they are, we need to determine how to build hardware-independent versions.)

The work is still on my long-term To Do list for openmpi… and hopefully it’ll also apply to mpich. But since it’s an inconvenience, rather than a blocker, it's been a low priority.

But it hasn’t been forgotten, and I hope to revisit this over the next month or so. Unless someone else beats me to it. Any takers?

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210425/3e250f2f/attachment.htm>


More information about the macports-users mailing list