Summary: | sci-libs/vtk-9.2.6-r1 failed to rebuild after system upgrade | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Leonid Kopylov <leonchik1976> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | negril.nx+gentoo, parona, proxy-maint, waebbl-gentoo |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://gitlab.kitware.com/vtk/vtk/-/issues/19158 https://github.com/gentoo/gentoo/pull/34069 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.xz
sci-libs/vtk-9.2.6-r1 build.log (xz compressed) emerge --info |
Description
Leonid Kopylov
2023-11-30 11:52:36 UTC
Created attachment 875954 [details]
build.log.xz
Build.log has incorrect type set set (text/plain for xz compressed). Here are the actual errors (with some truncation): FAILED: IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -DIOPDAL_EXPORTS -DVTK_IN_VTK -Dkiss_fft_scalar=double -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/IO/PDAL -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/IO/PDAL -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/Core -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/Core -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/ExecutionModel -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/ExecutionModel -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/DataModel -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/DataModel -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/Math -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/Math -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/ThirdParty/kissfft/vtkkissfft -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/ThirdParty/kissfft/vtkkissfft -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/Transforms -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/Transforms -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Filters/General -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Filters/General -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Common/Misc -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Common/Misc -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Filters/Core -I/var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Filters/Core -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Utilities/KWIML -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Utilities/KWIML -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/Utilities/KWSys -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/Utilities/KWSys -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6_build/ThirdParty/kissfft -isystem /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/ThirdParty/kissfft -march=native -O2 -pipe -fomit-frame-pointer -std=c++11 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -MD -MT IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o -MF IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o.d -o IO/PDAL/CMakeFiles/IOPDAL.dir/vtkPDALReader.cxx.o -c /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/IO/PDAL/vtkPDALReader.cxx In file included from /usr/include/pdal/DimUtil.hpp:40, from /usr/include/pdal/Dimension.hpp:9, from /usr/include/pdal/Stage.hpp:39, from /usr/include/pdal/Reader.hpp:37, from /var/tmp/notmpfs/portage/sci-libs/vtk-9.2.6-r1/work/VTK-9.2.6/IO/PDAL/vtkPDALReader.cxx:45: /usr/include/pdal/util/Utils.hpp:975:31: error: ‘std::enable_if_t’ has not been declared 975 | template<typename T, std::enable_if_t<!std::is_integral<T>::value>* = nullptr> | ^~~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:975:42: error: expected ‘>’ before ‘<’ token 975 | template<typename T, std::enable_if_t<!std::is_integral<T>::value>* = nullptr> | ^ /usr/include/pdal/util/Utils.hpp:994:31: error: ‘std::enable_if_t’ has not been declared 994 | template<typename T, std::enable_if_t<std::is_integral<T>::value>* = nullptr> | ^~~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:994:42: error: expected ‘>’ before ‘<’ token 994 | template<typename T, std::enable_if_t<std::is_integral<T>::value>* = nullptr> | ^ /usr/include/pdal/util/Utils.hpp:995:22: error: redefinition of ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ 995 | StatusWithReason fromString(const std::string& from, T& to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ previously declared here 976 | StatusWithReason fromString(const std::string& from, T& to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:1012:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, std::string&)’ does not match any template declaration 1012 | inline StatusWithReason fromString(const std::string& from, std::string& to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ 976 | StatusWithReason fromString(const std::string& from, T& to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’ 953 | StatusWithReason fromString(const std::string& from, T* & to) | ^~~~~~~~~~ ... In file included from /usr/include/pdal/Dimension.hpp:10: /usr/include/pdal/pdal_types.hpp: In member function ‘bool pdal::XForm::XFormComponent::set(const std::string&)’: /usr/include/pdal/pdal_types.hpp:156:48: error: no matching function for call to ‘fromString(const std::string&, double&)’ 156 | failed = !Utils::fromString(sval, m_val); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’ 953 | StatusWithReason fromString(const std::string& from, T* & to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed: /usr/include/pdal/pdal_types.hpp:156:48: note: mismatched types ‘T*’ and ‘double’ 156 | failed = !Utils::fromString(sval, m_val); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ 976 | StatusWithReason fromString(const std::string& from, T& to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed: /usr/include/pdal/pdal_types.hpp:156:48: note: couldn’t deduce template parameter ‘<anonymous>’ 156 | failed = !Utils::fromString(sval, m_val); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/include/pdal/Metadata.hpp:39, from /usr/include/pdal/Stage.hpp:42: /usr/include/pdal/util/Bounds.hpp: At global scope: /usr/include/pdal/util/Bounds.hpp:738:29: error: template-id ‘fromString<>’ for ‘pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, pdal::BOX2D&)’ does not match any template declaration 738 | inline StatusWithReason fromString(const std::string& s, BOX2D& bounds) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: candidates are: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ 976 | StatusWithReason fromString(const std::string& from, T& to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:953:22: note: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’ 953 | StatusWithReason fromString(const std::string& from, T* & to) | ^~~~~~~~~~ ... /usr/include/pdal/Metadata.hpp: In function ‘T pdal::MetadataDetail::value(const std::string&, const std::string&) [with T = bool; std::string = std::__cxx11::basic_string<char>]’: /usr/include/pdal/Metadata.hpp:398:27: error: no matching function for call to ‘fromString(const std::string&, bool&)’ 398 | if (!Utils::fromString(value, b)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’ 953 | StatusWithReason fromString(const std::string& from, T* & to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed: /usr/include/pdal/Metadata.hpp:398:27: note: mismatched types ‘T*’ and ‘bool’ 398 | if (!Utils::fromString(value, b)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ 976 | StatusWithReason fromString(const std::string& from, T& to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed: /usr/include/pdal/Metadata.hpp:398:27: note: couldn’t deduce template parameter ‘<anonymous>’ 398 | if (!Utils::fromString(value, b)) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /usr/include/pdal/Kernel.hpp:46, from /usr/include/pdal/PluginHelper.hpp:43, from /usr/include/pdal/Stage.hpp:45: /usr/include/pdal/util/ProgramArgs.hpp: In instantiation of ‘void pdal::TArg<T>::setValue(const std::string&) [with T = std::__cxx11::basic_string<char>; std::string = std::__cxx11::basic_string<char>]’: /usr/include/pdal/util/ProgramArgs.hpp:400:18: required from here /usr/include/pdal/util/ProgramArgs.hpp:414:40: error: no matching function for call to ‘fromString(const std::string&, std::__cxx11::basic_string<char>&)’ 414 | auto status = Utils::fromString(s, m_var); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:953:22: note: candidate: ‘template<class T> pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T*&)’ 953 | StatusWithReason fromString(const std::string& from, T* & to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:953:22: note: template argument deduction/substitution failed: /usr/include/pdal/util/ProgramArgs.hpp:414:40: note: mismatched types ‘T*’ and ‘std::__cxx11::basic_string<char>’ 414 | auto status = Utils::fromString(s, m_var); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: candidate: ‘template<class T, <typeprefixerror><anonymous> > pdal::Utils::StatusWithReason pdal::Utils::fromString(const std::string&, T&)’ 976 | StatusWithReason fromString(const std::string& from, T& to) | ^~~~~~~~~~ /usr/include/pdal/util/Utils.hpp:976:22: note: template argument deduction/substitution failed: /usr/include/pdal/util/ProgramArgs.hpp:414:40: note: couldn’t deduce template parameter ‘<anonymous>’ 414 | auto status = Utils::fromString(s, m_var); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ https://en.cppreference.com/w/cpp/types/enable_if I notice that the enable_if_t was in the standard library since c++14 but logs show that c++11 is used. What version and USE flags of sci-libs/gdal are you using? (In reply to Paul Zander from comment #4) > What version and USE flags of sci-libs/gdal are you using? # emerge gdal -pvq [ebuild R ] sci-libs/gdal-3.8.0 USE="armadillo curl fits geos gif gml hdf5 heif java jpeg jpeg2k lzma mysql netcdf odbc ogdi opencl pdf png postgres python spatialite sqlite webp xls zstd (-doc) -oracle -test" CPU_FLAGS_X86="avx avx2 sse sse2 sse4_1 ssse3" PYTHON_SINGLE_TARGET="python3_11 -python3_10" Correction: sci-libs/gdal. Correction2: sci-libs/pdal... (In reply to Paul Zander from comment #7) > Correction2: sci-libs/pdal... # emerge sci-libs/pdal -pvq [ebuild R ] sci-libs/pdal-2.6.0 USE="postgres -test" Created attachment 876019 [details]
sci-libs/vtk-9.2.6-r1 build.log (xz compressed)
Reproduced on my end
Created attachment 876020 [details]
emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11981b5d3dd54b42a1b0b1ea8503378526b67fa commit f11981b5d3dd54b42a1b0b1ea8503378526b67fa Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2023-11-30 19:23:14 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2023-12-01 09:58:23 +0000 sci-libs/vtk: require <sci-libs/pdal-2.6.0 Broken, needs further work, limit for now. https://gitlab.kitware.com/vtk/vtk/-/issues/19158 Bug: https://bugs.gentoo.org/918898 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34069 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> sci-libs/vtk/vtk-9.2.5.ebuild | 2 +- sci-libs/vtk/vtk-9.2.6-r1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0167fc77186716079471d895b32b2283ca8b7fc4 commit 0167fc77186716079471d895b32b2283ca8b7fc4 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2023-07-06 14:26:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-10 12:41:01 +0000 sci-libs/vtk: add 9.3.0 Closes: https://bugs.gentoo.org/918898 Closes: https://bugs.gentoo.org/909520 Closes: https://bugs.gentoo.org/909380 Closes: https://bugs.gentoo.org/908874 Closes: https://bugs.gentoo.org/906264 Closes: https://bugs.gentoo.org/906075 Closes: https://bugs.gentoo.org/887505 Closes: https://bugs.gentoo.org/840776 Closes: https://bugs.gentoo.org/835659 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34432 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/vtk/Manifest | 6 + sci-libs/vtk/files/vtk-9.2.5-pegtl-3.x.patch | 136 +++ ...ix-Java-error-with-integer-enum-overloads.patch | 51 ++ sci-libs/vtk/files/vtk-9.3.0-java.patch | 11 + sci-libs/vtk/files/vtk-9.3.0-opencascade.patch | 17 + sci-libs/vtk/files/vtk-9.3.0-pdal-2.6.0.patch | 77 ++ .../vtk-9.3.0-too-many-initializer-values.patch | 20 + sci-libs/vtk/metadata.xml | 1 + sci-libs/vtk/vtk-9.3.0.ebuild | 909 +++++++++++++++++++++ 9 files changed, 1228 insertions(+) |