Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
not able to install cmake
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Wed Dec 05, 2018 11:20 am    Post subject: not able to install cmake Reply with quote

Hi Everyone, I am not able to install `cmake` on one of my gentoo servers and getting the below error -

Quote:
1665 [ 98%] ^[[32m^[[1mLinking CXX static library libCTestLib.a^[[0m
1666 cd /var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6_build/Source && /var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6/Bootstrap.cmk/cmake -P CMakeFiles/CTestLib.dir/ cmake_clean_target.cmake
1667 cd /var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6_build/Source && /var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6/Bootstrap.cmk/cmake -E cmake_link_script CMakeF iles/CTestLib.dir/link.txt --verbose=1
1668 /usr/bin/x86_64-pc-linux-gnu-ar qc libCTestLib.a CMakeFiles/CTestLib.dir/cmCTest.cxx.o CMakeFiles/CTestLib.dir/CTest/cmProcess.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBatch TestHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBuildAndTestHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBuildCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBu ildHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestCo verageCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestCurl.cxx.o CMakeFiles/CTestLib.dir/CTest/cmParseMumpsCoverag e.cxx.o CMakeFiles/CTestLib.dir/CTest/cmParseCacheCoverage.cxx.o CMakeFiles/CTestLib.dir/CTest/cmParseGTMCoverage.cxx.o CMakeFiles/CTestLib.dir/CTest/cmParseJacocoCoverage.cxx. o CMakeFiles/CTestLib.dir/CTest/cmParseBlanketJSCoverage.cxx.o CMakeFiles/CTestLib.dir/CTest/cmParsePHPCoverage.cxx.o CMakeFiles/CTestLib.dir/CTest/cmParseCoberturaCoverage.cxx .o CMakeFiles/CTestLib.dir/CTest/cmParseDelphiCoverage.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestEmptyBinaryDirectoryCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestGeneric Handler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestHandlerCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestLaunch.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestMemCheckCommand.c xx.o CMakeFiles/CTestLib.dir/CTest/cmCTestMemCheckHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestMultiProcessHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestReadCustomFi lesCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestRunScriptCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestRunTest.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestScriptHandl er.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestSleepCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestStartCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestSubmitCommand.cxx. o CMakeFiles/CTestLib.dir/CTest/cmCTestSubmitHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestTestCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestTestHandler.cxx.o CMakeFi les/CTestLib.dir/CTest/cmCTestUpdateCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestUploadCommand.cxx.o CMakeFiles/C TestLib.dir/CTest/cmCTestUploadHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestVC.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestGlobalVC.cxx.o CMakeFiles/CTestLib.dir/CTest/cmC TestCVS.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestSVN.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBZR.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestGIT.cxx.o CMakeFiles/CTestLib.d ir/CTest/cmCTestHG.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestP4.cxx.o
1669 /usr/bin/x86_64-pc-linux-gnu-ranlib libCTestLib.a
1670 make[2]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6_build'
1671 [ 98%] Built target CTestLib
1672 make[1]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6_build'
1673 Makefile:162: recipe for target 'all' failed
1674 make: *** [all] Error 2
1675 ^[[31;01m*^[[0m ERROR: dev-util/cmake-3.9.6::gentoo failed (compile phase):
1676 ^[[31;01m*^[[0m emake failed
1677 ^[[31;01m*^[[0m
1678 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-util/cmake-3.9.6::gentoo'`,
1679 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-util/cmake-3.9.6::gentoo'`.
1680 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-util/cmake-3.9.6/temp/build.log'.
1681 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-3.9.6/temp/environment'.
1682 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6_build'
1683 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6'


gcc version is 6.4.0.

Kernel version is 4.14.83-gentoo.

I am completely out of ideas and appreciate all your help in getting this resolved.

Thanks
Srijiv Dimri
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 05, 2018 11:26 am    Post subject: Reply with quote

You can post full build.log and emerge --info?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Wed Dec 05, 2018 11:34 am    Post subject: Reply with quote

Thanks fedeliallalinea. Below is the emerge --info as requested -

Code:
Portage 2.2.28 (python 2.7.12-final-0, default/linux/amd64/17.0, gcc-7.3.0, glibc-2.26-r7, 4.14.75-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.75-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2697A_v4_@_2.60GHz-with-gentoo-2.4.1
KiB Mem:    65872240 total,  20215396 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 05 Dec 2018 00:45:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.6.5::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            4.9.3::gentoo, 4.9.4::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:
gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bindist bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline rpc seccomp ssl tcpd unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 05, 2018 11:36 am    Post subject: Reply with quote

You should also post full build.log with wgetpaste, because your output not contains any error
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Wed Dec 05, 2018 11:41 am    Post subject: Reply with quote

Ok, I am trying to get that. In the mean time, do you see anything which I need to use in the USE flag under /etc/portage/make.conf or run with emerge ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Wed Dec 05, 2018 11:51 am    Post subject: Reply with quote

manu_leo,

Code:
emerge wgetpate
wgetpaste /var/tmp/portage/dev-util/cmake-3.9.6/temp/build.log

and post the URL.

Code:
MAKEOPTS="-j32"
is going to make it difficult to read. However with 64G RAM, you should not be out of memory
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Wed Dec 05, 2018 12:10 pm    Post subject: Reply with quote

Thanks everyone, here are the log link -

Quote:
https://paste.pound-python.org/show/VbHBvikV9L3KA5ckwM9R/
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Wed Dec 05, 2018 12:37 pm    Post subject: Reply with quote

manu_leo,

Your error is here.
Code:
[ 91%] Linking CXX executable ../bin/ccmake
cd /var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6_build/Source && /var/tmp/portage/dev-util/cmake-3.9.6/work/cmake-3.9.6/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/ccmake.dir/link.txt --verbose=1
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libcurl.so: undefined reference to `SSL_CTX_set_srp_username'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../lib64/libcurl.so: undefined reference to `SSL_CTX_set_srp_password'
collect2: error: ld returned 1 exit status
Tests/CMakeLib/CMakeFiles/CMakeLibTests.dir/build.make:285: recipe for target 'Tests/CMakeLib/CMakeLibTests' failed
make[2]: *** [Tests/CMakeLib/CMakeLibTests] Error 1


Its linking something and not finding some symbols.

Have a look at bugs.gentoo.org
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 05, 2018 12:38 pm    Post subject: Reply with quote

What version of openssl you installed?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
manu_leo
Guru
Guru


Joined: 20 Jan 2014
Posts: 513
Location: India

PostPosted: Wed Dec 05, 2018 12:49 pm    Post subject: Reply with quote

openssl version dev-libs/openssl-1.0.2p-r1

How to get this fixed in case its a bug.

Thanks for all your help.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 05, 2018 12:55 pm    Post subject: Reply with quote

You can post output of emerge -pvq net-misc/curl and ldd /usr/lib64/libcurl.so commands?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum