Created attachment 929590 [details] build.log (ppc, 3.28.5) {...] [ 17%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmCurl.cxx.o cd /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5_build/Source && /usr/bin/powerpc-unknown-linux-gnu-g++ -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5_build/Utilities -I/var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5_build/Source -I/var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source -I/var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source/LexerParser -isystem /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Utilities/std -isystem /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Utilities -isystem /usr/include/jsoncpp -O2 -pipe -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec -std=c++17 -Wno-deprecated-declarations -MD -MT Source/CMakeFiles/CMakeLib.dir/cmCurl.cxx.o -MF CMakeFiles/CMakeLib.dir/cmCurl.cxx.o.d -o CMakeFiles/CMakeLib.dir/cmCurl.cxx.o -c /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source/cmCurl.cxx In file included from /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Utilities/cm3p/curl/curl.h:8, from /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source/cmCurl.h:9, from /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source/cmCurl.cxx:3: /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source/cmCurl.cxx: In function 'std::string cmCurlSetNETRCOption(CURL*, const std::string&, const std::string&)': /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source/cmCurl.cxx:89:26: error: invalid conversion from 'long int' to 'CURL_NETRC_OPTION' [-fpermissive] 89 | curl_netrc_level = CURL_NETRC_OPTIONAL; | ^~~~~~~~~~~~~~~~~~~ | | | long int /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source/cmCurl.cxx:91:26: error: invalid conversion from 'long int' to 'CURL_NETRC_OPTION' [-fpermissive] 91 | curl_netrc_level = CURL_NETRC_REQUIRED; | ^~~~~~~~~~~~~~~~~~~ | | | long int /var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5/Source/cmCurl.cxx:93:26: error: invalid conversion from 'long int' to 'CURL_NETRC_OPTION' [-fpermissive] 93 | curl_netrc_level = CURL_NETRC_IGNORED; | ^~~~~~~~~~~~~~~~~~ | | | long int make[2]: *** [Source/CMakeFiles/CMakeLib.dir/build.make:720: Source/CMakeFiles/CMakeLib.dir/cmCurl.cxx.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5_build' make[1]: *** [CMakeFiles/Makefile2:389: Source/CMakeFiles/CMakeLib.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-build/cmake-3.28.5/work/cmake-3.28.5_build' make: *** [Makefile:156: all] Error 2 * ERROR: dev-build/cmake-3.28.5::gentoo failed (compile phase): * emake failed
Guess we can backport the fix until https://bugs.gentoo.org/941738#c31 is done.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e838c548af0885947a5a3a8fc1204ebd598e3b8e commit e838c548af0885947a5a3a8fc1204ebd598e3b8e Author: Sam James <sam@gentoo.org> AuthorDate: 2025-05-26 11:05:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-05-26 11:05:26 +0000 dev-build/cmake: backport curl fix to 3.28.5 for ppc Bug: https://bugs.gentoo.org/953060 Closes: https://bugs.gentoo.org/956640 Signed-off-by: Sam James <sam@gentoo.org> dev-build/cmake/cmake-3.28.5.ebuild | 1 + 1 file changed, 1 insertion(+)
Thanks! Builds fine now.