Created attachment 430918 [details] emerge --info cmake-3.4.3 fails to build: [ 25%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmCurl.cxx.o cd /var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3_build/Source && /usr/bin/x86_64-pc-linux-gnu-g++ -DCMAKE_BUILD_WITH_CMAKE -I/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3_build/Utilities -I/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3/Utilities -I/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3_build/Source -I/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3/Source -I/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3_build/Utilities/cmcompress -I/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3/Source/CTest -DNDEBUG -O2 -pipe -std=gnu++1y -o CMakeFiles/CMakeLib.dir/cmCurl.cxx.o -c /var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3/Source/cmCurl.cxx /var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3/Source/cmCurl.cxx: In function ‘std::string cmCurlSetCAInfo(CURL*, const char*)’: /var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3/Source/cmCurl.cxx:16:39: error: ‘CURLE_NOT_BUILT_IN’ was not declared in this scope if (result != CURLE_OK && result != CURLE_NOT_BUILT_IN) \ ^ /var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3/Source/cmCurl.cxx:30:5: note: in expansion of macro ‘check_curl_result’ check_curl_result(res, "Unable to set TLS/SSL Verify CAINFO: "); ^ Source/CMakeFiles/CMakeLib.dir/build.make:446: recipe for target 'Source/CMakeFiles/CMakeLib.dir/cmCurl.cxx.o' failed make[2]: *** [Source/CMakeFiles/CMakeLib.dir/cmCurl.cxx.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3_build' CMakeFiles/Makefile2:1499: recipe for target 'Source/CMakeFiles/CMakeLib.dir/all' failed make[1]: *** [Source/CMakeFiles/CMakeLib.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3_build' Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: dev-util/cmake-3.4.3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-util/cmake-3.4.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-util/cmake-3.4.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-util/cmake-3.4.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-3.4.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3_build' * S: '/var/tmp/portage/dev-util/cmake-3.4.3/work/cmake-3.4.3' >>> Failed to emerge dev-util/cmake-3.4.3, Log file: >>> '/var/tmp/portage/dev-util/cmake-3.4.3/temp/build.log' The root cause is that CURLE_NOT_BUILT_IN is not declared in net-misc/curl-7.21.4. This constant was obsoleted in August 2007 for curl-7.17.0, reused in April 2011 for curl-7.21.5. The following dependency is specified in cmake-3.4.3.ebuild: RDEPEND="... >=net-misc/curl-7.20.0-r1[ssl] ..." I think this dependency should be adjusted to ">=net-misc/curl-7.21.5[ssl]". I-ve updated my net-misc/curl to the latest version (7.48.0) and cmake was built successfully.
commit df670dfa0155d2998323f3ece99f197fecf36f16 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Wed Apr 20 20:08:22 2016 dev-util/cmake: Adjusted dependency on net-misc/curl according to bug #580306. Package-Manager: portage-2.2.28 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>