tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: math/blas build failure - cmake lossage



"David H. Gutteridge" <david%gutteridge.ca@localhost> writes:

> On Wed, 20 Sep 2023, at 20:40:45 -0400, Greg Troxel wrote:
>>math/blas fails on netbsd-10 amd64 with pkgsrc up to date:
>>
>>  -- Build html documentation: OFF
>>  -- Build man documentation: OFF
>>  -- Configuring done (0.6s)
>>  CMake Error: CMake can not determine linker language for target:
> run_test_zcomplexabs
>>  CMake Error: CMake can not determine linker language for target:
> run_test_zcomplexdiv
>>  CMake Error: CMake can not determine linker language for target:
> run_test_zcomplexmult
>>  CMake Error: CMake can not determine linker language for target:
> run_test_zminMax
>>  -- Generating done (0.1s)
>>  CMake Generate step failed.  Build files cannot be regenerated
> correctly.
>>  *** Error code 1
>
> This seems to be a regression with CMake 3.27.5, which pkgsrc was
> updated to on September 16th. It has evidently been fixed in 3.27.6:
> https://gitlab.kitware.com/cmake/cmake/-/commit/978b68d3bbb44e3bc6adbe5109eb8295f8232ce6
> (I haven't tested this.) So our fix would be to revert to .4 or go
> forward to .6.

With cmake locally updated to 3.27.6, this builds.   I read the release
notes for 3.27.6:

  https://discourse.cmake.org/t/cmake-3-27-6-available-for-download/9024

and it is new tests and fixing this bug.

So that seems safe enough and I'm going to commit the update.


Home | Main Index | Thread Index | Old Index