1 |
Script started on 2020-10-05 09:53:20-04:00 [TERM="linux" TTY="/dev/tty2" COLUMNS="80" LINES="25"] |
2 |
[01;31mlivecd[01;34m / #[00m emerge --ask --verbose --ud[Kpdate --deep --newuse @world |
3 |
|
4 |
These are the packages that would be merged, in order: |
5 |
|
6 |
Calculating dependencies ...... ... done! |
7 |
[ebuild R ] dev-libs/libpcre-8.44:3::gentoo USE="bzip2 cxx jit readline recursion-limit (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs*" ABI_X86="(64) -32 (-x32)" 0 KiB |
8 |
[ebuild U ] app-arch/zstd-1.4.5:0/1::gentoo [1.4.4-r4:0/1::gentoo] USE="threads -lz4 -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
9 |
[ebuild U ] sys-apps/sandbox-2.20::gentoo [2.18::gentoo] ABI_X86="(32) (64) (-x32)" 0 KiB |
10 |
[ebuild U ] sys-apps/less-563::gentoo [551::gentoo] USE="pcre unicode" 0 KiB |
11 |
[ebuild U ] sys-apps/debianutils-4.11.2::gentoo [4.11.1::gentoo] USE="installkernel -static" 0 KiB |
12 |
[ebuild U ] dev-lang/python-exec-2.4.6-r2:2::gentoo [2.4.6-r1:2::gentoo] PYTHON_TARGETS="(pypy3) (python2_7) (python3_6) (python3_7) (python3_8) (python3_9)" 0 KiB |
13 |
[uninstall ] dev-lang/python-2.7.18-r2:2.7::gentoo USE="gdbm ipv6 ncurses readline ssl (threads) (wide-unicode) xml (-berkdb) -bluetooth -build -examples -hardened -libressl -sqlite -tk -wininst" |
14 |
[blocks b ] <=dev-lang/python-2.7.18-r3:2.7 ("<=dev-lang/python-2.7.18-r3:2.7" is blocking dev-lang/python-exec-2.4.6-r2) |
15 |
[ebuild U ] sys-apps/busybox-1.32.0::gentoo [1.31.1-r2::gentoo] USE="ipv6 static systemd* -debug -livecd -make-symlinks -math -mdev -pam -savedconfig (-selinux) -sep-usr -syslog" 0 KiB |
16 |
[ebuild U ] app-admin/perl-cleaner-2.28::gentoo [2.27::gentoo] 0 KiB |
17 |
[ebuild NS ] app-text/docbook-xml-dtd-4.2-r3:4.2::gentoo [4.1.2-r7:4.1.2::gentoo, 4.3-r2:4.3::gentoo, 4.4-r3:4.4::gentoo, 4.5-r2:4.5::gentoo] 0 KiB |
18 |
[ebuild U ] sys-fs/udev-init-scripts-34::gentoo [33::gentoo] 0 KiB |
19 |
[ebuild U ] sys-apps/hwids-20200813.1::gentoo [20200204::gentoo] USE="net pci udev usb" 0 KiB |
20 |
[ebuild U ] sys-apps/man-pages-5.08::gentoo [5.07::gentoo] L10N="-de -fr -it -ja -nl -pl -ru -zh-CN" 0 KiB |
21 |
[ebuild U ] sys-apps/attr-2.4.48-r4::gentoo [2.4.48-r3::gentoo] USE="nls (split-usr) -debug -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
22 |
[ebuild NS ] sys-devel/binutils-2.35.1:2.35::gentoo [2.34-r2:2.34::gentoo] USE="gold nls plugins -default-gold -doc -multitarget -static-libs -test -vanilla%" 0 KiB |
23 |
[ebuild U ] sys-apps/acl-2.2.53-r1::gentoo [2.2.53::gentoo] USE="nls (split-usr) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
24 |
[ebuild U ] sys-devel/make-4.3::gentoo [4.2.1-r4::gentoo] USE="nls -guile -static" 0 KiB |
25 |
[ebuild U ] sys-devel/bison-3.7.2::gentoo [3.7.1-r1::gentoo] USE="nls -examples -static -test" 0 KiB |
26 |
[ebuild NS ] sys-devel/gcc-10.2.0-r2:10::gentoo [9.3.0-r1:9.3.0::gentoo] USE="(cxx) fortran (multilib) nls nptl openmp pch (pie) sanitize ssp vtv (-ada) -d -debug -doc (-fixed-point) -go -graphite (-hardened) -jit (-libssp) -lto -objc -objc++ -objc-gc -pgo -systemtap -test -vanilla -zstd% (-altivec%)" 0 KiB |
27 |
[ebuild U ] dev-libs/popt-1.18::gentoo [1.16-r2::gentoo] USE="nls -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
28 |
[ebuild U ] sys-apps/grep-3.5::gentoo [3.4::gentoo] USE="nls pcre -static" 0 KiB |
29 |
[ebuild U ] dev-libs/elfutils-0.181::gentoo [0.180::gentoo] USE="bzip2 nls utils -lzma -static-libs -test (-threads) -valgrind" ABI_X86="(64) -32 (-x32)" 0 KiB |
30 |
[ebuild U ] app-editors/nano-5.2::gentoo [4.9.3::gentoo] USE="magic ncurses nls spell (split-usr) unicode -debug -justify -minimal -slang -static" 0 KiB |
31 |
[ebuild U ] dev-python/certifi-10001-r1::gentoo [10001::gentoo] USE="-test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9 (-python2_7%*)" 0 KiB |
32 |
[ebuild U ] dev-util/meson-0.55.3::gentoo [0.54.3::gentoo] USE="(-test)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8 -python3_9%" 0 KiB |
33 |
[ebuild N ] sys-libs/libcap-2.43::gentoo USE="pam (split-usr) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
34 |
[ebuild U ] sys-apps/shadow-4.8.1-r3::gentoo [4.8-r5::gentoo] USE="acl nls pam (split-usr) su xattr -audit -bcrypt -cracklib (-selinux) -skey" 0 KiB |
35 |
[ebuild U ] sys-libs/pam-1.4.0_p20200829::gentoo [1.3.1_p20200128-r1::gentoo] USE="berkdb filecaps* pie (split-usr) -audit -debug -nis (-selinux) (-cracklib%*) (-static-libs%)" ABI_X86="(64) -32 (-x32)" 0 KiB |
36 |
[ebuild NS ] sys-libs/db-6.0.35-r2:6.0::gentoo [5.3.28-r2:5.3::gentoo] USE="-cxx -doc -examples -java -tcl -test" ABI_X86="(64) -32 (-x32)" 0 KiB |
37 |
[ebuild N ] sys-auth/passwdqc-1.4.0-r1::gentoo 0 KiB |
38 |
[ebuild U ] sys-apps/iproute2-5.8.0::gentoo [5.7.0::gentoo] USE="berkdb iptables ipv6 -atm -caps -elf -minimal (-selinux)" 0 KiB |
39 |
[ebuild U ] sys-apps/kbd-2.3.0-r1::gentoo [2.2.0-r2::gentoo] USE="nls pam -test" 0 KiB |
40 |
[ebuild N ] dev-python/cython-0.29.21-r1::gentoo USE="-doc -emacs -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
41 |
[ebuild N ] dev-python/lxml-4.5.2-r1::gentoo USE="threads -doc -examples -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
42 |
[ebuild N ] app-arch/libarchive-3.4.3:0/13::gentoo USE="acl bzip2 e2fsprogs iconv lzma threads xattr zlib -blake2 -expat -libressl -lz4 -lzo -nettle -static-libs -zstd" ABI_X86="(64) -32 (-x32)" 0 KiB |
43 |
[ebuild U ] dev-libs/openssl-1.1.1h:0/1.1::gentoo [1.1.1g:0/1.1::gentoo] USE="asm zlib -bindist* -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB |
44 |
[ebuild N ] app-crypt/rhash-1.4.0::gentoo USE="nls ssl -debug -libressl -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
45 |
[ebuild NS ] dev-lang/python-3.9.0_rc2:3.9::gentoo [2.7.18-r2:2.7::gentoo, 3.7.8-r2:3.7/3.7m::gentoo, 3.8.5:3.8::gentoo] USE="gdbm ipv6 ncurses readline ssl xml -bluetooth -build -examples -hardened -libressl -sqlite -test -tk -wininst" 0 KiB |
46 |
[ebuild U ] sys-libs/glibc-2.32-r2:2.2::gentoo [2.31-r6:2.2::gentoo] USE="(crypt) multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales -custom-cflags -doc -gd -headers-only -nscd -profile (-selinux) -static-pie -suid -systemtap -test (-vanilla)" 0 KiB |
47 |
[ebuild U ] sys-libs/gdbm-1.18.1-r1:0/6::gentoo [1.18.1:0/6::gentoo] USE="berkdb nls readline -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
48 |
[ebuild U ] dev-libs/expat-2.2.10::gentoo [2.2.8::gentoo] USE="(split-usr) unicode -examples -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
49 |
[ebuild U ] dev-lang/perl-5.30.3-r1:0/5.30::gentoo [5.30.3:0/5.30::gentoo] USE="berkdb gdbm -debug -doc -ithreads" 0 KiB |
50 |
[ebuild U ] sys-devel/automake-1.16.2:1.16::gentoo [1.16.1-r1:1.16::gentoo] USE="-test%" 0 KiB |
51 |
[ebuild U ] dev-libs/libgpg-error-1.39::gentoo [1.38::gentoo] USE="nls -common-lisp" ABI_X86="(64) -32 (-x32)" 0 KiB |
52 |
[ebuild U ] dev-util/ninja-1.10.1::gentoo [1.10.0::gentoo] USE="-doc -emacs -test -vim-syntax" 0 KiB |
53 |
[ebuild U ] app-text/opensp-1.5.2-r6::gentoo [1.5.2-r3::gentoo] USE="nls -doc -static-libs -test" 0 KiB |
54 |
[ebuild U ] dev-perl/Unicode-LineBreak-2019.1.0::gentoo [2017.4.0-r1::gentoo] 0 KiB |
55 |
[ebuild U ] app-text/po4a-0.61::gentoo [0.57::gentoo] USE="-test" 0 KiB |
56 |
[ebuild N ] dev-libs/jsoncpp-1.9.4:0/24::gentoo USE="-doc -test" 0 KiB |
57 |
[ebuild N ] dev-libs/libuv-1.40.0:0/1::gentoo USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
58 |
[ebuild N ] dev-util/cmake-3.18.3::gentoo USE="ncurses -doc -emacs -qt5 -test" 0 KiB |
59 |
[ebuild N ] app-arch/lz4-1.9.2:0/r132::gentoo USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
60 |
[ebuild U ] dev-libs/libksba-1.4.0::gentoo [1.3.5-r1::gentoo] USE="-static-libs" 0 KiB |
61 |
[ebuild U ] app-crypt/gnupg-2.2.23::gentoo [2.2.20-r1::gentoo] USE="bzip2 nls readline smartcard ssl -doc -ldap (-selinux) -tofu -tools -usb -user-socket -wks-server" 0 KiB |
62 |
[ebuild U ] app-crypt/libb2-0.98.1-r3::gentoo [0.98.1-r2::gentoo] USE="openmp -native-cflags -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
63 |
[ebuild U ] app-crypt/gpgme-1.14.0:1/11::gentoo [1.13.0-r1:1/11::gentoo] USE="cxx -common-lisp -python -qt5 -static-libs" PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB |
64 |
[ebuild U ] net-misc/iputils-20200821::gentoo [20190709-r1::gentoo] USE="arping filecaps* ipv6 nls ssl -caps -clockdiff -doc -gcrypt -idn -libressl -nettle -rarpd -rdisc -static -tftpd -tracepath -traceroute6 (-SECURITY_HAZARD%)" 0 KiB |
65 |
[ebuild U ] app-portage/portage-utils-0.89::gentoo [0.87::gentoo] USE="nls openmp qmanifest qtegrity -libressl -static" 0 KiB |
66 |
[ebuild NS ] sys-kernel/gentoo-sources-5.8.13:5.8.13::gentoo [5.4.66:5.4.66::gentoo] USE="-build -experimental -symlink" 0 KiB |
67 |
[ebuild U ] app-portage/gemato-16.2::gentoo [15.2::gentoo] USE="gpg -test -tools" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
68 |
[ebuild N ] app-text/xmlto-0.0.28-r3::gentoo USE="-latex -text" 0 KiB |
69 |
[ebuild U ] dev-lang/python-3.7.9:3.7/3.7m::gentoo [3.7.8-r2:3.7/3.7m::gentoo] USE="gdbm ipv6 ncurses readline ssl xml -bluetooth -build -examples -hardened -libressl -sqlite -test -tk -wininst" 0 KiB |
70 |
[ebuild U ] dev-python/setuptools-50.3.0::gentoo [46.4.0-r3::gentoo] USE="-test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9 (-python2_7%*)" 0 KiB |
71 |
[ebuild N ] dev-python/markupsafe-1.1.1-r1::gentoo USE="-test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
72 |
[ebuild N ] dev-python/jinja-2.11.2-r1::gentoo USE="-doc -examples -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
73 |
[ebuild U ] dev-python/cryptography-3.1-r1::gentoo [3.0-r1::gentoo] USE="-idna -libressl -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
74 |
[ebuild N ] sys-apps/systemd-246-r1:0/2::gentoo USE="acl gcrypt hwdb kmod lz4 pam pcre resolvconf seccomp (split-usr) sysv-utils -apparmor -audit -build -cgroup-hybrid -cryptsetup -curl -dns-over-tls -elfutils -gnuefi -homed -http -idn -importd -lzma -nat -pkcs11 -policykit -pwquality -qrcode -repart (-selinux) -static-libs -test -vanilla -xkb" ABI_X86="(64) -32 (-x32)" 0 KiB |
75 |
[ebuild U ] sys-auth/pambase-20200917::gentoo [20200304::gentoo] USE="nullok passwdqc* sha512 systemd* -caps -debug -elogind -gnome-keyring% -minimal -mktemp -pam_krb5 -pam_ssh -pwhistory% -pwquality% -securetty (-selinux) (-consolekit%) (-cracklib%*)" 0 KiB |
76 |
[ebuild U ] sys-apps/util-linux-2.36::gentoo [2.35.2::gentoo] USE="cramfs logger ncurses nls pam readline (split-usr) suid systemd* unicode -audit -build -caps -cryptsetup -fdformat -hardlink -kill -python (-selinux) -slang -static-libs -su -test -tty-helpers -udev" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB |
77 |
[ebuild N ] sys-apps/dbus-1.12.20::gentoo USE="systemd -X -debug -doc -elogind (-selinux) -static-libs -test -user-session" ABI_X86="(64) -32 (-x32)" 0 KiB |
78 |
[ebuild N ] sys-apps/gentoo-systemd-integration-8::gentoo 0 KiB |
79 |
[uninstall ] sys-apps/sysvinit-2.93::gentoo USE="(-ibm) (-selinux) -static" |
80 |
[blocks b ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-246-r1) |
81 |
[uninstall ] sys-fs/eudev-3.2.9::gentoo USE="hwdb kmod -introspection -rule-generator (-selinux) -static-libs -test" ABI_X86="(64) -32 (-x32)" |
82 |
[blocks b ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/eudev-3.2.9) |
83 |
[blocks b ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/gentoo-systemd-integration-8, sys-apps/systemd-246-r1) |
84 |
[blocks b ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.9) |
85 |
[ebuild R ] virtual/udev-217::gentoo USE="systemd*" 0 KiB |
86 |
[ebuild U ] sys-fs/e2fsprogs-1.45.6::gentoo [1.45.5::gentoo] USE="nls (split-usr) -cron -fuse -static-libs" 0 KiB |
87 |
[ebuild R ] sys-process/procps-3.3.16-r2:0/8::gentoo USE="kill ncurses nls (split-usr) systemd* unicode -elogind -modern-top (-selinux) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB |
88 |
[ebuild U ] virtual/service-manager-1::gentoo [0::gentoo] USE="(-prefix%)" 0 KiB |
89 |
[ebuild R ] virtual/libudev-232-r3:0/1::gentoo USE="systemd* -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
90 |
[ebuild U ] dev-lang/python-3.8.6:3.8::gentoo [3.8.5:3.8::gentoo] USE="gdbm ipv6 ncurses readline ssl xml -bluetooth -build -examples -hardened -libressl -sqlite -test -tk -wininst" 0 KiB |
91 |
[ebuild U ] net-misc/openssh-8.4_p1::gentoo [8.1_p1-r4::gentoo] USE="pam pie scp%* ssl -X -X509 -audit -bindist* -debug -hpn -kerberos -ldns -libedit -libressl -livecd -sctp -security-key% (-selinux) -static -test -xmss" 0 KiB |
92 |
[ebuild U ] sys-apps/portage-3.0.8::gentoo [3.0.4-r1::gentoo] USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux) -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
93 |
[ebuild U ] sys-apps/pciutils-3.7.0::gentoo [3.6.4::gentoo] USE="kmod udev zlib -dns -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
94 |
|
95 |
Total: 79 packages (53 upgrades, 16 new, 6 in new slots, 4 reinstalls, 3 uninstalls), Size of downloads: 0 KiB |
96 |
Conflict: 5 blocks |
97 |
|
98 |
Would you like to merge these packages? [Yes/No] y |
99 |
|
100 |
>>> Verifying ebuild manifests |
101 |
>>> Running pre-merge checks for sys-devel/gcc-10.2.0-r2 |
102 |
>>> Running pre-merge checks for dev-lang/python-3.9.0_rc2 |
103 |
>>> Running pre-merge checks for sys-libs/glibc-2.32-r2 |
104 |
* Checking general environment sanity. |
105 |
make -j2 glibc-test CC=x86_64-pc-linux-gnu-gcc |
106 |
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed glibc-test.c -o glibc-test |
107 |
* Checking that IA32 emulation is enabled in the running kernel ... |
108 |
[ ok ] |
109 |
* Checking gcc for __thread support ... |
110 |
[ ok ] |
111 |
* Checking running kernel version (5.4.60-gentoo-x86_64 >= 3.2.0) ... |
112 |
[ ok ] |
113 |
* Checking linux-headers version (5.8.0 >= 3.2.0) ... |
114 |
[ ok ] |
115 |
>>> Running pre-merge checks for sys-apps/systemd-246-r1 |
116 |
* Determining the location of the kernel source code |
117 |
* Found kernel source directory: |
118 |
* /usr/src/linux |
119 |
* Found sources for kernel version: |
120 |
* 5.4.66-gentoo |
121 |
* Checking for suitable kernel configuration options... |
122 |
* CONFIG_AUTOFS4_FS: is not set when it should be. |
123 |
* CONFIG_CHECKPOINT_RESTORE: is not set when it should be. |
124 |
* CONFIG_FANOTIFY: is not set when it should be. |
125 |
* CONFIG_USER_NS: is not set when it should be. |
126 |
* CONFIG_CGROUP_BPF: is not set when it should be. |
127 |
* Please check to make sure these options are set correctly. |
128 |
* Failure to do so may cause unexpected problems. |
129 |
>>> Running pre-merge checks for net-misc/openssh-8.4_p1 |
130 |
>>> Running pre-merge checks for sys-apps/portage-3.0.8 |
131 |
* Determining the location of the kernel source code |
132 |
* Found kernel source directory: |
133 |
* /usr/src/linux |
134 |
* Found sources for kernel version: |
135 |
* 5.4.66-gentoo |
136 |
* Checking for suitable kernel configuration options... |
137 |
[ ok ] |
138 |
|
139 |
>>> Emerging (1 of 79) dev-libs/libpcre-8.44::gentoo |
140 |
* Fetching files in the background. |
141 |
* To view fetch progress, run in another terminal: |
142 |
* tail -f /var/log/emerge-fetch.log |
143 |
* pcre-8.44.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ] |
144 |
>>> Unpacking source... |
145 |
>>> Unpacking pcre-8.44.tar.bz2 to /var/tmp/portage/dev-libs/libpcre-8.44/work |
146 |
>>> Source unpacked in /var/tmp/portage/dev-libs/libpcre-8.44/work |
147 |
>>> Preparing source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
148 |
* Applying libpcre-8.41-fix-stack-size-detection.patch ... |
149 |
[ ok ] |
150 |
* Running elibtoolize in: pcre-8.44/ |
151 |
* Applying portage/1.2.0 patch ... |
152 |
* Applying sed/1.5.6 patch ... |
153 |
* Applying as-needed/2.4.3 patch ... |
154 |
* Applying ppc64le/2.4.4 patch ... |
155 |
>>> Source prepared. |
156 |
>>> Configuring source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
157 |
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure |
158 |
* econf: updating pcre-8.44/config.sub with /usr/share/gnuconfig/config.sub |
159 |
* econf: updating pcre-8.44/config.guess with /usr/share/gnuconfig/config.guess |
160 |
/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libpcre-8.44 --htmldir=/usr/share/doc/libpcre-8.44/html --with-sysroot=/ --libdir=/usr/lib64 --with-match-limit-recursion=8192 --enable-pcregrep-libbz2 --enable-cpp --enable-jit --enable-pcregrep-jit --disable-pcre16 --disable-pcre32 --disable-pcretest-libedit --enable-pcretest-libreadline --disable-static --enable-utf --enable-unicode-properties --enable-pcregrep-libz --enable-pcre8 --enable-shared |
161 |
checking for a BSD-compatible install... /var/tmp/portage/._portage_reinstall_.y9uhuq04/bin/ebuild-helpers/xattr/install -c |
162 |
checking whether build environment is sane... yes |
163 |
checking for a thread-safe mkdir -p... /bin/mkdir -p |
164 |
checking for gawk... gawk |
165 |
checking whether make sets $(MAKE)... yes |
166 |
checking whether make supports nested variables... yes |
167 |
checking whether make supports nested variables... (cached) yes |
168 |
checking whether make supports the include directive... yes (GNU style) |
169 |
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc |
170 |
checking whether the C compiler works... yes |
171 |
checking for C compiler default output file name... a.out |
172 |
checking for suffix of executables... |
173 |
checking whether we are cross compiling... no |
174 |
checking for suffix of object files... o |
175 |
checking whether we are using the GNU C compiler... yes |
176 |
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes |
177 |
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed |
178 |
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes |
179 |
checking dependency style of x86_64-pc-linux-gnu-gcc... none |
180 |
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar |
181 |
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar |
182 |
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc |
183 |
checking whether we are using the GNU C compiler... (cached) yes |
184 |
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes |
185 |
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed |
186 |
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes |
187 |
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none |
188 |
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ |
189 |
checking whether we are using the GNU C++ compiler... yes |
190 |
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes |
191 |
checking dependency style of x86_64-pc-linux-gnu-g++... none |
192 |
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E |
193 |
checking for grep that handles long lines and -e... /bin/grep |
194 |
checking for egrep... /bin/grep -E |
195 |
checking for ANSI C header files... yes |
196 |
checking for sys/types.h... yes |
197 |
checking for sys/stat.h... yes |
198 |
checking for stdlib.h... yes |
199 |
checking for string.h... yes |
200 |
checking for memory.h... yes |
201 |
checking for strings.h... yes |
202 |
checking for inttypes.h... yes |
203 |
checking for stdint.h... yes |
204 |
checking for unistd.h... yes |
205 |
checking for int64_t... yes |
206 |
checking build system type... x86_64-pc-linux-gnu |
207 |
checking host system type... x86_64-pc-linux-gnu |
208 |
checking how to print strings... printf |
209 |
checking for a sed that does not truncate output... /bin/sed |
210 |
checking for fgrep... /bin/grep -F |
211 |
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld |
212 |
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes |
213 |
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B |
214 |
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm |
215 |
checking whether ln -s works... yes |
216 |
checking the maximum length of command line arguments... 1572864 |
217 |
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop |
218 |
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop |
219 |
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r |
220 |
checking for x86_64-pc-linux-gnu-objdump... objdump |
221 |
checking how to recognize dependent libraries... pass_all |
222 |
checking for x86_64-pc-linux-gnu-dlltool... dlltool |
223 |
checking how to associate runtime and link libraries... printf %s\n |
224 |
checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar |
225 |
checking for archiver @FILE support... @ |
226 |
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip |
227 |
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib |
228 |
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok |
229 |
checking for sysroot... / |
230 |
checking for a working dd... /bin/dd |
231 |
checking how to truncate binary pipes... /bin/dd bs=4096 count=1 |
232 |
checking for x86_64-pc-linux-gnu-mt... no |
233 |
checking for mt... no |
234 |
checking if : is a manifest tool... no |
235 |
checking for dlfcn.h... yes |
236 |
checking for objdir... .libs |
237 |
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no |
238 |
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC |
239 |
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes |
240 |
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes |
241 |
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes |
242 |
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes |
243 |
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
244 |
checking whether -lc should be explicitly linked in... no |
245 |
checking dynamic linker characteristics... GNU/Linux ld.so |
246 |
checking how to hardcode library paths into programs... immediate |
247 |
checking whether stripping libraries is possible... yes |
248 |
checking if libtool supports shared libraries... yes |
249 |
checking whether to build shared libraries... yes |
250 |
checking whether to build static libraries... no |
251 |
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E |
252 |
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 |
253 |
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes |
254 |
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
255 |
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC |
256 |
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes |
257 |
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes |
258 |
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes |
259 |
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes |
260 |
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
261 |
checking dynamic linker characteristics... (cached) GNU/Linux ld.so |
262 |
checking how to hardcode library paths into programs... immediate |
263 |
checking whether ln -s works... yes |
264 |
checking whether the -Werror option is usable... yes |
265 |
checking for simple visibility declarations... yes |
266 |
checking for ANSI C header files... (cached) yes |
267 |
checking limits.h usability... yes |
268 |
checking limits.h presence... yes |
269 |
checking for limits.h... yes |
270 |
checking for sys/types.h... (cached) yes |
271 |
checking for sys/stat.h... (cached) yes |
272 |
checking dirent.h usability... yes |
273 |
checking dirent.h presence... yes |
274 |
checking for dirent.h... yes |
275 |
checking windows.h usability... no |
276 |
checking windows.h presence... no |
277 |
checking for windows.h... no |
278 |
checking for alias support in the linker... no |
279 |
checking for alias support in the linker... no |
280 |
checking string usability... yes |
281 |
checking string presence... yes |
282 |
checking for string... yes |
283 |
checking bits/type_traits.h usability... no |
284 |
checking bits/type_traits.h presence... no |
285 |
checking for bits/type_traits.h... no |
286 |
checking type_traits.h usability... no |
287 |
checking type_traits.h presence... no |
288 |
checking for type_traits.h... no |
289 |
checking for strtoq... yes |
290 |
checking for long long... yes |
291 |
checking for unsigned long long... yes |
292 |
checking for an ANSI C-conforming const... yes |
293 |
checking for size_t... yes |
294 |
checking for bcopy... yes |
295 |
checking for memmove... yes |
296 |
checking for strerror... yes |
297 |
checking zlib.h usability... yes |
298 |
checking zlib.h presence... yes |
299 |
checking for zlib.h... yes |
300 |
checking for gzopen in -lz... yes |
301 |
checking bzlib.h usability... yes |
302 |
checking bzlib.h presence... yes |
303 |
checking for bzlib.h... yes |
304 |
checking for libbz2... yes |
305 |
checking readline/readline.h usability... yes |
306 |
checking readline/readline.h presence... yes |
307 |
checking for readline/readline.h... yes |
308 |
checking readline/history.h usability... yes |
309 |
checking readline/history.h presence... yes |
310 |
checking for readline/history.h... yes |
311 |
checking for readline in -lreadline... yes |
312 |
checking for the pthreads library -lpthreads... no |
313 |
checking whether pthreads work without any flags... no |
314 |
checking whether pthreads work with -Kthread... no |
315 |
checking whether pthreads work with -kthread... no |
316 |
checking for the pthreads library -llthread... no |
317 |
checking whether pthreads work with -pthread... yes |
318 |
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE |
319 |
checking if more special flags are required for pthreads... no |
320 |
checking for PTHREAD_PRIO_INHERIT... yes |
321 |
checking that generated files are newer than configure... done |
322 |
configure: creating ./config.status |
323 |
config.status: creating Makefile |
324 |
config.status: creating libpcre.pc |
325 |
config.status: creating libpcre16.pc |
326 |
config.status: creating libpcre32.pc |
327 |
config.status: creating libpcreposix.pc |
328 |
config.status: creating libpcrecpp.pc |
329 |
config.status: creating pcre-config |
330 |
config.status: creating pcre.h |
331 |
config.status: creating pcre_stringpiece.h |
332 |
config.status: creating pcrecpparg.h |
333 |
config.status: creating config.h |
334 |
config.status: executing depfiles commands |
335 |
config.status: executing libtool commands |
336 |
config.status: executing script-chmod commands |
337 |
config.status: executing delete-old-chartables commands |
338 |
|
339 |
pcre-8.44 configuration summary: |
340 |
|
341 |
Install prefix .................. : /usr |
342 |
C preprocessor .................. : x86_64-pc-linux-gnu-gcc -E |
343 |
C compiler ...................... : x86_64-pc-linux-gnu-gcc |
344 |
C++ preprocessor ................ : x86_64-pc-linux-gnu-g++ -E |
345 |
C++ compiler .................... : x86_64-pc-linux-gnu-g++ |
346 |
Linker .......................... : /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 |
347 |
C preprocessor flags ............ : |
348 |
C compiler flags ................ : -pthread -march=native -O2 -pipe -fvisibility=hidden |
349 |
C++ compiler flags .............. : -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden |
350 |
Linker flags .................... : -Wl,-O1 -Wl,--as-needed |
351 |
Extra libraries ................. : |
352 |
|
353 |
Build 8 bit pcre library ........ : yes |
354 |
Build 16 bit pcre library ....... : no |
355 |
Build 32 bit pcre library ....... : no |
356 |
Build C++ library ............... : yes |
357 |
Enable JIT compiling support .... : yes |
358 |
Enable UTF-8/16/32 support ...... : yes |
359 |
Unicode properties .............. : yes |
360 |
Newline char/sequence ........... : lf |
361 |
\R matches only ANYCRLF ......... : no |
362 |
EBCDIC coding ................... : no |
363 |
EBCDIC code for NL .............. : n/a |
364 |
Rebuild char tables ............. : no |
365 |
Use stack recursion ............. : yes |
366 |
POSIX mem threshold ............. : 10 |
367 |
Internal link size .............. : 2 |
368 |
Nested parentheses limit ........ : 250 |
369 |
Match limit ..................... : 10000000 |
370 |
Match limit recursion ........... : 8192 |
371 |
Build shared libs ............... : yes |
372 |
Build static libs ............... : no |
373 |
Use JIT in pcregrep ............. : yes |
374 |
Buffer size for pcregrep ........ : 20480 |
375 |
Link pcregrep with libz ......... : yes |
376 |
Link pcregrep with libbz2 ....... : yes |
377 |
Link pcretest with libedit ...... : no |
378 |
Link pcretest with libreadline .. : yes |
379 |
Valgrind support ................ : no |
380 |
Code coverage ................... : no |
381 |
|
382 |
>>> Source configured. |
383 |
>>> Compiling source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
384 |
* abi_x86_64.amd64: running multilib-minimal_abi_src_compile |
385 |
make -j2 V=1 |
386 |
rm -f pcre_chartables.c |
387 |
ln -s /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_chartables.c.dist pcre_chartables.c |
388 |
make all-am |
389 |
make[1]: Entering directory '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
390 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -pthread -march=native -O2 -pipe -c -o pcretest-pcretest.o `test -f 'pcretest.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcretest.c |
391 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -pthread -march=native -O2 -pipe -c -o pcretest-pcre_printint.o `test -f 'pcre_printint.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_printint.c |
392 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_byte_order.lo `test -f 'pcre_byte_order.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_byte_order.c |
393 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_byte_order.c -fPIC -DPIC -o .libs/libpcre_la-pcre_byte_order.o |
394 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_compile.lo `test -f 'pcre_compile.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_compile.c |
395 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_compile.c -fPIC -DPIC -o .libs/libpcre_la-pcre_compile.o |
396 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_config.lo `test -f 'pcre_config.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_config.c |
397 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_config.c -fPIC -DPIC -o .libs/libpcre_la-pcre_config.o |
398 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_dfa_exec.lo `test -f 'pcre_dfa_exec.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_dfa_exec.c |
399 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_dfa_exec.c -fPIC -DPIC -o .libs/libpcre_la-pcre_dfa_exec.o |
400 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_exec.lo `test -f 'pcre_exec.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_exec.c |
401 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_exec.c -fPIC -DPIC -o .libs/libpcre_la-pcre_exec.o |
402 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_fullinfo.lo `test -f 'pcre_fullinfo.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_fullinfo.c |
403 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_fullinfo.c -fPIC -DPIC -o .libs/libpcre_la-pcre_fullinfo.o |
404 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_get.lo `test -f 'pcre_get.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_get.c |
405 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_get.c -fPIC -DPIC -o .libs/libpcre_la-pcre_get.o |
406 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_globals.lo `test -f 'pcre_globals.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_globals.c |
407 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_globals.c -fPIC -DPIC -o .libs/libpcre_la-pcre_globals.o |
408 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_jit_compile.lo `test -f 'pcre_jit_compile.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_jit_compile.c |
409 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_jit_compile.c -fPIC -DPIC -o .libs/libpcre_la-pcre_jit_compile.o |
410 |
{standard input}: Assembler messages: |
411 |
{standard input}:264: Warning: end of file not at end of a line; newline inserted |
412 |
{standard input}:265: Error: expecting operand after ','; got nothing |
413 |
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive |
414 |
x86_64-pc-linux-gnu-gcc: fatal error: Killed signal terminated program cc1 |
415 |
compilation terminated. |
416 |
make[1]: *** [Makefile:1793: libpcre_la-pcre_exec.lo] Error 1 |
417 |
make[1]: *** Waiting for unfinished jobs.... |
418 |
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
419 |
make: *** [Makefile:1403: all] Error 2 |
420 |
* ERROR: dev-libs/libpcre-8.44::gentoo failed (compile phase): |
421 |
* emake failed |
422 |
* |
423 |
* If you need support, post the output of `emerge --info '=dev-libs/libpcre-8.44::gentoo'`, |
424 |
* the complete build log and the output of `emerge -pqv '=dev-libs/libpcre-8.44::gentoo'`. |
425 |
* The complete build log is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log'. |
426 |
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/environment'. |
427 |
* Working directory: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
428 |
* S: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44' |
429 |
|
430 |
>>> Failed to emerge dev-libs/libpcre-8.44, Log file: |
431 |
|
432 |
>>> '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log' |
433 |
|
434 |
* Messages for package sys-apps/systemd-246-r1: |
435 |
|
436 |
* CONFIG_AUTOFS4_FS: is not set when it should be. |
437 |
* CONFIG_CHECKPOINT_RESTORE: is not set when it should be. |
438 |
* CONFIG_FANOTIFY: is not set when it should be. |
439 |
* CONFIG_USER_NS: is not set when it should be. |
440 |
* CONFIG_CGROUP_BPF: is not set when it should be. |
441 |
* Please check to make sure these options are set correctly. |
442 |
* Failure to do so may cause unexpected problems. |
443 |
|
444 |
* Messages for package dev-libs/libpcre-8.44: |
445 |
|
446 |
* ERROR: dev-libs/libpcre-8.44::gentoo failed (compile phase): |
447 |
* emake failed |
448 |
* |
449 |
* If you need support, post the output of `emerge --info '=dev-libs/libpcre-8.44::gentoo'`, |
450 |
* the complete build log and the output of `emerge -pqv '=dev-libs/libpcre-8.44::gentoo'`. |
451 |
* The complete build log is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log'. |
452 |
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/environment'. |
453 |
* Working directory: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
454 |
* S: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44' |
455 |
[01;31mlivecd[01;34m / #[00m emerge --info '=dev-libs/libpcre-8.44::gentoo |
456 |
> ' |
457 |
Portage 3.0.4 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-9.3.0, glibc-2.31-r6, 5.4.60-gentoo-x86_64 x86_64) |
458 |
================================================================= |
459 |
System Settings |
460 |
================================================================= |
461 |
System uname: Linux-5.4.60-gentoo-x86_64-x86_64-AMD_Athlon-tm-_64_Processor_3400+-with-gentoo-2.7 |
462 |
KiB Mem: 1015176 total, 271800 free |
463 |
KiB Swap: 0 total, 0 free |
464 |
Timestamp of repository gentoo: Sun, 04 Oct 2020 00:45:01 +0000 |
465 |
Head commit of repository gentoo: 772ad523dee8f01fb064e84b1fd3c3b89a9f6c16 |
466 |
sh bash 5.0_p18 |
467 |
ld GNU ld (Gentoo 2.34 p6) 2.34.0 |
468 |
app-shells/bash: 5.0_p18::gentoo |
469 |
dev-lang/perl: 5.30.3::gentoo |
470 |
dev-lang/python: 2.7.18-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo |
471 |
sys-apps/baselayout: 2.7::gentoo |
472 |
sys-apps/openrc: 0.42.1::gentoo |
473 |
sys-apps/sandbox: 2.18::gentoo |
474 |
sys-devel/autoconf: 2.69-r5::gentoo |
475 |
sys-devel/automake: 1.16.1-r1::gentoo |
476 |
sys-devel/binutils: 2.34-r2::gentoo |
477 |
sys-devel/gcc: 9.3.0-r1::gentoo |
478 |
sys-devel/gcc-config: 2.3.2::gentoo |
479 |
sys-devel/libtool: 2.4.6-r6::gentoo |
480 |
sys-devel/make: 4.2.1-r4::gentoo |
481 |
sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) |
482 |
sys-libs/glibc: 2.31-r6::gentoo |
483 |
Repositories: |
484 |
|
485 |
gentoo |
486 |
location: /var/db/repos/gentoo |
487 |
sync-type: rsync |
488 |
sync-uri: rsync://rsync.gentoo.org/gentoo-portage |
489 |
priority: -1000 |
490 |
sync-rsync-verify-metamanifest: yes |
491 |
sync-rsync-verify-max-age: 24 |
492 |
sync-rsync-extra-opts: |
493 |
sync-rsync-verify-jobs: 1 |
494 |
|
495 |
ABI="amd64" |
496 |
ABI_X86="64" |
497 |
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86" |
498 |
ACCEPT_LICENSE="* -@EULA" |
499 |
ACCEPT_PROPERTIES="*" |
500 |
ACCEPT_RESTRICT="*" |
501 |
ADA_TARGET="gnat_2018" |
502 |
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" |
503 |
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" |
504 |
ARCH="amd64" |
505 |
AUTOCLEAN="yes" |
506 |
BINPKG_COMPRESS="bzip2" |
507 |
BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr python_targets_python3_7 python_targets_python2_7 multilib" |
508 |
BROOT="" |
509 |
CALLIGRA_FEATURES="karbon sheets words" |
510 |
CBUILD="x86_64-pc-linux-gnu" |
511 |
CFLAGS="-march=native -O2 -pipe" |
512 |
CFLAGS_amd64="-m64" |
513 |
CFLAGS_x32="-mx32" |
514 |
CFLAGS_x86="-m32" |
515 |
CHOST="x86_64-pc-linux-gnu" |
516 |
CHOST_amd64="x86_64-pc-linux-gnu" |
517 |
CHOST_x32="x86_64-pc-linux-gnux32" |
518 |
CHOST_x86="i686-pc-linux-gnu" |
519 |
CLEAN_DELAY="5" |
520 |
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" |
521 |
COLLISION_IGNORE="/lib/modules/*" |
522 |
COMMON_FLAGS="-march=native -O2 -pipe" |
523 |
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" |
524 |
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" |
525 |
CPU_FLAGS_X86="mmx mmxext sse sse2" |
526 |
CXXFLAGS="-march=native -O2 -pipe" |
527 |
DEFAULT_ABI="amd64" |
528 |
DISTDIR="/var/cache/distfiles" |
529 |
EDITOR="/bin/nano" |
530 |
ELIBC="glibc" |
531 |
EMERGE_DEFAULT_OPTS="--ask --color=n --verbose --nospinner --quiet-build=n --backtrack=200" |
532 |
EMERGE_WARNING_DELAY="10" |
533 |
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" |
534 |
EPREFIX="" |
535 |
EROOT="/" |
536 |
ESYSROOT="/" |
537 |
FCFLAGS="-march=native -O2 -pipe" |
538 |
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" |
539 |
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" |
540 |
FETCHCOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}"" |
541 |
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" |
542 |
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" |
543 |
FFLAGS="-march=native -O2 -pipe" |
544 |
GCC_SPECS="" |
545 |
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.cs.utah.edu/" |
546 |
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" |
547 |
GRUB_PLATFORMS="" |
548 |
HOME="/root" |
549 |
HUSHLOGIN="FALSE" |
550 |
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/9.3.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.34/info:/usr/share/info" |
551 |
INPUT_DEVICES="libinput" |
552 |
IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack" |
553 |
KERNEL="linux" |
554 |
LANG="C.UTF8" |
555 |
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" |
556 |
LC_MESSAGES="C" |
557 |
LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
558 |
LDFLAGS_amd64="-m elf_x86_64" |
559 |
LDFLAGS_x32="-m elf32_x86_64" |
560 |
LDFLAGS_x86="-m elf_i386" |
561 |
LESS="-R -M --shift 5" |
562 |
LESSOPEN="|lesspipe %s" |
563 |
LIBDIR_amd64="lib64" |
564 |
LIBDIR_x32="libx32" |
565 |
LIBDIR_x86="lib" |
566 |
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" |
567 |
LOGNAME="root" |
568 |
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01; |
569 |
35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.cfg=00;32:*.conf=00;32:*.diff=00;32:*.doc=00;32:*.ini=00;32:*.log=00;32:*.patch=00;32:*.pdf=00;32:*.ps=00;32:*.tex=00;32:*.txt=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:" |
570 |
MAIL="/var/mail/root" |
571 |
MAKEOPTS="-j2" |
572 |
MANPAGER="manpager" |
573 |
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/9.3.0/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.34/man:/usr/local/share/man:/usr/share/man" |
574 |
MOTD_SHOWN="pam" |
575 |
MULTILIB_ABIS="amd64 x86" |
576 |
MULTILIB_STRICT_DENY="64-bit.*shared object" |
577 |
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" |
578 |
MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)" |
579 |
NOCOLOR="true" |
580 |
OFFICE_IMPLEMENTATION="libreoffice" |
581 |
PAGER="/usr/bin/less" |
582 |
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" |
583 |
PHP_TARGETS="php7-4 php7-3" |
584 |
PKGDIR="/var/cache/binpkgs" |
585 |
PORTAGE_ARCHLIST="alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux hppa ia64 m68k m68k-mint mips ppc ppc-aix ppc-macos ppc64 ppc64-linux riscv s390 sparc sparc-solaris sparc64-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-cygwin x86-linux x86-macos x86-solaris x86-winnt" |
586 |
PORTAGE_BIN_PATH="/usr/lib/portage/python3.7" |
587 |
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" |
588 |
PORTAGE_CONFIGROOT="/" |
589 |
PORTAGE_DEBUG="0" |
590 |
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" |
591 |
PORTAGE_ELOG_CLASSES="log warn error" |
592 |
PORTAGE_ELOG_MAILFROM="portage@localhost" |
593 |
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" |
594 |
PORTAGE_ELOG_MAILURI="root" |
595 |
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo" |
596 |
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" |
597 |
PORTAGE_FETCH_RESUME_MIN_SIZE="350K" |
598 |
PORTAGE_GID="250" |
599 |
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}"" |
600 |
PORTAGE_INST_GID="0" |
601 |
PORTAGE_INST_UID="0" |
602 |
PORTAGE_INTERNAL_CALLER="1" |
603 |
PORTAGE_LOGDIR_CLEAN="find "${PORTAGE_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete" |
604 |
PORTAGE_OVERRIDE_EPREFIX="" |
605 |
PORTAGE_PYM_PATH="/usr/lib/python3.7/site-packages" |
606 |
PORTAGE_PYTHONPATH="/usr/lib/python3.7/site-packages" |
607 |
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" |
608 |
PORTAGE_RSYNC_RETRIES="-1" |
609 |
PORTAGE_SYNC_STALE="30" |
610 |
PORTAGE_TMPDIR="/var/tmp" |
611 |
PORTAGE_VERBOSE="1" |
612 |
PORTAGE_WORKDIR_MODE="0700" |
613 |
PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima security.selinux system.nfs4_acl user.apache_handler user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*" |
614 |
POSTGRES_TARGETS="postgres10 postgres11" |
615 |
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND" |
616 |
PWD="/" |
617 |
PYTHONDONTWRITEBYTECODE="1" |
618 |
PYTHON_SINGLE_TARGET="python3_7" |
619 |
PYTHON_TARGETS="python2_7 python3_7" |
620 |
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" |
621 |
RESUMECOMMAND_RSYNC="rsync -LtvP "${URI}" "${DISTDIR}/${FILE}"" |
622 |
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" |
623 |
ROOT="/" |
624 |
ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" |
625 |
RPMDIR="/var/cache/rpm" |
626 |
RUBY_TARGETS="ruby25 ruby26" |
627 |
SHELL="/bin/bash" |
628 |
SHLVL="3" |
629 |
SYMLINK_LIB="no" |
630 |
SYSROOT="/" |
631 |
TERM="linux" |
632 |
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" |
633 |
UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock" |
634 |
USE="accessibility acl amd64 berkdb bzip2 cli crypt dri flac fortran gdbm gtk3 iconv ipv6 libglvnd libtirpc mmx multilib ncurses nls nptl nsplugin ogg openmp pam pcre readline seccomp split-usr sse sse2 ssl systemd tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_ |
635 |
PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
636 |
USER="root" |
637 |
USERLAND="GNU" |
638 |
USE_EXPAND="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS" |
639 |
USE_EXPAND_HIDDEN="ABI_MIPS ABI_PPC ABI_RISCV ABI_S390 CPU_FLAGS_ARM CPU_FLAGS_PPC ELIBC KERNEL USERLAND" |
640 |
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND" |
641 |
USE_EXPAND_UNPREFIXED="ARCH" |
642 |
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos riscv s390 sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt" |
643 |
USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt" |
644 |
USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt" |
645 |
USE_EXPAND_VALUES_USERLAND="BSD GNU" |
646 |
USE_ORDER="env:pkg:conf:defaults:pkginternal:features:repo:env.d" |
647 |
VIDEO_CARDS="nouveau" |
648 |
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
649 |
|
650 |
================================================================= |
651 |
Package Settings |
652 |
================================================================= |
653 |
|
654 |
dev-libs/libpcre-8.44::gentoo was built with the following: |
655 |
USE="bzip2 cxx jit readline recursion-limit (split-usr) static-libs (unicode) zlib -libedit -pcre16 -pcre32" ABI_X86="(64) -32 (-x32)" |
656 |
CFLAGS="-O2 -pipe" |
657 |
CXXFLAGS="-O2 -pipe" |
658 |
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox 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" |
659 |
|
660 |
[01;31mlivecd[01;34m / #[00m emerge --info '=dev-libs/libpcre-8.44::gentoo |
661 |
'[A[01;31mlivecd[01;34m / #[00m [C[C[C[C[C[C[C[C[Cask --verbose --update --deep --newuse @world |
662 |
[K[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C |
663 |
|
664 |
These are the packages that would be merged, in order: |
665 |
|
666 |
Calculating dependencies y. |
667 |
..... ... done! |
668 |
[ebuild R ] dev-libs/libpcre-8.44:3::gentoo USE="bzip2 cxx jit readline recursion-limit (split-usr) (unicode) zlib -libedit -pcre16 -pcre32 -static-libs*" ABI_X86="(64) -32 (-x32)" 0 KiB |
669 |
[ebuild U ] app-arch/zstd-1.4.5:0/1::gentoo [1.4.4-r4:0/1::gentoo] USE="threads -lz4 -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
670 |
[ebuild U ] sys-apps/sandbox-2.20::gentoo [2.18::gentoo] ABI_X86="(32) (64) (-x32)" 0 KiB |
671 |
[ebuild U ] sys-apps/less-563::gentoo [551::gentoo] USE="pcre unicode" 0 KiB |
672 |
[ebuild U ] sys-apps/debianutils-4.11.2::gentoo [4.11.1::gentoo] USE="installkernel -static" 0 KiB |
673 |
[ebuild U ] dev-lang/python-exec-2.4.6-r2:2::gentoo [2.4.6-r1:2::gentoo] PYTHON_TARGETS="(pypy3) (python2_7) (python3_6) (python3_7) (python3_8) (python3_9)" 0 KiB |
674 |
[uninstall ] dev-lang/python-2.7.18-r2:2.7::gentoo USE="gdbm ipv6 ncurses readline ssl (threads) (wide-unicode) xml (-berkdb) -bluetooth -build -examples -hardened -libressl -sqlite -tk -wininst" |
675 |
[blocks b ] <=dev-lang/python-2.7.18-r3:2.7 ("<=dev-lang/python-2.7.18-r3:2.7" is blocking dev-lang/python-exec-2.4.6-r2) |
676 |
[ebuild U ] sys-apps/man-pages-5.08::gentoo [5.07::gentoo] L10N="-de -fr -it -ja -nl -pl -ru -zh-CN" 0 KiB |
677 |
[ebuild U ] sys-apps/hwids-20200813.1::gentoo [20200204::gentoo] USE="net pci udev usb" 0 KiB |
678 |
[ebuild U ] sys-apps/busybox-1.32.0::gentoo [1.31.1-r2::gentoo] USE="ipv6 static systemd* -debug -livecd -make-symlinks -math -mdev -pam -savedconfig (-selinux) -sep-usr -syslog" 0 KiB |
679 |
[ebuild U ] sys-apps/attr-2.4.48-r4::gentoo [2.4.48-r3::gentoo] USE="nls (split-usr) -debug -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
680 |
[ebuild NS ] sys-devel/binutils-2.35.1:2.35::gentoo [2.34-r2:2.34::gentoo] USE="gold nls plugins -default-gold -doc -multitarget -static-libs -test -vanilla%" 0 KiB |
681 |
[ebuild U ] sys-apps/acl-2.2.53-r1::gentoo [2.2.53::gentoo] USE="nls (split-usr) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
682 |
[ebuild U ] sys-devel/make-4.3::gentoo [4.2.1-r4::gentoo] USE="nls -guile -static" 0 KiB |
683 |
[ebuild U ] dev-libs/popt-1.18::gentoo [1.16-r2::gentoo] USE="nls -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
684 |
[ebuild U ] sys-devel/bison-3.7.2::gentoo [3.7.1-r1::gentoo] USE="nls -examples -static -test" 0 KiB |
685 |
[ebuild NS ] sys-devel/gcc-10.2.0-r2:10::gentoo [9.3.0-r1:9.3.0::gentoo] USE="(cxx) fortran (multilib) nls nptl openmp pch (pie) sanitize ssp vtv (-ada) -d -debug -doc (-fixed-point) -go -graphite (-hardened) -jit (-libssp) -lto -objc -objc++ -objc-gc -pgo -systemtap -test -vanilla -zstd% (-altivec%)" 0 KiB |
686 |
[ebuild U ] dev-libs/elfutils-0.181::gentoo [0.180::gentoo] USE="bzip2 nls utils -lzma -static-libs -test (-threads) -valgrind" ABI_X86="(64) -32 (-x32)" 0 KiB |
687 |
[ebuild U ] sys-apps/grep-3.5::gentoo [3.4::gentoo] USE="nls pcre -static" 0 KiB |
688 |
[ebuild U ] app-editors/nano-5.2::gentoo [4.9.3::gentoo] USE="magic ncurses nls spell (split-usr) unicode -debug -justify -minimal -slang -static" 0 KiB |
689 |
[ebuild NS ] app-text/docbook-xml-dtd-4.2-r3:4.2::gentoo [4.1.2-r7:4.1.2::gentoo, 4.3-r2:4.3::gentoo, 4.4-r3:4.4::gentoo, 4.5-r2:4.5::gentoo] 0 KiB |
690 |
[ebuild U ] app-admin/perl-cleaner-2.28::gentoo [2.27::gentoo] 0 KiB |
691 |
[ebuild U ] sys-fs/udev-init-scripts-34::gentoo [33::gentoo] 0 KiB |
692 |
[ebuild N ] sys-auth/passwdqc-1.4.0-r1::gentoo 0 KiB |
693 |
[ebuild NS ] dev-lang/python-3.9.0_rc2:3.9::gentoo [2.7.18-r2:2.7::gentoo, 3.7.8-r2:3.7/3.7m::gentoo, 3.8.5:3.8::gentoo] USE="gdbm ipv6 ncurses readline ssl xml -bluetooth -build -examples -hardened -libressl -sqlite -test -tk -wininst" 0 KiB |
694 |
[ebuild U ] sys-libs/glibc-2.32-r2:2.2::gentoo [2.31-r6:2.2::gentoo] USE="(crypt) multiarch (multilib) ssp (static-libs) -audit -caps (-cet) -compile-locales -custom-cflags -doc -gd -headers-only -nscd -profile (-selinux) -static-pie -suid -systemtap -test (-vanilla)" 0 KiB |
695 |
[ebuild U ] sys-libs/gdbm-1.18.1-r1:0/6::gentoo [1.18.1:0/6::gentoo] USE="berkdb nls readline -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
696 |
[ebuild U ] dev-libs/expat-2.2.10::gentoo [2.2.8::gentoo] USE="(split-usr) unicode -examples -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
697 |
[ebuild U ] dev-libs/openssl-1.1.1h:0/1.1::gentoo [1.1.1g:0/1.1::gentoo] USE="asm zlib -bindist* -rfc3779 -sctp -sslv3 -static-libs -test -tls-heartbeat -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB |
698 |
[ebuild U ] dev-util/ninja-1.10.1::gentoo [1.10.0::gentoo] USE="-doc -emacs -test -vim-syntax" 0 KiB |
699 |
[ebuild N ] app-crypt/rhash-1.4.0::gentoo USE="nls ssl -debug -libressl -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
700 |
[ebuild N ] dev-libs/jsoncpp-1.9.4:0/24::gentoo USE="-doc -test" 0 KiB |
701 |
[ebuild N ] app-text/xmlto-0.0.28-r3::gentoo USE="-latex -text" 0 KiB |
702 |
[ebuild N ] app-arch/libarchive-3.4.3:0/13::gentoo USE="acl bzip2 e2fsprogs iconv lzma threads xattr zlib -blake2 -expat -libressl -lz4 -lzo -nettle -static-libs -zstd" ABI_X86="(64) -32 (-x32)" 0 KiB |
703 |
[ebuild N ] sys-libs/libcap-2.43::gentoo USE="pam (split-usr) -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
704 |
[ebuild U ] dev-lang/python-3.7.9:3.7/3.7m::gentoo [3.7.8-r2:3.7/3.7m::gentoo] USE="gdbm ipv6 ncurses readline ssl xml -bluetooth -build -examples -hardened -libressl -sqlite -test -tk -wininst" 0 KiB |
705 |
[ebuild U ] dev-python/certifi-10001-r1::gentoo [10001::gentoo] USE="-test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9 (-python2_7%*)" 0 KiB |
706 |
[ebuild U ] dev-python/setuptools-50.3.0::gentoo [46.4.0-r3::gentoo] USE="-test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9 (-python2_7%*)" 0 KiB |
707 |
[ebuild U ] dev-util/meson-0.55.3::gentoo [0.54.3::gentoo] USE="(-test)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8 -python3_9%" 0 KiB |
708 |
[ebuild U ] dev-python/cryptography-3.1-r1::gentoo [3.0-r1::gentoo] USE="-idna -libressl -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
709 |
[ebuild N ] dev-python/markupsafe-1.1.1-r1::gentoo USE="-test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
710 |
[ebuild N ] dev-python/jinja-2.11.2-r1::gentoo USE="-doc -examples -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
711 |
[ebuild N ] dev-python/cython-0.29.21-r1::gentoo USE="-doc -emacs -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
712 |
[ebuild N ] dev-python/lxml-4.5.2-r1::gentoo USE="threads -doc -examples -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
713 |
[ebuild U ] net-misc/iputils-20200821::gentoo [20190709-r1::gentoo] USE="arping filecaps* ipv6 nls ssl -caps -clockdiff -doc -gcrypt -idn -libressl -nettle -rarpd -rdisc -static -tftpd -tracepath -traceroute6 (-SECURITY_HAZARD%)" 0 KiB |
714 |
[ebuild U ] app-portage/gemato-16.2::gentoo [15.2::gentoo] USE="gpg -test -tools" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
715 |
[ebuild U ] sys-apps/shadow-4.8.1-r3::gentoo [4.8-r5::gentoo] USE="acl nls pam (split-usr) su xattr -audit -bcrypt -cracklib (-selinux) -skey" 0 KiB |
716 |
[ebuild U ] sys-libs/pam-1.4.0_p20200829::gentoo [1.3.1_p20200128-r1::gentoo] USE="berkdb filecaps* pie (split-usr) -audit -debug -nis (-selinux) (-cracklib%*) (-static-libs%)" ABI_X86="(64) -32 (-x32)" 0 KiB |
717 |
[ebuild NS ] sys-libs/db-6.0.35-r2:6.0::gentoo [5.3.28-r2:5.3::gentoo] USE="-cxx -doc -examples -java -tcl -test" ABI_X86="(64) -32 (-x32)" 0 KiB |
718 |
[ebuild U ] dev-lang/perl-5.30.3-r1:0/5.30::gentoo [5.30.3:0/5.30::gentoo] USE="berkdb gdbm -debug -doc -ithreads" 0 KiB |
719 |
[ebuild U ] sys-devel/automake-1.16.2:1.16::gentoo [1.16.1-r1:1.16::gentoo] USE="-test%" 0 KiB |
720 |
[ebuild U ] dev-libs/libgpg-error-1.39::gentoo [1.38::gentoo] USE="nls -common-lisp" ABI_X86="(64) -32 (-x32)" 0 KiB |
721 |
[ebuild U ] app-text/opensp-1.5.2-r6::gentoo [1.5.2-r3::gentoo] USE="nls -doc -static-libs -test" 0 KiB |
722 |
[ebuild U ] dev-perl/Unicode-LineBreak-2019.1.0::gentoo [2017.4.0-r1::gentoo] 0 KiB |
723 |
[ebuild N ] dev-libs/libuv-1.40.0:0/1::gentoo USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
724 |
[ebuild N ] dev-util/cmake-3.18.3::gentoo USE="ncurses -doc -emacs -qt5 -test" 0 KiB |
725 |
[ebuild N ] app-arch/lz4-1.9.2:0/r132::gentoo USE="-static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
726 |
[ebuild U ] dev-libs/libksba-1.4.0::gentoo [1.3.5-r1::gentoo] USE="-static-libs" 0 KiB |
727 |
[ebuild U ] app-crypt/gnupg-2.2.23::gentoo [2.2.20-r1::gentoo] USE="bzip2 nls readline smartcard ssl -doc -ldap (-selinux) -tofu -tools -usb -user-socket -wks-server" 0 KiB |
728 |
[ebuild U ] app-crypt/libb2-0.98.1-r3::gentoo [0.98.1-r2::gentoo] USE="openmp -native-cflags -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
729 |
[ebuild U ] app-crypt/gpgme-1.14.0:1/11::gentoo [1.13.0-r1:1/11::gentoo] USE="cxx -common-lisp -python -qt5 -static-libs" PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB |
730 |
[ebuild U ] sys-apps/iproute2-5.8.0::gentoo [5.7.0::gentoo] USE="berkdb iptables ipv6 -atm -caps -elf -minimal (-selinux)" 0 KiB |
731 |
[ebuild U ] sys-apps/kbd-2.3.0-r1::gentoo [2.2.0-r2::gentoo] USE="nls pam -test" 0 KiB |
732 |
[ebuild U ] app-text/po4a-0.61::gentoo [0.57::gentoo] USE="-test" 0 KiB |
733 |
[ebuild U ] app-portage/portage-utils-0.89::gentoo [0.87::gentoo] USE="nls openmp qmanifest qtegrity -libressl -static" 0 KiB |
734 |
[ebuild NS ] sys-kernel/gentoo-sources-5.8.13:5.8.13::gentoo [5.4.66:5.4.66::gentoo] USE="-build -experimental -symlink" 0 KiB |
735 |
[ebuild N ] sys-apps/systemd-246-r1:0/2::gentoo USE="acl gcrypt hwdb kmod lz4 pam pcre resolvconf seccomp (split-usr) sysv-utils -apparmor -audit -build -cgroup-hybrid -cryptsetup -curl -dns-over-tls -elfutils -gnuefi -homed -http -idn -importd -lzma -nat -pkcs11 -policykit -pwquality -qrcode -repart (-selinux) -static-libs -test -vanilla -xkb" ABI_X86="(64) -32 (-x32)" 0 KiB |
736 |
[ebuild U ] sys-apps/util-linux-2.36::gentoo [2.35.2::gentoo] USE="cramfs logger ncurses nls pam readline (split-usr) suid systemd* unicode -audit -build -caps -cryptsetup -fdformat -hardlink -kill -python (-selinux) -slang -static-libs -su -test -tty-helpers -udev" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_7 -python3_6 -python3_8" 0 KiB |
737 |
[ebuild U ] sys-auth/pambase-20200917::gentoo [20200304::gentoo] USE="nullok passwdqc* sha512 systemd* -caps -debug -elogind -gnome-keyring% -minimal -mktemp -pam_krb5 -pam_ssh -pwhistory% -pwquality% -securetty (-selinux) (-consolekit%) (-cracklib%*)" 0 KiB |
738 |
[ebuild N ] sys-apps/dbus-1.12.20::gentoo USE="systemd -X -debug -doc -elogind (-selinux) -static-libs -test -user-session" ABI_X86="(64) -32 (-x32)" 0 KiB |
739 |
[ebuild N ] sys-apps/gentoo-systemd-integration-8::gentoo 0 KiB |
740 |
[uninstall ] sys-apps/sysvinit-2.93::gentoo USE="(-ibm) (-selinux) -static" |
741 |
[blocks b ] sys-apps/sysvinit ("sys-apps/sysvinit" is blocking sys-apps/systemd-246-r1) |
742 |
[uninstall ] sys-fs/eudev-3.2.9::gentoo USE="hwdb kmod -introspection -rule-generator (-selinux) -static-libs -test" ABI_X86="(64) -32 (-x32)" |
743 |
[blocks b ] sys-fs/eudev ("sys-fs/eudev" is blocking sys-apps/gentoo-systemd-integration-8, sys-apps/systemd-246-r1) |
744 |
[blocks b ] sys-apps/systemd ("sys-apps/systemd" is blocking sys-fs/eudev-3.2.9) |
745 |
[blocks b ] sys-apps/gentoo-systemd-integration ("sys-apps/gentoo-systemd-integration" is blocking sys-fs/eudev-3.2.9) |
746 |
[ebuild R ] virtual/udev-217::gentoo USE="systemd*" 0 KiB |
747 |
[ebuild U ] sys-fs/e2fsprogs-1.45.6::gentoo [1.45.5::gentoo] USE="nls (split-usr) -cron -fuse -static-libs" 0 KiB |
748 |
[ebuild R ] sys-process/procps-3.3.16-r2:0/8::gentoo USE="kill ncurses nls (split-usr) systemd* unicode -elogind -modern-top (-selinux) -static-libs -test" ABI_X86="(64) -32 (-x32)" 0 KiB |
749 |
[ebuild U ] virtual/service-manager-1::gentoo [0::gentoo] USE="(-prefix%)" 0 KiB |
750 |
[ebuild R ] virtual/libudev-232-r3:0/1::gentoo USE="systemd* -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
751 |
[ebuild U ] dev-lang/python-3.8.6:3.8::gentoo [3.8.5:3.8::gentoo] USE="gdbm ipv6 ncurses readline ssl xml -bluetooth -build -examples -hardened -libressl -sqlite -test -tk -wininst" 0 KiB |
752 |
[ebuild U ] net-misc/openssh-8.4_p1::gentoo [8.1_p1-r4::gentoo] USE="pam pie scp%* ssl -X -X509 -audit -bindist* -debug -hpn -kerberos -ldns -libedit -libressl -livecd -sctp -security-key% (-selinux) -static -test -xmss" 0 KiB |
753 |
[ebuild U ] sys-apps/portage-3.0.8::gentoo [3.0.4-r1::gentoo] USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev (-selinux) -test" PYTHON_TARGETS="python3_7 -pypy3 -python3_6 -python3_8 -python3_9" 0 KiB |
754 |
[ebuild U ] sys-apps/pciutils-3.7.0::gentoo [3.6.4::gentoo] USE="kmod udev zlib -dns -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB |
755 |
|
756 |
Total: 79 packages (53 upgrades, 16 new, 6 in new slots, 4 reinstalls, 3 uninstalls), Size of downloads: 0 KiB |
757 |
Conflict: 5 blocks |
758 |
|
759 |
Would you like to merge these packages? [Yes/No] |
760 |
>>> Verifying ebuild manifests |
761 |
>>> Running pre-merge checks for sys-devel/gcc-10.2.0-r2 |
762 |
>>> Running pre-merge checks for dev-lang/python-3.9.0_rc2 |
763 |
>>> Running pre-merge checks for sys-libs/glibc-2.32-r2 |
764 |
* Checking general environment sanity. |
765 |
make -j2 glibc-test CC=x86_64-pc-linux-gnu-gcc |
766 |
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed glibc-test.c -o glibc-test |
767 |
* Checking that IA32 emulation is enabled in the running kernel ... |
768 |
[ ok ] |
769 |
* Checking gcc for __thread support ... |
770 |
[ ok ] |
771 |
* Checking running kernel version (5.4.60-gentoo-x86_64 >= 3.2.0) ... |
772 |
[ ok ] |
773 |
* Checking linux-headers version (5.8.0 >= 3.2.0) ... |
774 |
[ ok ] |
775 |
>>> Running pre-merge checks for sys-apps/systemd-246-r1 |
776 |
* Determining the location of the kernel source code |
777 |
* Found kernel source directory: |
778 |
* /usr/src/linux |
779 |
* Found sources for kernel version: |
780 |
* 5.4.66-gentoo |
781 |
* Checking for suitable kernel configuration options... |
782 |
* CONFIG_AUTOFS4_FS: is not set when it should be. |
783 |
* CONFIG_CHECKPOINT_RESTORE: is not set when it should be. |
784 |
* CONFIG_FANOTIFY: is not set when it should be. |
785 |
* CONFIG_USER_NS: is not set when it should be. |
786 |
* CONFIG_CGROUP_BPF: is not set when it should be. |
787 |
* Please check to make sure these options are set correctly. |
788 |
* Failure to do so may cause unexpected problems. |
789 |
>>> Running pre-merge checks for net-misc/openssh-8.4_p1 |
790 |
>>> Running pre-merge checks for sys-apps/portage-3.0.8 |
791 |
* Determining the location of the kernel source code |
792 |
* Found kernel source directory: |
793 |
* /usr/src/linux |
794 |
* Found sources for kernel version: |
795 |
* 5.4.66-gentoo |
796 |
* Checking for suitable kernel configuration options... |
797 |
[ ok ] |
798 |
|
799 |
>>> Emerging (1 of 79) dev-libs/libpcre-8.44::gentoo |
800 |
* Fetching files in the background. |
801 |
* To view fetch progress, run in another terminal: |
802 |
* tail -f /var/log/emerge-fetch.log |
803 |
* pcre-8.44.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ] |
804 |
>>> Unpacking source... |
805 |
>>> Unpacking pcre-8.44.tar.bz2 to /var/tmp/portage/dev-libs/libpcre-8.44/work |
806 |
>>> Source unpacked in /var/tmp/portage/dev-libs/libpcre-8.44/work |
807 |
>>> Preparing source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
808 |
* Applying libpcre-8.41-fix-stack-size-detection.patch ... |
809 |
[ ok ] |
810 |
* Running elibtoolize in: pcre-8.44/ |
811 |
* Applying portage/1.2.0 patch ... |
812 |
* Applying sed/1.5.6 patch ... |
813 |
* Applying as-needed/2.4.3 patch ... |
814 |
* Applying ppc64le/2.4.4 patch ... |
815 |
>>> Source prepared. |
816 |
>>> Configuring source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
817 |
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure |
818 |
* econf: updating pcre-8.44/config.sub with /usr/share/gnuconfig/config.sub |
819 |
* econf: updating pcre-8.44/config.guess with /usr/share/gnuconfig/config.guess |
820 |
/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libpcre-8.44 --htmldir=/usr/share/doc/libpcre-8.44/html --with-sysroot=/ --libdir=/usr/lib64 --with-match-limit-recursion=8192 --enable-pcregrep-libbz2 --enable-cpp --enable-jit --enable-pcregrep-jit --disable-pcre16 --disable-pcre32 --disable-pcretest-libedit --enable-pcretest-libreadline --disable-static --enable-utf --enable-unicode-properties --enable-pcregrep-libz --enable-pcre8 --enable-shared |
821 |
checking for a BSD-compatible install... /var/tmp/portage/._portage_reinstall_.2wlkhqfa/bin/ebuild-helpers/xattr/install -c |
822 |
checking whether build environment is sane... yes |
823 |
checking for a thread-safe mkdir -p... /bin/mkdir -p |
824 |
checking for gawk... gawk |
825 |
checking whether make sets $(MAKE)... yes |
826 |
checking whether make supports nested variables... yes |
827 |
checking whether make supports nested variables... (cached) yes |
828 |
checking whether make supports the include directive... yes (GNU style) |
829 |
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc |
830 |
checking whether the C compiler works... yes |
831 |
checking for C compiler default output file name... a.out |
832 |
checking for suffix of executables... |
833 |
checking whether we are cross compiling... no |
834 |
checking for suffix of object files... o |
835 |
checking whether we are using the GNU C compiler... yes |
836 |
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes |
837 |
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed |
838 |
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes |
839 |
checking dependency style of x86_64-pc-linux-gnu-gcc... none |
840 |
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar |
841 |
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar |
842 |
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc |
843 |
checking whether we are using the GNU C compiler... (cached) yes |
844 |
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes |
845 |
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed |
846 |
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes |
847 |
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none |
848 |
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ |
849 |
checking whether we are using the GNU C++ compiler... yes |
850 |
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes |
851 |
checking dependency style of x86_64-pc-linux-gnu-g++... none |
852 |
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E |
853 |
checking for grep that handles long lines and -e... /bin/grep |
854 |
checking for egrep... /bin/grep -E |
855 |
checking for ANSI C header files... yes |
856 |
checking for sys/types.h... yes |
857 |
checking for sys/stat.h... yes |
858 |
checking for stdlib.h... yes |
859 |
checking for string.h... yes |
860 |
checking for memory.h... yes |
861 |
checking for strings.h... yes |
862 |
checking for inttypes.h... yes |
863 |
checking for stdint.h... yes |
864 |
checking for unistd.h... yes |
865 |
checking for int64_t... yes |
866 |
checking build system type... x86_64-pc-linux-gnu |
867 |
checking host system type... x86_64-pc-linux-gnu |
868 |
checking how to print strings... printf |
869 |
checking for a sed that does not truncate output... /bin/sed |
870 |
checking for fgrep... /bin/grep -F |
871 |
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld |
872 |
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes |
873 |
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B |
874 |
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm |
875 |
checking whether ln -s works... yes |
876 |
checking the maximum length of command line arguments... 1572864 |
877 |
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop |
878 |
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop |
879 |
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r |
880 |
checking for x86_64-pc-linux-gnu-objdump... objdump |
881 |
checking how to recognize dependent libraries... pass_all |
882 |
checking for x86_64-pc-linux-gnu-dlltool... dlltool |
883 |
checking how to associate runtime and link libraries... printf %s\n |
884 |
checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar |
885 |
checking for archiver @FILE support... @ |
886 |
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip |
887 |
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib |
888 |
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok |
889 |
checking for sysroot... / |
890 |
checking for a working dd... /bin/dd |
891 |
checking how to truncate binary pipes... /bin/dd bs=4096 count=1 |
892 |
checking for x86_64-pc-linux-gnu-mt... no |
893 |
checking for mt... no |
894 |
checking if : is a manifest tool... no |
895 |
checking for dlfcn.h... yes |
896 |
checking for objdir... .libs |
897 |
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no |
898 |
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC |
899 |
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes |
900 |
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes |
901 |
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes |
902 |
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes |
903 |
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
904 |
checking whether -lc should be explicitly linked in... no |
905 |
checking dynamic linker characteristics... GNU/Linux ld.so |
906 |
checking how to hardcode library paths into programs... immediate |
907 |
checking whether stripping libraries is possible... yes |
908 |
checking if libtool supports shared libraries... yes |
909 |
checking whether to build shared libraries... yes |
910 |
checking whether to build static libraries... no |
911 |
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E |
912 |
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 |
913 |
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes |
914 |
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
915 |
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC |
916 |
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes |
917 |
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes |
918 |
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes |
919 |
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes |
920 |
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
921 |
checking dynamic linker characteristics... (cached) GNU/Linux ld.so |
922 |
checking how to hardcode library paths into programs... immediate |
923 |
checking whether ln -s works... yes |
924 |
checking whether the -Werror option is usable... yes |
925 |
checking for simple visibility declarations... yes |
926 |
checking for ANSI C header files... (cached) yes |
927 |
checking limits.h usability... yes |
928 |
checking limits.h presence... yes |
929 |
checking for limits.h... yes |
930 |
checking for sys/types.h... (cached) yes |
931 |
checking for sys/stat.h... (cached) yes |
932 |
checking dirent.h usability... yes |
933 |
checking dirent.h presence... yes |
934 |
checking for dirent.h... yes |
935 |
checking windows.h usability... no |
936 |
checking windows.h presence... no |
937 |
checking for windows.h... no |
938 |
checking for alias support in the linker... no |
939 |
checking for alias support in the linker... no |
940 |
checking string usability... yes |
941 |
checking string presence... yes |
942 |
checking for string... yes |
943 |
checking bits/type_traits.h usability... no |
944 |
checking bits/type_traits.h presence... no |
945 |
checking for bits/type_traits.h... no |
946 |
checking type_traits.h usability... no |
947 |
checking type_traits.h presence... no |
948 |
checking for type_traits.h... no |
949 |
checking for strtoq... yes |
950 |
checking for long long... yes |
951 |
checking for unsigned long long... yes |
952 |
checking for an ANSI C-conforming const... yes |
953 |
checking for size_t... yes |
954 |
checking for bcopy... yes |
955 |
checking for memmove... yes |
956 |
checking for strerror... yes |
957 |
checking zlib.h usability... yes |
958 |
checking zlib.h presence... yes |
959 |
checking for zlib.h... yes |
960 |
checking for gzopen in -lz... yes |
961 |
checking bzlib.h usability... yes |
962 |
checking bzlib.h presence... yes |
963 |
checking for bzlib.h... yes |
964 |
checking for libbz2... yes |
965 |
checking readline/readline.h usability... yes |
966 |
checking readline/readline.h presence... yes |
967 |
checking for readline/readline.h... yes |
968 |
checking readline/history.h usability... yes |
969 |
checking readline/history.h presence... yes |
970 |
checking for readline/history.h... yes |
971 |
checking for readline in -lreadline... yes |
972 |
checking for the pthreads library -lpthreads... no |
973 |
checking whether pthreads work without any flags... no |
974 |
checking whether pthreads work with -Kthread... no |
975 |
checking whether pthreads work with -kthread... no |
976 |
checking for the pthreads library -llthread... no |
977 |
checking whether pthreads work with -pthread... yes |
978 |
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE |
979 |
checking if more special flags are required for pthreads... no |
980 |
checking for PTHREAD_PRIO_INHERIT... yes |
981 |
checking that generated files are newer than configure... done |
982 |
configure: creating ./config.status |
983 |
config.status: creating Makefile |
984 |
config.status: creating libpcre.pc |
985 |
config.status: creating libpcre16.pc |
986 |
config.status: creating libpcre32.pc |
987 |
config.status: creating libpcreposix.pc |
988 |
config.status: creating libpcrecpp.pc |
989 |
config.status: creating pcre-config |
990 |
config.status: creating pcre.h |
991 |
config.status: creating pcre_stringpiece.h |
992 |
config.status: creating pcrecpparg.h |
993 |
config.status: creating config.h |
994 |
config.status: executing depfiles commands |
995 |
config.status: executing libtool commands |
996 |
config.status: executing script-chmod commands |
997 |
config.status: executing delete-old-chartables commands |
998 |
|
999 |
pcre-8.44 configuration summary: |
1000 |
|
1001 |
Install prefix .................. : /usr |
1002 |
C preprocessor .................. : x86_64-pc-linux-gnu-gcc -E |
1003 |
C compiler ...................... : x86_64-pc-linux-gnu-gcc |
1004 |
C++ preprocessor ................ : x86_64-pc-linux-gnu-g++ -E |
1005 |
C++ compiler .................... : x86_64-pc-linux-gnu-g++ |
1006 |
Linker .......................... : /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 |
1007 |
C preprocessor flags ............ : |
1008 |
C compiler flags ................ : -pthread -march=native -O2 -pipe -fvisibility=hidden |
1009 |
C++ compiler flags .............. : -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden |
1010 |
Linker flags .................... : -Wl,-O1 -Wl,--as-needed |
1011 |
Extra libraries ................. : |
1012 |
|
1013 |
Build 8 bit pcre library ........ : yes |
1014 |
Build 16 bit pcre library ....... : no |
1015 |
Build 32 bit pcre library ....... : no |
1016 |
Build C++ library ............... : yes |
1017 |
Enable JIT compiling support .... : yes |
1018 |
Enable UTF-8/16/32 support ...... : yes |
1019 |
Unicode properties .............. : yes |
1020 |
Newline char/sequence ........... : lf |
1021 |
\R matches only ANYCRLF ......... : no |
1022 |
EBCDIC coding ................... : no |
1023 |
EBCDIC code for NL .............. : n/a |
1024 |
Rebuild char tables ............. : no |
1025 |
Use stack recursion ............. : yes |
1026 |
POSIX mem threshold ............. : 10 |
1027 |
Internal link size .............. : 2 |
1028 |
Nested parentheses limit ........ : 250 |
1029 |
Match limit ..................... : 10000000 |
1030 |
Match limit recursion ........... : 8192 |
1031 |
Build shared libs ............... : yes |
1032 |
Build static libs ............... : no |
1033 |
Use JIT in pcregrep ............. : yes |
1034 |
Buffer size for pcregrep ........ : 20480 |
1035 |
Link pcregrep with libz ......... : yes |
1036 |
Link pcregrep with libbz2 ....... : yes |
1037 |
Link pcretest with libedit ...... : no |
1038 |
Link pcretest with libreadline .. : yes |
1039 |
Valgrind support ................ : no |
1040 |
Code coverage ................... : no |
1041 |
|
1042 |
>>> Source configured. |
1043 |
>>> Compiling source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
1044 |
* abi_x86_64.amd64: running multilib-minimal_abi_src_compile |
1045 |
make -j2 V=1 |
1046 |
rm -f pcre_chartables.c |
1047 |
ln -s /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_chartables.c.dist pcre_chartables.c |
1048 |
make all-am |
1049 |
make[1]: Entering directory '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
1050 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -pthread -march=native -O2 -pipe -c -o pcretest-pcretest.o `test -f 'pcretest.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcretest.c |
1051 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -pthread -march=native -O2 -pipe -c -o pcretest-pcre_printint.o `test -f 'pcre_printint.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_printint.c |
1052 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_byte_order.lo `test -f 'pcre_byte_order.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_byte_order.c |
1053 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_byte_order.c -fPIC -DPIC -o .libs/libpcre_la-pcre_byte_order.o |
1054 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_compile.lo `test -f 'pcre_compile.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_compile.c |
1055 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_compile.c -fPIC -DPIC -o .libs/libpcre_la-pcre_compile.o |
1056 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_config.lo `test -f 'pcre_config.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_config.c |
1057 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_config.c -fPIC -DPIC -o .libs/libpcre_la-pcre_config.o |
1058 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_dfa_exec.lo `test -f 'pcre_dfa_exec.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_dfa_exec.c |
1059 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_dfa_exec.c -fPIC -DPIC -o .libs/libpcre_la-pcre_dfa_exec.o |
1060 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_exec.lo `test -f 'pcre_exec.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_exec.c |
1061 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_exec.c -fPIC -DPIC -o .libs/libpcre_la-pcre_exec.o |
1062 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_fullinfo.lo `test -f 'pcre_fullinfo.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_fullinfo.c |
1063 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_fullinfo.c -fPIC -DPIC -o .libs/libpcre_la-pcre_fullinfo.o |
1064 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_get.lo `test -f 'pcre_get.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_get.c |
1065 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_get.c -fPIC -DPIC -o .libs/libpcre_la-pcre_get.o |
1066 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_globals.lo `test -f 'pcre_globals.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_globals.c |
1067 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_globals.c -fPIC -DPIC -o .libs/libpcre_la-pcre_globals.o |
1068 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_jit_compile.lo `test -f 'pcre_jit_compile.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_jit_compile.c |
1069 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_jit_compile.c -fPIC -DPIC -o .libs/libpcre_la-pcre_jit_compile.o |
1070 |
{standard input}: Assembler messages: |
1071 |
{standard input}:264: Warning: end of file not at end of a line; newline inserted |
1072 |
{standard input}:265: Error: expecting operand after ','; got nothing |
1073 |
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive |
1074 |
x86_64-pc-linux-gnu-gcc: fatal error: Killed signal terminated program cc1 |
1075 |
compilation terminated. |
1076 |
make[1]: *** [Makefile:1793: libpcre_la-pcre_exec.lo] Error 1 |
1077 |
make[1]: *** Waiting for unfinished jobs.... |
1078 |
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
1079 |
make: *** [Makefile:1403: all] Error 2 |
1080 |
* ERROR: dev-libs/libpcre-8.44::gentoo failed (compile phase): |
1081 |
* emake failed |
1082 |
* |
1083 |
* If you need support, post the output of `emerge --info '=dev-libs/libpcre-8.44::gentoo'`, |
1084 |
* the complete build log and the output of `emerge -pqv '=dev-libs/libpcre-8.44::gentoo'`. |
1085 |
* The complete build log is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log'. |
1086 |
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/environment'. |
1087 |
* Working directory: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
1088 |
* S: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44' |
1089 |
|
1090 |
>>> Failed to emerge dev-libs/libpcre-8.44, Log file: |
1091 |
|
1092 |
>>> '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log' |
1093 |
|
1094 |
* Messages for package sys-apps/systemd-246-r1: |
1095 |
|
1096 |
* CONFIG_AUTOFS4_FS: is not set when it should be. |
1097 |
* CONFIG_CHECKPOINT_RESTORE: is not set when it should be. |
1098 |
* CONFIG_FANOTIFY: is not set when it should be. |
1099 |
* CONFIG_USER_NS: is not set when it should be. |
1100 |
* CONFIG_CGROUP_BPF: is not set when it should be. |
1101 |
* Please check to make sure these options are set correctly. |
1102 |
* Failure to do so may cause unexpected problems. |
1103 |
|
1104 |
* Messages for package dev-libs/libpcre-8.44: |
1105 |
|
1106 |
* ERROR: dev-libs/libpcre-8.44::gentoo failed (compile phase): |
1107 |
* emake failed |
1108 |
* |
1109 |
* If you need support, post the output of `emerge --info '=dev-libs/libpcre-8.44::gentoo'`, |
1110 |
* the complete build log and the output of `emerge -pqv '=dev-libs/libpcre-8.44::gentoo'`. |
1111 |
* The complete build log is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log'. |
1112 |
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/environment'. |
1113 |
* Working directory: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
1114 |
* S: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44' |
1115 |
[01;31mlivecd[01;34m / #[00m cat /var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log |
1116 |
* Package: dev-libs/libpcre-8.44 |
1117 |
* Repository: gentoo |
1118 |
* Maintainer: base-system@g.o |
1119 |
* USE: abi_x86_64 amd64 bzip2 cxx elibc_glibc jit kernel_linux readline recursion-limit split-usr unicode userland_GNU zlib |
1120 |
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox |
1121 |
>>> Unpacking source... |
1122 |
>>> Unpacking pcre-8.44.tar.bz2 to /var/tmp/portage/dev-libs/libpcre-8.44/work |
1123 |
>>> Source unpacked in /var/tmp/portage/dev-libs/libpcre-8.44/work |
1124 |
>>> Preparing source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
1125 |
* Applying libpcre-8.41-fix-stack-size-detection.patch ... |
1126 |
[ ok ] |
1127 |
* Running elibtoolize in: pcre-8.44/ |
1128 |
* Applying portage/1.2.0 patch ... |
1129 |
* Applying sed/1.5.6 patch ... |
1130 |
* Applying as-needed/2.4.3 patch ... |
1131 |
* Applying ppc64le/2.4.4 patch ... |
1132 |
>>> Source prepared. |
1133 |
>>> Configuring source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
1134 |
* abi_x86_64.amd64: running multilib-minimal_abi_src_configure |
1135 |
* econf: updating pcre-8.44/config.sub with /usr/share/gnuconfig/config.sub |
1136 |
* econf: updating pcre-8.44/config.guess with /usr/share/gnuconfig/config.guess |
1137 |
/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libpcre-8.44 --htmldir=/usr/share/doc/libpcre-8.44/html --with-sysroot=/ --libdir=/usr/lib64 --with-match-limit-recursion=8192 --enable-pcregrep-libbz2 --enable-cpp --enable-jit --enable-pcregrep-jit --disable-pcre16 --disable-pcre32 --disable-pcretest-libedit --enable-pcretest-libreadline --disable-static --enable-utf --enable-unicode-properties --enable-pcregrep-libz --enable-pcre8 --enable-shared |
1138 |
checking for a BSD-compatible install... /var/tmp/portage/._portage_reinstall_.2wlkhqfa/bin/ebuild-helpers/xattr/install -c |
1139 |
checking whether build environment is sane... yes |
1140 |
checking for a thread-safe mkdir -p... /bin/mkdir -p |
1141 |
checking for gawk... gawk |
1142 |
checking whether make sets $(MAKE)... yes |
1143 |
checking whether make supports nested variables... yes |
1144 |
checking whether make supports nested variables... (cached) yes |
1145 |
checking whether make supports the include directive... yes (GNU style) |
1146 |
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc |
1147 |
checking whether the C compiler works... yes |
1148 |
checking for C compiler default output file name... a.out |
1149 |
checking for suffix of executables... |
1150 |
checking whether we are cross compiling... no |
1151 |
checking for suffix of object files... o |
1152 |
checking whether we are using the GNU C compiler... yes |
1153 |
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes |
1154 |
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed |
1155 |
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes |
1156 |
checking dependency style of x86_64-pc-linux-gnu-gcc... none |
1157 |
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar |
1158 |
checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar |
1159 |
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc |
1160 |
checking whether we are using the GNU C compiler... (cached) yes |
1161 |
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes |
1162 |
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed |
1163 |
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes |
1164 |
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none |
1165 |
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ |
1166 |
checking whether we are using the GNU C++ compiler... yes |
1167 |
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes |
1168 |
checking dependency style of x86_64-pc-linux-gnu-g++... none |
1169 |
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E |
1170 |
checking for grep that handles long lines and -e... /bin/grep |
1171 |
checking for egrep... /bin/grep -E |
1172 |
checking for ANSI C header files... yes |
1173 |
checking for sys/types.h... yes |
1174 |
checking for sys/stat.h... yes |
1175 |
checking for stdlib.h... yes |
1176 |
checking for string.h... yes |
1177 |
checking for memory.h... yes |
1178 |
checking for strings.h... yes |
1179 |
checking for inttypes.h... yes |
1180 |
checking for stdint.h... yes |
1181 |
checking for unistd.h... yes |
1182 |
checking for int64_t... yes |
1183 |
checking build system type... x86_64-pc-linux-gnu |
1184 |
checking host system type... x86_64-pc-linux-gnu |
1185 |
checking how to print strings... printf |
1186 |
checking for a sed that does not truncate output... /bin/sed |
1187 |
checking for fgrep... /bin/grep -F |
1188 |
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld |
1189 |
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes |
1190 |
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B |
1191 |
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm |
1192 |
checking whether ln -s works... yes |
1193 |
checking the maximum length of command line arguments... 1572864 |
1194 |
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop |
1195 |
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop |
1196 |
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r |
1197 |
checking for x86_64-pc-linux-gnu-objdump... objdump |
1198 |
checking how to recognize dependent libraries... pass_all |
1199 |
checking for x86_64-pc-linux-gnu-dlltool... dlltool |
1200 |
checking how to associate runtime and link libraries... printf %s\n |
1201 |
checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar |
1202 |
checking for archiver @FILE support... @ |
1203 |
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip |
1204 |
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib |
1205 |
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok |
1206 |
checking for sysroot... / |
1207 |
checking for a working dd... /bin/dd |
1208 |
checking how to truncate binary pipes... /bin/dd bs=4096 count=1 |
1209 |
checking for x86_64-pc-linux-gnu-mt... no |
1210 |
checking for mt... no |
1211 |
checking if : is a manifest tool... no |
1212 |
checking for dlfcn.h... yes |
1213 |
checking for objdir... .libs |
1214 |
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no |
1215 |
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC |
1216 |
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes |
1217 |
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes |
1218 |
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes |
1219 |
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes |
1220 |
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
1221 |
checking whether -lc should be explicitly linked in... no |
1222 |
checking dynamic linker characteristics... GNU/Linux ld.so |
1223 |
checking how to hardcode library paths into programs... immediate |
1224 |
checking whether stripping libraries is possible... yes |
1225 |
checking if libtool supports shared libraries... yes |
1226 |
checking whether to build shared libraries... yes |
1227 |
checking whether to build static libraries... no |
1228 |
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E |
1229 |
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 |
1230 |
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes |
1231 |
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
1232 |
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC |
1233 |
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes |
1234 |
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes |
1235 |
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes |
1236 |
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes |
1237 |
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes |
1238 |
checking dynamic linker characteristics... (cached) GNU/Linux ld.so |
1239 |
checking how to hardcode library paths into programs... immediate |
1240 |
checking whether ln -s works... yes |
1241 |
checking whether the -Werror option is usable... yes |
1242 |
checking for simple visibility declarations... yes |
1243 |
checking for ANSI C header files... (cached) yes |
1244 |
checking limits.h usability... yes |
1245 |
checking limits.h presence... yes |
1246 |
checking for limits.h... yes |
1247 |
checking for sys/types.h... (cached) yes |
1248 |
checking for sys/stat.h... (cached) yes |
1249 |
checking dirent.h usability... yes |
1250 |
checking dirent.h presence... yes |
1251 |
checking for dirent.h... yes |
1252 |
checking windows.h usability... no |
1253 |
checking windows.h presence... no |
1254 |
checking for windows.h... no |
1255 |
checking for alias support in the linker... no |
1256 |
checking for alias support in the linker... no |
1257 |
checking string usability... yes |
1258 |
checking string presence... yes |
1259 |
checking for string... yes |
1260 |
checking bits/type_traits.h usability... no |
1261 |
checking bits/type_traits.h presence... no |
1262 |
checking for bits/type_traits.h... no |
1263 |
checking type_traits.h usability... no |
1264 |
checking type_traits.h presence... no |
1265 |
checking for type_traits.h... no |
1266 |
checking for strtoq... yes |
1267 |
checking for long long... yes |
1268 |
checking for unsigned long long... yes |
1269 |
checking for an ANSI C-conforming const... yes |
1270 |
checking for size_t... yes |
1271 |
checking for bcopy... yes |
1272 |
checking for memmove... yes |
1273 |
checking for strerror... yes |
1274 |
checking zlib.h usability... yes |
1275 |
checking zlib.h presence... yes |
1276 |
checking for zlib.h... yes |
1277 |
checking for gzopen in -lz... yes |
1278 |
checking bzlib.h usability... yes |
1279 |
checking bzlib.h presence... yes |
1280 |
checking for bzlib.h... yes |
1281 |
checking for libbz2... yes |
1282 |
checking readline/readline.h usability... yes |
1283 |
checking readline/readline.h presence... yes |
1284 |
checking for readline/readline.h... yes |
1285 |
checking readline/history.h usability... yes |
1286 |
checking readline/history.h presence... yes |
1287 |
checking for readline/history.h... yes |
1288 |
checking for readline in -lreadline... yes |
1289 |
checking for the pthreads library -lpthreads... no |
1290 |
checking whether pthreads work without any flags... no |
1291 |
checking whether pthreads work with -Kthread... no |
1292 |
checking whether pthreads work with -kthread... no |
1293 |
checking for the pthreads library -llthread... no |
1294 |
checking whether pthreads work with -pthread... yes |
1295 |
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE |
1296 |
checking if more special flags are required for pthreads... no |
1297 |
checking for PTHREAD_PRIO_INHERIT... yes |
1298 |
checking that generated files are newer than configure... done |
1299 |
configure: creating ./config.status |
1300 |
config.status: creating Makefile |
1301 |
config.status: creating libpcre.pc |
1302 |
config.status: creating libpcre16.pc |
1303 |
config.status: creating libpcre32.pc |
1304 |
config.status: creating libpcreposix.pc |
1305 |
config.status: creating libpcrecpp.pc |
1306 |
config.status: creating pcre-config |
1307 |
config.status: creating pcre.h |
1308 |
config.status: creating pcre_stringpiece.h |
1309 |
config.status: creating pcrecpparg.h |
1310 |
config.status: creating config.h |
1311 |
config.status: executing depfiles commands |
1312 |
config.status: executing libtool commands |
1313 |
config.status: executing script-chmod commands |
1314 |
config.status: executing delete-old-chartables commands |
1315 |
|
1316 |
pcre-8.44 configuration summary: |
1317 |
|
1318 |
Install prefix .................. : /usr |
1319 |
C preprocessor .................. : x86_64-pc-linux-gnu-gcc -E |
1320 |
C compiler ...................... : x86_64-pc-linux-gnu-gcc |
1321 |
C++ preprocessor ................ : x86_64-pc-linux-gnu-g++ -E |
1322 |
C++ compiler .................... : x86_64-pc-linux-gnu-g++ |
1323 |
Linker .......................... : /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 |
1324 |
C preprocessor flags ............ : |
1325 |
C compiler flags ................ : -pthread -march=native -O2 -pipe -fvisibility=hidden |
1326 |
C++ compiler flags .............. : -march=native -O2 -pipe -fvisibility=hidden -fvisibility-inlines-hidden |
1327 |
Linker flags .................... : -Wl,-O1 -Wl,--as-needed |
1328 |
Extra libraries ................. : |
1329 |
|
1330 |
Build 8 bit pcre library ........ : yes |
1331 |
Build 16 bit pcre library ....... : no |
1332 |
Build 32 bit pcre library ....... : no |
1333 |
Build C++ library ............... : yes |
1334 |
Enable JIT compiling support .... : yes |
1335 |
Enable UTF-8/16/32 support ...... : yes |
1336 |
Unicode properties .............. : yes |
1337 |
Newline char/sequence ........... : lf |
1338 |
\R matches only ANYCRLF ......... : no |
1339 |
EBCDIC coding ................... : no |
1340 |
EBCDIC code for NL .............. : n/a |
1341 |
Rebuild char tables ............. : no |
1342 |
Use stack recursion ............. : yes |
1343 |
POSIX mem threshold ............. : 10 |
1344 |
Internal link size .............. : 2 |
1345 |
Nested parentheses limit ........ : 250 |
1346 |
Match limit ..................... : 10000000 |
1347 |
Match limit recursion ........... : 8192 |
1348 |
Build shared libs ............... : yes |
1349 |
Build static libs ............... : no |
1350 |
Use JIT in pcregrep ............. : yes |
1351 |
Buffer size for pcregrep ........ : 20480 |
1352 |
Link pcregrep with libz ......... : yes |
1353 |
Link pcregrep with libbz2 ....... : yes |
1354 |
Link pcretest with libedit ...... : no |
1355 |
Link pcretest with libreadline .. : yes |
1356 |
Valgrind support ................ : no |
1357 |
Code coverage ................... : no |
1358 |
|
1359 |
>>> Source configured. |
1360 |
>>> Compiling source in /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 ... |
1361 |
* abi_x86_64.amd64: running multilib-minimal_abi_src_compile |
1362 |
make -j2 V=1 |
1363 |
rm -f pcre_chartables.c |
1364 |
ln -s /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_chartables.c.dist pcre_chartables.c |
1365 |
make all-am |
1366 |
make[1]: Entering directory '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
1367 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -pthread -march=native -O2 -pipe -c -o pcretest-pcretest.o `test -f 'pcretest.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcretest.c |
1368 |
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -pthread -march=native -O2 -pipe -c -o pcretest-pcre_printint.o `test -f 'pcre_printint.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_printint.c |
1369 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_byte_order.lo `test -f 'pcre_byte_order.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_byte_order.c |
1370 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_byte_order.c -fPIC -DPIC -o .libs/libpcre_la-pcre_byte_order.o |
1371 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_compile.lo `test -f 'pcre_compile.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_compile.c |
1372 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_compile.c -fPIC -DPIC -o .libs/libpcre_la-pcre_compile.o |
1373 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_config.lo `test -f 'pcre_config.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_config.c |
1374 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_config.c -fPIC -DPIC -o .libs/libpcre_la-pcre_config.o |
1375 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_dfa_exec.lo `test -f 'pcre_dfa_exec.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_dfa_exec.c |
1376 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_dfa_exec.c -fPIC -DPIC -o .libs/libpcre_la-pcre_dfa_exec.o |
1377 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_exec.lo `test -f 'pcre_exec.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_exec.c |
1378 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_exec.c -fPIC -DPIC -o .libs/libpcre_la-pcre_exec.o |
1379 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_fullinfo.lo `test -f 'pcre_fullinfo.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_fullinfo.c |
1380 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_fullinfo.c -fPIC -DPIC -o .libs/libpcre_la-pcre_fullinfo.o |
1381 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_get.lo `test -f 'pcre_get.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_get.c |
1382 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_get.c -fPIC -DPIC -o .libs/libpcre_la-pcre_get.o |
1383 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_globals.lo `test -f 'pcre_globals.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_globals.c |
1384 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_globals.c -fPIC -DPIC -o .libs/libpcre_la-pcre_globals.o |
1385 |
/bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c -o libpcre_la-pcre_jit_compile.lo `test -f 'pcre_jit_compile.c' || echo '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/'`pcre_jit_compile.c |
1386 |
libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44 -fvisibility=hidden -pthread -march=native -O2 -pipe -c /var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44/pcre_jit_compile.c -fPIC -DPIC -o .libs/libpcre_la-pcre_jit_compile.o |
1387 |
{standard input}: Assembler messages: |
1388 |
{standard input}:264: Warning: end of file not at end of a line; newline inserted |
1389 |
{standard input}:265: Error: expecting operand after ','; got nothing |
1390 |
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive |
1391 |
x86_64-pc-linux-gnu-gcc: fatal error: Killed signal terminated program cc1 |
1392 |
compilation terminated. |
1393 |
make[1]: *** [Makefile:1793: libpcre_la-pcre_exec.lo] Error 1 |
1394 |
make[1]: *** Waiting for unfinished jobs.... |
1395 |
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
1396 |
make: *** [Makefile:1403: all] Error 2 |
1397 |
* ERROR: dev-libs/libpcre-8.44::gentoo failed (compile phase): |
1398 |
* emake failed |
1399 |
* |
1400 |
* If you need support, post the output of `emerge --info '=dev-libs/libpcre-8.44::gentoo'`, |
1401 |
* the complete build log and the output of `emerge -pqv '=dev-libs/libpcre-8.44::gentoo'`. |
1402 |
* The complete build log is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/build.log'. |
1403 |
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/libpcre-8.44/temp/environment'. |
1404 |
* Working directory: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44-abi_x86_64.amd64' |
1405 |
* S: '/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44' |
1406 |
[01;31mlivecd[01;34m / #[00m cat /var/tmp/portage/dev-libs/libpcre-8.44/temp/environment |
1407 |
declare -x ABI="amd64" |
1408 |
declare -x ABI_MIPS="" |
1409 |
declare -x ABI_PPC="" |
1410 |
declare -x ABI_RISCV="" |
1411 |
declare -x ABI_S390="" |
1412 |
declare -x ABI_X86="64" |
1413 |
declare -x ADA_TARGET="" |
1414 |
declare -x ALSA_CARDS="" |
1415 |
declare -x APACHE2_MODULES="" |
1416 |
declare -x APACHE2_MPMS="" |
1417 |
declare -x ARCH="amd64" |
1418 |
declare BDEPEND=" |
1419 |
virtual/pkgconfig |
1420 |
>=app-portage/elt-patches-20170815" |
1421 |
declare -x BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr python_targets_python3_7 python_targets_python2_7 multilib" |
1422 |
declare -x CALLIGRA_FEATURES="" |
1423 |
declare -x CAMERAS="" |
1424 |
declare -x CBUILD="x86_64-pc-linux-gnu" |
1425 |
declare -x CFLAGS="-march=native -O2 -pipe" |
1426 |
declare -x CFLAGS_amd64="-m64" |
1427 |
declare -x CFLAGS_default |
1428 |
declare -x CFLAGS_x32="-mx32" |
1429 |
declare -x CFLAGS_x86="-m32" |
1430 |
declare -x CHOST="x86_64-pc-linux-gnu" |
1431 |
declare -x CHOST_amd64="x86_64-pc-linux-gnu" |
1432 |
declare -x CHOST_default="x86_64-pc-linux-gnu" |
1433 |
declare -x CHOST_x32="x86_64-pc-linux-gnux32" |
1434 |
declare -x CHOST_x86="i686-pc-linux-gnu" |
1435 |
declare -x COLLECTD_PLUGINS="" |
1436 |
declare -x COMMON_FLAGS="-march=native -O2 -pipe" |
1437 |
declare -x CONF_PREFIX="/usr" |
1438 |
declare -x CPU_FLAGS_ARM="" |
1439 |
declare -x CPU_FLAGS_PPC="" |
1440 |
declare -x CPU_FLAGS_X86="" |
1441 |
declare -x CTARGET_default="x86_64-pc-linux-gnu" |
1442 |
declare -x CURL_SSL="" |
1443 |
declare -x CXXFLAGS="-march=native -O2 -pipe" |
1444 |
declare -x DEFAULT_ABI="amd64" |
1445 |
declare -x DEFINED_PHASES=" compile configure install postinst preinst prepare test" |
1446 |
declare DEPEND=" |
1447 |
bzip2? ( app-arch/bzip2 ) |
1448 |
zlib? ( sys-libs/zlib ) |
1449 |
libedit? ( dev-libs/libedit ) |
1450 |
readline? ( sys-libs/readline:0= ) |
1451 |
" |
1452 |
declare DESCRIPTION="Perl-compatible regular expression library" |
1453 |
declare -x DIROPTIONS="-m0755" |
1454 |
declare -x EAPI="7" |
1455 |
declare -x ELIBC="glibc" |
1456 |
declare -x ENLIGHTENMENT_MODULES="" |
1457 |
declare -x 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" |
1458 |
declare -- EPOCHREALTIME="1601907212.130108" |
1459 |
declare -- EPOCHSECONDS="1601907212" |
1460 |
declare -x EXEOPTIONS="-m0755" |
1461 |
declare -x FCFLAGS="-march=native -O2 -pipe" |
1462 |
declare -x FETCHCOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ; host=\\\${x%%/*} ; port=\\\${host##*:} ; host=\\\${host%:*} ; [[ \\\${host} = \\\${port} ]] && port= ; exec rsync --rsh=\\\"ssh \\\${port:+-p\\\${port}} \\\${3}\\\" -avP \\\"\\\${host}:/\\\${x#*/}\\\" \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" \"\${URI}\" \"\${PORTAGE_SSH_OPTS}\"" |
1463 |
declare -x FFLAGS="-march=native -O2 -pipe" |
1464 |
declare -x FFTOOLS="" |
1465 |
declare -x GCC_SPECS="" |
1466 |
declare -x GPSD_PROTOCOLS="" |
1467 |
declare -x GRUB_PLATFORMS="" |
1468 |
declare HOMEPAGE="http://www.pcre.org/" |
1469 |
declare -x HUSHLOGIN="FALSE" |
1470 |
declare -x INHERITED=" multilib toolchain-funcs libtool edos2unix l10n wrapper eutils flag-o-matic multibuild multilib-build multilib-minimal preserve-libs usr-ldscript" |
1471 |
declare -x INPUT_DEVICES="" |
1472 |
declare -x INSOPTIONS="-m0644" |
1473 |
declare IUSE="bzip2 +cxx +jit libedit pcre16 pcre32 +readline +recursion-limit static-libs unicode zlib abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32 abi_s390_64 split-usr" |
1474 |
declare -x IUSE_EFFECTIVE="abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_s390_32 abi_s390_64 abi_x86_32 abi_x86_64 abi_x86_x32 alpha amd64 amd64-fbsd amd64-linux arm arm64 bzip2 cxx elibc_AIX elibc_Cygwin elibc_Darwin elibc_DragonFly elibc_FreeBSD elibc_HPUX elibc_Interix elibc_NetBSD elibc_OpenBSD elibc_SunOS elibc_Winnt elibc_bionic elibc_glibc elibc_mingw elibc_mintlib elibc_musl elibc_uclibc hppa ia64 jit kernel_AIX kernel_Darwin kernel_FreeBSD kernel_HPUX kernel_NetBSD kernel_OpenBSD kernel_SunOS kernel_Winnt kernel_freemint kernel_linux libedit m68k m68k-mint mips pcre16 pcre32 ppc ppc-aix ppc-macos ppc64 ppc64-linux prefix prefix-guest prefix-stack readline recursion-limit riscv s390 sparc sparc-solaris sparc64-solaris split-usr static-libs unicode userland_BSD userland_GNU x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt zlib" |
1475 |
declare -x IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack" |
1476 |
declare -x KERNEL="linux" |
1477 |
declare -x KERNEL_ABI="amd64" |
1478 |
declare -x KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" |
1479 |
declare -x L10N="" |
1480 |
declare -x LANG="C.UTF8" |
1481 |
declare -x LCD_DEVICES="" |
1482 |
declare -x LC_COLLATE="C" |
1483 |
declare -x LC_MESSAGES="C" |
1484 |
declare -x LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
1485 |
declare -x LDFLAGS_amd64="-m elf_x86_64" |
1486 |
declare -x LDFLAGS_default |
1487 |
declare -x LDFLAGS_x32="-m elf32_x86_64" |
1488 |
declare -x LDFLAGS_x86="-m elf_i386" |
1489 |
declare -x LIBDIR_amd64="lib64" |
1490 |
declare -x LIBDIR_default="lib" |
1491 |
declare -x LIBDIR_x32="libx32" |
1492 |
declare -x LIBDIR_x86="lib" |
1493 |
declare -x LIBOPTIONS="-m0644" |
1494 |
declare -x LIBREOFFICE_EXTENSIONS="" |
1495 |
declare -x LICENSE="BSD" |
1496 |
declare -x LIRC_DEVICES="" |
1497 |
declare -x LLVM_TARGETS="" |
1498 |
declare -x MAIL="/var/mail/root" |
1499 |
declare -x MAKEOPTS="-j2" |
1500 |
declare -x MANPAGER="manpager" |
1501 |
declare -x MONKEYD_PLUGINS="" |
1502 |
declare -x MOTD_SHOWN="pam" |
1503 |
declare -x MULTILIB_ABIS="amd64 x86" |
1504 |
declare -a MULTILIB_CHOST_TOOLS=([0]="/usr/bin/pcre-config") |
1505 |
declare -x MULTILIB_STRICT_DENY="64-bit.*shared object" |
1506 |
declare -x MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib" |
1507 |
declare -x MULTILIB_STRICT_EXEMPT="(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)" |
1508 |
declare -- MULTILIB_USEDEP="abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?" |
1509 |
declare -- MY_P="pcre-8.44" |
1510 |
declare -x NGINX_MODULES_HTTP="" |
1511 |
declare -x NGINX_MODULES_MAIL="" |
1512 |
declare -x NGINX_MODULES_STREAM="" |
1513 |
declare -x OFED_DRIVERS="" |
1514 |
declare -x OFFICE_IMPLEMENTATION="" |
1515 |
declare -x OPENMPI_FABRICS="" |
1516 |
declare -x OPENMPI_OFED_FEATURES="" |
1517 |
declare -x OPENMPI_RM="" |
1518 |
declare -a PATCHES=([0]="/var/tmp/portage/dev-libs/libpcre-8.44/files/libpcre-8.41-fix-stack-size-detection.patch") |
1519 |
declare -x PATH="/var/tmp/portage/._portage_reinstall_.2wlkhqfa/bin/ebuild-helpers/xattr:/usr/lib/portage/python3.7/ebuild-helpers/xattr:/var/tmp/portage/._portage_reinstall_.2wlkhqfa/bin/ebuild-helpers:/usr/lib/portage/python3.7/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin" |
1520 |
declare PDEPEND="" |
1521 |
declare -x PHP_TARGETS="" |
1522 |
declare -x PORTAGE_COMPRESSION_COMMAND="bzip2" |
1523 |
declare -a PORTAGE_DOCOMPRESS=([0]="/usr/share/doc" [1]="/usr/share/info" [2]="/usr/share/man") |
1524 |
declare -x PORTAGE_DOCOMPRESS_SIZE_LIMIT="128" |
1525 |
declare -a PORTAGE_DOCOMPRESS_SKIP=([0]="/usr/share/doc/libpcre-8.44/html") |
1526 |
declare -a PORTAGE_DOSTRIP=([0]="/") |
1527 |
declare -a PORTAGE_DOSTRIP_SKIP=() |
1528 |
declare -x POSTGRES_TARGETS="" |
1529 |
declare -x PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND" |
1530 |
declare -x PROPERTIES="" |
1531 |
declare -x PYTHONDONTWRITEBYTECODE="1" |
1532 |
declare -x PYTHON_SINGLE_TARGET="" |
1533 |
declare -x PYTHON_TARGETS="" |
1534 |
declare -x QEMU_SOFTMMU_TARGETS="" |
1535 |
declare -x QEMU_USER_TARGETS="" |
1536 |
declare RDEPEND=" |
1537 |
bzip2? ( app-arch/bzip2 ) |
1538 |
zlib? ( sys-libs/zlib ) |
1539 |
libedit? ( dev-libs/libedit ) |
1540 |
readline? ( sys-libs/readline:0= ) |
1541 |
" |
1542 |
declare REPOSITORY |
1543 |
declare REQUIRED_USE="readline? ( !libedit ) |
1544 |
libedit? ( !readline ) " |
1545 |
declare -x RESTRICT="" |
1546 |
declare -x RESUMECOMMAND_SSH="bash -c \"x=\\\${2#ssh://} ; host=\\\${x%%/*} ; port=\\\${host##*:} ; host=\\\${host%:*} ; [[ \\\${host} = \\\${port} ]] && port= ; exec rsync --rsh=\\\"ssh \\\${port:+-p\\\${port}} \\\${3}\\\" -avP \\\"\\\${host}:/\\\${x#*/}\\\" \\\"\\\$1\\\"\" rsync \"\${DISTDIR}/\${FILE}\" \"\${URI}\" \"\${PORTAGE_SSH_OPTS}\"" |
1547 |
declare -x ROS_MESSAGES="" |
1548 |
declare -x RUBY_TARGETS="" |
1549 |
declare -x S="/var/tmp/portage/dev-libs/libpcre-8.44/work/pcre-8.44" |
1550 |
declare -x SANDBOX_DEBUG="0" |
1551 |
declare -x SANDBOX_DENY="" |
1552 |
declare -x SANDBOX_PREDICT="/var/tmp/portage/dev-libs/libpcre-8.44/homedir:/dev/crypto:/var/cache/man" |
1553 |
declare -x SANDBOX_READ="/:/var/tmp/portage" |
1554 |
declare -x SANDBOX_VERBOSE="1" |
1555 |
declare -x SANDBOX_WRITE=":/dev/console:/dev/fd:/dev/full:/dev/null:/dev/ptmx:/dev/pts/:/dev/pty:/dev/shm:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/tmp/:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp/:/var/tmp/portage:/var/tmp/portage/dev-libs/libpcre-8.44/homedir/.bash_history" |
1556 |
declare -x SANE_BACKENDS="" |
1557 |
declare -x SHELL="/bin/bash" |
1558 |
declare -x SLOT="3" |
1559 |
declare SRC_URI="mirror://sourceforge/pcre/pcre-8.44.tar.bz2 |
1560 |
ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.44.tar.bz2" |
1561 |
declare -x SYMLINK_LIB="no" |
1562 |
declare -x TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" |
1563 |
declare -x USE="abi_x86_64 amd64 bzip2 cxx elibc_glibc jit kernel_linux readline recursion-limit split-usr unicode userland_GNU zlib" |
1564 |
declare -x USERLAND="GNU" |
1565 |
declare -x USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND" |
1566 |
declare -x USE_EXPAND_UNPREFIXED="ARCH" |
1567 |
declare -x USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm64 hppa ia64 m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos riscv s390 sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-cygwin x86-fbsd x86-linux x86-macos x86-solaris x86-winnt" |
1568 |
declare -x USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt" |
1569 |
declare -x USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt" |
1570 |
declare -x USE_EXPAND_VALUES_USERLAND="BSD GNU" |
1571 |
declare -x UWSGI_PLUGINS="" |
1572 |
declare -x VIDEO_CARDS="" |
1573 |
declare -x VOICEMAIL_STORAGE="" |
1574 |
declare -x XFCE_PLUGINS="" |
1575 |
declare -x XTABLES_ADDONS="" |
1576 |
declare -- _EUTILS_ECLASS="1" |
1577 |
declare -x _E_DESTTREE_="/usr" |
1578 |
declare -x _E_DOCDESTTREE_="" |
1579 |
declare -x _E_EXEDESTTREE_="" |
1580 |
declare -x _E_INSDESTTREE_="" |
1581 |
declare -- _FLAG_O_MATIC_ECLASS="1" |
1582 |
declare -- _L10N_ECLASS="1" |
1583 |
declare -- _LIBTOOL_ECLASS="1" |
1584 |
declare -- _MULTIBUILD="1" |
1585 |
declare -- _MULTILIB_BUILD="1" |
1586 |
declare -- _MULTILIB_ECLASS="1" |
1587 |
declare -a _MULTILIB_FLAGS=([0]="abi_x86_32:x86,x86_fbsd,x86_freebsd,x86_linux,x86_macos,x86_solaris" [1]="abi_x86_64:amd64,amd64_fbsd,x64_freebsd,amd64_linux,x64_macos,x64_solaris" [2]="abi_x86_x32:x32" [3]="abi_mips_n32:n32" [4]="abi_mips_n64:n64" [5]="abi_mips_o32:o32" [6]="abi_s390_32:s390" [7]="abi_s390_64:s390x") |
1588 |
declare -- _PRESERVE_LIBS_ECLASS="1" |
1589 |
declare -- _TOOLCHAIN_FUNCS_ECLASS="1" |
1590 |
declare -- _USR_LDSCRIPT_ECLASS="1" |
1591 |
declare -- _WRAPPER_ECLASS="1" |
1592 |
__eapi6_src_install () |
1593 |
{ |
1594 |
if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then |
1595 |
emake DESTDIR="${D}" install; |
1596 |
fi; |
1597 |
einstalldocs |
1598 |
} |
1599 |
__eapi6_src_prepare () |
1600 |
{ |
1601 |
if ___is_indexed_array_var PATCHES; then |
1602 |
[[ ${#PATCHES[@]} -gt 0 ]] && eapply "${PATCHES[@]}"; |
1603 |
else |
1604 |
if [[ -n ${PATCHES} ]]; then |
1605 |
eapply ${PATCHES}; |
1606 |
fi; |
1607 |
fi; |
1608 |
eapply_user |
1609 |
} |
1610 |
__eapi7_ver_compare () |
1611 |
{ |
1612 |
local va=${1} vb=${2} a an al as ar b bn bl bs br re LC_ALL=C; |
1613 |
re="^([0-9]+(\.[0-9]+)*)([a-z]?)((_(alpha|beta|pre|rc|p)[0-9]*)*)(-r[0-9]+)?$"; |
1614 |
[[ ${va} =~ ${re} ]] || die "${FUNCNAME}: invalid version: ${va}"; |
1615 |
an=${BASH_REMATCH[1]}; |
1616 |
al=${BASH_REMATCH[3]}; |
1617 |
as=${BASH_REMATCH[4]}; |
1618 |
ar=${BASH_REMATCH[7]}; |
1619 |
[[ ${vb} =~ ${re} ]] || die "${FUNCNAME}: invalid version: ${vb}"; |
1620 |
bn=${BASH_REMATCH[1]}; |
1621 |
bl=${BASH_REMATCH[3]}; |
1622 |
bs=${BASH_REMATCH[4]}; |
1623 |
br=${BASH_REMATCH[7]}; |
1624 |
__eapi7_ver_compare_int "${an%%.*}" "${bn%%.*}" || return; |
1625 |
while [[ ${an} == *.* && ${bn} == *.* ]]; do |
1626 |
an=${an#*.}; |
1627 |
bn=${bn#*.}; |
1628 |
a=${an%%.*}; |
1629 |
b=${bn%%.*}; |
1630 |
if [[ ${a} == 0* || ${b} == 0* ]]; then |
1631 |
[[ ${a} =~ 0+$ ]] && a=${a%"${BASH_REMATCH[0]}"}; |
1632 |
[[ ${b} =~ 0+$ ]] && b=${b%"${BASH_REMATCH[0]}"}; |
1633 |
[[ ${a} > ${b} ]] && return 3; |
1634 |
[[ ${a} < ${b} ]] && return 1; |
1635 |
else |
1636 |
__eapi7_ver_compare_int "${a}" "${b}" || return; |
1637 |
fi; |
1638 |
done; |
1639 |
[[ ${an} == *.* ]] && return 3; |
1640 |
[[ ${bn} == *.* ]] && return 1; |
1641 |
[[ ${al} > ${bl} ]] && return 3; |
1642 |
[[ ${al} < ${bl} ]] && return 1; |
1643 |
as=${as#_}${as:+_}; |
1644 |
bs=${bs#_}${bs:+_}; |
1645 |
while [[ -n ${as} && -n ${bs} ]]; do |
1646 |
a=${as%%_*}; |
1647 |
b=${bs%%_*}; |
1648 |
if [[ ${a%%[0-9]*} == "${b%%[0-9]*}" ]]; then |
1649 |
__eapi7_ver_compare_int "${a##*[a-z]}" "${b##*[a-z]}" || return; |
1650 |
else |
1651 |
[[ ${a%%[0-9]*} == p ]] && return 3; |
1652 |
[[ ${b%%[0-9]*} == p ]] && return 1; |
1653 |
[[ ${a} > ${b} ]] && return 3 || return 1; |
1654 |
fi; |
1655 |
as=${as#*_}; |
1656 |
bs=${bs#*_}; |
1657 |
done; |
1658 |
if [[ -n ${as} ]]; then |
1659 |
[[ ${as} == p[_0-9]* ]] && return 3 || return 1; |
1660 |
else |
1661 |
if [[ -n ${bs} ]]; then |
1662 |
[[ ${bs} == p[_0-9]* ]] && return 1 || return 3; |
1663 |
fi; |
1664 |
fi; |
1665 |
__eapi7_ver_compare_int "${ar#-r}" "${br#-r}" || return; |
1666 |
return 2 |
1667 |
} |
1668 |
__eapi7_ver_compare_int () |
1669 |
{ |
1670 |
local a=$1 b=$2 d=$(( ${#1}-${#2} )); |
1671 |
if [[ ${d} -gt 0 ]]; then |
1672 |
printf -v b "%0${d}d%s" 0 "${b}"; |
1673 |
else |
1674 |
if [[ ${d} -lt 0 ]]; then |
1675 |
printf -v a "%0$(( -d ))d%s" 0 "${a}"; |
1676 |
fi; |
1677 |
fi; |
1678 |
[[ ${a} > ${b} ]] && return 3; |
1679 |
[[ ${a} == "${b}" ]] |
1680 |
} |
1681 |
__eapi7_ver_parse_range () |
1682 |
{ |
1683 |
local range=${1}; |
1684 |
local max=${2}; |
1685 |
[[ ${range} == [0-9]* ]] || die "${FUNCNAME}: range must start with a number"; |
1686 |
start=${range%-*}; |
1687 |
[[ ${range} == *-* ]] && end=${range#*-} || end=${start}; |
1688 |
if [[ -n ${end} ]]; then |
1689 |
[[ ${start} -le ${end} ]] || die "${FUNCNAME}: end of range must be >= start"; |
1690 |
[[ ${end} -le ${max} ]] || end=${max}; |
1691 |
else |
1692 |
end=${max}; |
1693 |
fi |
1694 |
} |
1695 |
__eapi7_ver_split () |
1696 |
{ |
1697 |
local v=${1} LC_ALL=C; |
1698 |
comp=(); |
1699 |
local s c; |
1700 |
while [[ -n ${v} ]]; do |
1701 |
s=${v%%[a-zA-Z0-9]*}; |
1702 |
v=${v:${#s}}; |
1703 |
[[ ${v} == [0-9]* ]] && c=${v%%[^0-9]*} || c=${v%%[^a-zA-Z]*}; |
1704 |
v=${v:${#c}}; |
1705 |
comp+=("${s}" "${c}"); |
1706 |
done |
1707 |
} |
1708 |
_clang_fullversion () |
1709 |
{ |
1710 |
local ver="$1"; |
1711 |
shift; |
1712 |
set -- $($(tc-getCPP "$@") -E -P - <<<"__clang_major__ __clang_minor__ __clang_patchlevel__"); |
1713 |
eval echo "$ver" |
1714 |
} |
1715 |
_eapply_patch () |
1716 |
{ |
1717 |
local f=${1}; |
1718 |
local prefix=${2}; |
1719 |
ebegin "${prefix:-Applying }${f##*/}"; |
1720 |
local all_opts=(-p1 -f -g0 --no-backup-if-mismatch "${patch_options[@]}"); |
1721 |
if ${patch_cmd} "${all_opts[@]}" --dry-run -s -F0 < "${f}" &> /dev/null; then |
1722 |
all_opts+=(-s -F0); |
1723 |
fi; |
1724 |
${patch_cmd} "${all_opts[@]}" < "${f}"; |
1725 |
failed=${?}; |
1726 |
if ! eend "${failed}"; then |
1727 |
__helpers_die "patch -p1 ${patch_options[*]} failed with ${f}"; |
1728 |
fi |
1729 |
} |
1730 |
_filter-hardened () |
1731 |
{ |
1732 |
local f; |
1733 |
for f in "$@"; |
1734 |
do |
1735 |
case "${f}" in |
1736 |
-fPIC | -fpic | -fPIE | -fpie | -Wl,pie | -pie) |
1737 |
gcc-specs-pie || continue; |
1738 |
if ! is-flagq -nopie && ! is-flagq -no-pie; then |
1739 |
if test-flags -nopie > /dev/null; then |
1740 |
append-flags -nopie; |
1741 |
else |
1742 |
append-flags -no-pie; |
1743 |
fi; |
1744 |
fi |
1745 |
;; |
1746 |
-fstack-protector) |
1747 |
gcc-specs-ssp || continue; |
1748 |
is-flagq -fno-stack-protector || append-flags $(test-flags -fno-stack-protector) |
1749 |
;; |
1750 |
-fstack-protector-all) |
1751 |
gcc-specs-ssp-to-all || continue; |
1752 |
is-flagq -fno-stack-protector-all || append-flags $(test-flags -fno-stack-protector-all) |
1753 |
;; |
1754 |
-fno-strict-overflow) |
1755 |
gcc-specs-nostrict || continue; |
1756 |
is-flagq -fstrict-overflow || append-flags $(test-flags -fstrict-overflow) |
1757 |
;; |
1758 |
esac; |
1759 |
done |
1760 |
} |
1761 |
_filter-var () |
1762 |
{ |
1763 |
local f x var=$1 new=(); |
1764 |
shift; |
1765 |
for f in ${!var}; |
1766 |
do |
1767 |
for x in "$@"; |
1768 |
do |
1769 |
[[ ${f} == ${x} ]] && continue 2; |
1770 |
done; |
1771 |
new+=("${f}"); |
1772 |
done; |
1773 |
export ${var}="${new[*]}" |
1774 |
} |
1775 |
_gcc-install-dir () |
1776 |
{ |
1777 |
echo "$(LC_ALL=C $(tc-getCC) -print-search-dirs 2> /dev/null | awk '$1=="install:" {print $2}')" |
1778 |
} |
1779 |
_gcc-specs-directive_raw () |
1780 |
{ |
1781 |
local cc=$(tc-getCC); |
1782 |
local specfiles=$(LC_ALL=C ${cc} -v 2>&1 | awk '$1=="Reading" {print $NF}'); |
1783 |
${cc} -dumpspecs 2> /dev/null | cat - ${specfiles} | awk -v directive=$1 'BEGIN { pspec=""; spec=""; outside=1 } |
1784 |
$1=="*"directive":" { pspec=spec; spec=""; outside=0; next } |
1785 |
outside || NF==0 || ( substr($1,1,1)=="*" && substr($1,length($1),1)==":" ) { outside=1; next } |
1786 |
spec=="" && substr($0,1,1)=="+" { spec=pspec " " substr($0,2); next } |
1787 |
{ spec=spec $0 } |
1788 |
END { print spec }'; |
1789 |
return 0 |
1790 |
} |
1791 |
_gcc-specs-exists () |
1792 |
{ |
1793 |
[[ -f $(_gcc-install-dir)/$1 ]] |
1794 |
} |
1795 |
_gcc_fullversion () |
1796 |
{ |
1797 |
local ver="$1"; |
1798 |
shift; |
1799 |
set -- $($(tc-getCPP "$@") -E -P - <<<"__GNUC__ __GNUC_MINOR__ __GNUC_PATCHLEVEL__"); |
1800 |
eval echo "$ver" |
1801 |
} |
1802 |
_is_flagq () |
1803 |
{ |
1804 |
local x var="$1[*]"; |
1805 |
for x in ${!var}; |
1806 |
do |
1807 |
[[ ${x} == $2 ]] && return 0; |
1808 |
done; |
1809 |
return 1 |
1810 |
} |
1811 |
_multibuild_run () |
1812 |
{ |
1813 |
local i=1; |
1814 |
while [[ ${!i} == _* ]]; do |
1815 |
(( i += 1 )); |
1816 |
done; |
1817 |
[[ ${i} -le ${#} ]] && einfo "${v}: running ${@:${i}}"; |
1818 |
"${@}" |
1819 |
} |
1820 |
_multilib_multibuild_wrapper () |
1821 |
{ |
1822 |
debug-print-function ${FUNCNAME} "${@}"; |
1823 |
local ABI=${MULTIBUILD_VARIANT#*.}; |
1824 |
local -r MULTILIB_ABI_FLAG=${MULTIBUILD_VARIANT%.*}; |
1825 |
multilib_toolchain_setup "${ABI}"; |
1826 |
readonly ABI; |
1827 |
"${@}" |
1828 |
} |
1829 |
_tc-getPROG () |
1830 |
{ |
1831 |
local tuple=$1; |
1832 |
local v var vars=$2; |
1833 |
local prog=($3); |
1834 |
var=${vars%% *}; |
1835 |
for v in ${vars}; |
1836 |
do |
1837 |
if [[ -n ${!v} ]]; then |
1838 |
export ${var}="${!v}"; |
1839 |
echo "${!v}"; |
1840 |
return 0; |
1841 |
fi; |
1842 |
done; |
1843 |
local search=; |
1844 |
[[ -n $4 ]] && search=$(type -p $4-${prog[0]}); |
1845 |
[[ -z ${search} && -n ${!tuple} ]] && search=$(type -p ${!tuple}-${prog[0]}); |
1846 |
[[ -n ${search} ]] && prog[0]=${search##*/}; |
1847 |
export ${var}="${prog[*]}"; |
1848 |
echo "${!var}" |
1849 |
} |
1850 |
all-flag-vars () |
1851 |
{ |
1852 |
echo {ADA,C,CPP,CXX,CCAS,F,FC,LD}FLAGS |
1853 |
} |
1854 |
append-cflags () |
1855 |
{ |
1856 |
[[ $# -eq 0 ]] && return 0; |
1857 |
export CFLAGS+=" $*"; |
1858 |
return 0 |
1859 |
} |
1860 |
append-cppflags () |
1861 |
{ |
1862 |
[[ $# -eq 0 ]] && return 0; |
1863 |
export CPPFLAGS+=" $*"; |
1864 |
return 0 |
1865 |
} |
1866 |
append-cxxflags () |
1867 |
{ |
1868 |
[[ $# -eq 0 ]] && return 0; |
1869 |
export CXXFLAGS+=" $*"; |
1870 |
return 0 |
1871 |
} |
1872 |
append-fflags () |
1873 |
{ |
1874 |
[[ $# -eq 0 ]] && return 0; |
1875 |
export FFLAGS+=" $*"; |
1876 |
export FCFLAGS+=" $*"; |
1877 |
return 0 |
1878 |
} |
1879 |
append-flags () |
1880 |
{ |
1881 |
[[ $# -eq 0 ]] && return 0; |
1882 |
case " $* " in |
1883 |
*' '-[DIU]*) |
1884 |
eqawarn 'please use append-cppflags for preprocessor flags' |
1885 |
;; |
1886 |
*' '-L* | *' '-Wl,*) |
1887 |
eqawarn 'please use append-ldflags for linker flags' |
1888 |
;; |
1889 |
esac; |
1890 |
append-cflags "$@"; |
1891 |
append-cxxflags "$@"; |
1892 |
append-fflags "$@"; |
1893 |
return 0 |
1894 |
} |
1895 |
append-ldflags () |
1896 |
{ |
1897 |
[[ $# -eq 0 ]] && return 0; |
1898 |
local flag; |
1899 |
for flag in "$@"; |
1900 |
do |
1901 |
[[ ${flag} == -l* ]] && eqawarn "Appending a library link instruction (${flag}); libraries to link to should not be passed through LDFLAGS"; |
1902 |
done; |
1903 |
export LDFLAGS="${LDFLAGS} $*"; |
1904 |
return 0 |
1905 |
} |
1906 |
append-lfs-flags () |
1907 |
{ |
1908 |
[[ $# -ne 0 ]] && die "append-lfs-flags takes no arguments"; |
1909 |
append-cppflags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE |
1910 |
} |
1911 |
append-libs () |
1912 |
{ |
1913 |
[[ $# -eq 0 ]] && return 0; |
1914 |
local flag; |
1915 |
for flag in "$@"; |
1916 |
do |
1917 |
if [[ -z "${flag// }" ]]; then |
1918 |
eqawarn "Appending an empty argument to LIBS is invalid! Skipping."; |
1919 |
continue; |
1920 |
fi; |
1921 |
case $flag in |
1922 |
-[lL]*) |
1923 |
export LIBS="${LIBS} ${flag}" |
1924 |
;; |
1925 |
-*) |
1926 |
eqawarn "Appending non-library to LIBS (${flag}); Other linker flags should be passed via LDFLAGS"; |
1927 |
export LIBS="${LIBS} ${flag}" |
1928 |
;; |
1929 |
*) |
1930 |
export LIBS="${LIBS} -l${flag}" |
1931 |
;; |
1932 |
esac; |
1933 |
done; |
1934 |
return 0 |
1935 |
} |
1936 |
clang-fullversion () |
1937 |
{ |
1938 |
_clang_fullversion '$1.$2.$3' "$@" |
1939 |
} |
1940 |
clang-major-version () |
1941 |
{ |
1942 |
_clang_fullversion '$1' "$@" |
1943 |
} |
1944 |
clang-micro-version () |
1945 |
{ |
1946 |
_clang_fullversion '$3' "$@" |
1947 |
} |
1948 |
clang-minor-version () |
1949 |
{ |
1950 |
_clang_fullversion '$2' "$@" |
1951 |
} |
1952 |
clang-version () |
1953 |
{ |
1954 |
_clang_fullversion '$1.$2' "$@" |
1955 |
} |
1956 |
darwintoolize () |
1957 |
{ |
1958 |
die "Use elibtoolize" |
1959 |
} |
1960 |
eapply () |
1961 |
{ |
1962 |
local failed patch_cmd=patch; |
1963 |
local -x LC_COLLATE=POSIX; |
1964 |
type -P gpatch > /dev/null && patch_cmd=gpatch; |
1965 |
function _eapply_patch () |
1966 |
{ |
1967 |
local f=${1}; |
1968 |
local prefix=${2}; |
1969 |
ebegin "${prefix:-Applying }${f##*/}"; |
1970 |
local all_opts=(-p1 -f -g0 --no-backup-if-mismatch "${patch_options[@]}"); |
1971 |
if ${patch_cmd} "${all_opts[@]}" --dry-run -s -F0 < "${f}" &> /dev/null; then |
1972 |
all_opts+=(-s -F0); |
1973 |
fi; |
1974 |
${patch_cmd} "${all_opts[@]}" < "${f}"; |
1975 |
failed=${?}; |
1976 |
if ! eend "${failed}"; then |
1977 |
__helpers_die "patch -p1 ${patch_options[*]} failed with ${f}"; |
1978 |
fi |
1979 |
}; |
1980 |
local patch_options=() files=(); |
1981 |
local i found_doublehyphen; |
1982 |
for ((i = 1; i <= ${#@}; ++i )) |
1983 |
do |
1984 |
if [[ ${@:i:1} == -- ]]; then |
1985 |
patch_options=("${@:1:i-1}"); |
1986 |
files=("${@:i+1}"); |
1987 |
found_doublehyphen=1; |
1988 |
break; |
1989 |
fi; |
1990 |
done; |
1991 |
if [[ -z ${found_doublehyphen} ]]; then |
1992 |
for ((i = 1; i <= ${#@}; ++i )) |
1993 |
do |
1994 |
if [[ ${@:i:1} != -* ]]; then |
1995 |
patch_options=("${@:1:i-1}"); |
1996 |
files=("${@:i}"); |
1997 |
break; |
1998 |
fi; |
1999 |
done; |
2000 |
for i in "${files[@]}"; |
2001 |
do |
2002 |
if [[ ${i} == -* ]]; then |
2003 |
die "eapply: all options must be passed before non-options"; |
2004 |
fi; |
2005 |
done; |
2006 |
fi; |
2007 |
if [[ ${#files[@]} -eq 0 ]]; then |
2008 |
die "eapply: no files specified"; |
2009 |
fi; |
2010 |
local f; |
2011 |
for f in "${files[@]}"; |
2012 |
do |
2013 |
if [[ -d ${f} ]]; then |
2014 |
function _eapply_get_files () |
2015 |
{ |
2016 |
local LC_ALL=POSIX; |
2017 |
local prev_shopt=$(shopt -p nullglob); |
2018 |
shopt -s nullglob; |
2019 |
local f; |
2020 |
for f in "${1}"/*; |
2021 |
do |
2022 |
if [[ ${f} == *.diff || ${f} == *.patch ]]; then |
2023 |
files+=("${f}"); |
2024 |
fi; |
2025 |
done; |
2026 |
${prev_shopt} |
2027 |
}; |
2028 |
local files=(); |
2029 |
_eapply_get_files "${f}"; |
2030 |
[[ ${#files[@]} -eq 0 ]] && die "No *.{patch,diff} files in directory ${f}"; |
2031 |
einfo "Applying patches from ${f} ..."; |
2032 |
local f2; |
2033 |
for f2 in "${files[@]}"; |
2034 |
do |
2035 |
_eapply_patch "${f2}" ' '; |
2036 |
[[ ${failed} -ne 0 ]] && return "${failed}"; |
2037 |
done; |
2038 |
else |
2039 |
_eapply_patch "${f}"; |
2040 |
[[ ${failed} -ne 0 ]] && return "${failed}"; |
2041 |
fi; |
2042 |
done; |
2043 |
return 0 |
2044 |
} |
2045 |
eapply_user () |
2046 |
{ |
2047 |
[[ ${EBUILD_PHASE} == prepare ]] || die "eapply_user() called during invalid phase: ${EBUILD_PHASE}"; |
2048 |
local tagfile=${T}/.portage_user_patches_applied; |
2049 |
[[ -f ${tagfile} ]] && return; |
2050 |
>> "${tagfile}"; |
2051 |
local basedir=${PORTAGE_CONFIGROOT%/}/etc/portage/patches; |
2052 |
local applied d f; |
2053 |
local -A _eapply_user_patches; |
2054 |
local prev_shopt=$(shopt -p nullglob); |
2055 |
shopt -s nullglob; |
2056 |
for d in "${basedir}"/${CATEGORY}/{${P}-${PR},${P},${PN}}{:${SLOT%/*},}; |
2057 |
do |
2058 |
for f in "${d}"/*; |
2059 |
do |
2060 |
if [[ ( ${f} == *.diff || ${f} == *.patch ) && -z ${_eapply_user_patches[${f##*/}]} ]]; then |
2061 |
_eapply_user_patches[${f##*/}]=${f}; |
2062 |
fi; |
2063 |
done; |
2064 |
done; |
2065 |
if [[ ${#_eapply_user_patches[@]} -gt 0 ]]; then |
2066 |
while read -r -d '' f; do |
2067 |
f=${_eapply_user_patches[${f}]}; |
2068 |
if [[ -s ${f} ]]; then |
2069 |
eapply "${f}"; |
2070 |
applied=1; |
2071 |
fi; |
2072 |
done < <(printf -- '%s\0' "${!_eapply_user_patches[@]}" | |
2073 |
LC_ALL=C sort -z); |
2074 |
fi; |
2075 |
${prev_shopt}; |
2076 |
[[ -n ${applied} ]] && ewarn "User patches applied." |
2077 |
} |
2078 |
econf_build () |
2079 |
{ |
2080 |
local CBUILD=${CBUILD:-${CHOST}}; |
2081 |
tc-env_build econf --build=${CBUILD} --host=${CBUILD} "$@" |
2082 |
} |
2083 |
edos2unix () |
2084 |
{ |
2085 |
[[ $# -eq 0 ]] && return 0; |
2086 |
sed -i 's/\r$//' -- "$@" || die |
2087 |
} |
2088 |
einstalldocs () |
2089 |
{ |
2090 |
( if [[ $(declare -p DOCS 2>/dev/null) != *=* ]]; then |
2091 |
local d; |
2092 |
for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS FAQ CREDITS CHANGELOG; |
2093 |
do |
2094 |
[[ -f ${d} && -s ${d} ]] && docinto / && dodoc "${d}"; |
2095 |
done; |
2096 |
else |
2097 |
if ___is_indexed_array_var DOCS; then |
2098 |
[[ ${#DOCS[@]} -gt 0 ]] && docinto / && dodoc -r "${DOCS[@]}"; |
2099 |
else |
2100 |
[[ -n ${DOCS} ]] && docinto / && dodoc -r ${DOCS}; |
2101 |
fi; |
2102 |
fi ); |
2103 |
( if ___is_indexed_array_var HTML_DOCS; then |
2104 |
[[ ${#HTML_DOCS[@]} -gt 0 ]] && docinto html && dodoc -r "${HTML_DOCS[@]}"; |
2105 |
else |
2106 |
[[ -n ${HTML_DOCS} ]] && docinto html && dodoc -r ${HTML_DOCS}; |
2107 |
fi ) |
2108 |
} |
2109 |
elibtoolize () |
2110 |
{ |
2111 |
type -P eltpatch &> /dev/null || die "eltpatch not found; is app-portage/elt-patches installed?"; |
2112 |
ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" |
2113 |
} |
2114 |
emktemp () |
2115 |
{ |
2116 |
eqawarn "emktemp is deprecated. Create a temporary file in \${T} instead."; |
2117 |
local exe="touch"; |
2118 |
[[ $1 == -d ]] && exe="mkdir" && shift; |
2119 |
local topdir=$1; |
2120 |
if [[ -z ${topdir} ]]; then |
2121 |
[[ -z ${T} ]] && topdir="/tmp" || topdir=${T}; |
2122 |
fi; |
2123 |
if ! type -P mktemp > /dev/null; then |
2124 |
local tmp=/; |
2125 |
while [[ -e ${tmp} ]]; do |
2126 |
tmp=${topdir}/tmp.${RANDOM}.${RANDOM}.${RANDOM}; |
2127 |
done; |
2128 |
${exe} "${tmp}" || ${exe} -p "${tmp}"; |
2129 |
echo "${tmp}"; |
2130 |
else |
2131 |
if [[ ${exe} == "touch" ]]; then |
2132 |
TMPDIR="${topdir}" mktemp -t tmp.XXXXXXXXXX; |
2133 |
else |
2134 |
TMPDIR="${topdir}" mktemp -dt tmp.XXXXXXXXXX; |
2135 |
fi; |
2136 |
fi |
2137 |
} |
2138 |
filter-flags () |
2139 |
{ |
2140 |
_filter-hardened "$@"; |
2141 |
local v; |
2142 |
for v in $(all-flag-vars); |
2143 |
do |
2144 |
_filter-var ${v} "$@"; |
2145 |
done; |
2146 |
return 0 |
2147 |
} |
2148 |
filter-ldflags () |
2149 |
{ |
2150 |
_filter-var LDFLAGS "$@"; |
2151 |
return 0 |
2152 |
} |
2153 |
filter-lfs-flags () |
2154 |
{ |
2155 |
[[ $# -ne 0 ]] && die "filter-lfs-flags takes no arguments"; |
2156 |
filter-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE |
2157 |
} |
2158 |
filter-mfpmath () |
2159 |
{ |
2160 |
local orig_mfpmath new_math prune_math; |
2161 |
orig_mfpmath=$(get-flag -mfpmath); |
2162 |
new_math=$(get-flag mfpmath); |
2163 |
new_math=${new_math/both/387,sse}; |
2164 |
new_math=" ${new_math//[,+]/ } "; |
2165 |
prune_math=""; |
2166 |
for prune_math in "$@"; |
2167 |
do |
2168 |
new_math=${new_math/ ${prune_math} / }; |
2169 |
done; |
2170 |
new_math=$(echo ${new_math}); |
2171 |
new_math=${new_math// /,}; |
2172 |
if [[ -z ${new_math} ]]; then |
2173 |
filter-flags ${orig_mfpmath}; |
2174 |
else |
2175 |
replace-flags ${orig_mfpmath} -mfpmath=${new_math}; |
2176 |
fi; |
2177 |
return 0 |
2178 |
} |
2179 |
gcc-fullversion () |
2180 |
{ |
2181 |
_gcc_fullversion '$1.$2.$3' "$@" |
2182 |
} |
2183 |
gcc-major-version () |
2184 |
{ |
2185 |
_gcc_fullversion '$1' "$@" |
2186 |
} |
2187 |
gcc-micro-version () |
2188 |
{ |
2189 |
_gcc_fullversion '$3' "$@" |
2190 |
} |
2191 |
gcc-minor-version () |
2192 |
{ |
2193 |
_gcc_fullversion '$2' "$@" |
2194 |
} |
2195 |
gcc-specs-directive () |
2196 |
{ |
2197 |
local directive subdname subdirective; |
2198 |
directive="$(_gcc-specs-directive_raw $1)"; |
2199 |
while [[ ${directive} == *%\(*\)* ]]; do |
2200 |
subdname=${directive/*%\(}; |
2201 |
subdname=${subdname/\)*}; |
2202 |
subdirective="$(_gcc-specs-directive_raw ${subdname})"; |
2203 |
directive="${directive//\%(${subdname})/${subdirective}}"; |
2204 |
done; |
2205 |
echo "${directive}"; |
2206 |
return 0 |
2207 |
} |
2208 |
gcc-specs-nostrict () |
2209 |
{ |
2210 |
local directive; |
2211 |
directive=$(gcc-specs-directive cc1); |
2212 |
[[ "${directive/\{!fstrict-overflow:}" != "${directive}" ]] |
2213 |
} |
2214 |
gcc-specs-now () |
2215 |
{ |
2216 |
local directive; |
2217 |
directive=$(gcc-specs-directive link_command); |
2218 |
[[ "${directive/\{!nonow:}" != "${directive}" ]] |
2219 |
} |
2220 |
gcc-specs-pie () |
2221 |
{ |
2222 |
local directive; |
2223 |
directive=$(gcc-specs-directive cc1); |
2224 |
[[ "${directive/\{!nopie:}" != "${directive}" ]] |
2225 |
} |
2226 |
gcc-specs-relro () |
2227 |
{ |
2228 |
local directive; |
2229 |
directive=$(gcc-specs-directive link_command); |
2230 |
[[ "${directive/\{!norelro:}" != "${directive}" ]] |
2231 |
} |
2232 |
gcc-specs-ssp () |
2233 |
{ |
2234 |
local directive; |
2235 |
directive=$(gcc-specs-directive cc1); |
2236 |
[[ "${directive/\{!fno-stack-protector:}" != "${directive}" ]] |
2237 |
} |
2238 |
gcc-specs-ssp-to-all () |
2239 |
{ |
2240 |
local directive; |
2241 |
directive=$(gcc-specs-directive cc1); |
2242 |
[[ "${directive/\{!fno-stack-protector-all:}" != "${directive}" ]] |
2243 |
} |
2244 |
gcc-specs-stack-check () |
2245 |
{ |
2246 |
local directive; |
2247 |
directive=$(gcc-specs-directive cc1); |
2248 |
[[ "${directive/\{!fno-stack-check:}" != "${directive}" ]] |
2249 |
} |
2250 |
gcc-version () |
2251 |
{ |
2252 |
_gcc_fullversion '$1.$2' "$@" |
2253 |
} |
2254 |
gen_usr_ldscript () |
2255 |
{ |
2256 |
local lib libdir=$(get_libdir) output_format="" auto=false suffix=$(get_libname); |
2257 |
tc-is-static-only && return; |
2258 |
use prefix && return; |
2259 |
if [[ $(type -t multilib_is_native_abi) == "function" ]]; then |
2260 |
multilib_is_native_abi || return 0; |
2261 |
fi; |
2262 |
case ${CTARGET:-${CHOST}} in |
2263 |
*-darwin*) |
2264 |
|
2265 |
;; |
2266 |
*-android*) |
2267 |
return 0 |
2268 |
;; |
2269 |
*linux* | *-freebsd* | *-openbsd* | *-netbsd*) |
2270 |
use prefix && return 0; |
2271 |
use split-usr || return 0 |
2272 |
;; |
2273 |
*) |
2274 |
return 0 |
2275 |
;; |
2276 |
esac; |
2277 |
dodir /usr/${libdir}; |
2278 |
if [[ $1 == "-a" ]]; then |
2279 |
auto=true; |
2280 |
shift; |
2281 |
dodir /${libdir}; |
2282 |
fi; |
2283 |
local flags=(${CFLAGS} ${LDFLAGS} -Wl,--verbose); |
2284 |
if $(tc-getLD) --version | grep -q 'GNU gold'; then |
2285 |
local d="${T}/bfd-linker"; |
2286 |
mkdir -p "${d}"; |
2287 |
ln -sf $(which ${CHOST}-ld.bfd) "${d}"/ld; |
2288 |
flags+=(-B"${d}"); |
2289 |
fi; |
2290 |
output_format=$($(tc-getCC) "${flags[@]}" 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p'); |
2291 |
[[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )"; |
2292 |
for lib in "$@"; |
2293 |
do |
2294 |
local tlib; |
2295 |
if ${auto}; then |
2296 |
lib="lib${lib}${suffix}"; |
2297 |
else |
2298 |
[[ -r ${ED%/}/${libdir}/${lib} ]] || continue; |
2299 |
fi; |
2300 |
case ${CTARGET:-${CHOST}} in |
2301 |
*-darwin*) |
2302 |
if ${auto}; then |
2303 |
tlib=$(scanmacho -qF'%S#F' "${ED%/}"/usr/${libdir}/${lib}); |
2304 |
else |
2305 |
tlib=$(scanmacho -qF'%S#F' "${ED%/}"/${libdir}/${lib}); |
2306 |
fi; |
2307 |
[[ -z ${tlib} ]] && die "unable to read install_name from ${lib}"; |
2308 |
tlib=${tlib##*/}; |
2309 |
if ${auto}; then |
2310 |
mv "${ED%/}"/usr/${libdir}/${lib%${suffix}}.*${suffix#.} "${ED%/}"/${libdir}/ || die; |
2311 |
if [[ ${tlib} != ${lib%${suffix}}.*${suffix#.} ]]; then |
2312 |
mv "${ED%/}"/usr/${libdir}/${tlib%${suffix}}.*${suffix#.} "${ED%/}"/${libdir}/ || die; |
2313 |
fi; |
2314 |
rm -f "${ED%/}"/${libdir}/${lib}; |
2315 |
fi; |
2316 |
if [[ ! -w "${ED%/}/${libdir}/${tlib}" ]]; then |
2317 |
chmod u+w "${ED%/}/${libdir}/${tlib}"; |
2318 |
local nowrite=yes; |
2319 |
fi; |
2320 |
install_name_tool -id "${EPREFIX}"/${libdir}/${tlib} "${ED%/}"/${libdir}/${tlib} || die "install_name_tool failed"; |
2321 |
[[ -n ${nowrite} ]] && chmod u-w "${ED%/}/${libdir}/${tlib}"; |
2322 |
pushd "${ED%/}/usr/${libdir}" > /dev/null; |
2323 |
ln -snf "../../${libdir}/${tlib}" "${lib}"; |
2324 |
popd > /dev/null |
2325 |
;; |
2326 |
*) |
2327 |
if ${auto}; then |
2328 |
tlib=$(scanelf -qF'%S#F' "${ED%/}"/usr/${libdir}/${lib}); |
2329 |
[[ -z ${tlib} ]] && die "unable to read SONAME from ${lib}"; |
2330 |
mv "${ED%/}"/usr/${libdir}/${lib}* "${ED%/}"/${libdir}/ || die; |
2331 |
if [[ ${tlib} != ${lib}* ]]; then |
2332 |
mv "${ED%/}"/usr/${libdir}/${tlib}* "${ED%/}"/${libdir}/ || die; |
2333 |
fi; |
2334 |
rm -f "${ED%/}"/${libdir}/${lib}; |
2335 |
else |
2336 |
tlib=${lib}; |
2337 |
fi; |
2338 |
cat > "${ED%/}/usr/${libdir}/${lib}" <<-END_LDSCRIPT |
2339 |
/* GNU ld script |
2340 |
Since Gentoo has critical dynamic libraries in /lib, and the static versions |
2341 |
in /usr/lib, we need to have a "fake" dynamic lib in /usr/lib, otherwise we |
2342 |
run into linking problems. This "fake" dynamic lib is a linker script that |
2343 |
redirects the linker to the real lib. And yes, this works in the cross- |
2344 |
compiling scenario as the sysroot-ed linker will prepend the real path. |
2345 |
|
2346 |
See bug https://bugs.gentoo.org/4411 for more info. |
2347 |
*/ |
2348 |
${output_format} |
2349 |
GROUP ( ${EPREFIX}/${libdir}/${tlib} ) |
2350 |
END_LDSCRIPT |
2351 |
|
2352 |
;; |
2353 |
esac |
2354 |
fperms a+x "/usr/${libdir}/${lib}" || die "could not change perms on ${lib}"; |
2355 |
done |
2356 |
} |
2357 |
get-flag () |
2358 |
{ |
2359 |
[[ $# -ne 1 ]] && die "usage: <flag>"; |
2360 |
local f var findflag="$1"; |
2361 |
for var in $(all-flag-vars); |
2362 |
do |
2363 |
for f in ${!var}; |
2364 |
do |
2365 |
if [ "${f/${findflag}}" != "${f}" ]; then |
2366 |
printf "%s\n" "${f/-${findflag}=}"; |
2367 |
return 0; |
2368 |
fi; |
2369 |
done; |
2370 |
done; |
2371 |
return 1 |
2372 |
} |
2373 |
get_abi_CFLAGS () |
2374 |
{ |
2375 |
get_abi_var CFLAGS "$@" |
2376 |
} |
2377 |
get_abi_CHOST () |
2378 |
{ |
2379 |
get_abi_var CHOST "$@" |
2380 |
} |
2381 |
get_abi_CTARGET () |
2382 |
{ |
2383 |
get_abi_var CTARGET "$@" |
2384 |
} |
2385 |
get_abi_FAKE_TARGETS () |
2386 |
{ |
2387 |
get_abi_var FAKE_TARGETS "$@" |
2388 |
} |
2389 |
get_abi_LDFLAGS () |
2390 |
{ |
2391 |
get_abi_var LDFLAGS "$@" |
2392 |
} |
2393 |
get_abi_LIBDIR () |
2394 |
{ |
2395 |
get_abi_var LIBDIR "$@" |
2396 |
} |
2397 |
get_abi_var () |
2398 |
{ |
2399 |
local flag=$1; |
2400 |
local abi=${2:-${ABI:-${DEFAULT_ABI:-default}}}; |
2401 |
local var="${flag}_${abi}"; |
2402 |
echo ${!var} |
2403 |
} |
2404 |
get_all_abis () |
2405 |
{ |
2406 |
local x order="" mvar dvar; |
2407 |
mvar="MULTILIB_ABIS"; |
2408 |
dvar="DEFAULT_ABI"; |
2409 |
if [[ -n $1 ]]; then |
2410 |
mvar="$1_${mvar}"; |
2411 |
dvar="$1_${dvar}"; |
2412 |
fi; |
2413 |
if [[ -z ${!mvar} ]]; then |
2414 |
echo "default"; |
2415 |
return 0; |
2416 |
fi; |
2417 |
for x in ${!mvar}; |
2418 |
do |
2419 |
if [[ ${x} != ${!dvar} ]]; then |
2420 |
order="${order:+${order} }${x}"; |
2421 |
fi; |
2422 |
done; |
2423 |
order="${order:+${order} }${!dvar}"; |
2424 |
echo ${order}; |
2425 |
return 0 |
2426 |
} |
2427 |
get_all_libdirs () |
2428 |
{ |
2429 |
local libdirs abi; |
2430 |
for abi in ${MULTILIB_ABIS}; |
2431 |
do |
2432 |
libdirs+=" $(get_abi_LIBDIR ${abi})"; |
2433 |
done; |
2434 |
[[ " ${libdirs} " != *" lib "* ]] && libdirs+=" lib"; |
2435 |
echo "${libdirs}" |
2436 |
} |
2437 |
get_exeext () |
2438 |
{ |
2439 |
case ${CHOST} in |
2440 |
*-cygwin* | mingw* | *-mingw*) |
2441 |
echo ".exe" |
2442 |
;; |
2443 |
esac |
2444 |
} |
2445 |
get_install_abis () |
2446 |
{ |
2447 |
local x order=""; |
2448 |
if [[ -z ${MULTILIB_ABIS} ]]; then |
2449 |
echo "default"; |
2450 |
return 0; |
2451 |
fi; |
2452 |
if [[ ${EMULTILIB_PKG} == "true" ]]; then |
2453 |
for x in ${MULTILIB_ABIS}; |
2454 |
do |
2455 |
if [[ ${x} != "${DEFAULT_ABI}" ]]; then |
2456 |
has ${x} ${ABI_DENY} || order="${order} ${x}"; |
2457 |
fi; |
2458 |
done; |
2459 |
has ${DEFAULT_ABI} ${ABI_DENY} || order="${order} ${DEFAULT_ABI}"; |
2460 |
if [[ -n ${ABI_ALLOW} ]]; then |
2461 |
local ordera=""; |
2462 |
for x in ${order}; |
2463 |
do |
2464 |
if has ${x} ${ABI_ALLOW}; then |
2465 |
ordera="${ordera} ${x}"; |
2466 |
fi; |
2467 |
done; |
2468 |
order=${ordera}; |
2469 |
fi; |
2470 |
else |
2471 |
order=${DEFAULT_ABI}; |
2472 |
fi; |
2473 |
if [[ -z ${order} ]]; then |
2474 |
die "The ABI list is empty. Are you using a proper multilib profile? Perhaps your USE flags or MULTILIB_ABIS are too restrictive for this package."; |
2475 |
fi; |
2476 |
echo ${order}; |
2477 |
return 0 |
2478 |
} |
2479 |
get_libdir () |
2480 |
{ |
2481 |
local libdir_var="LIBDIR_${ABI}"; |
2482 |
local libdir="lib"; |
2483 |
[[ -n ${ABI} && -n ${!libdir_var} ]] && libdir=${!libdir_var}; |
2484 |
echo "${libdir}" |
2485 |
} |
2486 |
get_libname () |
2487 |
{ |
2488 |
local libname; |
2489 |
local ver=$1; |
2490 |
case ${CHOST} in |
2491 |
*-cygwin*) |
2492 |
libname="dll.a" |
2493 |
;; |
2494 |
mingw* | *-mingw*) |
2495 |
libname="dll" |
2496 |
;; |
2497 |
*-darwin*) |
2498 |
libname="dylib" |
2499 |
;; |
2500 |
*-mint*) |
2501 |
libname="irrelevant" |
2502 |
;; |
2503 |
hppa*-hpux*) |
2504 |
libname="sl" |
2505 |
;; |
2506 |
*) |
2507 |
libname="so" |
2508 |
;; |
2509 |
esac; |
2510 |
if [[ -z $* ]]; then |
2511 |
echo ".${libname}"; |
2512 |
else |
2513 |
for ver in "$@"; |
2514 |
do |
2515 |
case ${CHOST} in |
2516 |
*-cygwin*) |
2517 |
echo ".${ver}.${libname}" |
2518 |
;; |
2519 |
*-darwin*) |
2520 |
echo ".${ver}.${libname}" |
2521 |
;; |
2522 |
*-mint*) |
2523 |
echo ".${libname}" |
2524 |
;; |
2525 |
*) |
2526 |
echo ".${libname}.${ver}" |
2527 |
;; |
2528 |
esac; |
2529 |
done; |
2530 |
fi |
2531 |
} |
2532 |
get_modname () |
2533 |
{ |
2534 |
local modname; |
2535 |
local ver=$1; |
2536 |
case ${CHOST} in |
2537 |
*-darwin*) |
2538 |
modname="bundle" |
2539 |
;; |
2540 |
*) |
2541 |
modname="so" |
2542 |
;; |
2543 |
esac; |
2544 |
echo ".${modname}" |
2545 |
} |
2546 |
has_multilib_profile () |
2547 |
{ |
2548 |
[ -n "${MULTILIB_ABIS}" -a "${MULTILIB_ABIS}" != "${MULTILIB_ABIS/ /}" ] |
2549 |
} |
2550 |
in_iuse () |
2551 |
{ |
2552 |
local use=${1}; |
2553 |
if [[ -z "${use}" ]]; then |
2554 |
echo "!!! in_iuse() called without a parameter." 1>&2; |
2555 |
echo "!!! in_iuse <USEFLAG>" 1>&2; |
2556 |
die "in_iuse() called without a parameter"; |
2557 |
fi; |
2558 |
local liuse=(${IUSE_EFFECTIVE}); |
2559 |
has "${use}" "${liuse[@]#[+-]}" |
2560 |
} |
2561 |
is-flag () |
2562 |
{ |
2563 |
is-flagq "$@" && echo true |
2564 |
} |
2565 |
is-flagq () |
2566 |
{ |
2567 |
[[ -n $2 ]] && die "Usage: is-flag <flag>"; |
2568 |
local var; |
2569 |
for var in $(all-flag-vars); |
2570 |
do |
2571 |
_is_flagq ${var} "$1" && return 0; |
2572 |
done; |
2573 |
return 1 |
2574 |
} |
2575 |
is-ldflag () |
2576 |
{ |
2577 |
is-ldflagq "$@" && echo true |
2578 |
} |
2579 |
is-ldflagq () |
2580 |
{ |
2581 |
[[ -n $2 ]] && die "Usage: is-ldflag <flag>"; |
2582 |
_is_flagq LDFLAGS $1 |
2583 |
} |
2584 |
is_final_abi () |
2585 |
{ |
2586 |
has_multilib_profile || return 0; |
2587 |
set -- $(get_install_abis); |
2588 |
local LAST_ABI=$#; |
2589 |
[[ ${!LAST_ABI} == ${ABI} ]] |
2590 |
} |
2591 |
l10n_find_plocales_changes () |
2592 |
{ |
2593 |
[[ $# -ne 3 ]] && die "Exactly 3 arguments are needed!"; |
2594 |
ebegin "Looking in ${1} for new locales"; |
2595 |
pushd "${1}" > /dev/null || die "Cannot access ${1}"; |
2596 |
local current= x=; |
2597 |
for x in ${2}*${3}; |
2598 |
do |
2599 |
x=${x#"${2}"}; |
2600 |
x=${x%"${3}"}; |
2601 |
current+="${x} "; |
2602 |
done; |
2603 |
popd > /dev/null; |
2604 |
if [[ "$(printf '%s\n' ${PLOCALES} | LC_ALL=C sort)" != "$(printf '%s\n' ${current} | LC_ALL=C sort)" ]]; then |
2605 |
eend 1 "There are changes in locales! This ebuild should be updated to:"; |
2606 |
eerror "PLOCALES=\"${current%[[:space:]]}\""; |
2607 |
return 1; |
2608 |
else |
2609 |
eend 0; |
2610 |
fi |
2611 |
} |
2612 |
l10n_for_each_disabled_locale_do () |
2613 |
{ |
2614 |
local locs x; |
2615 |
locs=$(l10n_get_locales disabled); |
2616 |
for x in ${locs}; |
2617 |
do |
2618 |
"${@}" ${x} || die "failed to process disabled ${x} locale"; |
2619 |
done |
2620 |
} |
2621 |
l10n_for_each_locale_do () |
2622 |
{ |
2623 |
local locs x; |
2624 |
locs=$(l10n_get_locales); |
2625 |
for x in ${locs}; |
2626 |
do |
2627 |
"${@}" ${x} || die "failed to process enabled ${x} locale"; |
2628 |
done |
2629 |
} |
2630 |
l10n_get_locales () |
2631 |
{ |
2632 |
local loc locs; |
2633 |
if [[ -z ${LINGUAS+set} ]]; then |
2634 |
locs=${PLOCALES}; |
2635 |
else |
2636 |
for loc in ${LINGUAS}; |
2637 |
do |
2638 |
has ${loc} ${PLOCALES} && locs+="${loc} "; |
2639 |
done; |
2640 |
fi; |
2641 |
[[ -z ${locs} ]] && locs=${PLOCALE_BACKUP}; |
2642 |
if [[ ${1} == disabled ]]; then |
2643 |
local disabled_locs; |
2644 |
for loc in ${PLOCALES}; |
2645 |
do |
2646 |
has ${loc} ${locs} || disabled_locs+="${loc} "; |
2647 |
done; |
2648 |
locs=${disabled_locs}; |
2649 |
fi; |
2650 |
printf "%s" "${locs}" |
2651 |
} |
2652 |
make_wrapper () |
2653 |
{ |
2654 |
local wrapper=$1 bin=$2 chdir=$3 libdir=$4 path=$5; |
2655 |
local tmpwrapper="${T}/tmp.wrapper.${wrapper##*/}"; |
2656 |
has "${EAPI:-0}" 0 1 2 && local EPREFIX=""; |
2657 |
( echo '#!/bin/sh'; |
2658 |
if [[ -n ${libdir} ]]; then |
2659 |
local var; |
2660 |
if [[ ${CHOST} == *-darwin* ]]; then |
2661 |
var=DYLD_LIBRARY_PATH; |
2662 |
else |
2663 |
var=LD_LIBRARY_PATH; |
2664 |
fi; |
2665 |
cat <<-EOF |
2666 |
if [ "\${${var}+set}" = "set" ] ; then |
2667 |
export ${var}="\${${var}}:${EPREFIX}${libdir}" |
2668 |
else |
2669 |
export ${var}="${EPREFIX}${libdir}" |
2670 |
fi |
2671 |
EOF |
2672 |
|
2673 |
fi |
2674 |
[[ -n ${chdir} ]] && printf 'cd "%s" &&\n' "${EPREFIX}${chdir}"; |
2675 |
printf 'exec %s "$@"\n' "${bin/#\//${EPREFIX}/}" ) > "${tmpwrapper}"; |
2676 |
chmod go+rx "${tmpwrapper}"; |
2677 |
if [[ -n ${path} ]]; then |
2678 |
( exeopts -m 0755; |
2679 |
exeinto "${path}"; |
2680 |
newexe "${tmpwrapper}" "${wrapper}" ) || die; |
2681 |
else |
2682 |
newbin "${tmpwrapper}" "${wrapper}" || die; |
2683 |
fi |
2684 |
} |
2685 |
multibuild_copy_sources () |
2686 |
{ |
2687 |
debug-print-function ${FUNCNAME} "${@}"; |
2688 |
local _MULTIBUILD_INITIAL_BUILD_DIR=${BUILD_DIR:-${S}}; |
2689 |
einfo "Will copy sources from ${_MULTIBUILD_INITIAL_BUILD_DIR}"; |
2690 |
local cp_args=(); |
2691 |
if cp --reflink=auto --version &> /dev/null; then |
2692 |
cp_args+=(--reflink=auto); |
2693 |
fi; |
2694 |
function _multibuild_create_source_copy () |
2695 |
{ |
2696 |
einfo "${MULTIBUILD_VARIANT}: copying to ${BUILD_DIR}"; |
2697 |
cp -p -R "${cp_args[@]}" "${_MULTIBUILD_INITIAL_BUILD_DIR}" "${BUILD_DIR}" || die |
2698 |
}; |
2699 |
multibuild_foreach_variant _multibuild_create_source_copy |
2700 |
} |
2701 |
multibuild_for_best_variant () |
2702 |
{ |
2703 |
debug-print-function ${FUNCNAME} "${@}"; |
2704 |
[[ -n ${MULTIBUILD_VARIANTS} ]] || die "MULTIBUILD_VARIANTS need to be set"; |
2705 |
local MULTIBUILD_VARIANTS=("${MULTIBUILD_VARIANTS[$(( ${#MULTIBUILD_VARIANTS[@]} - 1 ))]}"); |
2706 |
multibuild_foreach_variant "${@}" |
2707 |
} |
2708 |
multibuild_foreach_variant () |
2709 |
{ |
2710 |
debug-print-function ${FUNCNAME} "${@}"; |
2711 |
[[ -n ${MULTIBUILD_VARIANTS} ]] || die "MULTIBUILD_VARIANTS need to be set"; |
2712 |
local bdir=${BUILD_DIR:-${S}}; |
2713 |
[[ ${bdir%%/} == ${WORKDIR%%/} ]] && bdir=${WORKDIR}/build; |
2714 |
local prev_id=${MULTIBUILD_ID:+${MULTIBUILD_ID}-}; |
2715 |
local ret=0 lret=0 v; |
2716 |
debug-print "${FUNCNAME}: initial build_dir = ${bdir}"; |
2717 |
for v in "${MULTIBUILD_VARIANTS[@]}"; |
2718 |
do |
2719 |
local MULTIBUILD_VARIANT=${v}; |
2720 |
local MULTIBUILD_ID=${prev_id}${v}; |
2721 |
local BUILD_DIR=${bdir%%/}-${v}; |
2722 |
function _multibuild_run () |
2723 |
{ |
2724 |
local i=1; |
2725 |
while [[ ${!i} == _* ]]; do |
2726 |
(( i += 1 )); |
2727 |
done; |
2728 |
[[ ${i} -le ${#} ]] && einfo "${v}: running ${@:${i}}"; |
2729 |
"${@}" |
2730 |
}; |
2731 |
_multibuild_run "${@}" > >(exec tee -a "${T}/build-${MULTIBUILD_ID}.log") 2>&1; |
2732 |
lret=${?}; |
2733 |
done; |
2734 |
[[ ${ret} -eq 0 && ${lret} -ne 0 ]] && ret=${lret}; |
2735 |
return ${ret} |
2736 |
} |
2737 |
multibuild_merge_root () |
2738 |
{ |
2739 |
local src=${1}; |
2740 |
local dest=${2}; |
2741 |
local ret; |
2742 |
if use userland_BSD; then |
2743 |
tar -C "${src}" -f - -c . | tar -x -f - -C "${dest}"; |
2744 |
[[ ${PIPESTATUS[*]} == '0 0' ]]; |
2745 |
ret=${?}; |
2746 |
else |
2747 |
local cp_args=(); |
2748 |
if cp -a --version &> /dev/null; then |
2749 |
cp_args+=(-a); |
2750 |
else |
2751 |
cp_args+=(-P -R -p); |
2752 |
fi; |
2753 |
if cp --reflink=auto --version &> /dev/null; then |
2754 |
cp_args+=(--reflink=auto); |
2755 |
fi; |
2756 |
cp "${cp_args[@]}" "${src}"/. "${dest}"/; |
2757 |
ret=${?}; |
2758 |
fi; |
2759 |
if [[ ${ret} -ne 0 ]]; then |
2760 |
die "${MULTIBUILD_VARIANT:-(unknown)}: merging image failed."; |
2761 |
fi; |
2762 |
rm -rf "${src}" |
2763 |
} |
2764 |
multibuild_parallel_foreach_variant () |
2765 |
{ |
2766 |
debug-print-function ${FUNCNAME} "${@}"; |
2767 |
[[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}"; |
2768 |
multibuild_foreach_variant "${@}" |
2769 |
} |
2770 |
multilib-minimal_abi_src_configure () |
2771 |
{ |
2772 |
debug-print-function ${FUNCNAME} "$@"; |
2773 |
mkdir -p "${BUILD_DIR}" || die; |
2774 |
pushd "${BUILD_DIR}" > /dev/null || die; |
2775 |
if declare -f multilib_src_configure > /dev/null; then |
2776 |
multilib_src_configure; |
2777 |
else |
2778 |
default_src_configure; |
2779 |
fi; |
2780 |
popd > /dev/null || die |
2781 |
} |
2782 |
multilib-minimal_src_compile () |
2783 |
{ |
2784 |
debug-print-function ${FUNCNAME} "$@"; |
2785 |
function multilib-minimal_abi_src_compile () |
2786 |
{ |
2787 |
debug-print-function ${FUNCNAME} "$@"; |
2788 |
pushd "${BUILD_DIR}" > /dev/null || die; |
2789 |
if declare -f multilib_src_compile > /dev/null; then |
2790 |
multilib_src_compile; |
2791 |
else |
2792 |
default_src_compile; |
2793 |
fi; |
2794 |
popd > /dev/null || die |
2795 |
}; |
2796 |
multilib_foreach_abi multilib-minimal_abi_src_compile |
2797 |
} |
2798 |
multilib-minimal_src_configure () |
2799 |
{ |
2800 |
debug-print-function ${FUNCNAME} "$@"; |
2801 |
function multilib-minimal_abi_src_configure () |
2802 |
{ |
2803 |
debug-print-function ${FUNCNAME} "$@"; |
2804 |
mkdir -p "${BUILD_DIR}" || die; |
2805 |
pushd "${BUILD_DIR}" > /dev/null || die; |
2806 |
if declare -f multilib_src_configure > /dev/null; then |
2807 |
multilib_src_configure; |
2808 |
else |
2809 |
default_src_configure; |
2810 |
fi; |
2811 |
popd > /dev/null || die |
2812 |
}; |
2813 |
multilib_foreach_abi multilib-minimal_abi_src_configure |
2814 |
} |
2815 |
multilib-minimal_src_install () |
2816 |
{ |
2817 |
debug-print-function ${FUNCNAME} "$@"; |
2818 |
function multilib-minimal_abi_src_install () |
2819 |
{ |
2820 |
debug-print-function ${FUNCNAME} "$@"; |
2821 |
pushd "${BUILD_DIR}" > /dev/null || die; |
2822 |
if declare -f multilib_src_install > /dev/null; then |
2823 |
multilib_src_install; |
2824 |
else |
2825 |
if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then |
2826 |
emake DESTDIR="${D}" install; |
2827 |
fi; |
2828 |
fi; |
2829 |
multilib_prepare_wrappers; |
2830 |
multilib_check_headers; |
2831 |
popd > /dev/null || die |
2832 |
}; |
2833 |
multilib_foreach_abi multilib-minimal_abi_src_install; |
2834 |
multilib_install_wrappers; |
2835 |
if declare -f multilib_src_install_all > /dev/null; then |
2836 |
multilib_src_install_all; |
2837 |
else |
2838 |
einstalldocs; |
2839 |
fi |
2840 |
} |
2841 |
multilib-minimal_src_test () |
2842 |
{ |
2843 |
debug-print-function ${FUNCNAME} "$@"; |
2844 |
function multilib-minimal_abi_src_test () |
2845 |
{ |
2846 |
debug-print-function ${FUNCNAME} "$@"; |
2847 |
pushd "${BUILD_DIR}" > /dev/null || die; |
2848 |
if declare -f multilib_src_test > /dev/null; then |
2849 |
multilib_src_test; |
2850 |
else |
2851 |
default_src_test; |
2852 |
fi; |
2853 |
popd > /dev/null || die |
2854 |
}; |
2855 |
multilib_foreach_abi multilib-minimal_abi_src_test |
2856 |
} |
2857 |
multilib_build_binaries () |
2858 |
{ |
2859 |
debug-print-function ${FUNCNAME} "${@}"; |
2860 |
[[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}, use multilib_is_native_abi() instead"; |
2861 |
eqawarn "QA warning: multilib_build_binaries is deprecated. Please use the equivalent"; |
2862 |
eqawarn "multilib_is_native_abi function instead."; |
2863 |
multilib_is_native_abi "${@}" |
2864 |
} |
2865 |
multilib_check_headers () |
2866 |
{ |
2867 |
function _multilib_header_cksum () |
2868 |
{ |
2869 |
set -o pipefail; |
2870 |
if [[ -d ${ED%/}/usr/include ]]; then |
2871 |
find "${ED%/}"/usr/include -type f -exec cksum {} + | sort -k2; |
2872 |
fi |
2873 |
}; |
2874 |
local cksum cksum_prev; |
2875 |
local cksum_file=${T}/.multilib_header_cksum; |
2876 |
cksum=$(_multilib_header_cksum) || die; |
2877 |
unset -f _multilib_header_cksum; |
2878 |
if [[ -f ${cksum_file} ]]; then |
2879 |
cksum_prev=$(< "${cksum_file}") || die; |
2880 |
if [[ ${cksum} != ${cksum_prev} ]]; then |
2881 |
echo "${cksum}" > "${cksum_file}.new" || die; |
2882 |
eerror "Header files have changed between ABIs."; |
2883 |
if type -p diff &> /dev/null; then |
2884 |
eerror "$(diff -du "${cksum_file}" "${cksum_file}.new")"; |
2885 |
else |
2886 |
eerror "Old checksums in: ${cksum_file}"; |
2887 |
eerror "New checksums in: ${cksum_file}.new"; |
2888 |
fi; |
2889 |
die "Header checksum mismatch, aborting."; |
2890 |
fi; |
2891 |
else |
2892 |
echo "${cksum}" > "${cksum_file}" || die; |
2893 |
fi |
2894 |
} |
2895 |
multilib_copy_sources () |
2896 |
{ |
2897 |
debug-print-function ${FUNCNAME} "${@}"; |
2898 |
local MULTIBUILD_VARIANTS=($(multilib_get_enabled_abi_pairs)); |
2899 |
multibuild_copy_sources |
2900 |
} |
2901 |
multilib_env () |
2902 |
{ |
2903 |
local CTARGET=${1:-${CTARGET}}; |
2904 |
local cpu=${CTARGET%%*-}; |
2905 |
if [[ ${CTARGET} = *-musl* ]]; then |
2906 |
: ${MULTILIB_ABIS=default}; |
2907 |
: ${DEFAULT_ABI=default}; |
2908 |
export MULTILIB_ABIS DEFAULT_ABI; |
2909 |
return; |
2910 |
fi; |
2911 |
case ${cpu} in |
2912 |
aarch64*) |
2913 |
export CFLAGS_arm=${CFLAGS_arm-}; |
2914 |
case ${cpu} in |
2915 |
aarch64*be) |
2916 |
export CHOST_arm="armv8b-${CTARGET#*-}" |
2917 |
;; |
2918 |
*) |
2919 |
export CHOST_arm="armv8l-${CTARGET#*-}" |
2920 |
;; |
2921 |
esac; |
2922 |
CHOST_arm=${CHOST_arm/%-gnu/-gnueabi}; |
2923 |
export CTARGET_arm=${CHOST_arm}; |
2924 |
export LIBDIR_arm="lib"; |
2925 |
export CFLAGS_arm64=${CFLAGS_arm64-}; |
2926 |
export CHOST_arm64=${CTARGET}; |
2927 |
export CTARGET_arm64=${CHOST_arm64}; |
2928 |
export LIBDIR_arm64="lib64"; |
2929 |
: ${MULTILIB_ABIS=arm64}; |
2930 |
: ${DEFAULT_ABI=arm64} |
2931 |
;; |
2932 |
x86_64*) |
2933 |
export CFLAGS_x86=${CFLAGS_x86--m32}; |
2934 |
export CHOST_x86=${CTARGET/x86_64/i686}; |
2935 |
CHOST_x86=${CHOST_x86/%-gnux32/-gnu}; |
2936 |
export CTARGET_x86=${CHOST_x86}; |
2937 |
if [[ ${SYMLINK_LIB} == "yes" ]]; then |
2938 |
export LIBDIR_x86="lib32"; |
2939 |
else |
2940 |
export LIBDIR_x86="lib"; |
2941 |
fi; |
2942 |
export CFLAGS_amd64=${CFLAGS_amd64--m64}; |
2943 |
export CHOST_amd64=${CTARGET/%-gnux32/-gnu}; |
2944 |
export CTARGET_amd64=${CHOST_amd64}; |
2945 |
export LIBDIR_amd64="lib64"; |
2946 |
export CFLAGS_x32=${CFLAGS_x32--mx32}; |
2947 |
export CHOST_x32=${CTARGET/%-gnu/-gnux32}; |
2948 |
export CTARGET_x32=${CHOST_x32}; |
2949 |
export LIBDIR_x32="libx32"; |
2950 |
case ${CTARGET} in |
2951 |
*-gnux32) |
2952 |
: ${MULTILIB_ABIS=x32 amd64 x86}; |
2953 |
: ${DEFAULT_ABI=x32} |
2954 |
;; |
2955 |
*) |
2956 |
: ${MULTILIB_ABIS=amd64 x86}; |
2957 |
: ${DEFAULT_ABI=amd64} |
2958 |
;; |
2959 |
esac |
2960 |
;; |
2961 |
mips64* | mipsisa64*) |
2962 |
export CFLAGS_o32=${CFLAGS_o32--mabi=32}; |
2963 |
export CHOST_o32=${CTARGET/mips64/mips}; |
2964 |
export CHOST_o32=${CHOST_o32/mipsisa64/mipsisa32}; |
2965 |
export CTARGET_o32=${CHOST_o32}; |
2966 |
export LIBDIR_o32="lib"; |
2967 |
export CFLAGS_n32=${CFLAGS_n32--mabi=n32}; |
2968 |
export CHOST_n32=${CTARGET}; |
2969 |
export CTARGET_n32=${CHOST_n32}; |
2970 |
export LIBDIR_n32="lib32"; |
2971 |
export CFLAGS_n64=${CFLAGS_n64--mabi=64}; |
2972 |
export CHOST_n64=${CTARGET}; |
2973 |
export CTARGET_n64=${CHOST_n64}; |
2974 |
export LIBDIR_n64="lib64"; |
2975 |
: ${MULTILIB_ABIS=n64 n32 o32}; |
2976 |
: ${DEFAULT_ABI=n32} |
2977 |
;; |
2978 |
powerpc64*) |
2979 |
export CFLAGS_ppc=${CFLAGS_ppc--m32}; |
2980 |
export CHOST_ppc=${CTARGET/powerpc64/powerpc}; |
2981 |
export CTARGET_ppc=${CHOST_ppc}; |
2982 |
export LIBDIR_ppc="lib"; |
2983 |
export CFLAGS_ppc64=${CFLAGS_ppc64--m64}; |
2984 |
export CHOST_ppc64=${CTARGET}; |
2985 |
export CTARGET_ppc64=${CHOST_ppc64}; |
2986 |
export LIBDIR_ppc64="lib64"; |
2987 |
: ${MULTILIB_ABIS=ppc64 ppc}; |
2988 |
: ${DEFAULT_ABI=ppc64} |
2989 |
;; |
2990 |
riscv64*) |
2991 |
export CFLAGS_lp64d=${CFLAGS_lp64d--mabi=lp64d -march=rv64imafdc}; |
2992 |
export CHOST_lp64d=${CTARGET}; |
2993 |
export CTARGET_lp64d=${CTARGET}; |
2994 |
export LIBDIR_lp64d="lib64/lp64d"; |
2995 |
export CFLAGS_lp64=${CFLAGS_lp64--mabi=lp64 -march=rv64imac}; |
2996 |
export CHOST_lp64=${CTARGET}; |
2997 |
export CTARGET_lp64=${CTARGET}; |
2998 |
export LIBDIR_lp64="lib64/lp64"; |
2999 |
export CFLAGS_ilp32d=${CFLAGS_ilp32d--mabi=ilp32d -march=rv32imafdc}; |
3000 |
export CHOST_ilp32d=${CTARGET/riscv64/riscv32}; |
3001 |
export CTARGET_ilp32d=${CTARGET/riscv64/riscv32}; |
3002 |
export LIBDIR_ilp32d="lib32/ilp32d"; |
3003 |
export CFLAGS_ilp32=${CFLAGS_ilp32--mabi=ilp32 -march=rv32imac}; |
3004 |
export CHOST_ilp32=${CTARGET/riscv64/riscv32}; |
3005 |
export CTARGET_ilp32=${CTARGET/riscv64/riscv32}; |
3006 |
export LIBDIR_ilp32="lib32/ilp32"; |
3007 |
: ${MULTILIB_ABIS=lp64d lp64 ilp32d ilp32}; |
3008 |
: ${DEFAULT_ABI=lp64d} |
3009 |
;; |
3010 |
riscv32*) |
3011 |
export CFLAGS_ilp32d=${CFLAGS_ilp32d--mabi=ilp32d}; |
3012 |
export CHOST_ilp32d=${CTARGET}; |
3013 |
export CTARGET_ilp32d=${CTARGET}; |
3014 |
export LIBDIR_ilp32d="lib32/ilp32d"; |
3015 |
export CFLAGS_ilp32=${CFLAGS_ilp32--mabi=ilp32 -march=rv32imac}; |
3016 |
export CHOST_ilp32=${CTARGET}; |
3017 |
export CTARGET_ilp32=${CTARGET}; |
3018 |
export LIBDIR_ilp32="lib32/ilp32"; |
3019 |
: ${MULTILIB_ABIS=ilp32d ilp32}; |
3020 |
: ${DEFAULT_ABI=ilp32d} |
3021 |
;; |
3022 |
s390x*) |
3023 |
export CFLAGS_s390=${CFLAGS_s390--m31}; |
3024 |
export CHOST_s390=${CTARGET/s390x/s390}; |
3025 |
export CTARGET_s390=${CHOST_s390}; |
3026 |
export LIBDIR_s390="lib"; |
3027 |
export CFLAGS_s390x=${CFLAGS_s390x--m64}; |
3028 |
export CHOST_s390x=${CTARGET}; |
3029 |
export CTARGET_s390x=${CHOST_s390x}; |
3030 |
export LIBDIR_s390x="lib64"; |
3031 |
: ${MULTILIB_ABIS=s390x s390}; |
3032 |
: ${DEFAULT_ABI=s390x} |
3033 |
;; |
3034 |
sparc64*) |
3035 |
export CFLAGS_sparc32=${CFLAGS_sparc32--m32}; |
3036 |
export CHOST_sparc32=${CTARGET/sparc64/sparc}; |
3037 |
export CTARGET_sparc32=${CHOST_sparc32}; |
3038 |
export LIBDIR_sparc32="lib"; |
3039 |
export CFLAGS_sparc64=${CFLAGS_sparc64--m64}; |
3040 |
export CHOST_sparc64=${CTARGET}; |
3041 |
export CTARGET_sparc64=${CHOST_sparc64}; |
3042 |
export LIBDIR_sparc64="lib64"; |
3043 |
: ${MULTILIB_ABIS=sparc64 sparc32}; |
3044 |
: ${DEFAULT_ABI=sparc64} |
3045 |
;; |
3046 |
*) |
3047 |
: ${MULTILIB_ABIS=default}; |
3048 |
: ${DEFAULT_ABI=default} |
3049 |
;; |
3050 |
esac; |
3051 |
export MULTILIB_ABIS DEFAULT_ABI |
3052 |
} |
3053 |
multilib_for_best_abi () |
3054 |
{ |
3055 |
debug-print-function ${FUNCNAME} "${@}"; |
3056 |
[[ ${EAPI} == [45] ]] || die "${FUNCNAME} is banned in EAPI ${EAPI}, use multilib_is_native_abi() instead"; |
3057 |
eqawarn "QA warning: multilib_for_best_abi() function is deprecated and should"; |
3058 |
eqawarn "not be used. The multilib_is_native_abi() check may be used instead."; |
3059 |
local MULTIBUILD_VARIANTS=($(multilib_get_enabled_abi_pairs)); |
3060 |
multibuild_for_best_variant _multilib_multibuild_wrapper "${@}" |
3061 |
} |
3062 |
multilib_foreach_abi () |
3063 |
{ |
3064 |
debug-print-function ${FUNCNAME} "${@}"; |
3065 |
local MULTIBUILD_VARIANTS=($(multilib_get_enabled_abi_pairs)); |
3066 |
multibuild_foreach_variant _multilib_multibuild_wrapper "${@}" |
3067 |
} |
3068 |
multilib_get_enabled_abi_pairs () |
3069 |
{ |
3070 |
debug-print-function ${FUNCNAME} "${@}"; |
3071 |
local abis=($(get_all_abis)); |
3072 |
local abi i found; |
3073 |
for abi in "${abis[@]}"; |
3074 |
do |
3075 |
for i in "${_MULTILIB_FLAGS[@]}"; |
3076 |
do |
3077 |
local m_abis=${i#*:} m_abi; |
3078 |
local m_flag=${i%:*}; |
3079 |
for m_abi in ${m_abis//,/ }; |
3080 |
do |
3081 |
if [[ ${m_abi} == ${abi} ]] && { |
3082 |
[[ ! -n "${MULTILIB_COMPAT[@]}" ]] || has "${m_flag}" "${MULTILIB_COMPAT[@]}" |
3083 |
} && use "${m_flag}"; then |
3084 |
echo "${m_flag}.${abi}"; |
3085 |
found=1; |
3086 |
break 2; |
3087 |
fi; |
3088 |
done; |
3089 |
done; |
3090 |
done; |
3091 |
if [[ ! -n ${found} ]]; then |
3092 |
local abi=${ABI:-${DEFAULT_ABI}}; |
3093 |
debug-print "${FUNCNAME}: no ABIs enabled, fallback to ${abi}"; |
3094 |
debug-print "${FUNCNAME}: ABI=${ABI}, DEFAULT_ABI=${DEFAULT_ABI}"; |
3095 |
echo ".${abi}"; |
3096 |
fi |
3097 |
} |
3098 |
multilib_get_enabled_abis () |
3099 |
{ |
3100 |
debug-print-function ${FUNCNAME} "${@}"; |
3101 |
local pairs=($(multilib_get_enabled_abi_pairs)); |
3102 |
echo "${pairs[@]#*.}" |
3103 |
} |
3104 |
multilib_install_wrappers () |
3105 |
{ |
3106 |
debug-print-function ${FUNCNAME} "${@}"; |
3107 |
[[ ${#} -le 1 ]] || die "${FUNCNAME}: too many arguments"; |
3108 |
[[ ${COMPLETE_MULTILIB} == yes ]] && return; |
3109 |
local root=${1:-${ED}}; |
3110 |
if [[ -d ${ED%/}/tmp/multilib-include ]]; then |
3111 |
multibuild_merge_root "${ED%/}"/tmp/multilib-include "${root}"/usr/include; |
3112 |
rmdir "${ED%/}"/tmp &> /dev/null; |
3113 |
fi |
3114 |
} |
3115 |
multilib_is_native_abi () |
3116 |
{ |
3117 |
debug-print-function ${FUNCNAME} "${@}"; |
3118 |
[[ ${#} -eq 0 ]] || die "${FUNCNAME}: too many arguments"; |
3119 |
[[ ${COMPLETE_MULTILIB} == yes || ${ABI} == ${DEFAULT_ABI} ]] |
3120 |
} |
3121 |
multilib_native_enable () |
3122 |
{ |
3123 |
if multilib_is_native_abi; then |
3124 |
echo "--enable-${1}${2+=${2}}"; |
3125 |
else |
3126 |
echo "--disable-${1}"; |
3127 |
fi |
3128 |
} |
3129 |
multilib_native_use_enable () |
3130 |
{ |
3131 |
if multilib_is_native_abi; then |
3132 |
use_enable "${@}"; |
3133 |
else |
3134 |
echo "--disable-${2:-${1}}"; |
3135 |
fi |
3136 |
} |
3137 |
multilib_native_use_with () |
3138 |
{ |
3139 |
if multilib_is_native_abi; then |
3140 |
use_with "${@}"; |
3141 |
else |
3142 |
echo "--without-${2:-${1}}"; |
3143 |
fi |
3144 |
} |
3145 |
multilib_native_usex () |
3146 |
{ |
3147 |
if multilib_is_native_abi; then |
3148 |
usex "${@}"; |
3149 |
else |
3150 |
echo "${3-no}${5}"; |
3151 |
fi |
3152 |
} |
3153 |
multilib_native_with () |
3154 |
{ |
3155 |
if multilib_is_native_abi; then |
3156 |
echo "--with-${1}${2+=${2}}"; |
3157 |
else |
3158 |
echo "--without-${1}"; |
3159 |
fi |
3160 |
} |
3161 |
multilib_parallel_foreach_abi () |
3162 |
{ |
3163 |
debug-print-function ${FUNCNAME} "${@}"; |
3164 |
local MULTIBUILD_VARIANTS=($(multilib_get_enabled_abi_pairs)); |
3165 |
multibuild_foreach_variant _multilib_multibuild_wrapper "${@}" |
3166 |
} |
3167 |
multilib_prepare_wrappers () |
3168 |
{ |
3169 |
debug-print-function ${FUNCNAME} "${@}"; |
3170 |
[[ ${#} -le 1 ]] || die "${FUNCNAME}: too many arguments"; |
3171 |
local root=${1:-${ED%/}}; |
3172 |
local f; |
3173 |
if [[ ${COMPLETE_MULTILIB} == yes ]]; then |
3174 |
for f in "${MULTILIB_CHOST_TOOLS[@]}"; |
3175 |
do |
3176 |
f=${f#/}; |
3177 |
local dir=${f%/*}; |
3178 |
local fn=${f##*/}; |
3179 |
ln -s "${fn}" "${root}/${dir}/${CHOST}-${fn}" || die; |
3180 |
done; |
3181 |
return; |
3182 |
fi; |
3183 |
for f in "${MULTILIB_CHOST_TOOLS[@]}"; |
3184 |
do |
3185 |
f=${f#/}; |
3186 |
local dir=${f%/*}; |
3187 |
local fn=${f##*/}; |
3188 |
if [[ -L ${root}/${f} ]]; then |
3189 |
local target; |
3190 |
target=$(readlink "${root}/${f}") || die; |
3191 |
local target_dir target_fn=${target##*/}; |
3192 |
[[ ${target} == */* ]] && target_dir=${target%/*}; |
3193 |
ln -f -s "${target_dir+${target_dir}/}${CHOST}-${target_fn}" "${root}/${f}" || die; |
3194 |
fi; |
3195 |
mv "${root}/${f}" "${root}/${dir}/${CHOST}-${fn}" || die; |
3196 |
if multilib_is_native_abi; then |
3197 |
ln -s "${CHOST}-${fn}" "${root}/${f}" || die; |
3198 |
fi; |
3199 |
done; |
3200 |
if [[ -n ${MULTILIB_WRAPPED_HEADERS[@]} ]]; then |
3201 |
if [[ -n ${MULTILIB_ABI_FLAG} ]]; then |
3202 |
for f in "${MULTILIB_WRAPPED_HEADERS[@]}"; |
3203 |
do |
3204 |
f=${f#/}; |
3205 |
if [[ ${f} != usr/include/* ]]; then |
3206 |
die "Wrapping headers outside of /usr/include is not supported at the moment."; |
3207 |
fi; |
3208 |
f=${f#usr/include}; |
3209 |
local dir=${f%/*}; |
3210 |
if [[ -f ${root}/usr/include${f} ]]; then |
3211 |
local wrapper=${ED%/}/tmp/multilib-include${f}; |
3212 |
if [[ ! -f ${ED%/}/tmp/multilib-include${f} ]]; then |
3213 |
dodir "/tmp/multilib-include${dir}"; |
3214 |
cat > "${wrapper}" <<_EOF_ || |
3215 |
/* This file is auto-generated by multilib-build.eclass |
3216 |
* as a multilib-friendly wrapper. For the original content, |
3217 |
* please see the files that are #included below. |
3218 |
*/ |
3219 |
|
3220 |
#if defined(__x86_64__) /* amd64 */ |
3221 |
# if defined(__ILP32__) /* x32 ABI */ |
3222 |
# error "abi_x86_x32 not supported by the package." |
3223 |
# else /* 64-bit ABI */ |
3224 |
# error "abi_x86_64 not supported by the package." |
3225 |
# endif |
3226 |
#elif defined(__i386__) /* plain x86 */ |
3227 |
# error "abi_x86_32 not supported by the package." |
3228 |
#elif defined(__mips__) |
3229 |
# if(_MIPS_SIM == _ABIN32) /* n32 */ |
3230 |
# error "abi_mips_n32 not supported by the package." |
3231 |
# elif(_MIPS_SIM == _ABI64) /* n64 */ |
3232 |
# error "abi_mips_n64 not supported by the package." |
3233 |
# elif(_MIPS_SIM == _ABIO32) /* o32 */ |
3234 |
# error "abi_mips_o32 not supported by the package." |
3235 |
# endif |
3236 |
#elif defined(__sparc__) |
3237 |
# if defined(__arch64__) |
3238 |
# error "abi_sparc_64 not supported by the package." |
3239 |
# else |
3240 |
# error "abi_sparc_32 not supported by the package." |
3241 |
# endif |
3242 |
#elif defined(__s390__) |
3243 |
# if defined(__s390x__) |
3244 |
# error "abi_s390_64 not supported by the package." |
3245 |
# else |
3246 |
# error "abi_s390_32 not supported by the package." |
3247 |
# endif |
3248 |
#elif defined(__powerpc__) || defined(__ppc__) |
3249 |
# if defined(__powerpc64__) || defined(__ppc64__) |
3250 |
# error "abi_ppc_64 not supported by the package." |
3251 |
# else |
3252 |
# error "abi_ppc_32 not supported by the package." |
3253 |
# endif |
3254 |
#elif defined(SWIG) /* https://sourceforge.net/p/swig/bugs/799/ */ |
3255 |
# error "Native ABI not supported by the package." |
3256 |
#else |
3257 |
# error "No ABI matched, please report a bug to bugs.gentoo.org" |
3258 |
#endif |
3259 |
_EOF_ |
3260 |
die; |
3261 |
fi |
3262 |
if ! grep -q "${MULTILIB_ABI_FLAG} " "${wrapper}"; then |
3263 |
die "Flag ${MULTILIB_ABI_FLAG} not listed in wrapper template. Please report a bug to https://bugs.gentoo.org."; |
3264 |
fi; |
3265 |
dodir "/tmp/multilib-include/${CHOST}${dir}"; |
3266 |
mv "${root}/usr/include${f}" "${ED%/}/tmp/multilib-include/${CHOST}${dir}/" || die; |
3267 |
sed -e "/${MULTILIB_ABI_FLAG} /s&error.*&include <${CHOST}${f}>&" -i "${wrapper}" || die; |
3268 |
if multilib_is_native_abi; then |
3269 |
sed -e "/Native ABI/s&error.*&include <${CHOST}${f}>&" -i "${wrapper}" || die; |
3270 |
fi; |
3271 |
fi; |
3272 |
done; |
3273 |
fi; |
3274 |
fi |
3275 |
} |
3276 |
multilib_src_compile () |
3277 |
{ |
3278 |
emake V=1 $(multilib_is_native_abi || echo "bin_PROGRAMS=") |
3279 |
} |
3280 |
multilib_src_configure () |
3281 |
{ |
3282 |
local myeconfargs=(--with-match-limit-recursion=$(usex recursion-limit 8192 MATCH_LIMIT) $(multilib_native_use_enable bzip2 pcregrep-libbz2) $(use_enable cxx cpp) $(use_enable jit) $(use_enable jit pcregrep-jit) $(use_enable pcre16) $(use_enable pcre32) $(multilib_native_use_enable libedit pcretest-libedit) $(multilib_native_use_enable readline pcretest-libreadline) $(use_enable static-libs static) $(use_enable unicode utf) $(use_enable unicode unicode-properties) $(multilib_native_use_enable zlib pcregrep-libz) --enable-pcre8 --enable-shared); |
3283 |
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
3284 |
} |
3285 |
multilib_src_install () |
3286 |
{ |
3287 |
emake DESTDIR="${D}" $(multilib_is_native_abi || echo "bin_PROGRAMS= dist_html_DATA=") install; |
3288 |
gen_usr_ldscript -a pcre |
3289 |
} |
3290 |
multilib_src_install_all () |
3291 |
{ |
3292 |
find "${ED}" -type f -name "*.la" -delete || die |
3293 |
} |
3294 |
multilib_toolchain_setup () |
3295 |
{ |
3296 |
local v vv; |
3297 |
export ABI=$1; |
3298 |
local save_restore_variables=(CBUILD CHOST AR CC CXX F77 FC LD NM OBJDUMP PKG_CONFIG RANLIB READELF STRINGS STRIP PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH); |
3299 |
if [[ ${_DEFAULT_ABI_SAVED} == "true" ]]; then |
3300 |
for v in "${save_restore_variables[@]}"; |
3301 |
do |
3302 |
vv="_abi_saved_${v}"; |
3303 |
[[ ${!vv+set} == "set" ]] && export ${v}="${!vv}" || unset ${v}; |
3304 |
unset ${vv}; |
3305 |
done; |
3306 |
unset _DEFAULT_ABI_SAVED; |
3307 |
fi; |
3308 |
if [[ ${ABI} != ${DEFAULT_ABI} ]]; then |
3309 |
for v in "${save_restore_variables[@]}"; |
3310 |
do |
3311 |
vv="_abi_saved_${v}"; |
3312 |
[[ ${!v+set} == "set" ]] && export ${vv}="${!v}" || unset ${vv}; |
3313 |
done; |
3314 |
export _DEFAULT_ABI_SAVED="true"; |
3315 |
if [[ ${CBUILD} == "${CHOST}" ]]; then |
3316 |
export CBUILD=$(get_abi_CHOST $1); |
3317 |
fi; |
3318 |
export CHOST=$(get_abi_CHOST ${DEFAULT_ABI}); |
3319 |
export AR="$(tc-getAR)"; |
3320 |
export CC="$(tc-getCC) $(get_abi_CFLAGS)"; |
3321 |
export CXX="$(tc-getCXX) $(get_abi_CFLAGS)"; |
3322 |
export F77="$(tc-getF77) $(get_abi_CFLAGS)"; |
3323 |
export FC="$(tc-getFC) $(get_abi_CFLAGS)"; |
3324 |
export LD="$(tc-getLD) $(get_abi_LDFLAGS)"; |
3325 |
export NM="$(tc-getNM)"; |
3326 |
export OBJDUMP="$(tc-getOBJDUMP)"; |
3327 |
export PKG_CONFIG="$(tc-getPKG_CONFIG)"; |
3328 |
export RANLIB="$(tc-getRANLIB)"; |
3329 |
export READELF="$(tc-getREADELF)"; |
3330 |
export STRINGS="$(tc-getSTRINGS)"; |
3331 |
export STRIP="$(tc-getSTRIP)"; |
3332 |
export CHOST=$(get_abi_CHOST $1); |
3333 |
export PKG_CONFIG_LIBDIR=${EPREFIX}/usr/$(get_libdir)/pkgconfig; |
3334 |
export PKG_CONFIG_PATH=${EPREFIX}/usr/share/pkgconfig; |
3335 |
export PKG_CONFIG_SYSTEM_LIBRARY_PATH=${EPREFIX}/usr/$(get_libdir); |
3336 |
fi |
3337 |
} |
3338 |
no-as-needed () |
3339 |
{ |
3340 |
[[ $# -ne 0 ]] && die "no-as-needed takes no arguments"; |
3341 |
case $($(tc-getLD) -v 2>&1 </dev/null) in |
3342 |
*GNU*) |
3343 |
echo "-Wl,--no-as-needed" |
3344 |
;; |
3345 |
esac |
3346 |
} |
3347 |
number_abis () |
3348 |
{ |
3349 |
set -- `get_install_abis`; |
3350 |
echo $# |
3351 |
} |
3352 |
path_exists () |
3353 |
{ |
3354 |
eerror "path_exists has been removed. Please see the following post"; |
3355 |
eerror "for a replacement snippet:"; |
3356 |
eerror "https://blogs.gentoo.org/mgorny/2018/08/09/inlining-path_exists/"; |
3357 |
die "path_exists is banned" |
3358 |
} |
3359 |
pkg_nofetch () |
3360 |
{ |
3361 |
default |
3362 |
} |
3363 |
pkg_postinst () |
3364 |
{ |
3365 |
preserve_old_lib_notify /$(get_libdir)/libpcre.so.0 |
3366 |
} |
3367 |
pkg_preinst () |
3368 |
{ |
3369 |
preserve_old_lib /$(get_libdir)/libpcre.so.0 |
3370 |
} |
3371 |
preserve_old_lib () |
3372 |
{ |
3373 |
if [[ ${EBUILD_PHASE} != "preinst" ]]; then |
3374 |
eerror "preserve_old_lib() must be called from pkg_preinst() only"; |
3375 |
die "Invalid preserve_old_lib() usage"; |
3376 |
fi; |
3377 |
[[ -z $1 ]] && die "Usage: preserve_old_lib <library to preserve> [more libraries to preserve]"; |
3378 |
has preserve-libs ${FEATURES} && return 0; |
3379 |
has "${EAPI:-0}" 0 1 2 && local ED=${D} EROOT=${ROOT}; |
3380 |
local lib dir; |
3381 |
for lib in "$@"; |
3382 |
do |
3383 |
[[ -e ${EROOT}/${lib} ]] || continue; |
3384 |
dir=${lib%/*}; |
3385 |
dodir ${dir} || die "dodir ${dir} failed"; |
3386 |
cp "${EROOT}"/${lib} "${ED}"/${lib} || die "cp ${lib} failed"; |
3387 |
touch "${ED}"/${lib}; |
3388 |
done |
3389 |
} |
3390 |
preserve_old_lib_notify () |
3391 |
{ |
3392 |
if [[ ${EBUILD_PHASE} != "postinst" ]]; then |
3393 |
eerror "preserve_old_lib_notify() must be called from pkg_postinst() only"; |
3394 |
die "Invalid preserve_old_lib_notify() usage"; |
3395 |
fi; |
3396 |
has preserve-libs ${FEATURES} && return 0; |
3397 |
has "${EAPI:-0}" 0 1 2 && local EROOT=${ROOT}; |
3398 |
local lib notice=0; |
3399 |
for lib in "$@"; |
3400 |
do |
3401 |
[[ -e ${EROOT}/${lib} ]] || continue; |
3402 |
if [[ ${notice} -eq 0 ]]; then |
3403 |
notice=1; |
3404 |
ewarn "Old versions of installed libraries were detected on your system."; |
3405 |
ewarn "In order to avoid breaking packages that depend on these old libs,"; |
3406 |
ewarn "the libraries are not being removed. You need to run revdep-rebuild"; |
3407 |
ewarn "in order to remove these old dependencies. If you do not have this"; |
3408 |
ewarn "helper program, simply emerge the 'gentoolkit' package."; |
3409 |
ewarn; |
3410 |
fi; |
3411 |
ewarn " # revdep-rebuild --library '${lib}' && rm '${lib}'"; |
3412 |
done |
3413 |
} |
3414 |
raw-ldflags () |
3415 |
{ |
3416 |
local x input="$@"; |
3417 |
[[ -z ${input} ]] && input=${LDFLAGS}; |
3418 |
set --; |
3419 |
for x in ${input}; |
3420 |
do |
3421 |
case ${x} in |
3422 |
-Wl,*) |
3423 |
x=${x#-Wl,}; |
3424 |
set -- "$@" ${x//,/ } |
3425 |
;; |
3426 |
*) |
3427 |
|
3428 |
;; |
3429 |
esac; |
3430 |
done; |
3431 |
echo "$@" |
3432 |
} |
3433 |
replace-cpu-flags () |
3434 |
{ |
3435 |
local newcpu="$#"; |
3436 |
newcpu="${!newcpu}"; |
3437 |
while [ $# -gt 1 ]; do |
3438 |
replace-flags "-march=${1}" "-march=${newcpu}"; |
3439 |
replace-flags "-mcpu=${1}" "-mcpu=${newcpu}"; |
3440 |
replace-flags "-mtune=${1}" "-mtune=${newcpu}"; |
3441 |
shift; |
3442 |
done; |
3443 |
return 0 |
3444 |
} |
3445 |
replace-flags () |
3446 |
{ |
3447 |
[[ $# != 2 ]] && die "Usage: replace-flags <old flag> <new flag>"; |
3448 |
local f var new; |
3449 |
for var in $(all-flag-vars); |
3450 |
do |
3451 |
new=(); |
3452 |
for f in ${!var}; |
3453 |
do |
3454 |
[[ ${f} == ${1} ]] && f=${2}; |
3455 |
new+=("${f}"); |
3456 |
done; |
3457 |
export ${var}="${new[*]}"; |
3458 |
done; |
3459 |
return 0 |
3460 |
} |
3461 |
replace-sparc64-flags () |
3462 |
{ |
3463 |
[[ $# -ne 0 ]] && die "replace-sparc64-flags takes no arguments"; |
3464 |
local SPARC64_CPUS="ultrasparc3 ultrasparc v9"; |
3465 |
if [ "${CFLAGS/mtune}" != "${CFLAGS}" ]; then |
3466 |
for x in ${SPARC64_CPUS}; |
3467 |
do |
3468 |
CFLAGS="${CFLAGS/-mcpu=${x}/-mcpu=v8}"; |
3469 |
done; |
3470 |
else |
3471 |
for x in ${SPARC64_CPUS}; |
3472 |
do |
3473 |
CFLAGS="${CFLAGS/-mcpu=${x}/-mcpu=v8 -mtune=${x}}"; |
3474 |
done; |
3475 |
fi; |
3476 |
if [ "${CXXFLAGS/mtune}" != "${CXXFLAGS}" ]; then |
3477 |
for x in ${SPARC64_CPUS}; |
3478 |
do |
3479 |
CXXFLAGS="${CXXFLAGS/-mcpu=${x}/-mcpu=v8}"; |
3480 |
done; |
3481 |
else |
3482 |
for x in ${SPARC64_CPUS}; |
3483 |
do |
3484 |
CXXFLAGS="${CXXFLAGS/-mcpu=${x}/-mcpu=v8 -mtune=${x}}"; |
3485 |
done; |
3486 |
fi; |
3487 |
export CFLAGS CXXFLAGS |
3488 |
} |
3489 |
run_in_build_dir () |
3490 |
{ |
3491 |
debug-print-function ${FUNCNAME} "${@}"; |
3492 |
local ret; |
3493 |
[[ ${#} -ne 0 ]] || die "${FUNCNAME}: no command specified."; |
3494 |
[[ -n ${BUILD_DIR} ]] || die "${FUNCNAME}: BUILD_DIR not set."; |
3495 |
mkdir -p "${BUILD_DIR}" || die; |
3496 |
pushd "${BUILD_DIR}" > /dev/null || die; |
3497 |
"${@}"; |
3498 |
ret=${?}; |
3499 |
popd > /dev/null || die; |
3500 |
return ${ret} |
3501 |
} |
3502 |
setup-allowed-flags () |
3503 |
{ |
3504 |
ALLOWED_FLAGS=(-pipe -O '-O[12sg]' -mcpu -march -mtune '-fstack-protector*' '-fsanitize*' '-fstack-check*' -fno-stack-check -fbounds-check -fbounds-checking -fno-strict-overflow -fno-PIE -fno-pie -nopie -no-pie -fno-unit-at-a-time -g '-g[0-9]' -ggdb '-ggdb[0-9]' -gdwarf '-gdwarf-*' -gstabs -gstabs+ -gz -fno-ident -fpermissive -frecord-gcc-switches '-fdiagnostics*' '-fplugin*' '-W*' -w '-[DUILR]*' '-Wl,*' '-fuse-ld'); |
3505 |
ALLOWED_FLAGS+=('-fno-stack-protector*' '-fabi-version=*' -fno-strict-aliasing -fno-bounds-check -fno-bounds-checking -fstrict-overflow -fno-omit-frame-pointer '-fno-builtin*'); |
3506 |
ALLOWED_FLAGS+=(-mregparm -mno-app-regs -mapp-regs -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-avx -mno-aes -mno-pclmul -mno-sse4a -mno-3dnow -mno-popcnt -mno-abm -mips1 -mips2 -mips3 -mips4 -mips32 -mips64 -mips16 -mplt -msoft-float -mno-soft-float -mhard-float -mno-hard-float -mfpu -mieee -mieee-with-inexact -mschedule -mfloat-gprs -mspe -mno-spe -mtls-direct-seg-refs -mno-tls-direct-seg-refs -mflat -mno-flat -mno-faster-structs -mfaster-structs -m32 -m64 -mx32 -mabi -mlittle-endian -mbig-endian -EL -EB -fPIC -mlive-g0 -mcmodel -mstack-bias -mno-stack-bias -msecure-plt '-m*-toc' -mfloat-abi -mfix-r4000 -mno-fix-r4000 -mfix-r4400 -mno-fix-r4400 -mfix-rm7000 -mno-fix-rm7000 -mfix-r10000 -mno-fix-r10000 -mr10k-cache-barrier -mthumb -marm -mno-fma4 -mno-movbe -mno-xop -mno-lwp -mno-fsgsbase -mno-rdrnd -mno-f16c -mno-bmi -mno-tbm -mno-avx2 -mno-bmi2 -mno-fma -mno-lzcnt -mno-fxsr -mno-hle -mno-rtm -mno-xsave -mno-xsaveopt -mno-avx512cd -mno |
3507 |
-avx512er -mno-avx512f -mno-avx512pf -mno-sha); |
3508 |
ALLOWED_FLAGS+=(-mstackrealign) |
3509 |
} |
3510 |
src_compile () |
3511 |
{ |
3512 |
multilib-minimal_src_compile "$@" |
3513 |
} |
3514 |
src_configure () |
3515 |
{ |
3516 |
multilib-minimal_src_configure "$@" |
3517 |
} |
3518 |
src_install () |
3519 |
{ |
3520 |
multilib-minimal_src_install "$@" |
3521 |
} |
3522 |
src_prepare () |
3523 |
{ |
3524 |
default; |
3525 |
sed -i -e "s:-lpcre ::" libpcrecpp.pc.in || die; |
3526 |
elibtoolize |
3527 |
} |
3528 |
src_test () |
3529 |
{ |
3530 |
multilib-minimal_src_test "$@" |
3531 |
} |
3532 |
src_unpack () |
3533 |
{ |
3534 |
default |
3535 |
} |
3536 |
strip-flags () |
3537 |
{ |
3538 |
[[ $# -ne 0 ]] && die "strip-flags takes no arguments"; |
3539 |
local x y var; |
3540 |
local ALLOWED_FLAGS; |
3541 |
setup-allowed-flags; |
3542 |
set -f; |
3543 |
for var in $(all-flag-vars); |
3544 |
do |
3545 |
local new=(); |
3546 |
for x in ${!var}; |
3547 |
do |
3548 |
local flag=${x%%=*}; |
3549 |
for y in "${ALLOWED_FLAGS[@]}"; |
3550 |
do |
3551 |
if [[ -z ${flag%%${y}} ]]; then |
3552 |
new+=("${x}"); |
3553 |
break; |
3554 |
fi; |
3555 |
done; |
3556 |
done; |
3557 |
if _is_flagq ${var} "-O*" && ! _is_flagq new "-O*"; then |
3558 |
new+=(-O2); |
3559 |
fi; |
3560 |
if [[ ${!var} != "${new[*]}" ]]; then |
3561 |
einfo "strip-flags: ${var}: changed '${!var}' to '${new[*]}'"; |
3562 |
fi; |
3563 |
export ${var}="${new[*]}"; |
3564 |
done; |
3565 |
set +f; |
3566 |
return 0 |
3567 |
} |
3568 |
strip-linguas () |
3569 |
{ |
3570 |
local ls newls nols; |
3571 |
if [[ $1 == "-i" ]] || [[ $1 == "-u" ]]; then |
3572 |
local op=$1; |
3573 |
shift; |
3574 |
ls=$(find "$1" -name '*.po' -exec basename {} .po ';'); |
3575 |
shift; |
3576 |
local d f; |
3577 |
for d in "$@"; |
3578 |
do |
3579 |
if [[ ${op} == "-u" ]]; then |
3580 |
newls=${ls}; |
3581 |
else |
3582 |
newls=""; |
3583 |
fi; |
3584 |
for f in $(find "$d" -name '*.po' -exec basename {} .po ';'); |
3585 |
do |
3586 |
if [[ ${op} == "-i" ]]; then |
3587 |
has ${f} ${ls} && newls="${newls} ${f}"; |
3588 |
else |
3589 |
has ${f} ${ls} || newls="${newls} ${f}"; |
3590 |
fi; |
3591 |
done; |
3592 |
ls=${newls}; |
3593 |
done; |
3594 |
else |
3595 |
ls="$@"; |
3596 |
fi; |
3597 |
nols=""; |
3598 |
newls=""; |
3599 |
for f in ${LINGUAS}; |
3600 |
do |
3601 |
if has ${f} ${ls}; then |
3602 |
newls="${newls} ${f}"; |
3603 |
else |
3604 |
nols="${nols} ${f}"; |
3605 |
fi; |
3606 |
done; |
3607 |
[[ -n ${nols} ]] && einfo "Sorry, but ${PN} does not support the LINGUAS:" ${nols}; |
3608 |
export LINGUAS=${newls:1} |
3609 |
} |
3610 |
strip-unsupported-flags () |
3611 |
{ |
3612 |
[[ $# -ne 0 ]] && die "strip-unsupported-flags takes no arguments"; |
3613 |
export CFLAGS=$(test-flags-CC ${CFLAGS}); |
3614 |
export CXXFLAGS=$(test-flags-CXX ${CXXFLAGS}); |
3615 |
export FFLAGS=$(test-flags-F77 ${FFLAGS}); |
3616 |
export FCFLAGS=$(test-flags-FC ${FCFLAGS}); |
3617 |
export LDFLAGS=$(test-flags-CCLD ${LDFLAGS}) |
3618 |
} |
3619 |
tc-arch () |
3620 |
{ |
3621 |
tc-ninja_magic_to_arch portage "$@" |
3622 |
} |
3623 |
tc-arch-kernel () |
3624 |
{ |
3625 |
tc-ninja_magic_to_arch kern "$@" |
3626 |
} |
3627 |
tc-check-openmp () |
3628 |
{ |
3629 |
if ! tc-has-openmp; then |
3630 |
eerror "Your current compiler does not support OpenMP!"; |
3631 |
if tc-is-gcc; then |
3632 |
eerror "Enable OpenMP support by building sys-devel/gcc with USE=\"openmp\"."; |
3633 |
else |
3634 |
if tc-is-clang; then |
3635 |
eerror "OpenMP support in sys-devel/clang is provided by sys-libs/libomp."; |
3636 |
fi; |
3637 |
fi; |
3638 |
die "Active compiler does not have required support for OpenMP"; |
3639 |
fi |
3640 |
} |
3641 |
tc-cpp-is-true () |
3642 |
{ |
3643 |
local CONDITION=${1}; |
3644 |
shift; |
3645 |
$(tc-getTARGET_CPP) "${@}" -P - <<-EOF > /dev/null 2>&1 |
3646 |
#if ${CONDITION} |
3647 |
true |
3648 |
#else |
3649 |
#error false |
3650 |
#endif |
3651 |
EOF |
3652 |
|
3653 |
} |
3654 |
tc-detect-is-softfloat () |
3655 |
{ |
3656 |
[[ $(tc-getTARGET_CPP) == "gcc -E" ]] && return 1; |
3657 |
case ${CTARGET:-${CHOST}} in |
3658 |
*-newlib | *-elf | *-eabi) |
3659 |
return 1 |
3660 |
;; |
3661 |
arm*) |
3662 |
if tc-cpp-is-true "defined(__ARM_PCS_VFP)"; then |
3663 |
echo "no"; |
3664 |
else |
3665 |
if tc-cpp-is-true "defined(__SOFTFP__)"; then |
3666 |
echo "yes"; |
3667 |
else |
3668 |
echo "softfp"; |
3669 |
fi; |
3670 |
fi; |
3671 |
return 0 |
3672 |
;; |
3673 |
*) |
3674 |
return 1 |
3675 |
;; |
3676 |
esac |
3677 |
} |
3678 |
tc-enables-pie () |
3679 |
{ |
3680 |
tc-cpp-is-true "defined(__PIE__)" ${CPPFLAGS} ${CFLAGS} |
3681 |
} |
3682 |
tc-enables-ssp () |
3683 |
{ |
3684 |
tc-cpp-is-true "defined(__SSP__) || defined(__SSP_STRONG__) || defined(__SSP_ALL__)" ${CPPFLAGS} ${CFLAGS} |
3685 |
} |
3686 |
tc-enables-ssp-all () |
3687 |
{ |
3688 |
tc-cpp-is-true "defined(__SSP_ALL__)" ${CPPFLAGS} ${CFLAGS} |
3689 |
} |
3690 |
tc-enables-ssp-strong () |
3691 |
{ |
3692 |
tc-cpp-is-true "defined(__SSP_STRONG__) || defined(__SSP_ALL__)" ${CPPFLAGS} ${CFLAGS} |
3693 |
} |
3694 |
tc-endian () |
3695 |
{ |
3696 |
local host=$1; |
3697 |
[[ -z ${host} ]] && host=${CTARGET:-${CHOST}}; |
3698 |
host=${host%%-*}; |
3699 |
case ${host} in |
3700 |
aarch64*be) |
3701 |
echo big |
3702 |
;; |
3703 |
aarch64) |
3704 |
echo little |
3705 |
;; |
3706 |
alpha*) |
3707 |
echo little |
3708 |
;; |
3709 |
arm*b*) |
3710 |
echo big |
3711 |
;; |
3712 |
arm*) |
3713 |
echo little |
3714 |
;; |
3715 |
cris*) |
3716 |
echo little |
3717 |
;; |
3718 |
hppa*) |
3719 |
echo big |
3720 |
;; |
3721 |
i?86*) |
3722 |
echo little |
3723 |
;; |
3724 |
ia64*) |
3725 |
echo little |
3726 |
;; |
3727 |
m68*) |
3728 |
echo big |
3729 |
;; |
3730 |
mips*l*) |
3731 |
echo little |
3732 |
;; |
3733 |
mips*) |
3734 |
echo big |
3735 |
;; |
3736 |
powerpc*le) |
3737 |
echo little |
3738 |
;; |
3739 |
powerpc*) |
3740 |
echo big |
3741 |
;; |
3742 |
riscv*) |
3743 |
echo little |
3744 |
;; |
3745 |
s390*) |
3746 |
echo big |
3747 |
;; |
3748 |
sh*b*) |
3749 |
echo big |
3750 |
;; |
3751 |
sh*) |
3752 |
echo little |
3753 |
;; |
3754 |
sparc*) |
3755 |
echo big |
3756 |
;; |
3757 |
x86_64*) |
3758 |
echo little |
3759 |
;; |
3760 |
*) |
3761 |
echo wtf |
3762 |
;; |
3763 |
esac |
3764 |
} |
3765 |
tc-env_build () |
3766 |
{ |
3767 |
tc-export_build_env; |
3768 |
CFLAGS=${BUILD_CFLAGS} CXXFLAGS=${BUILD_CXXFLAGS} CPPFLAGS=${BUILD_CPPFLAGS} LDFLAGS=${BUILD_LDFLAGS} AR=$(tc-getBUILD_AR) AS=$(tc-getBUILD_AS) CC=$(tc-getBUILD_CC) CPP=$(tc-getBUILD_CPP) CXX=$(tc-getBUILD_CXX) LD=$(tc-getBUILD_LD) NM=$(tc-getBUILD_NM) PKG_CONFIG=$(tc-getBUILD_PKG_CONFIG) RANLIB=$(tc-getBUILD_RANLIB) READELF=$(tc-getBUILD_READELF) "$@" |
3769 |
} |
3770 |
tc-export () |
3771 |
{ |
3772 |
local var; |
3773 |
for var in "$@"; |
3774 |
do |
3775 |
[[ $(type -t "tc-get${var}") != "function" ]] && die "tc-export: invalid export variable '${var}'"; |
3776 |
"tc-get${var}" > /dev/null; |
3777 |
done |
3778 |
} |
3779 |
tc-export_build_env () |
3780 |
{ |
3781 |
tc-export "$@"; |
3782 |
if tc-is-cross-compiler; then |
3783 |
: ${BUILD_CFLAGS:=-O1 -pipe}; |
3784 |
: ${BUILD_CXXFLAGS:=-O1 -pipe}; |
3785 |
: ${BUILD_CPPFLAGS:= }; |
3786 |
: ${BUILD_LDFLAGS:= }; |
3787 |
else |
3788 |
: ${BUILD_CFLAGS:=${CFLAGS}}; |
3789 |
: ${BUILD_CXXFLAGS:=${CXXFLAGS}}; |
3790 |
: ${BUILD_CPPFLAGS:=${CPPFLAGS}}; |
3791 |
: ${BUILD_LDFLAGS:=${LDFLAGS}}; |
3792 |
fi; |
3793 |
export BUILD_{C,CXX,CPP,LD}FLAGS; |
3794 |
local v; |
3795 |
for v in BUILD_{C,CXX,CPP,LD}FLAGS; |
3796 |
do |
3797 |
export ${v#BUILD_}_FOR_BUILD="${!v}"; |
3798 |
done |
3799 |
} |
3800 |
tc-get-compiler-type () |
3801 |
{ |
3802 |
local code=' |
3803 |
#if defined(__PATHSCALE__) |
3804 |
HAVE_PATHCC |
3805 |
#elif defined(__clang__) |
3806 |
HAVE_CLANG |
3807 |
#elif defined(__GNUC__) |
3808 |
HAVE_GCC |
3809 |
#endif |
3810 |
'; |
3811 |
local res=$($(tc-getCPP "$@") -E -P - <<<"${code}"); |
3812 |
case ${res} in |
3813 |
*HAVE_PATHCC*) |
3814 |
echo pathcc |
3815 |
;; |
3816 |
*HAVE_CLANG*) |
3817 |
echo clang |
3818 |
;; |
3819 |
*HAVE_GCC*) |
3820 |
echo gcc |
3821 |
;; |
3822 |
*) |
3823 |
echo unknown |
3824 |
;; |
3825 |
esac |
3826 |
} |
3827 |
tc-getAR () |
3828 |
{ |
3829 |
tc-getPROG AR ar "$@" |
3830 |
} |
3831 |
tc-getAS () |
3832 |
{ |
3833 |
tc-getPROG AS as "$@" |
3834 |
} |
3835 |
tc-getBUILD_AR () |
3836 |
{ |
3837 |
tc-getBUILD_PROG AR ar "$@" |
3838 |
} |
3839 |
tc-getBUILD_AS () |
3840 |
{ |
3841 |
tc-getBUILD_PROG AS as "$@" |
3842 |
} |
3843 |
tc-getBUILD_CC () |
3844 |
{ |
3845 |
tc-getBUILD_PROG CC gcc "$@" |
3846 |
} |
3847 |
tc-getBUILD_CPP () |
3848 |
{ |
3849 |
tc-getBUILD_PROG CPP "$(tc-getBUILD_CC) -E" "$@" |
3850 |
} |
3851 |
tc-getBUILD_CXX () |
3852 |
{ |
3853 |
tc-getBUILD_PROG CXX g++ "$@" |
3854 |
} |
3855 |
tc-getBUILD_LD () |
3856 |
{ |
3857 |
tc-getBUILD_PROG LD ld "$@" |
3858 |
} |
3859 |
tc-getBUILD_NM () |
3860 |
{ |
3861 |
tc-getBUILD_PROG NM nm "$@" |
3862 |
} |
3863 |
tc-getBUILD_OBJCOPY () |
3864 |
{ |
3865 |
tc-getBUILD_PROG OBJCOPY objcopy "$@" |
3866 |
} |
3867 |
tc-getBUILD_PKG_CONFIG () |
3868 |
{ |
3869 |
tc-getBUILD_PROG PKG_CONFIG pkg-config "$@" |
3870 |
} |
3871 |
tc-getBUILD_PROG () |
3872 |
{ |
3873 |
local vars="BUILD_$1 $1_FOR_BUILD HOST$1"; |
3874 |
tc-is-cross-compiler || vars+=" $1"; |
3875 |
_tc-getPROG CBUILD "${vars}" "${@:2}" |
3876 |
} |
3877 |
tc-getBUILD_RANLIB () |
3878 |
{ |
3879 |
tc-getBUILD_PROG RANLIB ranlib "$@" |
3880 |
} |
3881 |
tc-getBUILD_READELF () |
3882 |
{ |
3883 |
tc-getBUILD_PROG READELF readelf "$@" |
3884 |
} |
3885 |
tc-getBUILD_STRINGS () |
3886 |
{ |
3887 |
tc-getBUILD_PROG STRINGS strings "$@" |
3888 |
} |
3889 |
tc-getBUILD_STRIP () |
3890 |
{ |
3891 |
tc-getBUILD_PROG STRIP strip "$@" |
3892 |
} |
3893 |
tc-getCC () |
3894 |
{ |
3895 |
tc-getPROG CC gcc "$@" |
3896 |
} |
3897 |
tc-getCPP () |
3898 |
{ |
3899 |
tc-getPROG CPP "${CC:-gcc} -E" "$@" |
3900 |
} |
3901 |
tc-getCXX () |
3902 |
{ |
3903 |
tc-getPROG CXX g++ "$@" |
3904 |
} |
3905 |
tc-getDLLWRAP () |
3906 |
{ |
3907 |
tc-getPROG DLLWRAP dllwrap "$@" |
3908 |
} |
3909 |
tc-getF77 () |
3910 |
{ |
3911 |
tc-getPROG F77 gfortran "$@" |
3912 |
} |
3913 |
tc-getFC () |
3914 |
{ |
3915 |
tc-getPROG FC gfortran "$@" |
3916 |
} |
3917 |
tc-getGCJ () |
3918 |
{ |
3919 |
tc-getPROG GCJ gcj "$@" |
3920 |
} |
3921 |
tc-getGO () |
3922 |
{ |
3923 |
tc-getPROG GO gccgo "$@" |
3924 |
} |
3925 |
tc-getLD () |
3926 |
{ |
3927 |
tc-getPROG LD ld "$@" |
3928 |
} |
3929 |
tc-getNM () |
3930 |
{ |
3931 |
tc-getPROG NM nm "$@" |
3932 |
} |
3933 |
tc-getOBJCOPY () |
3934 |
{ |
3935 |
tc-getPROG OBJCOPY objcopy "$@" |
3936 |
} |
3937 |
tc-getOBJDUMP () |
3938 |
{ |
3939 |
tc-getPROG OBJDUMP objdump "$@" |
3940 |
} |
3941 |
tc-getPKG_CONFIG () |
3942 |
{ |
3943 |
tc-getPROG PKG_CONFIG pkg-config "$@" |
3944 |
} |
3945 |
tc-getPROG () |
3946 |
{ |
3947 |
_tc-getPROG CHOST "$@" |
3948 |
} |
3949 |
tc-getRANLIB () |
3950 |
{ |
3951 |
tc-getPROG RANLIB ranlib "$@" |
3952 |
} |
3953 |
tc-getRC () |
3954 |
{ |
3955 |
tc-getPROG RC windres "$@" |
3956 |
} |
3957 |
tc-getREADELF () |
3958 |
{ |
3959 |
tc-getPROG READELF readelf "$@" |
3960 |
} |
3961 |
tc-getSTRINGS () |
3962 |
{ |
3963 |
tc-getPROG STRINGS strings "$@" |
3964 |
} |
3965 |
tc-getSTRIP () |
3966 |
{ |
3967 |
tc-getPROG STRIP strip "$@" |
3968 |
} |
3969 |
tc-getTARGET_CPP () |
3970 |
{ |
3971 |
if [[ -n ${CTARGET} ]]; then |
3972 |
_tc-getPROG CTARGET TARGET_CPP "gcc -E" "$@"; |
3973 |
else |
3974 |
tc-getCPP "$@"; |
3975 |
fi |
3976 |
} |
3977 |
tc-has-openmp () |
3978 |
{ |
3979 |
local base="${T}/test-tc-openmp"; |
3980 |
cat <<-EOF > "${base}.c" |
3981 |
#include <omp.h> |
3982 |
int main() { |
3983 |
int nthreads, tid, ret = 0; |
3984 |
#pragma omp parallel private(nthreads, tid) |
3985 |
{ |
3986 |
tid = omp_get_thread_num(); |
3987 |
nthreads = omp_get_num_threads(); ret += tid + nthreads; |
3988 |
} |
3989 |
return ret; |
3990 |
} |
3991 |
EOF |
3992 |
|
3993 |
$(tc-getCC "$@") -fopenmp "${base}.c" -o "${base}" &> /dev/null; |
3994 |
local ret=$?; |
3995 |
rm -f "${base}"*; |
3996 |
return ${ret} |
3997 |
} |
3998 |
tc-has-tls () |
3999 |
{ |
4000 |
local base="${T}/test-tc-tls"; |
4001 |
cat <<-EOF > "${base}.c" |
4002 |
int foo(int *i) { |
4003 |
static __thread int j = 0; |
4004 |
return *i ? j : *i; |
4005 |
} |
4006 |
EOF |
4007 |
|
4008 |
local flags; |
4009 |
case $1 in |
4010 |
-s) |
4011 |
flags="-S" |
4012 |
;; |
4013 |
-c) |
4014 |
flags="-c" |
4015 |
;; |
4016 |
-l) |
4017 |
|
4018 |
;; |
4019 |
-*) |
4020 |
die "Usage: tc-has-tls [-c|-l] [toolchain prefix]" |
4021 |
;; |
4022 |
esac; |
4023 |
: ${flags:=-fPIC -shared -Wl,-z,defs}; |
4024 |
[[ $1 == -* ]] && shift; |
4025 |
$(tc-getCC "$@") ${flags} "${base}.c" -o "${base}" &> /dev/null; |
4026 |
local ret=$?; |
4027 |
rm -f "${base}"*; |
4028 |
return ${ret} |
4029 |
} |
4030 |
tc-is-clang () |
4031 |
{ |
4032 |
[[ $(tc-get-compiler-type) == clang ]] |
4033 |
} |
4034 |
tc-is-cross-compiler () |
4035 |
{ |
4036 |
[[ ${CBUILD:-${CHOST}} != ${CHOST} ]] |
4037 |
} |
4038 |
tc-is-gcc () |
4039 |
{ |
4040 |
[[ $(tc-get-compiler-type) == gcc ]] |
4041 |
} |
4042 |
tc-is-softfloat () |
4043 |
{ |
4044 |
tc-detect-is-softfloat || tc-tuple-is-softfloat |
4045 |
} |
4046 |
tc-is-static-only () |
4047 |
{ |
4048 |
local host=${CTARGET:-${CHOST}}; |
4049 |
[[ ${host} == *-mint* ]] |
4050 |
} |
4051 |
tc-ld-disable-gold () |
4052 |
{ |
4053 |
if ! tc-ld-is-gold "$@"; then |
4054 |
return; |
4055 |
fi; |
4056 |
ewarn "Forcing usage of the BFD linker instead of GOLD"; |
4057 |
local ld=$(tc-getLD "$@"); |
4058 |
local bfd_ld="${ld%% *}.bfd"; |
4059 |
local path_ld=$(which "${bfd_ld}" 2>/dev/null); |
4060 |
[[ -e ${path_ld} ]] && export LD=${bfd_ld}; |
4061 |
local fallback="true"; |
4062 |
if tc-is-gcc; then |
4063 |
local major=$(gcc-major-version "$@"); |
4064 |
local minor=$(gcc-minor-version "$@"); |
4065 |
if [[ ${major} -gt 4 ]] || [[ ${major} -eq 4 && ${minor} -ge 8 ]]; then |
4066 |
export LDFLAGS="${LDFLAGS} -fuse-ld=bfd"; |
4067 |
fallback="false"; |
4068 |
fi; |
4069 |
else |
4070 |
if tc-is-clang; then |
4071 |
local major=$(clang-major-version "$@"); |
4072 |
local minor=$(clang-minor-version "$@"); |
4073 |
if [[ ${major} -gt 3 ]] || [[ ${major} -eq 3 && ${minor} -ge 5 ]]; then |
4074 |
export LDFLAGS="${LDFLAGS} -fuse-ld=bfd"; |
4075 |
fallback="false"; |
4076 |
fi; |
4077 |
fi; |
4078 |
fi; |
4079 |
if [[ ${fallback} == "true" ]]; then |
4080 |
if [[ -e ${path_ld} ]]; then |
4081 |
local d="${T}/bfd-linker"; |
4082 |
mkdir -p "${d}"; |
4083 |
ln -sf "${path_ld}" "${d}"/ld; |
4084 |
export LDFLAGS="${LDFLAGS} -B${d}"; |
4085 |
else |
4086 |
die "unable to locate a BFD linker to bypass gold"; |
4087 |
fi; |
4088 |
fi |
4089 |
} |
4090 |
tc-ld-is-gold () |
4091 |
{ |
4092 |
local out; |
4093 |
out=$($(tc-getLD "$@") --version 2>&1); |
4094 |
if [[ ${out} == *"GNU gold"* ]]; then |
4095 |
return 0; |
4096 |
fi; |
4097 |
local base="${T}/test-tc-gold"; |
4098 |
cat <<-EOF > "${base}.c" |
4099 |
int main() { return 0; } |
4100 |
EOF |
4101 |
|
4102 |
out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1); |
4103 |
rm -f "${base}"*; |
4104 |
if [[ ${out} == *"GNU gold"* ]]; then |
4105 |
return 0; |
4106 |
fi; |
4107 |
return 1 |
4108 |
} |
4109 |
tc-ld-is-lld () |
4110 |
{ |
4111 |
local out; |
4112 |
out=$($(tc-getLD "$@") --version 2>&1); |
4113 |
if [[ ${out} == *"LLD"* ]]; then |
4114 |
return 0; |
4115 |
fi; |
4116 |
local base="${T}/test-tc-lld"; |
4117 |
cat <<-EOF > "${base}.c" |
4118 |
int main() { return 0; } |
4119 |
EOF |
4120 |
|
4121 |
out=$($(tc-getCC "$@") ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -Wl,--version "${base}.c" -o "${base}" 2>&1); |
4122 |
rm -f "${base}"*; |
4123 |
if [[ ${out} == *"LLD"* ]]; then |
4124 |
return 0; |
4125 |
fi; |
4126 |
return 1 |
4127 |
} |
4128 |
tc-ninja_magic_to_arch () |
4129 |
{ |
4130 |
function ninj () |
4131 |
{ |
4132 |
[[ ${type} == "kern" ]] && echo $1 || echo $2 |
4133 |
}; |
4134 |
local type=$1; |
4135 |
local host=$2; |
4136 |
[[ -z ${host} ]] && host=${CTARGET:-${CHOST}}; |
4137 |
case ${host} in |
4138 |
aarch64*) |
4139 |
echo arm64 |
4140 |
;; |
4141 |
alpha*) |
4142 |
echo alpha |
4143 |
;; |
4144 |
arm*) |
4145 |
echo arm |
4146 |
;; |
4147 |
avr*) |
4148 |
ninj avr32 avr |
4149 |
;; |
4150 |
bfin*) |
4151 |
ninj blackfin bfin |
4152 |
;; |
4153 |
c6x*) |
4154 |
echo c6x |
4155 |
;; |
4156 |
cris*) |
4157 |
echo cris |
4158 |
;; |
4159 |
frv*) |
4160 |
echo frv |
4161 |
;; |
4162 |
hexagon*) |
4163 |
echo hexagon |
4164 |
;; |
4165 |
hppa*) |
4166 |
ninj parisc hppa |
4167 |
;; |
4168 |
i?86*) |
4169 |
if [[ ${type} == "kern" && ${host} == *freebsd* ]]; then |
4170 |
echo i386; |
4171 |
else |
4172 |
echo x86; |
4173 |
fi |
4174 |
;; |
4175 |
ia64*) |
4176 |
echo ia64 |
4177 |
;; |
4178 |
m68*) |
4179 |
echo m68k |
4180 |
;; |
4181 |
metag*) |
4182 |
echo metag |
4183 |
;; |
4184 |
microblaze*) |
4185 |
echo microblaze |
4186 |
;; |
4187 |
mips*) |
4188 |
echo mips |
4189 |
;; |
4190 |
nios2*) |
4191 |
echo nios2 |
4192 |
;; |
4193 |
nios*) |
4194 |
echo nios |
4195 |
;; |
4196 |
or1k | or32*) |
4197 |
echo openrisc |
4198 |
;; |
4199 |
powerpc*) |
4200 |
if [[ ${type} == "kern" ]]; then |
4201 |
echo powerpc; |
4202 |
else |
4203 |
if [[ ${host} == powerpc64* ]]; then |
4204 |
echo ppc64; |
4205 |
else |
4206 |
echo ppc; |
4207 |
fi; |
4208 |
fi |
4209 |
;; |
4210 |
riscv*) |
4211 |
echo riscv |
4212 |
;; |
4213 |
s390*) |
4214 |
echo s390 |
4215 |
;; |
4216 |
score*) |
4217 |
echo score |
4218 |
;; |
4219 |
sh64*) |
4220 |
ninj sh64 sh |
4221 |
;; |
4222 |
sh*) |
4223 |
echo sh |
4224 |
;; |
4225 |
sparc64*) |
4226 |
ninj sparc64 sparc |
4227 |
;; |
4228 |
sparc*) |
4229 |
[[ ${PROFILE_ARCH} == "sparc64" ]] && ninj sparc64 sparc || echo sparc |
4230 |
;; |
4231 |
tile*) |
4232 |
echo tile |
4233 |
;; |
4234 |
vax*) |
4235 |
echo vax |
4236 |
;; |
4237 |
x86_64*freebsd*) |
4238 |
echo amd64 |
4239 |
;; |
4240 |
x86_64*) |
4241 |
if [[ ${type} == "kern" ]]; then |
4242 |
echo x86; |
4243 |
else |
4244 |
echo amd64; |
4245 |
fi |
4246 |
;; |
4247 |
xtensa*) |
4248 |
echo xtensa |
4249 |
;; |
4250 |
*) |
4251 |
echo unknown |
4252 |
;; |
4253 |
esac |
4254 |
} |
4255 |
tc-stack-grows-down () |
4256 |
{ |
4257 |
case ${ARCH} in |
4258 |
hppa | metag) |
4259 |
return 1 |
4260 |
;; |
4261 |
esac; |
4262 |
return 0 |
4263 |
} |
4264 |
tc-tuple-is-softfloat () |
4265 |
{ |
4266 |
local CTARGET=${CTARGET:-${CHOST}}; |
4267 |
case ${CTARGET//_/-} in |
4268 |
bfin* | h8300*) |
4269 |
echo "only" |
4270 |
;; |
4271 |
*-softfloat-*) |
4272 |
echo "yes" |
4273 |
;; |
4274 |
*-softfp-*) |
4275 |
echo "softfp" |
4276 |
;; |
4277 |
arm*-hardfloat-* | arm*eabihf) |
4278 |
echo "no" |
4279 |
;; |
4280 |
*-newlib | *-elf | *-eabi) |
4281 |
echo "no" |
4282 |
;; |
4283 |
arm*) |
4284 |
echo "yes" |
4285 |
;; |
4286 |
*) |
4287 |
echo "no" |
4288 |
;; |
4289 |
esac |
4290 |
} |
4291 |
test-flag-CC () |
4292 |
{ |
4293 |
test-flag-PROG "CC" c "$@" |
4294 |
} |
4295 |
test-flag-CCLD () |
4296 |
{ |
4297 |
test-flag-PROG "CC" c+ld "$@" |
4298 |
} |
4299 |
test-flag-CXX () |
4300 |
{ |
4301 |
test-flag-PROG "CXX" c++ "$@" |
4302 |
} |
4303 |
test-flag-F77 () |
4304 |
{ |
4305 |
test-flag-PROG "F77" f77 "$@" |
4306 |
} |
4307 |
test-flag-FC () |
4308 |
{ |
4309 |
test-flag-PROG "FC" f95 "$@" |
4310 |
} |
4311 |
test-flag-PROG () |
4312 |
{ |
4313 |
local comp=$1; |
4314 |
local lang=$2; |
4315 |
shift 2; |
4316 |
if [[ -z ${comp} ]]; then |
4317 |
return 1; |
4318 |
fi; |
4319 |
if [[ -z $1 ]]; then |
4320 |
return 1; |
4321 |
fi; |
4322 |
comp=($(tc-get${comp})); |
4323 |
if ! type -p ${comp[0]} > /dev/null; then |
4324 |
return 1; |
4325 |
fi; |
4326 |
local in_src in_ext cmdline_extra=(); |
4327 |
case "${lang}" in |
4328 |
c) |
4329 |
in_ext='c'; |
4330 |
in_src='int main(void) { return 0; }'; |
4331 |
cmdline_extra+=(-xc -c) |
4332 |
;; |
4333 |
c++) |
4334 |
in_ext='cc'; |
4335 |
in_src='int main(void) { return 0; }'; |
4336 |
cmdline_extra+=(-xc++ -c) |
4337 |
;; |
4338 |
f77) |
4339 |
in_ext='f'; |
4340 |
in_src=' end'; |
4341 |
cmdline_extra+=(-xf77 -c) |
4342 |
;; |
4343 |
f95) |
4344 |
in_ext='f90'; |
4345 |
in_src='end'; |
4346 |
cmdline_extra+=(-xf95 -c) |
4347 |
;; |
4348 |
c+ld) |
4349 |
in_ext='c'; |
4350 |
in_src='int main(void) { return 0; }'; |
4351 |
cmdline_extra+=(-xc) |
4352 |
;; |
4353 |
esac; |
4354 |
local test_in=${T}/test-flag.${in_ext}; |
4355 |
local test_out=${T}/test-flag.exe; |
4356 |
printf "%s\n" "${in_src}" > "${test_in}" || die "Failed to create '${test_in}'"; |
4357 |
local cmdline=("${comp[@]}" -Werror "$@" "${cmdline_extra[@]}" "${test_in}" -o "${test_out}"); |
4358 |
if ! "${cmdline[@]}" &> /dev/null; then |
4359 |
cmdline+=(-Qunused-arguments); |
4360 |
"${cmdline[@]}" &> /dev/null; |
4361 |
fi |
4362 |
} |
4363 |
test-flags () |
4364 |
{ |
4365 |
test-flags-CC "$@" |
4366 |
} |
4367 |
test-flags-CC () |
4368 |
{ |
4369 |
test-flags-PROG "CC" "$@" |
4370 |
} |
4371 |
test-flags-CCLD () |
4372 |
{ |
4373 |
test-flags-PROG "CCLD" "$@" |
4374 |
} |
4375 |
test-flags-CXX () |
4376 |
{ |
4377 |
test-flags-PROG "CXX" "$@" |
4378 |
} |
4379 |
test-flags-F77 () |
4380 |
{ |
4381 |
test-flags-PROG "F77" "$@" |
4382 |
} |
4383 |
test-flags-FC () |
4384 |
{ |
4385 |
test-flags-PROG "FC" "$@" |
4386 |
} |
4387 |
test-flags-PROG () |
4388 |
{ |
4389 |
local comp=$1; |
4390 |
local flags=(); |
4391 |
local x; |
4392 |
shift; |
4393 |
[[ -z ${comp} ]] && return 1; |
4394 |
while (( $# )); do |
4395 |
case "$1" in |
4396 |
--param | -B) |
4397 |
if test-flag-${comp} "$1" "$2"; then |
4398 |
flags+=("$1" "$2"); |
4399 |
fi; |
4400 |
shift 2 |
4401 |
;; |
4402 |
*) |
4403 |
if test-flag-${comp} "$1"; then |
4404 |
flags+=("$1"); |
4405 |
fi; |
4406 |
shift 1 |
4407 |
;; |
4408 |
esac; |
4409 |
done; |
4410 |
echo "${flags[*]}"; |
4411 |
[[ ${#flags[@]} -gt 0 ]] |
4412 |
} |
4413 |
test_version_info () |
4414 |
{ |
4415 |
if [[ $($(tc-getCC) --version 2>&1) == *$1* ]]; then |
4416 |
return 0; |
4417 |
else |
4418 |
return 1; |
4419 |
fi |
4420 |
} |
4421 |
uclibctoolize () |
4422 |
{ |
4423 |
die "Use elibtoolize" |
4424 |
} |
4425 |
use_if_iuse () |
4426 |
{ |
4427 |
eqawarn "use_if_iuse is deprecated."; |
4428 |
eqawarn "Define it as a local function, or inline it:"; |
4429 |
eqawarn " in_iuse foo && use foo"; |
4430 |
in_iuse $1 || return 1; |
4431 |
use $1 |
4432 |
} |
4433 |
ver_cut () |
4434 |
{ |
4435 |
local range=${1}; |
4436 |
local v=${2:-${PV}}; |
4437 |
local start end; |
4438 |
local -a comp; |
4439 |
__eapi7_ver_split "${v}"; |
4440 |
local max=$((${#comp[@]}/2)); |
4441 |
__eapi7_ver_parse_range "${range}" "${max}"; |
4442 |
local IFS=; |
4443 |
if [[ ${start} -gt 0 ]]; then |
4444 |
start=$(( start*2 - 1 )); |
4445 |
fi; |
4446 |
echo "${comp[*]:start:end*2-start}" |
4447 |
} |
4448 |
ver_rs () |
4449 |
{ |
4450 |
local v; |
4451 |
(( ${#} & 1 )) && v=${@: -1} || v=${PV}; |
4452 |
local start end i; |
4453 |
local -a comp; |
4454 |
__eapi7_ver_split "${v}"; |
4455 |
local max=$((${#comp[@]}/2 - 1)); |
4456 |
while [[ ${#} -ge 2 ]]; do |
4457 |
__eapi7_ver_parse_range "${1}" "${max}"; |
4458 |
for ((i = start*2; i <= end*2; i+=2 )) |
4459 |
do |
4460 |
[[ ${i} -eq 0 && -z ${comp[i]} ]] && continue; |
4461 |
comp[i]=${2}; |
4462 |
done; |
4463 |
shift 2; |
4464 |
done; |
4465 |
local IFS=; |
4466 |
echo "${comp[*]}" |
4467 |
} |
4468 |
ver_test () |
4469 |
{ |
4470 |
local va op vb; |
4471 |
if [[ $# -eq 3 ]]; then |
4472 |
va=${1}; |
4473 |
shift; |
4474 |
else |
4475 |
va=${PVR}; |
4476 |
fi; |
4477 |
[[ $# -eq 2 ]] || die "${FUNCNAME}: bad number of arguments"; |
4478 |
op=${1}; |
4479 |
vb=${2}; |
4480 |
case ${op} in |
4481 |
-eq | -ne | -lt | -le | -gt | -ge) |
4482 |
|
4483 |
;; |
4484 |
*) |
4485 |
die "${FUNCNAME}: invalid operator: ${op}" |
4486 |
;; |
4487 |
esac; |
4488 |
__eapi7_ver_compare "${va}" "${vb}"; |
4489 |
test $? "${op}" 2 |
4490 |
} |
4491 |
[01;31mlivecd[01;34m / #[00m exit |
4492 |
exit |
4493 |
|
4494 |
Script done on 2020-10-05 10:32:03-04:00 [COMMAND_EXIT_CODE="0"] |
4495 |
|
4496 |
-- |