Re: git: 0728e016e0ca - main - net/openmpi: upgrade to v5.0.1

From: Daniel Engberg <daniel.engberg.lists_at_pyret.net>
Date: Sun, 18 Feb 2024 21:02:14 UTC
On 2024-02-18T21:13:11.000+01:00, Dima Panov <fluffy@FreeBSD.org>
wrote:

> On 18.02.2024 21:13, Thierry Thomas wrote:
>>  Le dim. 18 févr. 24 à 15:39:10 +0100, Dima Panov
>>  <fluffy@FreeBSD.org>
>>  
>>   écrivait :
>>  
>>>   Hello!
>>  
>>   Hello,
>>  
>>>   On 18.02.2024 12:33, Thierry Thomas wrote:
>>>   
>>>>    The branch main has been updated by thierry:
>>>>    
>>>>     URL:
>>>>    https://cgit.FreeBSD.org/ports/commit/?id=0728e016e0ca712586158fadf39ccdfff4b19d7b
>>>>    
>>>>     commit 0728e016e0ca712586158fadf39ccdfff4b19d7b
>>>>    
>>>>     Author: Thierry Thomas <thierry@FreeBSD.org>
>>>>    
>>>>     AuthorDate: 2024-01-26 09:27:16 +0000
>>>>    
>>>>     Commit: Thierry Thomas <thierry@FreeBSD.org>
>>>>    
>>>>     CommitDate: 2024-02-18 09:22:34 +0000
>>>>    
>>>>     net/openmpi: upgrade to v5.0.1
>>>>    
>>>>     Release notes available at
>>>>    
>>>>     <https://www-lb.open-mpi.org/software/ompi/major-changes.php>
>>>>    [https://www-lb.open-mpi.org/software/ompi/major-changes.php>];.
>>>>    
>>>>     Notes:
>>>>    
>>>>     - The MPI C++ bindings were deprecated in the MPI-2.2
>>>>    standard in 2009, and
>>>>    
>>>>     removed from the MPI-3.0 standard in 2012. The MPI C++
>>>>    bindings were then
>>>>    
>>>>     removed from Open MPI v5.0.0 in 2022;
>>>>    
>>>>     - ofi (libfabric) was explicitly disabled in this port - I
>>>>    don’t know why
>>>>    
>>>>     but kept it this way;
>>>>    
>>>>     - ROMIO has been disabled (See
>>>>    <https://github.com/open-mpi/ompi/issues/9715>
>>>>    [https://github.com/open-mpi/ompi/issues/9715>];);
>>>>    
>>>>     - 32 bits platforms are not supported: this port has been
>>>>    repocopied to
>>>>    
>>>>     net/openmpi4 for them.
>>>   
>>>    Failed to build an 14.0/amd64 and 15/aarch64 with same error.
>>>   
>>>    configure: error: no suitable Python interpreter found
>>>   
>>>    configure: ===== done with 3rd-party/openpmix configure =====
>>>   
>>>    checking for pmix pkg-config name... pmix
>>>   
>>>    checking if pmix pkg-config module exists... no
>>>   
>>>    checking for pmix wrapper compiler... pmixcc
>>>   
>>>    checking if pmix wrapper compiler works... no
>>>   
>>>    configure: Searching for pmix in default search paths
>>>   
>>>    checking for pmix cppflags...
>>>   
>>>    checking for pmix ldflags...
>>>   
>>>    checking for pmix libs... -lpmix
>>>   
>>>    checking for pmix static libs... -lpmix
>>>   
>>>    checking for pmix.h... no
>>>   
>>>    configure: error: Could not find viable pmix build.
>>>   
>>>>    ===> Script "configure" failed unexpectedly.
>>  
>>   I just rebuilt it, in case of some recent commit might have an
>>  impact,
>>  
>>   but it still build fine here (on amd64).
>>  
>>   Could you please send me the full log, so that I could compare it
>>  with
>>  
>>   mine?
> 
> It looks like not find locally intree builded pmix :(
> 
> https://people.freebsd.org/~fluffy/-log/140amd64/openmpi-5.0.1.log
> 
> https://people.freebsd.org/~fluffy/-log/150aarch64/openmpi-5.0.1.log
> 
>>  Best regards.
> 
> -- 
> 
> Sincerely,
> 
> Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
> 
> (desktop, kde, x11, office, ports-secteam)@FreeBSD team

It also throws a bunch of sed errors in configure stage (use gsed?)
and tries to be clever during configure stage, 

...

"

checking if want package/brand string... Open MPI root@140amd64-vanilla-job-01 Distribution
"

I think it fails on your end because of Python begin 3.10 and not 3.9

Best regards,

Daniel