Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 947535 - sci-visualization/paraview-5.13.0: when configuring with dev-build/cmake-3.31.*: x86_64-pc-linux-gnu/bin/ld: unrecognized option '-Wl'
Summary: sci-visualization/paraview-5.13.0: when configuring with dev-build/cmake-3.31...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2025-01-05 13:22 UTC by Freddie Witherden
Modified: 2025-01-07 04:30 UTC (History)
4 users (show)

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


Attachments
Build log (build.log,106.56 KB, text/x-log)
2025-01-05 13:23 UTC, Freddie Witherden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freddie Witherden 2025-01-05 13:22:40 UTC
Attempting to compile:

[ebuild   R    ] sci-visualization/paraview-5.13.0::gentoo  USE="openmp plugins qt6 sqlite webengine -boost -cg -doc -examples -ffmpeg -mpi -nvcontrol -offscreen -python -test -tk" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 0 KiB

on a ~AMD64 system with GCC 14 I get a linker error:

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: unrecognized option '-Wl'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status

Full build log attached.

Reproducible: Always
Comment 1 Freddie Witherden 2025-01-05 13:23:39 UTC
Created attachment 915897 [details]
Build log
Comment 3 Larry the Git Cow gentoo-dev 2025-01-07 04:30:57 UTC
The bug has been closed via the following commit(s):

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

commit d4529712f818d81801aecb36e0b04af6d0830d51
Author:     Matthias Maier <tamiko@gentoo.org>
AuthorDate: 2025-01-07 04:27:13 +0000
Commit:     Matthias Maier <tamiko@gentoo.org>
CommitDate: 2025-01-07 04:28:06 +0000

    sci-visualization/paraview: fix compilation with CMake 3.31 onwards
    
    Closes: https://bugs.gentoo.org/947535
    Signed-off-by: Matthias Maier <tamiko@gentoo.org>

 .../files/paraview-5.13.0-cmake-3.31-compat.patch         | 15 +++++++++++++++
 sci-visualization/paraview/paraview-5.13.0.ebuild         |  3 ++-
 sci-visualization/paraview/paraview-5.13.1.ebuild         |  1 +
 3 files changed, 18 insertions(+), 1 deletion(-)