msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.31k stars 1.23k forks source link

[paraview] does not start #22536

Closed podsvirov closed 1 week ago

podsvirov commented 2 weeks ago

Description / Steps to reproduce the issue

Try to start

Expected behavior

Start

Actual behavior

Not started

Verification

Windows Version

MINGW64_NT-10.0-22631

MINGW environments affected

Are you willing to submit a PR?

No response

MehdiChinoune commented 2 weeks ago

runnint under gdb:

warning: F0000 00:00:1731645571.141573    6852 common.cc:48] This program was compiled with Protobuf C++ version 5.28.2, but the linked version is 5.28.3.  Please update your library.  If you compiled the program yourself, make sure thatyour headers are from the same version of Protocol Buffers as your link-time library.  (Version verification failed in "C:/M/B/src/ParaView-v5.13.1/Remoting/Application/vtkInitializationHelper.cxx".)
warning: F0000 00:00:1731645571.141573    6852 common.cc:48] This program was compiled with Protobuf C++ version 5.28.2, but the linked version is 5.28.3.  Please update your library.  If you compiled the program yourself, make sure thatyour headers are from the same version of Protocol Buffers as your link-time library.  (Version verification failed in "C:/M/B/src/ParaView-v5.13.1/Remoting/Application/vtkInitializationHelper.cxx".)

looks like It requires a rebuild.

MehdiChinoune commented 2 weeks ago

tracking the source if the error: https://gitlab.kitware.com/paraview/paraview/-/blob/5bf1112f/Remoting/Application/vtkInitializationHelper.cxx#L200 https://github.com/protocolbuffers/protobuf/blob/a422268d/src/google/protobuf/stubs/common.h#L72 https://github.com/protocolbuffers/protobuf/blob/a422268d/src/google/protobuf/stubs/common.cc#L44

Should we patch protobuf or paraview?

podsvirov commented 2 weeks ago

@MehdiChinoune thanks for fix this for CLANG64! But looks like for UCRT64 we have ABI problem with libgdal-35.dll. I was try to rebuild, but get errors for CLANG64...

MehdiChinoune commented 2 weeks ago

That's another issue, most probably caused by recent update to LLVM-19. We already rebuilt paraview against gdal-3.9 in https://github.com/msys2/MINGW-packages/commit/afac7514. and It was rebuilt many times after that https://github.com/msys2/MINGW-packages/commits/master/mingw-w64-paraview. I don't understand how did deduce that ABI breakage?

MehdiChinoune commented 2 weeks ago

You should backport https://gitlab.kitware.com/vtk/vtk-m/-/commit/674d370b3d021d6352045f09ce69f84c41e863cd if you want to rebuild paraview.

podsvirov commented 2 weeks ago

paraview-fail