View previous topic :: View next topic |
Author |
Message |
bobWang n00b
Joined: 19 Sep 2022 Posts: 4
|
Posted: Tue Sep 20, 2022 8:50 am Post subject: Gentoo Prefix Bootstrap fail |
|
|
I run "Gentoo Prefix Bootstrap" under linux server, CentOS Linux release 7.7.1908 with mirror configuration like
Code: |
export GENTOO_MIRRORS="http://mirrors.tuna.tsinghua.edu.cn/gentoo"
export GNU_URL="http://mirrors.tuna.tsinghua.edu.cn/gnu"
export SNAPSHOT_URL="http://mirrors.tuna.tsinghua.edu.cn/gentoo/snapshots"
|
Sadly, it fails, here is tail of build log, which is 'gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/temp/build.log', before these lines all seems to be fine
Code: |
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[1]: Leaving directory '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/build'
make: *** [Makefile:975: all] Error 2
* ERROR: sys-devel/gcc-11.3.0::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-devel/gcc-11.3.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-11.3.0::gentoo'`.
* The complete build log is located at '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/temp/build.log'.
* The ebuild environment file is located at '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/temp/environment'.
* Working directory: '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/build'
* S: '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0'
|
It did mention, I post the output of emerge, but sadly emerge isn't in gentoo/bin, I use gentoo/tmp/usr/bin/emerge, the output of `emerge -pqv '=sys-devel/gcc-11.3.0::gentoo'` is
Code: |
[nomerge ] app-text/xmlto-0.0.28-r8::gentoo USE="-latex -text"
[nomerge ] app-text/docbook-xml-dtd-4.2-r3:4.2::gentoo
[nomerge ] app-text/build-docbook-catalog-2.3-r1::gentoo
[nomerge ] sys-apps/util-linux-2.37.4::gentoo USE="cramfs hardlink logger ncurses (split-usr) suid (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -nls (-pam) -python -readline (-rtas) (-selinux) -slang -static-libs -su (-systemd) -test -tty-helpers -udev" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
[nomerge ] virtual/libcrypt-2:0/2::gentoo USE="-static-libs"
[nomerge ] sys-libs/libxcrypt-4.4.28-r1:0/1::gentoo USE="(compat) (split-usr) (system) -static-libs -test"
[nomerge ] sys-libs/glibc-2.35-r8:2.2::gentoo USE="clone3 multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc (-experimental-loong) -gd -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux) (-stack-realign) -suid (-systemd) -systemtap -test (-vanilla)"
[nomerge ] app-misc/pax-utils-1.3.5::gentoo USE="man seccomp -caps -python -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-util/meson-format-array-0::gentoo PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-lang/python-3.10.6_p4:3.10::gentoo USE="ensurepip ncurses sqlite ssl xml -bluetooth -build -examples -gdbm -hardened -libedit -lto -pgo -readline -test -tk -verify-sig"
[nomerge ] sys-devel/autoconf-2.71-r1:2.71::gentoo USE="-emacs"
[nomerge ] dev-lang/perl-5.34.1-r3:0/5.34::gentoo USE="-berkdb -debug -doc -gdbm -ithreads -minimal -quadmath"
[ebuild N ] app-admin/perl-cleaner-2.30::gentoo 7 KiB
[ebuild N ] sys-apps/portage-3.0.36::gentoo USE="(ipc) -apidoc -build -doc -gentoo-dev (-native-extensions) -rsync-verify (-selinux) -test -xattr" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 1,088 KiB
[ebuild N ] sys-apps/sandbox-2.29::gentoo USE="nnp" 443 KiB
[nomerge ] sys-apps/portage-3.0.36::gentoo USE="(ipc) -apidoc -build -doc -gentoo-dev (-native-extensions) -rsync-verify (-selinux) -test -xattr" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] app-misc/pax-utils-1.3.5::gentoo USE="man seccomp -caps -python -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-util/meson-0.62.2::gentoo USE="(-test)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/setuptools-63.4.3::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[ebuild N ] dev-python/setuptools_scm-7.0.5::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 70 KiB
[ebuild N ] dev-python/certifi-3021.3.16-r2::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 14 KiB
[ebuild N ] app-misc/pax-utils-1.3.5::gentoo USE="man seccomp -caps -python -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 (-python3_11)" 117 KiB
[ebuild N ] dev-util/meson-0.62.2::gentoo USE="(-test)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)" 1,991 KiB
[ebuild N ] dev-python/setuptools-63.4.3::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 2,540 KiB
[nomerge ] dev-util/meson-0.62.2::gentoo USE="(-test)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-lang/python-3.10.6_p4:3.10::gentoo USE="ensurepip ncurses sqlite ssl xml -bluetooth -build -examples -gdbm -hardened -libedit -lto -pgo -readline -test -tk -verify-sig"
[nomerge ] virtual/awk-1::gentoo
[nomerge ] sys-apps/gawk-5.1.1-r2::gentoo USE="-mpfr -nls -readline -verify-sig"
[ebuild N ] sys-apps/texinfo-6.8::gentoo USE="standalone -nls -static" 4,846 KiB
[nomerge ] dev-util/meson-0.62.2::gentoo USE="(-test)" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/wheel-0.37.1-r1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-lang/python-3.10.6_p4:3.10::gentoo USE="ensurepip ncurses sqlite ssl xml -bluetooth -build -examples -gdbm -hardened -libedit -lto -pgo -readline -test -tk -verify-sig"
[nomerge ] sys-devel/automake-1.16.5:1.16::gentoo USE="-test"
[nomerge ] dev-lang/perl-5.34.1-r3:0/5.34::gentoo USE="-berkdb -debug -doc -gdbm -ithreads -minimal -quadmath"
[ebuild N ] virtual/perl-CPAN-2.290.0::gentoo 0 KiB
[ebuild N ] perl-core/CPAN-2.290.0-r1::gentoo 870 KiB
[ebuild N ] virtual/perl-Encode-3.120.0::gentoo 0 KiB
[ebuild N ] perl-core/Encode-3.120.0::gentoo 2,009 KiB
[ebuild N ] virtual/perl-File-Temp-0.231.100::gentoo 0 KiB
[ebuild N ] perl-core/File-Temp-0.231.100::gentoo 76 KiB
[ebuild N ] virtual/perl-Test-Harness-3.430.0::gentoo 0 KiB
[ebuild N ] virtual/perl-Data-Dumper-2.179.0::gentoo 0 KiB
[nomerge ] sys-apps/sandbox-2.29::gentoo USE="nnp"
[nomerge ] app-misc/pax-utils-1.3.5::gentoo USE="man seccomp -caps -python -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 (-python3_11)"
[ebuild N ] app-text/xmlto-0.0.28-r8::gentoo USE="-latex -text" 125 KiB
[ebuild N ] dev-libs/libxslt-1.1.35::gentoo USE="crypt -debug -examples -static-libs" 1,785 KiB
[ebuild N ] dev-libs/libgcrypt-1.9.4-r2:0/20::gentoo USE="asm -doc -static-libs -verify-sig" CPU_FLAGS_X86="-aes -avx -avx2 -padlock -sha -sse4_1" 3,164 KiB
[ebuild N ] dev-libs/libgpg-error-1.45::gentoo USE="-common-lisp -nls -static-libs -test" 993 KiB
[ebuild N ] app-text/docbook-xml-dtd-4.2-r3:4.2::gentoo 77 KiB
[ebuild N ] dev-util/ninja-1.11.0::gentoo USE="-doc -emacs -test -vim-syntax" 225 KiB
[ebuild N ] dev-util/re2c-2.1.1-r1::gentoo USE="-debug" 1,310 KiB
[nomerge ] sys-apps/portage-3.0.36::gentoo USE="(ipc) -apidoc -build -doc -gentoo-dev (-native-extensions) -rsync-verify (-selinux) -test -xattr" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/setuptools-63.4.3::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/wheel-0.37.1-r1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/flit_core-3.7.1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-lang/python-3.10.6_p4:3.10::gentoo USE="ensurepip ncurses sqlite ssl xml -bluetooth -build -examples -gdbm -hardened -libedit -lto -pgo -readline -test -tk -verify-sig"
[ebuild N ] dev-db/sqlite-3.39.2:3::gentoo USE="-debug -doc -icu -readline -secure-delete -static-libs -tcl -test -tools" 13,090 KiB
[ebuild N ] dev-lang/tcl-8.6.12:0/8.6::gentoo USE="threads -debug" 5,923 KiB
[ebuild N ] dev-libs/expat-2.4.8::gentoo USE="unicode -examples -static-libs" 444 KiB
[nomerge ] app-text/xmlto-0.0.28-r8::gentoo USE="-latex -text"
[ebuild N ] app-text/docbook-xsl-stylesheets-1.79.1-r3::gentoo USE="-ruby" 21,454 KiB
[ebuild N ] app-text/build-docbook-catalog-2.3-r1::gentoo 5 KiB
[ebuild N ] dev-libs/libxml2-2.9.14-r1:2::gentoo USE="-debug -examples -icu -lzma -python -readline -static-libs -test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)" 3,065 KiB
[ebuild N ] sys-devel/libtool-2.4.7:2::gentoo USE="-vanilla" 993 KiB
[ebuild N ] sys-devel/automake-1.16.5:1.16::gentoo USE="-test" 1,565 KiB
[ebuild N ] sys-apps/help2man-1.48.5::gentoo USE="-nls" 200 KiB
[ebuild N ] sys-devel/autoconf-2.71-r1:2.71::gentoo USE="-emacs" 1,263 KiB
[ebuild N ] dev-lang/perl-5.34.1-r3:0/5.34::gentoo USE="-berkdb -debug -doc -gdbm -ithreads -minimal -quadmath" 12,773 KiB
[nomerge ] dev-python/setuptools_scm-7.0.5::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[ebuild N ] dev-python/typing-extensions-4.3.0::gentoo PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 47 KiB
[nomerge ] dev-python/setuptools_scm-7.0.5::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/setuptools-63.4.3::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[ebuild N ] dev-python/ordered-set-4.1.0::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 13 KiB
[ebuild N ] dev-python/nspektr-0.4.0::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 7 KiB
[ebuild N ] dev-python/jaraco-text-3.8.1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 14 KiB
[ebuild N ] dev-python/appdirs-1.4.4-r2::gentoo PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 10 KiB
[ebuild N ] dev-python/wheel-0.37.1-r1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 68 KiB
[ebuild N ] dev-python/packaging-21.3-r2::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 79 KiB
[ebuild N ] dev-python/pyparsing-3.0.9::gentoo USE="-examples -test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 946 KiB
[nomerge ] dev-python/nspektr-0.4.0::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[ebuild N ] dev-python/jaraco-functools-3.5.1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 15 KiB
[ebuild N ] dev-python/jaraco-context-4.1.2::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 9 KiB
[ebuild N ] dev-python/more-itertools-8.14.0::gentoo USE="-doc -test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 101 KiB
[ebuild N ] dev-python/flit_core-3.7.1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 40 KiB
[ebuild N ] dev-python/gpep517-9::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 15 KiB
[ebuild N ] dev-python/installer-0.5.1-r1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 900 KiB
[ebuild N ] dev-util/meson-format-array-0::gentoo PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)" 0 KiB
[nomerge ] dev-python/certifi-3021.3.16-r2::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/setuptools-63.4.3::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/packaging-21.3-r2::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/flit_core-3.7.1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[ebuild N ] dev-python/tomli-2.0.1-r1::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)" 144 KiB
[ebuild N ] dev-lang/python-3.10.6_p4:3.10::gentoo USE="ensurepip ncurses sqlite ssl xml -bluetooth -build -examples -gdbm -hardened -libedit -lto -pgo -readline -test -tk -verify-sig" 19,170 KiB
[ebuild N ] sys-apps/gawk-5.1.1-r2::gentoo USE="-mpfr -nls -readline -verify-sig" 3,175 KiB
[nomerge ] sys-apps/portage-3.0.36::gentoo USE="(ipc) -apidoc -build -doc -gentoo-dev (-native-extensions) -rsync-verify (-selinux) -test -xattr" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[ebuild N ] net-misc/rsync-3.2.4-r3::gentoo USE="iconv ipv6 ssl -acl -examples -lz4 -stunnel -system-zlib -verify-sig -xattr -xxhash -zstd" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" 1,089 KiB
[ebuild N ] sys-libs/libxcrypt-4.4.28-r1:0/1::gentoo USE="(compat) (split-usr) (system) -static-libs -test" 0 KiB
[nomerge ] sys-devel/gcc-11.3.0:11::gentoo USE="(cxx) nptl openmp (pie) ssp -ada (-cet) (-custom-cflags) -d -debug -doc (-fixed-point) -fortran -go -graphite (-hardened) -jit (-libssp) -lto (-multilib) -nls -objc -objc++ -objc-gc (-pch) -pgo -sanitize -systemtap -test -valgrind (-vanilla) -vtv -zstd"
[nomerge ] sys-libs/glibc-2.35-r8:2.2::gentoo USE="clone3 multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc (-experimental-loong) -gd -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux) (-stack-realign) -suid (-systemd) -systemtap -test (-vanilla)"
[ebuild N ] net-dns/libidn2-2.3.3:0/2::gentoo USE="-nls -static-libs -verify-sig" 2,068 KiB
[ebuild N ] virtual/awk-1::gentoo 0 KiB
[nomerge ] sys-apps/portage-3.0.36::gentoo USE="(ipc) -apidoc -build -doc -gentoo-dev (-native-extensions) -rsync-verify (-selinux) -test -xattr" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[ebuild N ] app-admin/eselect-1.4.20::gentoo USE="-doc -emacs -vim-syntax" 177 KiB
[ebuild N ] sys-apps/coreutils-8.32-r1::gentoo USE="(split-usr) -acl -caps -gmp -hostname -kill -multicall -nls (-selinux) -static -test -vanilla -xattr" 5,424 KiB
[ebuild N ] sys-apps/file-5.41::gentoo USE="bzip2 seccomp zlib -lzma -python -static-libs" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)" 1,040 KiB
[ebuild N ] sys-libs/libseccomp-2.5.4::gentoo USE="(-experimental-loong) -python -static-libs -test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9" 623 KiB
[ebuild N ] sys-kernel/linux-headers-5.15-r3::gentoo USE="-headers-only" 0 KiB
[nomerge ] dev-python/setuptools_scm-7.0.5::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-python/packaging-21.3-r2::gentoo USE="-test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-lang/python-3.10.6_p4:3.10::gentoo USE="ensurepip ncurses sqlite ssl xml -bluetooth -build -examples -gdbm -hardened -libedit -lto -pgo -readline -test -tk -verify-sig"
[nomerge ] sys-apps/util-linux-2.37.4::gentoo USE="cramfs hardlink logger ncurses (split-usr) suid (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -nls (-pam) -python -readline (-rtas) (-selinux) -slang -static-libs -su (-systemd) -test -tty-helpers -udev" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
[ebuild N ] virtual/os-headers-0-r2::gentoo 0 KiB
[nomerge ] dev-python/pyparsing-3.0.9::gentoo USE="-examples -test" PYTHON_TARGETS="python3_10 (-pypy3) -python3_8 -python3_9 (-python3_11)"
[nomerge ] dev-lang/python-3.10.6_p4:3.10::gentoo USE="ensurepip ncurses sqlite ssl xml -bluetooth -build -examples -gdbm -hardened -libedit -lto -pgo -readline -test -tk -verify-sig"
[nomerge ] dev-libs/openssl-1.1.1q:0/1.1::gentoo USE="asm -rfc3779 -sctp -sslv3 -static-libs -test -tls-compression -tls-heartbeat -vanilla -verify-sig -weak-ssl-ciphers" CPU_FLAGS_X86="(sse2)"
[nomerge ] app-misc/ca-certificates-20211016.3.80::gentoo USE="-cacert"
[nomerge ] sys-apps/debianutils-5.7::gentoo USE="installkernel -static"
[ebuild N ] sys-kernel/installkernel-gentoo-5::gentoo USE="-grub" 3 KiB
[ebuild N ] sys-apps/debianutils-5.7::gentoo USE="installkernel -static" 252 KiB
[ebuild N ] app-misc/ca-certificates-20211016.3.80::gentoo USE="-cacert" 83,087 KiB
[ebuild N ] dev-libs/openssl-1.1.1q:0/1.1::gentoo USE="asm -rfc3779 -sctp -sslv3 -static-libs -test -tls-compression -tls-heartbeat -vanilla -verify-sig -weak-ssl-ciphers" CPU_FLAGS_X86="(sse2)" 9,633 KiB
[ebuild R ] sys-devel/gcc-11.3.0:11::gentoo USE="(cxx) nptl openmp (pie) ssp -ada (-cet) (-custom-cflags) -d -debug -doc (-fixed-point) -fortran -go -graphite (-hardened) -jit (-libssp) -lto (-multilib) -nls -objc -objc++ -objc-gc (-pch) -pgo -sanitize -systemtap -test -valgrind (-vanilla) -vtv -zstd" 0 KiB
[ebuild N ] sys-libs/glibc-2.35-r8:2.2::gentoo USE="clone3 multiarch ssp (static-libs) -audit -caps (-cet) -compile-locales (-crypt) (-custom-cflags) -doc (-experimental-loong) -gd -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux) (-stack-realign) -suid (-systemd) -systemtap -test (-vanilla)" 0 KiB
[nomerge ] net-dns/libidn2-2.3.3:0/2::gentoo USE="-nls -static-libs -verify-sig"
[nomerge ] sys-apps/help2man-1.48.5::gentoo USE="-nls"
[nomerge ] dev-lang/perl-5.34.1-r3:0/5.34::gentoo USE="-berkdb -debug -doc -gdbm -ithreads -minimal -quadmath"
[ebuild N ] virtual/libcrypt-2:0/2::gentoo USE="-static-libs" 0 KiB
[nomerge ] app-text/xmlto-0.0.28-r8::gentoo USE="-latex -text"
[ebuild N ] sys-apps/util-linux-2.37.4::gentoo USE="cramfs hardlink logger ncurses (split-usr) suid (unicode) -audit -build -caps -cryptsetup -fdformat -kill -magic -nls (-pam) -python -readline (-rtas) (-selinux) -slang -static-libs -su (-systemd) -test -tty-helpers -udev" PYTHON_TARGETS="python3_10 -python3_8 -python3_9" 5,971 KiB
Total: 71 packages (70 new, 1 reinstall), Size of downloads: 216,615 KiB
* Error: circular dependencies:
(virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) depends on
(sys-libs/libxcrypt-4.4.28-r1:0/1::gentoo, ebuild scheduled for merge) (runtime)
(dev-lang/perl-5.34.1-r3:0/5.34::gentoo, ebuild scheduled for merge) (buildtime)
(virtual/libcrypt-2:0/2::gentoo, ebuild scheduled for merge) (buildtime_slot_op)
* Note that circular dependencies can often be avoided by temporarily
* disabling USE flags that trigger optional dependencies.
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
bobWang n00b
Joined: 19 Sep 2022 Posts: 4
|
Posted: Tue Sep 20, 2022 8:55 am Post subject: Oh, when I post the build log, I may find something! |
|
|
Oh, when I post the build log, I may find something! Actually, I stick for days because of having no clue of this, looks like my system gcc is too old?
something in middle of my build.log is
Code: |
make[1]: Leaving directory '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/build'
make[2]: Entering directory '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/libcody'
g++ -isystem /home/wangjingbo/gentoo/usr/include -B/home/wangjingbo/gentoo/usr/lib64 -L/home/wangjingbo/gentoo/usr/lib64 -Wl,--dynamic-linker=/home/wangjingbo/gentoo/lib64/ld-linux-x86-64.so.2 -pipe -pipe -O2 -fno-exceptions -fno-rtti -include config.h -I/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody \
-MMD -MP -MF client.d -c -o client.o /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc:6:
/usr/include/stdlib.h:95:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
95 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:101:5: error: 'div_t' does not name a type
101 | } div_t;
| ^~~~~
/usr/include/stdlib.h:112:1: error: '__END_NAMESPACE_STD' does not name a type
112 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:121:5: error: 'lldiv_t' does not name a type; did you mean 'ldiv_t'?
121 | } lldiv_t;
| ^~~~~~~
| ldiv_t
/usr/include/stdlib.h:123:1: error: '__END_NAMESPACE_C99' does not name a type
123 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:142:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
142 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:152:1: error: '__END_NAMESPACE_STD' does not name a type
152 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:159:1: error: '__END_NAMESPACE_C99' does not name a type
159 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:167:1: error: '__END_NAMESPACE_STD' does not name a type
167 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:178:1: error: '__END_NAMESPACE_C99' does not name a type
178 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:190:1: error: '__END_NAMESPACE_STD' does not name a type
190 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:217:1: error: '__END_NAMESPACE_C99' does not name a type
217 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:235,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc:6:
/usr/include/xlocale.h:39:14: error: expected constructor, destructor, or type conversion before ';' token
39 | } *__locale_t;
| ^
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc:6:
/usr/include/stdlib.h:276:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
276 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h: In function 'long int atol(const char*)':
/usr/include/stdlib.h:285:10: error: 'strtol' was not declared in this scope; did you mean 'strtoul'?
285 | return strtol (__nptr, (char **) NULL, 10);
| ^~~~~~
| strtoul
/usr/include/stdlib.h: At global scope:
/usr/include/stdlib.h:287:1: error: '__END_NAMESPACE_STD' does not name a type
287 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:296:1: error: '__END_NAMESPACE_C99' does not name a type
296 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc:6:
/usr/include/stdlib.h:372:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
372 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:377:1: error: '__END_NAMESPACE_STD' does not name a type
377 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:463:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
463 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:469:1: error: '__END_NAMESPACE_STD' does not name a type
469 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:483:1: error: '__END_NAMESPACE_STD' does not name a type
483 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc:6:
/usr/include/stdlib.h:512:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
512 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:529:1: error: '__END_NAMESPACE_STD' does not name a type
529 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:538:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
538 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:550:1: error: '__END_NAMESPACE_STD' does not name a type
550 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:557:1: error: '__END_NAMESPACE_C99' does not name a type
557 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:564:1: error: '__END_NAMESPACE_STD' does not name a type
564 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:711:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
711 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:717:1: error: '__END_NAMESPACE_STD' does not name a type
717 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:751:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
751 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:772:1: error: '__END_NAMESPACE_STD' does not name a type
772 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:780:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
780 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:788:1: error: '__END_NAMESPACE_STD' does not name a type
788 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:795:1: error: '__END_NAMESPACE_C99' does not name a type
795 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:876:1: error: '__END_NAMESPACE_STD' does not name a type
876 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:951,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc:6:
/home/wangjingbo/gentoo/usr/include/bits/stdlib-float.h: In function 'double atof(const char*)':
/home/wangjingbo/gentoo/usr/include/bits/stdlib-float.h:27:10: error: 'strtod' was not declared in this scope; did you mean 'strtold'?
27 | return strtod (__nptr, (char **) NULL);
| ^~~~~~
| strtold
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc:6:
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib: At global scope:
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:127:11: error: 'div_t' has not been declared in '::'
127 | using ::div_t;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:130:11: error: 'abort' has not been declared in '::'
130 | using ::abort;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:143:11: error: 'bsearch' has not been declared in '::'
143 | using ::bsearch;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:145:11: error: 'div' has not been declared in '::'
145 | using ::div;
| ^~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:146:11: error: 'exit' has not been declared in '::'
146 | using ::exit;
| ^~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:148:11: error: 'getenv' has not been declared in '::'
148 | using ::getenv;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:151:11: error: 'malloc' has not been declared in '::'
151 | using ::malloc;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:153:11: error: 'mblen' has not been declared in '::'
153 | using ::mblen;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:163:11: error: 'rand' has not been declared in '::'
163 | using ::rand;
| ^~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:164:11: error: 'realloc' has not been declared in '::'
164 | using ::realloc;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:166:11: error: 'strtod' has not been declared in '::'
166 | using ::strtod;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:167:11: error: 'strtol' has not been declared in '::'
167 | using ::strtol;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:169:11: error: 'system' has not been declared in '::'
169 | using ::system;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:200:11: error: 'lldiv_t' has not been declared in '::'
200 | using ::lldiv_t;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:206:11: error: '_Exit' has not been declared in '::'
206 | using ::_Exit;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:210:11: error: 'llabs' has not been declared in '::'
210 | using ::llabs;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:212:10: error: 'lldiv_t' does not name a type; did you mean 'ldiv_t'?
212 | inline lldiv_t
| ^~~~~~~
| ldiv_t
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:216:11: error: 'lldiv' has not been declared in '::'
216 | using ::lldiv;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:227:11: error: 'atoll' has not been declared in '::'
227 | using ::atoll;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:228:11: error: 'strtoll' has not been declared in '::'
228 | using ::strtoll;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:231:11: error: 'strtof' has not been declared in '::'
231 | using ::strtof;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:240:22: error: 'lldiv_t' has not been declared in '__gnu_cxx'
240 | using ::__gnu_cxx::lldiv_t;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:242:22: error: '_Exit' has not been declared in '__gnu_cxx'
242 | using ::__gnu_cxx::_Exit;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:244:22: error: 'llabs' has not been declared in '__gnu_cxx'
244 | using ::__gnu_cxx::llabs;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:245:22: error: 'div' has not been declared in '__gnu_cxx'
245 | using ::__gnu_cxx::div;
| ^~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:246:22: error: 'lldiv' has not been declared in '__gnu_cxx'
246 | using ::__gnu_cxx::lldiv;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:248:22: error: 'atoll' has not been declared in '__gnu_cxx'
248 | using ::__gnu_cxx::atoll;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:249:22: error: 'strtof' has not been declared in '__gnu_cxx'
249 | using ::__gnu_cxx::strtof;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:250:22: error: 'strtoll' has not been declared in '__gnu_cxx'
250 | using ::__gnu_cxx::strtoll;
| ^~~~~~~
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/client.cc:6:
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'int std::__cxx11::stoi(const string&, std::size_t*, int)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6620:47: error: 'strtol' is not a member of 'std'; did you mean 'strtoul'?
6620 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
| ^~~~~~
| strtoul
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'long int std::__cxx11::stol(const string&, std::size_t*, int)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6625:36: error: 'strtol' is not a member of 'std'; did you mean 'strtoul'?
6625 | { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
| ^~~~~~
| strtoul
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const string&, std::size_t*, int)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6635:36: error: 'strtoll' is not a member of 'std'; did you mean 'strtoull'?
6635 | { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
| ^~~~~~~
| strtoull
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'float std::__cxx11::stof(const string&, std::size_t*)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6646:36: error: 'strtof' is not a member of 'std'; did you mean 'strtoul'?
6646 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
| ^~~~~~
| strtoul
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'double std::__cxx11::stod(const string&, std::size_t*)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6650:36: error: 'strtod' is not a member of 'std'; did you mean 'strtold'?
6650 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
| ^~~~~~
| strtold
make[2]: *** [Makefile:57: client.o] Error 1
make[2]: Leaving directory '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/libcody'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/libcody'
g++ -isystem /home/wangjingbo/gentoo/usr/include -B/home/wangjingbo/gentoo/usr/lib64 -L/home/wangjingbo/gentoo/usr/lib64 -Wl,--dynamic-linker=/home/wangjingbo/gentoo/lib64/ld-linux-x86-64.so.2 -pipe -pipe -O2 -fno-exceptions -fno-rtti -include config.h -I/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody \
-MMD -MP -MF buffer.d -c -o buffer.o /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:6:
/usr/include/stdlib.h:95:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
95 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:101:5: error: 'div_t' does not name a type
101 | } div_t;
| ^~~~~
/usr/include/stdlib.h:112:1: error: '__END_NAMESPACE_STD' does not name a type
112 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:121:5: error: 'lldiv_t' does not name a type; did you mean 'ldiv_t'?
121 | } lldiv_t;
| ^~~~~~~
| ldiv_t
/usr/include/stdlib.h:123:1: error: '__END_NAMESPACE_C99' does not name a type
123 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:142:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
142 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:152:1: error: '__END_NAMESPACE_STD' does not name a type
152 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:159:1: error: '__END_NAMESPACE_C99' does not name a type
159 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:167:1: error: '__END_NAMESPACE_STD' does not name a type
167 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:178:1: error: '__END_NAMESPACE_C99' does not name a type
178 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:190:1: error: '__END_NAMESPACE_STD' does not name a type
190 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:217:1: error: '__END_NAMESPACE_C99' does not name a type
217 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:235,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:6:
/usr/include/xlocale.h:39:14: error: expected constructor, destructor, or type conversion before ';' token
39 | } *__locale_t;
| ^
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:6:
/usr/include/stdlib.h:276:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
276 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h: In function 'long int atol(const char*)':
/usr/include/stdlib.h:285:10: error: 'strtol' was not declared in this scope; did you mean 'strtoul'?
285 | return strtol (__nptr, (char **) NULL, 10);
| ^~~~~~
| strtoul
/usr/include/stdlib.h: At global scope:
/usr/include/stdlib.h:287:1: error: '__END_NAMESPACE_STD' does not name a type
287 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:296:1: error: '__END_NAMESPACE_C99' does not name a type
296 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:6:
/usr/include/stdlib.h:372:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
372 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:377:1: error: '__END_NAMESPACE_STD' does not name a type
377 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:463:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
463 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:469:1: error: '__END_NAMESPACE_STD' does not name a type
469 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:483:1: error: '__END_NAMESPACE_STD' does not name a type
483 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:6:
/usr/include/stdlib.h:512:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
512 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:529:1: error: '__END_NAMESPACE_STD' does not name a type
529 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:538:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
538 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:550:1: error: '__END_NAMESPACE_STD' does not name a type
550 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:557:1: error: '__END_NAMESPACE_C99' does not name a type
557 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:564:1: error: '__END_NAMESPACE_STD' does not name a type
564 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:711:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
711 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:717:1: error: '__END_NAMESPACE_STD' does not name a type
717 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:751:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
751 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:772:1: error: '__END_NAMESPACE_STD' does not name a type
772 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:780:1: error: '__BEGIN_NAMESPACE_STD' does not name a type
780 | __BEGIN_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:788:1: error: '__END_NAMESPACE_STD' does not name a type
788 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:795:1: error: '__END_NAMESPACE_C99' does not name a type
795 | __END_NAMESPACE_C99
| ^~~~~~~~~~~~~~~~~~~
/usr/include/stdlib.h:876:1: error: '__END_NAMESPACE_STD' does not name a type
876 | __END_NAMESPACE_STD
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdlib.h:951,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:75,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:6:
/home/wangjingbo/gentoo/usr/include/bits/stdlib-float.h: In function 'double atof(const char*)':
/home/wangjingbo/gentoo/usr/include/bits/stdlib-float.h:27:10: error: 'strtod' was not declared in this scope; did you mean 'strtold'?
27 | return strtod (__nptr, (char **) NULL);
| ^~~~~~
| strtold
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/ext/string_conversions.h:41,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6608,
from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:6:
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib: At global scope:
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:127:11: error: 'div_t' has not been declared in '::'
127 | using ::div_t;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:130:11: error: 'abort' has not been declared in '::'
130 | using ::abort;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:143:11: error: 'bsearch' has not been declared in '::'
143 | using ::bsearch;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:145:11: error: 'div' has not been declared in '::'
145 | using ::div;
| ^~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:146:11: error: 'exit' has not been declared in '::'
146 | using ::exit;
| ^~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:148:11: error: 'getenv' has not been declared in '::'
148 | using ::getenv;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:151:11: error: 'malloc' has not been declared in '::'
151 | using ::malloc;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:153:11: error: 'mblen' has not been declared in '::'
153 | using ::mblen;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:163:11: error: 'rand' has not been declared in '::'
163 | using ::rand;
| ^~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:164:11: error: 'realloc' has not been declared in '::'
164 | using ::realloc;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:166:11: error: 'strtod' has not been declared in '::'
166 | using ::strtod;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:167:11: error: 'strtol' has not been declared in '::'
167 | using ::strtol;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:169:11: error: 'system' has not been declared in '::'
169 | using ::system;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:200:11: error: 'lldiv_t' has not been declared in '::'
200 | using ::lldiv_t;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:206:11: error: '_Exit' has not been declared in '::'
206 | using ::_Exit;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:210:11: error: 'llabs' has not been declared in '::'
210 | using ::llabs;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:212:10: error: 'lldiv_t' does not name a type; did you mean 'ldiv_t'?
212 | inline lldiv_t
| ^~~~~~~
| ldiv_t
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:216:11: error: 'lldiv' has not been declared in '::'
216 | using ::lldiv;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:227:11: error: 'atoll' has not been declared in '::'
227 | using ::atoll;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:228:11: error: 'strtoll' has not been declared in '::'
228 | using ::strtoll;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:231:11: error: 'strtof' has not been declared in '::'
231 | using ::strtof;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:240:22: error: 'lldiv_t' has not been declared in '__gnu_cxx'
240 | using ::__gnu_cxx::lldiv_t;
| ^~~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:242:22: error: '_Exit' has not been declared in '__gnu_cxx'
242 | using ::__gnu_cxx::_Exit;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:244:22: error: 'llabs' has not been declared in '__gnu_cxx'
244 | using ::__gnu_cxx::llabs;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:245:22: error: 'div' has not been declared in '__gnu_cxx'
245 | using ::__gnu_cxx::div;
| ^~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:246:22: error: 'lldiv' has not been declared in '__gnu_cxx'
246 | using ::__gnu_cxx::lldiv;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:248:22: error: 'atoll' has not been declared in '__gnu_cxx'
248 | using ::__gnu_cxx::atoll;
| ^~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:249:22: error: 'strtof' has not been declared in '__gnu_cxx'
249 | using ::__gnu_cxx::strtof;
| ^~~~~~
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/cstdlib:250:22: error: 'strtoll' has not been declared in '__gnu_cxx'
250 | using ::__gnu_cxx::strtoll;
| ^~~~~~~
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/string:55,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/cody.hh:25,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/internal.hh:5,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:6:
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'int std::__cxx11::stoi(const string&, std::size_t*, int)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6620:47: error: 'strtol' is not a member of 'std'; did you mean 'strtoul'?
6620 | { return __gnu_cxx::__stoa<long, int>(&std::strtol, "stoi", __str.c_str(),
| ^~~~~~
| strtoul
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'long int std::__cxx11::stol(const string&, std::size_t*, int)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6625:36: error: 'strtol' is not a member of 'std'; did you mean 'strtoul'?
6625 | { return __gnu_cxx::__stoa(&std::strtol, "stol", __str.c_str(),
| ^~~~~~
| strtoul
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'long long int std::__cxx11::stoll(const string&, std::size_t*, int)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6635:36: error: 'strtoll' is not a member of 'std'; did you mean 'strtoull'?
6635 | { return __gnu_cxx::__stoa(&std::strtoll, "stoll", __str.c_str(),
| ^~~~~~~
| strtoull
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'float std::__cxx11::stof(const string&, std::size_t*)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6646:36: error: 'strtof' is not a member of 'std'; did you mean 'strtoul'?
6646 | { return __gnu_cxx::__stoa(&std::strtof, "stof", __str.c_str(), __idx); }
| ^~~~~~
| strtoul
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h: In function 'double std::__cxx11::stod(const string&, std::size_t*)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/basic_string.h:6650:36: error: 'strtod' is not a member of 'std'; did you mean 'strtold'?
6650 | { return __gnu_cxx::__stoa(&std::strtod, "stod", __str.c_str(), __idx); }
| ^~~~~~
| strtold
In file included from /home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/algorithm:62,
from /home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/gcc-11.3.0/libcody/buffer.cc:8:
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/stl_algo.h: In function 'void std::random_shuffle(_RAIter, _RAIter)':
/home/wangjingbo/gentoo/tmp/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/include/g++-v11/bits/stl_algo.h:4580:48: error: 'rand' is not a member of 'std'; did you mean 'srand'?
4580 | + std::rand() % ((__i - __first) + 1);
| ^~~~
| srand
make[2]: *** [Makefile:57: buffer.o] Error 1
make[2]: Leaving directory '/home/wangjingbo/gentoo/var/tmp/portage/sys-devel/gcc-11.3.0/work/build/libcody'
make[1]: *** [Makefile:7566: all-libcody] Error 2
|
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 488
|
Posted: Thu Sep 22, 2022 12:36 pm Post subject: |
|
|
Not sure how old of gcc you have, but some info from a quick search says Centos 7 might even be shipping gcc 4.x.y still? that's probably too old (Gcc's prerequisite doc says gcc 11 needs a compiler that can handle c++11 and depending on the exact 4.x version c++11 support is missing/incomplete), but it also appears like theres newer gcc available in their software collections: I'd see about snagging devtoolset-11 which comes with gcc 11.
Not 100% sure of below since I don't use redhat/centos
Install
Code: |
yum install centos-release-scl
yum install devtoolset-11-toolchain
|
Enter a shell with the new gcc etc in your path. (Should only be needed during prefix bootstrap)
Code: |
scl enable devtoolset-11 bash
|
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21842
|
Posted: Thu Sep 22, 2022 2:00 pm Post subject: |
|
|
If you suspect that your tools are out of date, please tell us the exact versions of the outdated tools so that we can confirm or reject that theory, and can then propose next steps. |
|
Back to top |
|
|
bobWang n00b
Joined: 19 Sep 2022 Posts: 4
|
Posted: Thu Sep 22, 2022 2:10 pm Post subject: |
|
|
My error, I haven't provide enough information, my gcc version is gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39), and my glibc is 2.17. Unfortunately, I don't have the permission to install devtoolset-11, I try to bypass sudo permission needed for devtoolset-11 using the method provided by Quote: | https://superuser.com/questions/209808/how-can-i-install-an-rpm-without-being-root | , but seems to fail. |
|
Back to top |
|
|
bobWang n00b
Joined: 19 Sep 2022 Posts: 4
|
Posted: Fri Sep 23, 2022 12:19 am Post subject: |
|
|
Phoenix591 wrote: | Not sure how old of gcc you have, but some info from a quick search says Centos 7 might even be shipping gcc 4.x.y still? that's probably too old (Gcc's prerequisite doc says gcc 11 needs a compiler that can handle c++11 and depending on the exact 4.x version c++11 support is missing/incomplete), but it also appears like theres newer gcc available in their software collections: I'd see about snagging devtoolset-11 which comes with gcc 11.
Not 100% sure of below since I don't use redhat/centos
Install
Code: |
yum install centos-release-scl
yum install devtoolset-11-toolchain
|
Enter a shell with the new gcc etc in your path. (Should only be needed during prefix bootstrap)
Code: |
scl enable devtoolset-11 bash
|
|
I have successfully installed devtoolset-11 under my home directory without privilege. Without power of sudo, how am I supposed to tell bootstrap script to use gcc under certain directory and give CFLAGS? Having no clue in official doc, I'm looking forward to your answer. |
|
Back to top |
|
|
Phoenix591 Guru
Joined: 17 Sep 2007 Posts: 488
|
Posted: Fri Sep 23, 2022 9:57 am Post subject: |
|
|
Depends how exactly you installed them and what the resulting folder structure looks like. if you're lucky just need to put the bin folders into the front of your PATH.
Code: |
export PATH="/home/bobWang/?(Find out)?/bin:(maybe the same thing but /usr/bin:${PATH}"
|
you'll probably also have to do the same with LD_LIBRARY_PATH and the lib and lib64 folders from it |
|
Back to top |
|
|
|
|
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
|
|