By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5Gui", but CMake did not find one. Could not find a package configuration file provided by "Qt5Gui" with any of the following names: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib-j4-20220517-010104 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.3.1 [2] x86_64-pc-linux-gnu-12.1.0 * clang/llvm (if any): clang version 14.0.3 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.3 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-bin-1.60.0 [2] rust-1.60.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11] 2) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] 3) Eclipse Temurin JRE 11.0.15_p10 [openjdk-jre-bin-11] 4) Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17] *) Eclipse Temurin JRE 8.332_p09 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] openjdk-bin-11 [2] openjdk-bin-17 [3] openjdk-jre-bin-8 system-vm [4] openjdk-jre-bin-11 [5] openjdk-jre-bin-17 The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php8.1 * HEAD of ::gentoo commit b981cf1d9443cda539ca53904833294f124080eb Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun May 22 21:17:57 2022 +0000 2022-05-22 21:17:57 UTC emerge -qpvO app-text/poppler [ebuild N ] app-text/poppler-22.05.0 USE="cxx introspection jpeg jpeg2k lcms utils -boost -cairo -cjk -curl -debug -doc -nss -png -qt5 -tiff"
Created attachment 780203 [details] emerge-info.txt
Created attachment 780206 [details] CMakeError.log
Created attachment 780209 [details] CMakeOutput.log
Created attachment 780212 [details] app-text:poppler-22.05.0:20220522-214643.log
Created attachment 780215 [details] emerge-history.txt.bz2
Created attachment 780218 [details] environment
Created attachment 780221 [details] etc.portage.tar.bz2
Created attachment 780224 [details] logs.tar.bz2
Created attachment 780227 [details] temp.tar.bz2
That's the actual error.
2022-05-17T22:27:27 >>> media-libs/openjpeg-2.4.0-r3
> Run Build Command(s):/usr/bin/ninja cmTC_46e5b && [1/2] Building CXX object CMakeFiles/cmTC_46e5b.dir/src.cxx.o > FAILED: CMakeFiles/cmTC_46e5b.dir/src.cxx.o > /usr/bin/x86_64-pc-linux-gnu-g++ -DICONV_SECOND_ARGUMENT_IS_CONST -pipe -march=native -fno-diagnostics-color -O2 -Wnon-virtual-dtor -Woverloaded-virtual -pipe -march=native -fno-diagnostics-color -O2 -std=c++17 -o CMakeFiles/cmTC_46e5b.dir/src.cxx.o -c ../_build/CMakeFiles/CMakeTmp/src.cxx > ../_build/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: > ../_build/CMakeFiles/CMakeTmp/src.cxx:9:17: error: invalid conversion from ‘const char**’ to ‘char**’ [-fpermissive] > 9 | iconv(conv, &in, &ilen, &out, &olen); > | ^~~ > | | > | const char** > In file included from ../_build/CMakeFiles/CMakeTmp/src.cxx:2: > /usr/include/iconv.h:42:54: note: initializing argument 2 of ‘size_t iconv(iconv_t, char**, size_t*, char**, size_t*)’ > 42 | extern size_t iconv (iconv_t __cd, char **__restrict __inbuf, > | ~~~~~~~~~~~~~~~~~~^~~~~~~ > ninja: build stopped: subcommand failed. GCC-12 issue, won't block stabilisation.
No, it's classic CMakeError.log deception. The issue is the openjpeg CMake files being in the wrong place.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de20312c7cc3c05ec8183595808198048699fed2 commit de20312c7cc3c05ec8183595808198048699fed2 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-23 20:43:45 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-23 20:44:08 +0000 media-libs/openjpeg: fix GNUInstallDirs patch - Fix install dir for CMake*Config (needs to be in a subdir) - Fix include path within those Closes: https://bugs.gentoo.org/847013 Signed-off-by: Sam James <sam@gentoo.org> .../files/openjpeg-2.5.0-gnuinstalldirs.patch | 33 +++++++++++++++++----- ...eg-2.5.0-r1.ebuild => openjpeg-2.5.0-r2.ebuild} | 0 2 files changed, 26 insertions(+), 7 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0941fb5417e182ffce947e0242caa0b61fee71c commit f0941fb5417e182ffce947e0242caa0b61fee71c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-05-23 20:45:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-05-23 20:45:53 +0000 media-libs/openjpeg: cleanup patch Bug: https://bugs.gentoo.org/847013 Signed-off-by: Sam James <sam@gentoo.org> .../openjpeg/files/openjpeg-2.5.0-gnuinstalldirs.patch | 15 --------------- 1 file changed, 15 deletions(-)