The ODR violations are in a bundled copy of LLVM and upstream seems to have
low activity, and no release in 4 years.
Closes: https://bugs.gentoo.org/924866
Signed-off-by: Sam James <sam@gentoo.org>
mpir is an ancient fork of gmp from 2017. It claims to be focused on
speed. It doesn't build with modern compilers due to Modern C issues,
and it fails to build with LTO as well. Unlike gmp, this will never be
fixed.
gnuradio checks for "MPLIB", which is internally implemented by first
checking for gmp, and if gmp cannot be found, checking for mpir.
mpir was never required, and if gmp happened to be installed, it would
be an automagic dependency.
Furthermore, there was a USE-conditional dependency on gmp for wavelets,
which I am not sure makes sense but when triggered, resulted in a forced
gmp dependency that then guaranteed mpir wouldn't be used.
Bug: https://bugs.gentoo.org/812950
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
mpir:
mpir is an ancient fork of gmp from 2017. It claims to be focused on
speed. It doesn't build with modern compilers due to Modern C issues,
and it fails to build with LTO as well. Unlike gmp, this will never be
fixed.
meshlab can look for either mpir or gmp, but we depended on BOTH and
only gmp got used. mpir was completely extraneous.
levmar:
It would be great if we could use the system levmar, as meshlab
genuinely depends on it. But it hardcodes a vendored copy:
https://github.com/cnr-isti-vclab/meshlab/blob/bd88167db9839109487f401be50991c4bc990d27/src/external/levmar.cmake
qhull:
Currently, the build logs this:
-- Could NOT find Qhull: missing: libqhull (found /usr/lib64/cmake/Qhull/QhullConfig.cmake (found version "8.0.2"))
This happens because cmake is broken, probably. But meshlab 2021
ports to libqhull_r, which "should" work fine. Pity we are stuck in
2020 instead.
We really could and should use the system copy but the build system
cannot and does not detect it, which means we shouldn't be depending
on something we cannot use.
Bug: https://bugs.gentoo.org/905859
Bug: https://bugs.gentoo.org/812950
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Support for mpir was removed from zarith, which means this is guaranteed
to be disabled. That's what we want here anyway. Just indicate this with
a use-dependency default.
Fixes: a8c2b35f50
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
mpir is an ancient fork of gmp from 2017. It claims to be focused on
speed. It doesn't build with modern compilers due to Modern C issues,
and it fails to build with LTO as well. Unlike gmp, this will never be
fixed.
Bug: https://bugs.gentoo.org/812950
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
mpir is an ancient fork of gmp from 2017. It claims to be focused on
speed. It doesn't build with modern compilers due to Modern C issues,
and it fails to build with LTO as well. Unlike gmp, this will never be
fixed.
Bug: https://bugs.gentoo.org/812950
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
The software is:
- dead upstream since 2015
- maintainer-needed in gentoo
- no reverse dependencies
- unstable-only
- a walking strict-aliasing problem
It's not getting fixed any time soon, and there's nowhere to report
its issues, so just filter out the most dangerous flags and pray nothing
explodes.
Closes: https://bugs.gentoo.org/855023
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
It uses fowners in src_install. Migrating to sane technology like
systemd-tmpfiles is out of scope for getting the package to work today.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Instead of sed'ing in the current CFLAGS, remove the broken code. This
is actually technically correct and can be applied by others, and it
also means that flag-o-matic doesn't get silently ignored because the
flags were previously baked into the raw file.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>