Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

cmake compilation failure

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
26 posts
  • 1
  • 2
  • Next
Author
Message
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

cmake compilation failure

  • Quote

Post by maxim.251 » Fri Dec 10, 2021 6:54 am

Helo, I have problem with compilation failure of all cmake ebuilds available on fictional gentoo, I try use the newest one [ebuild N ~] dev-util/cmake-3.22.1::gentoo USE="ncurses -doc -emacs -qt5 -test" 0 KiB but I am finishing with that same result.
I try do everything on all posts avaible on web, and I dont get it working. Please help.

here is emerge info from that package:

Code: Select all

localhost /home/maxim # emerge --info cmake
Portage 3.0.28 (python 3.8.12-final-0, default/linux/amd64/17.1/systemd, gcc-10.3.0, glibc-2.33-r7, 5.4.80-gentoo-r1-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.80-gentoo-r1-x86_64-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-glibc2.2.5
KiB Mem:    12246556 total,   1052188 free
KiB Swap:   39551996 total,  39113692 free
Timestamp of repository gentoo: Wed, 08 Dec 2021 05:30:01 +0000
Head commit of repository gentoo: 952a29c6138d6eb1e1e3bd77781c053837924d5b
Head commit of repository steam-overlay: bcdf7b7b1ffb3058a0d924e849a5abf18f364d9c

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p5) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r2::gentoo, 2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24

buzden
    location: /var/lib/layman/buzden
    masters: gentoo
    priority: 50

calculate
    location: /var/lib/layman/calculate
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --keep-going "
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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="3dnow 3dnowext 7zip a52 acl alsa alsa-plugin amd64 analyzer appindicator bluetooth bluray bzip2 cdaudio cli cpudetection crypt cuda cycles dbus device-mapper dts dvb equalizer ext2 ext4 fam ffmpeg firmware fontconfig fortran gdbm hpcups hpijs http http2 ico iconv ipv6 jpeg jpeg2k libglvnd libtirpc libusb0 lvm lvm2create_initrd minizip mp3 mpeg mtp multilib ncurses networkmanager nls nptl ntfs nvdec nvenc nvidia openmp pam pcre png printsupport pulseaudio qml readline scanner seccomp sensord server snmp sound split-usr ssl svg system-lz4 systemd thread-safety threaded threads udev unicode upower usb vcd vdpau widgets x265 x86-64 xattr xvmc youtube zlib" ABI_X86="32 64" ADA_TARGET="gnat_2020" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
I am using this GCC

Code: Select all

localhost /home/maxim # gcc-config -l
 [1] x86_64-pc-linux-gnu-10.3.0 *
 [2] x86_64-pc-linux-gnu-11.2.0
At the end of compiling cmake is fails at CTest... Compilation is failing at the end of 99%. I think I am missing something in configuration files, or something, because some of peoples have similar problem with raspheryPi when they try do cross compilation. But I want update my gentoo system.
Downloaded cmake from official site as source code, and compiling it by hand, works, but from repository don't , that's why I am amusing that maybe I have something wrong with config files responsible for cmake.
Top
alamahant
Advocate
Advocate
Posts: 4032
Joined: Sat Mar 23, 2019 12:12 pm

  • Quote

Post by alamahant » Fri Dec 10, 2021 10:23 am

What is the exact error?
Would you care to pastebin it plz?
You are not using testing so you should avoid testing version of cmake.
Just a hunch.

Code: Select all

emerge --deselect cmake
emerge -1av cmake
let it pull the "appropriate" version.
:)
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 7:53 am

Helo alamahant. That's why I don't understand that. This is last line from cmake on which file is crashing.

Code: Select all

[ 99%] Linking CXX static library libCTestLib.a
cd /var/tmp/portage/dev-util/cmake-3.22.1/work/cmake-3.22.1_build/Source && /var/tmp/portage/dev-util/cmake-3.22.1/work/cmake-3.22.1/Bootstrap.cmk/cmake -P CMakeFiles/CTestLib.dir/cmake_clean_target.cmake
cd /var/tmp/portage/dev-util/cmake-3.22.1/work/cmake-3.22.1_build/Source && /var/tmp/portage/dev-util/cmake-3.22.1/work/cmake-3.22.1/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/CTestLib.dir/link.txt --verbose=1
/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/cmCTestBinPacker.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBuildAndTestHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBuildCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestBuildHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestConfigureHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestCoverageHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestCurl.cxx.o CMakeFiles/CTestLib.dir/CTest/cmParseMumpsCoverage.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/cmCTestGenericHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestHandlerCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestResourceAllocator.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestResourceSpec.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestLaunch.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestLaunchReporter.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestMemCheckCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestMemCheckHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestMultiProcessHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestReadCustomFilesCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestResourceGroupsLexerHelper.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestRunScriptCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestRunTest.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestScriptHandler.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 CMakeFiles/CTestLib.dir/CTest/cmCTestTestMeasurementXMLParser.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestUpdateHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestUploadCommand.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestUploadHandler.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestVC.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestGlobalVC.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestCVS.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.dir/CTest/cmCTestHG.cxx.o CMakeFiles/CTestLib.dir/CTest/cmCTestP4.cxx.o CMakeFiles/CTestLib.dir/LexerParser/cmCTestResourceGroupsLexer.cxx.o
/usr/bin/x86_64-pc-linux-gnu-ranlib libCTestLib.a
make[2]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.22.1/work/cmake-3.22.1_build'
[ 99%] Built target CTestLib
make[1]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.22.1/work/cmake-3.22.1_build'
make: *** [Makefile:166: all] Error 2
here is link to pastebin file. I cut a lot unnecesery things only living what I think is bad.
https://pastebin.com/GZTsZi9v
I think culr have nothing to do with compilation failure of libCmakelib.... I had recompiled curl, and i have in newest version.

Code: Select all

[ebuild   R    ] net-misc/curl-7.79.1::gentoo  USE="ftp http2 imap ipv6 openssl pop3 progress-meter smtp ssl tftp threads -adns -alt-svc -brotli -gnutls -gopher -hsts -idn -kerberos -ldap -mbedtls (-nghttp3) -nss (-quiche) -rtmp -samba -ssh -sslv3 -static-libs -telnet -test (-winssl) -zstd" ABI_X86="32 (64) (-x32)" CURL_SSL="openssl -gnutls -mbedtls -nss (-winssl)" 0 KiB
Last edited by maxim.251 on Sat Dec 11, 2021 8:18 am, edited 1 time in total.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat Dec 11, 2021 8:15 am

Ca you post full build.log with wgetpaste?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 8:21 am

Yes, but give me a moment, I never use pastebin app, and I need install it.

Oghh, I have problems with wgetpaste app, and web site, I am limited to the size of 512kB :/ I will try do somethig else to give full output of what You are asking :/
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 9:40 am

http://codepad.org/NW0wtCxi -- /var/tmp/portage/dev-util/cmake-3.20.5/temp/build.log
http://codepad.org/c7ZjEJgY -- emerge --info =dev-util/cmake-3.20.5::gentoo
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat Dec 11, 2021 9:59 am

Unfortunately the build.log is truncated, try to upload file with https://transfer.sh/.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 10:06 am

https://transfer.sh/xCkuwq/buildlog build log

I hope that will be ok

I also was trying rebuild libtool, and not helped, and change compiller, but for now there are avaible only 2 of them

Code: Select all

# gcc-config -l
 [1] x86_64-pc-linux-gnu-10.3.0 *
 [2] x86_64-pc-linux-gnu-11.2.0
Do I should try compile older cmake from different repository?
https://gpo.zugaina.org/dev-util/cmake
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat Dec 11, 2021 10:23 am

Now it's ok :)

Code: Select all

/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: libCMakeLib.a(cmCurl.cxx.o): in function `cmCurlSetNETRCOption(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
cmCurl.cxx:(.text+0x1d0): undefined reference to `curl_easy_setopt'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cmCurl.cxx:(.text+0x248): undefined reference to `curl_easy_strerror'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cmCurl.cxx:(.text+0x2a2): undefined reference to `curl_easy_setopt'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cmCurl.cxx:(.text+0x318): undefined reference to `curl_easy_strerror'
collect2: error: ld returned 1 exit status
Try to recompile libtool and curl with emerge -1 sys-devel/libtool net-misc/curl command.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat Dec 11, 2021 10:24 am

maxim.251 wrote:Do I should try compile older cmake from different repository?
If a package is there in the official tree it is almost always better to use this.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 11:03 am

Still not working. :(
https://transfer.sh/AfKuHV/build.log
I did what You ask about libtool and curl

Earlier I try using emerge -ave world, but everytime it stops at cmake.

curl ebuild looks like that

Code: Select all

[I] net-misc/curl
     Available versions:  7.79.1^t ~7.80.0^t {adns alt-svc brotli +ftp gnutls gopher hsts +http2 idn +imap ipv6 kerberos ldap mbedtls nghttp3 nss +openssl +pop3 +progress-meter quiche rtmp samba +smtp ssh ssl sslv3 static-libs telnet test +tftp threads winssl zstd ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32" CURL_SSL="gnutls mbedtls nss +openssl winssl" ELIBC="Winnt"}
Maybe going back to previouse version og gcc ?
[

Code: Select all

I] sys-devel/gcc
     Available versions:  
     (6.5.0) [M]~6.5.0-r4^t
     (7.5.0) [M]~7.5.0-r2^t
     (8.5.0) 8.5.0-r1^t
     (9.4.0) 9.4.0^t
     (9.4.1) **9.4.1_pre9999*l^t
     (10)   10.3.0-r2^t **10.3.1_pre9999*l^t ~10.3.1_p20211126^t
     (11)   11.2.0^t **11.2.1_pre9999*l^t ~11.2.1_p20211127^t
     (12)   **12.0.0_pre9999*l^t
       {ada awt cet cilk custom-cflags +cxx d debug doc fixed-point +fortran gcj go graphite hardened jit libssp lto mpx multilib +nls +nptl objc objc++ objc-gc +openmp +pch pgo +pie +sanitize +ssp systemtap test valgrind vanilla vtv zstd}
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat Dec 11, 2021 11:54 am

Try to switch to binutils 2.37 with eselect binutils
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 3:36 pm

Code: Select all

localhost /home/maxim # binutils-config -l
 [1] aarch64-unknown-linux-gnu-2.37_p1 *

 [2] x86_64-pc-linux-gnu-2.35.2 *
 [3] x86_64-pc-linux-gnu-2.36.1
 [4] x86_64-pc-linux-gnu-2.37_p1
now I am preparing to use position number 4, and i am now recompiling sys-libs/binutils-libs-2.37_p1 to match it.

Then I will try again with cmake. I am worry about [1] aarch64-unknown-linux-gnu-2.37_p1 * maybe that one is intersecting with cmake? But in compilation time, when file is configured, I see my pc gcc compilator.

Ok, I have now installed

Code: Select all

[I] sys-libs/binutils-libs
     Available versions:  2.34-r2(0/2.34) 2.35.2(0/2.35.2) 2.36.1-r2(0/2.36.1) 2.37_p1(0/2.37) ~2.37_p1-r1(0/2.37) {64-bit-bfd cet multitarget nls static-libs ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  2.37_p1(0/2.37)(16:33:28 12/11/21)(nls -64-bit-bfd -cet -multitarget -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            https://sourceware.org/binutils/
     Description:         Core binutils libraries (libbfd, libopcodes, libiberty) for external packages

Code: Select all

[?] sys-devel/binutils
     Available versions:  
     (2.32) [M]~2.32-r2^t
     (2.33) [M]2.33.1-r1^t
     (2.34) [M]2.34-r2^t
     (2.35) [M]2.35.2^t
     (2.36) [M]2.36.1-r2^t
     (2.37) 2.37_p1^t ~2.37_p1-r1^t
     (9999) **9999*l^t
       {cet default-gold doc +gold multitarget +nls +plugins static-libs test vanilla}
     Installed versions:  2.35.2(2.35)^t(13:57:51 06/28/21)(gold nls plugins -cet -default-gold -doc -multitarget -static-libs -test -vanilla) 2.36.1-r2(2.36)^t(00:13:51 09/06/21)(gold nls plugins -cet -default-gold -doc -multitarget -static-libs -test -vanilla) 2.37_p1(2.37)^t(16:30:42 12/11/21)(gold nls plugins -cet -default-gold -doc -multitarget -static-libs -test -vanilla)
     Homepage:            https://sourceware.org/binutils/
     Description: 
I am worry also about question mark in binutils, I did recompiled that package without problems, but maybe I should remove earlier versions?
Oh, again I failed with cmake

Code: Select all

Lib
[ 99%] Built target CTestLib
make[1]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.22.1/work/cmake-3.22.1_build'
make: *** [Makefile:166: all] Error 2
 * ERROR: dev-util/cmake-3.22.1::gentoo failed (compile phase):
 *   emake failed
i did unistall ealier versions. now I have different problem. I try remove from binutils profile number 1

Code: Select all

localhost /home/maxim # binutils-config -l  
 [1] aarch64-unknown-linux-gnu-2.37_p1 *

 [2] x86_64-pc-linux-gnu-2.37_p1 *
but I get error of

Code: Select all

localhost /home/maxim # binutils-config -u 1
 * binutils-config: unable to locate a profile for target: 1
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat Dec 11, 2021 4:42 pm

What return binutils-config -B and binutils-config -L commands?
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 4:45 pm

I go to official site of ebuilds on gentoo, and what I read there
(and others, updated later) These old versions of tool chain packages (binutils, gcc, glibc) are no longer officially supported and are not suitable for general use. Using these packages can result in build failures (and possible breakage) for many packages, and may leave your system vulnerable to known security exploits. If you still use one of these old tool chain packages, please upgrade (and switch the compiler / the binutils) ASAP. If you need them for a specific (isolated) use case, feel free to unmask them on your system.
I go to Gcc page and I read about updating gcc... Oh my... big changes are coming to gentoo compilation style... And I am now at stage at switching to the newest gcc , and rebuild packages using

Code: Select all

 revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc 
I have now to rebuild 144 packages using that compiler. Also libtool and glibc are old, and i feel like they want to remove them from system for good...

I hope that cmake will work with that new compiler...

Switching compilers and updating systems especially when in to play are coming kernel, are the last thing what I want to do.
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 4:48 pm

fedeliallalinea wrote:What return binutils-config -B and binutils-config -L commands?
binutils-config -B
/usr/x86_64-pc-linux-gnu/binutils-bin/2.37_p1

Code: Select all

binutils-config -L
/usr/lib64/binutils/x86_64-pc-linux-gnu/2.37_p1
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 6:27 pm

NO! Still don't work.

Code: Select all

 cmFileCommand.cxx:(.text+0xeeb8): undefined reference to `curl_global_init' 

Code: Select all

 [ 99%] Built target CTestLib
make[1]: Leaving directory '/var/tmp/portage/dev-util/cmake-3.22.1/work/cmake-3.22.1_build'
make: *** [Makefile:166: all] Error 2
 * ERROR: dev-util/cmake-3.22.1::gentoo failed (compile phase):
 *   emake failed
Ogh....

What I can do??
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sat Dec 11, 2021 8:44 pm

Oh, after updating gcc depended packages still I have brake from cmake.
Now from desperation I want make " emerge -av1e @world "
But anyway I know that cmake will fail with compiling it. And I checked that there are to much packages depending at cmake that I must have it.
I still dont understand why cmake is stopping on libCTestlib.o and I try look at ebuild, but I don't even know how I can turn of that test option.
When I downloaded manually source code, and I do compiled it by hand, I could switch of test, and I have successful compilation, but gentoo Cmake, I cant.
What I can do more? Maybe I mist something?

I have on the system cmake, because, I copied manually files, and I can compile other packages with emerge with option --nodeps, and that packages are compiling also successful, but cmake what I did compiled by hand are not registered in the system , and system things that cmake is missing. And I dont know how cheat system to think that this files are avaible for the system. Like register cmake in the world file by hand.

Then whole system I could update, or that files what left...
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sun Dec 12, 2021 7:52 am

Code: Select all

localhost /var/tmp # emerge --info cmake
Portage 3.0.28 (python 3.8.12-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r7, 5.4.80-gentoo-r1-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.80-gentoo-r1-x86_64-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-glibc2.2.5
KiB Mem:    12246556 total,   2570204 free
KiB Swap:   39551996 total,  39549168 free
Timestamp of repository gentoo: Wed, 08 Dec 2021 05:30:01 +0000
Head commit of repository gentoo: 952a29c6138d6eb1e1e3bd77781c053837924d5b
Head commit of repository steam-overlay: bcdf7b7b1ffb3058a0d924e849a5abf18f364d9c

sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.0_p1::gentoo
dev-lang/rust:            1.53.0::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

buzden
    location: /var/lib/layman/buzden
    masters: gentoo
    priority: 50

calculate
    location: /var/lib/layman/calculate
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --keep-going "
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
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="3dnow 3dnowext 7zip a52 acl alsa alsa-plugin amd64 analyzer appindicator bluetooth bluray bzip2 cdaudio cli cpudetection crypt cuda cycles dbus device-mapper dts dvb equalizer ext2 ext4 fam ffmpeg firmware fontconfig fortran gdbm hpcups hpijs http http2 ico iconv ipv6 jpeg jpeg2k libglvnd libtirpc libusb0 lvm lvm2create_initrd minizip mp3 mpeg mtp multilib ncurses networkmanager nls nptl ntfs nvdec nvenc nvidia openmp pam pcre png printsupport pulseaudio qml readline scanner seccomp sensord server snmp sound split-usr ssl svg system-lz4 systemd thread-safety threaded threads udev unicode upower usb vcd vdpau widgets x265 x86-64 xattr xvmc youtube zlib" ABI_X86="32 64" ADA_TARGET="gnat_2020" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia virtualbox" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sun Dec 12, 2021 8:01 am

This is my make.conf file

Code: Select all

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
#COMMON_FLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
#COMMON_FLAGS="-O2 -pipe "
COMMON_FLAGS="-O2 -pipe -march=native"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CHOST="x86_64-pc-linux-gnu"
#CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX:PATH=~/local"

MAKEOPTS="-j6"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"

CPU_FLAGS_X86 = "3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a"

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

USE="3dnow 3dnowext 7zip a52 alsa alsa-plugin analyzer appindicator \
     bluetooth bluray cdaudio cpudetection cuda cycles dbus device-mapper \
     dts dvb equalizer ext2 ext4 fam ffmpeg firmware fontconfig hpcups hpijs \
     http http2 ico jpeg jpeg2k libusb0 lvm lvm2create_initrd minizip mp3 \
     mpeg mtp networkmanager ntfs nvdec nvenc nvidia png printsupport \
     pulseaudio qml scanner sensord server snmp sound svg system-lz4 \
     thread-safety threaded threads upower usb vcd vdpau widgets x265 x86-64 \
     xvmc youtube -dri -gles -gpm -harfbuzz -icu -libaom -libav -libav-aac \
     -lua -wayland -handbook -static-libs"

#printer
SANE_BACKENDS="hp"
#GRUB_PLATFORMS="efi-64"
ABI_X86="32 64" #-x32 -64
## (For mouse, keyboard, and Synaptics touchpad support)
INPUT_DEVICES="libinput synaptics evdev"
## (For NVIDIA cards)
VIDEO_CARDS="nvidia virtualbox"

PYTHON_TARGETS="python3_8"
PYTHON_SINGLE_TARGET="python3_8" #python3_6

EMERGE_DEFAULT_OPTS=" --keep-going "#--with-bdeps=y"
RUBY_TARGETS="ruby25 ruby26"
#QEMU_USER_TARGETS="alpha aarch64 arm armeb i386 mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64"
#QEMU_SOFTMMU_TARGETS="aarch64 i386 x86_64 sparc"
#EMERGE_DEFAULT_OPTS="$EMERGE_DEFAULT_OPTS --exclude app-emulation/qemu"
#QEMU_USER_TARGETS="x86_64"

Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sun Dec 12, 2021 11:09 am

O my god! dev-util/cmake-3.20.5 did compiled. from /var/tmp/portage/dev-util/cmake-3.20.5/work/cmake-3.20.5

what I did was use comand

first in home directory like ealier I was saying I donwloaded package of binary cmake, then I moved Binary files to root binary, and shared files to root shared. then with this comand

Code: Select all

 cmake /var/tmp/portage/dev-util/cmake-3.20.5/work/cmake-3.20.5 
i make configure gentoo cmake on /var/temp/portage/...
then

Code: Select all

 make
make install
unfortunetly this is not registered in world file, but libCTestlib did compiled successful!

There is a safe option to register package cmake by hand??

and I found another site where they said that cmake have problems with compilation when directory is mounted, my directory is mounted from /var/tmp/portage, because my root dist is to small for compiling heavy programs, and I don't have enough space for that.
Maybe that's the problem with bootstrap?
https://www.titanwolf.org/Network/q/3e ... 88bb3aa/y

Is there a way to register now cmake? that emerge will not complain?
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Sun Dec 12, 2021 9:08 pm

WARNING!!

i am sharing with that information, but interesting in to system pkg can be dangerous and can make a lot of problems in the future

There is possibility to add package to the system set manually creating folder and files of that package on

Code: Select all

 /var/db/pkg/dev-util/ 
but this is unsafe, but with problem what i did faced, this works for me as work around of problem of not compiling that package of official cmake. I did compiled that package by hand, and installed in my system, but portage did not know about that, and to be able upstate my system and not pulling out that not working ebuild, i was forced to cheat system.

I stilt did not try another way, but on forums I readed that peoples have faced this same problem when they have path mounted on another storage, and this can create problem of not compiling libCTestlib.o in Cmake.
Top
sam_
Developer
Developer
User avatar
Posts: 2816
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Mon Dec 13, 2021 6:20 am

maxim.251 wrote:WARNING!!

i am sharing with that information, but interesting in to system pkg can be dangerous and can make a lot of problems in the future

There is possibility to add package to the system set manually creating folder and files of that package on

Code: Select all

 /var/db/pkg/dev-util/ 
but this is unsafe, but with problem what i did faced, this works for me as work around of problem of not compiling that package of official cmake. I did compiled that package by hand, and installed in my system, but portage did not know about that, and to be able upstate my system and not pulling out that not working ebuild, i was forced to cheat system.

I stilt did not try another way, but on forums I readed that peoples have faced this same problem when they have path mounted on another storage, and this can create problem of not compiling libCTestlib.o in Cmake.
If you can't build CMake properly, then you need to fix that. Hacking around it is going to just invalidate support requests in future and also mean that you don't recognise - or know how to fix - the same problem when it appears in other places.

The different cURL error could easily be due to junk in /usr/local/* or something else. Hard to say without the full output.
Top
maxim.251
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Sat Jul 14, 2012 6:12 am

  • Quote

Post by maxim.251 » Mon Dec 13, 2021 6:45 am

sam_ wrote:
maxim.251 wrote:WARNING!!

i am sharing with that information, but interesting in to system pkg can be dangerous and can make a lot of problems in the future

There is possibility to add package to the system set manually creating folder and files of that package on

Code: Select all

 /var/db/pkg/dev-util/ 
but this is unsafe, but with problem what i did faced, this works for me as work around of problem of not compiling that package of official cmake. I did compiled that package by hand, and installed in my system, but portage did not know about that, and to be able upstate my system and not pulling out that not working ebuild, i was forced to cheat system.

I stilt did not try another way, but on forums I readed that peoples have faced this same problem when they have path mounted on another storage, and this can create problem of not compiling libCTestlib.o in Cmake.
If you can't build CMake properly, then you need to fix that. Hacking around it is going to just invalidate support requests in future and also mean that you don't recognise - or know how to fix - the same problem when it appears in other places.

The different cURL error could easily be due to junk in /usr/local/* or something else. Hard to say without the full output.
I try everything, what I know, and what on forums peoples faced. But even unmounting /var/tmp/portage did't helped. emerging ebuild of cmake compilation fails at this same place. only when I do it by hand cmake is compiled without problems. I thing that must be something with ebuild it self.
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Mon Dec 13, 2021 6:10 pm

Trying random things not related to your problem is unlikely to help. I agree with sam_'s comments. If you still need help, you should clean out the manual hacks you applied above, check for stray versions of curl not under Portage control, and if it still fails, provide a complete build log via pastebin.
Top
Post Reply

26 posts
  • 1
  • 2
  • Next

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic