Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919805 - sci-visualization/paraview-5.12.0_rc1 USE=qt5 fails to compile if qt6 is also installed
Summary: sci-visualization/paraview-5.12.0_rc1 USE=qt5 fails to compile if qt6 is also...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL: https://gitlab.kitware.com/paraview/p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-13 08:39 UTC by Attila Tóth
Modified: 2024-01-08 23:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2023-12-13 08:39:46 UTC
-- Configuring done (57.0s)
CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pqWidgets".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pqCore".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pqComponents".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "pqApplicationComponents".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "BivariateRepresentations".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "EmbossingRepresentations".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "FlipBookPlugin".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "LagrangianParticleTracker".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "NodeEditor".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "NonOrthogonalSource".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "Prism".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "SLACTools".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "SaveStateAndScreenshot".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "StreamLinesRepresentation".

CMake Error: The INTERFACE_QT_MAJOR_VERSION property of "Qt5::Core" does
not agree with the value of QT_MAJOR_VERSION already determined
for "paraview".

-- Generating done (2.8s)
CMake Generate step failed.  Build files cannot be regenerated correctly.


Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2023-12-13 08:50:32 UTC
Please *always* always attach full build.log and emerge --info.

paraview-5.12.0_rc1 has -DPARAVIEW_QT_VERSION="5" since commit dfc9829b239140bb1a273d4755054e1a896e6eed, what version did you try?
Comment 2 Attila Tóth 2023-12-13 08:56:59 UTC
(In reply to Andreas Sturmlechner from comment #1)
> Please *always* always attach full build.log and emerge --info.
> 
> paraview-5.12.0_rc1 has -DPARAVIEW_QT_VERSION="5" since commit
> dfc9829b239140bb1a273d4755054e1a896e6eed, what version did you try?

I synced portage yesterday and I'm using the ebuild in the tree.
-DPARAVIEW_QT_VERSION="5" is present in the ebuild.

Adding -DVTK_QT_VERSION="5" to the ebuild fixes the problem for me - see URL.

Thanks: Dw.
Comment 3 Andreas Sturmlechner gentoo-dev 2023-12-13 10:37:32 UTC
(In reply to Attila Tóth from comment #2)
> I synced portage yesterday and I'm using the ebuild in the tree.
> -DPARAVIEW_QT_VERSION="5" is present in the ebuild.
There are 2 ebuilds in the tree.
Comment 4 Attila Tóth 2023-12-13 10:48:43 UTC
(In reply to Andreas Sturmlechner from comment #3)
> (In reply to Attila Tóth from comment #2)
> > I synced portage yesterday and I'm using the ebuild in the tree.
> > -DPARAVIEW_QT_VERSION="5" is present in the ebuild.
> There are 2 ebuilds in the tree.

My bad, I corrected the bug title:
sci-visualization/paraview-5.12.0_rc1
Comment 5 Matthias Maier gentoo-dev 2024-01-08 22:42:59 UTC
Yup, setting VTK_QT_VERSION=5 seems to do the trick. I'll push an updated ebuild soon.
Comment 6 Larry the Git Cow gentoo-dev 2024-01-08 23:31:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7379c3fab44e15e3f1e30849045fe62330520d90

commit 7379c3fab44e15e3f1e30849045fe62330520d90
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2024-01-08 22:46:03 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2024-01-08 23:31:42 +0000

    sci-visualization/paraview: keyword 5.12.0_rc1 for ~amd64, ~x86
    
    Closes: https://bugs.gentoo.org/919805
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 sci-visualization/paraview/paraview-5.12.0_rc1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)