Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 631476 Details for
Bug 716768
dev-util/wasmer-0.11.0 : error: could not find native static library stdc++, perhaps an -L flag is missing?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
environment
environment (text/plain), 41.17 KB, created by
Toralf Förster
on 2020-04-09 07:15:26 UTC
(
hide
)
Description:
environment
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2020-04-09 07:15:26 UTC
Size:
41.17 KB
patch
obsolete
>declare -x ABI="amd64" >declare -x ABI_MIPS="" >declare -x ABI_PPC="" >declare -x ABI_RISCV="" >declare -x ABI_S390="" >declare -x ABI_X86="64" >declare -x ADA_TARGET="" >declare -x ALSA_CARDS="" >declare -x APACHE2_MODULES="" >declare -x APACHE2_MPMS="" >declare -x ARCH="amd64" >declare -x AUGUSTUS_CONFIG_PATH="/usr/share/augustus/config" >declare -x AUTOJUMP_ERROR_PATH="/root/.local/share/autojump/errors.log" >declare -x AUTOJUMP_SOURCED="1" >declare BDEPEND=" > dev-util/cmake > >=virtual/rust-1.37.0 > >=virtual/rust-1.37.0" >declare -x BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr python_targets_python3_6 python_targets_python2_7 multilib nptl -berkdb -gdbm hardened pic xtpax -jit -orc" >declare -x CALLIGRA_FEATURES="" >declare -x CAMERAS="" >declare -- CARGO_INSTALL_PATH="." >declare -x CARGO_TERM_COLOR="never" >declare -x CATKIN_PREFIX_PATH="/usr" >declare -x CBUILD="x86_64-gentoo-linux-musl" >declare -x CFLAGS="-O2 -pipe -march=native" >declare -x CFLAGS_amd64="-m64" >declare -x CFLAGS_x32="-mx32" >declare -x CFLAGS_x86="-m32" >declare -x CHOST="x86_64-gentoo-linux-musl" >declare -x CHOST_amd64="x86_64-gentoo-linux-musl" >declare -x CHOST_x32="x86_64-pc-linux-gnux32" >declare -x CHOST_x86="i686-pc-linux-gnu" >declare -x COLLECTD_PLUGINS="" >declare -x CPU_FLAGS_ARM="" >declare -x CPU_FLAGS_PPC="" >declare -x CPU_FLAGS_X86="" >declare -- CRATES=" >aho-corasick-0.7.6 >ansi_term-0.11.0 >arrayref-0.3.5 >arrayvec-0.5.1 >atty-0.2.13 >autocfg-0.1.7 >bincode-1.2.0 >bitflags-1.2.1 >blake2b_simd-0.5.9 >bstr-0.2.8 >byteorder-1.3.2 >c2-chacha-0.2.3 >cargo_toml-0.6.4 >cast-0.2.2 >cbindgen-0.9.1 >cc-1.0.47 >cfg-if-0.1.10 >clap-2.33.0 >cloudabi-0.0.3 >cmake-0.1.42 >constant_time_eq-0.1.4 >cranelift-bforest-0.44.0 >cranelift-codegen-0.44.0 >cranelift-codegen-meta-0.44.0 >cranelift-codegen-shared-0.44.0 >cranelift-entity-0.44.0 >cranelift-native-0.44.0 >criterion-0.2.11 >criterion-plot-0.3.1 >crossbeam-deque-0.7.2 >crossbeam-epoch-0.8.0 >crossbeam-queue-0.1.2 >crossbeam-utils-0.6.6 >crossbeam-utils-0.7.0 >csv-1.1.1 >csv-core-0.1.6 >ctor-0.1.12 >digest-0.8.1 >dynasm-0.5.1 >dynasmrt-0.5.1 >either-1.5.3 >enum-methods-0.0.8 >erased-serde-0.3.9 >errno-0.2.4 >errno-dragonfly-0.1.1 >failure-0.1.6 >failure_derive-0.1.6 >fuchsia-cprng-0.1.1 >gcc-0.3.55 >generational-arena-0.2.4 >generic-array-0.12.3 >getrandom-0.1.13 >ghost-0.1.1 >glob-0.2.11 >glob-0.3.0 >goblin-0.0.24 >heck-0.3.1 >hermit-abi-0.1.3 >hex-0.3.2 >indexmap-1.3.0 >inventory-0.1.4 >inventory-impl-0.1.4 >itertools-0.8.1 >itoa-0.4.4 >kernel32-sys-0.2.2 >lazy_static-1.4.0 >libc-0.2.65 >llvm-sys-80.1.1 >lock_api-0.3.1 >log-0.4.8 >maybe-uninit-2.0.0 >md5-0.6.1 >memchr-2.2.1 >memmap-0.7.0 >memoffset-0.5.3 >nix-0.15.0 >num_cpus-1.11.0 >num-traits-0.2.8 >owning_ref-0.4.0 >page_size-0.4.1 >parking_lot-0.9.0 >parking_lot_core-0.6.2 >plain-0.2.3 >ppv-lite86-0.2.6 >proc-macro2-0.4.30 >proc-macro2-1.0.6 >proc-macro-error-0.2.6 >quote-0.3.15 >quote-0.6.13 >quote-1.0.2 >rand-0.7.2 >rand_chacha-0.2.1 >rand_core-0.3.1 >rand_core-0.4.2 >rand_core-0.5.1 >rand_hc-0.2.0 >rand_os-0.1.3 >rand_xoshiro-0.1.0 >raw-cpuid-6.1.0 >rayon-1.2.0 >rayon-core-1.6.0 >rdrand-0.4.0 >redox_syscall-0.1.56 >regex-1.3.1 >regex-automata-0.1.8 >regex-syntax-0.6.12 >remove_dir_all-0.5.2 >rustc_version-0.2.3 >ryu-1.0.2 >same-file-1.0.5 >scopeguard-1.0.0 >scroll-0.9.2 >scroll_derive-0.9.5 >semver-0.9.0 >semver-parser-0.7.0 >serde-1.0.102 >serde-bench-0.0.7 >serde_bytes-0.11.2 >serde_derive-1.0.102 >serde_json-1.0.41 >smallvec-0.6.13 >stable_deref_trait-1.1.1 >strsim-0.8.0 >structopt-0.3.4 >structopt-derive-0.3.4 >syn-0.11.11 >syn-0.15.44 >syn-1.0.8 >synom-0.11.3 >synstructure-0.12.2 >target-lexicon-0.8.1 >tempfile-3.1.0 >textwrap-0.11.0 >thread_local-0.3.6 >time-0.1.42 >tinytemplate-1.0.2 >toml-0.4.10 >toml-0.5.5 >typenum-1.11.2 >typetag-0.1.4 >typetag-impl-0.1.4 >unicode-segmentation-1.6.0 >unicode-width-0.1.6 >unicode-xid-0.0.4 >unicode-xid-0.1.0 >unicode-xid-0.2.0 >vec_map-0.8.1 >void-1.0.2 >wabt-0.9.2 >wabt-sys-0.7.0 >walkdir-2.2.9 >wasi-0.7.0 >wasmer-clif-fork-frontend-0.44.0 >wasmer-clif-fork-wasm-0.44.0 >wasmparser-0.39.2 >winapi-0.2.8 >winapi-0.3.8 >winapi-build-0.1.1 >winapi-i686-pc-windows-gnu-0.4.0 >winapi-util-0.1.2 >winapi-x86_64-pc-windows-gnu-0.4.0 >" >declare -x CSSTRNGS="/usr/share/locale" >declare -x CURL_SSL="" >declare -x CXXFLAGS="-O2 -pipe -march=native" >declare -x DEFAULT_ABI="amd64" >declare -x DEFINED_PHASES=" compile install prepare test unpack" >declare DEPEND="" >declare DESCRIPTION="universal web assembly runtime" >declare -x DIALIGN2_DIR="/usr/share/dialign2" >declare -x DIROPTIONS="-m0755" >declare -x DSSP="/usr/bin/dssp" >declare -x EAPI="7" >declare -- ECARGO_HOME="/var/tmp/portage/dev-util/wasmer-0.11.0/work/cargo_home" >declare -- ECARGO_VENDOR="/var/tmp/portage/dev-util/wasmer-0.11.0/work/cargo_home/gentoo" >declare -x EGO_BUILD_FLAGS="-p 1" >declare -x ELIBC="musl" >declare -x ENLIGHTENMENT_MODULES="" >declare -x ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" >declare -- EPOCHREALTIME="1586387261.020695" >declare -- EPOCHSECONDS="1586387261" >declare -x ETCKEEPER_CONF_DIR="/etc/etckeeper" >declare -x EXEOPTIONS="-m0755" >declare -x FCFLAGS="-O2 -pipe -march=native" >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}\"" >declare -x FFLAGS="-O2 -pipe -march=native" >declare -x FFTOOLS="" >declare -x GCC_COLORS="" >declare -x GCC_SPECS="" >declare -x GO19CONCURRENTCOMPILATION="0" >declare -x GOMAXPROCS="1" >declare -x GPSD_PROTOCOLS="" >declare -x GREP_COLORS="never" >declare -x GRUB_PLATFORMS="" >declare -x GSETTINGS_BACKEND="dconf" >declare HOMEPAGE="https://wasmer.io" >declare -x INHERITED=" multiprocessing cargo" >declare -x INPUT_DEVICES="" >declare -x INSOPTIONS="-m0644" >declare IUSE=" debug" >declare -x IUSE_EFFECTIVE="abi_x86_64 alpha amd64 amd64-fbsd amd64-linux arm arm64 debug 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 kernel_AIX kernel_Darwin kernel_FreeBSD kernel_HPUX kernel_NetBSD kernel_OpenBSD kernel_SunOS kernel_Winnt kernel_freemint kernel_linux m68k m68k-mint mips ppc ppc-aix ppc-macos ppc64 ppc64-linux prefix prefix-guest prefix-stack riscv s390 sh sparc sparc-solaris sparc64-solaris 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" >declare -x IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack" >declare -x KERNEL="linux" >declare -x KEYWORDS="~amd64" >declare -x L10N="" >declare -x LADSPA_PATH="/usr/lib/ladspa" >declare -x LANG="C.utf8" >declare -x LCD_DEVICES="" >declare -x LC_COLLATE="C" >declare -x LC_MESSAGES="C" >declare -x LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" >declare -x LDFLAGS_amd64="-m elf_x86_64" >declare -x LDFLAGS_x32="-m elf32_x86_64" >declare -x LDFLAGS_x86="-m elf_i386" >declare -x LE_CONFIG_HOME="/etc/acme-sh/" >declare -x LE_WORKING_DIR="/etc/acme-sh/" >declare -x LIBDIR_amd64="lib" >declare -x LIBDIR_x32="libx32" >declare -x LIBDIR_x86="lib32" >declare -x LIBOPTIONS="-m0644" >declare -x LIBREOFFICE_EXTENSIONS="" >declare -x LICENSE="MIT Apache-2.0 BSD-2 ISC" >declare -x LIRC_DEVICES="" >declare -x LLVM_TARGETS="" >declare -x LOGTALKHOME="/usr/share/logtalk-3.36.0" >declare -x LV2_PATH="/usr/lib/lv2" >declare -x MAKEOPTS="-j1" >declare -x MANPAGER="manpager" >declare -x MONKEYD_PLUGINS="" >declare -x MOZ_GMP_PATH="/usr/lib/nsbrowser/plugins/gmp-gmpopenh264/system-installed" >declare -x MULTILIB_ABIS="amd64" >declare -x MULTILIB_STRICT_DENY="64-bit.*shared object" >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" >declare -x MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)" >declare -x NGINX_MODULES_HTTP="" >declare -x NGINX_MODULES_MAIL="" >declare -x NGINX_MODULES_STREAM="" >declare -x NINJAFLAGS="-j1" >declare -x OCAML_COLOR="never" >declare -x OFED_DRIVERS="" >declare -x OFFICE_IMPLEMENTATION="" >declare -x OMNIORB_CONFIG="/etc/omniorb/omniORB.cfg" >declare -x OMP_DYNAMIC="FALSE" >declare -x OMP_NESTED="FALSE" >declare -x OMP_NUM_THREADS="1" >declare -x OPCODEDIR="/usr/lib/csound/plugins" >declare -x OPENCL_PROFILE="opencl-icd-loader" >declare -x OPENMPI_FABRICS="" >declare -x OPENMPI_OFED_FEATURES="" >declare -x OPENMPI_RM="" >declare -x PATH="/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin:/usr/lib/llvm/9/bin:/usr/lib/llvm/8/bin" >declare -x PAX_MARKINGS="none" >declare PDEPEND="" >declare -x PHP_TARGETS="" >declare -x PKG_CONFIG_PATH="/usr/lib/pkgconfig" >declare -x PORTAGE_COMPRESSION_COMMAND="bzip2" >declare -a PORTAGE_DOCOMPRESS=([0]="/usr/share/doc" [1]="/usr/share/info" [2]="/usr/share/man") >declare -x PORTAGE_DOCOMPRESS_SIZE_LIMIT="128" >declare -a PORTAGE_DOCOMPRESS_SKIP=([0]="/usr/share/doc/wasmer-0.11.0/html") >declare -a PORTAGE_DOSTRIP=([0]="/") >declare -a PORTAGE_DOSTRIP_SKIP=() >declare -x PORTAGE_LIBC="musl" >declare -x PORT_LOGDIR="/var/log/portage" >declare -x POSTGRES_TARGETS="" >declare -x PRELINK_PATH_MASK="/usr/lib/klibc:/usr/bin/bbkeys" >declare -x PROFILE_IS_HARDENED="1" >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" >declare -x PROPERTIES="" >declare -x PYTHIA8DATA="/usr/share/pythia8/xmldoc" >declare -x PYTHONDOCS="/usr/share/doc/python-docs-3.8.2/html/library" >declare -x PYTHONDOCS_3_8="/usr/share/doc/python-docs-3.8.2/html/library" >declare -x PYTHONDONTWRITEBYTECODE="1" >declare -x PYTHON_SINGLE_TARGET="" >declare -x PYTHON_TARGETS="" >declare -x QEMU_SOFTMMU_TARGETS="" >declare -x QEMU_USER_TARGETS="" >declare -x QPSMTPD_CONFIG="/etc/qpsmtpd" >declare RDEPEND="" >declare REPOSITORY >declare REQUIRED_USE="" >declare -x RESTRICT="" >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}\"" >declare -x RNAVIEW="/usr/share/rnaview" >declare -x ROS_MESSAGES="" >declare -x ROS_PACKAGE_PATH="/usr/share/ros_packages" >declare -x ROS_ROOT="/usr/share/ros" >declare -x RUBY_TARGETS="" >declare -x RUSTFLAGS="-C codegen-units=1 -C target-feature=-crt-static" >declare -- RUST_DEPEND=">=virtual/rust-1.37.0" >declare -x RUST_TEST_TASKS="1" >declare -x RUST_TEST_THREADS="1" >declare -x S="/var/tmp/portage/dev-util/wasmer-0.11.0/work/wasmer-0.11.0" >declare -x SANDBOX_DEBUG="0" >declare -x SANDBOX_DENY="" >declare -x SANDBOX_PREDICT="/var/tmp/portage/dev-util/wasmer-0.11.0/homedir:/dev/crypto:/var/cache/man:/var/cache/fontconfig" >declare -x SANDBOX_READ="/:/var/tmp/portage" >declare -x SANDBOX_VERBOSE="1" >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-util/wasmer-0.11.0/homedir/.bash_history" >declare -x SANE_BACKENDS="" >declare -x SGML_CATALOG_FILES="/etc/sgml/xml-docbook-4.3.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/xml-docbook-4.5.cat:/etc/sgml/sgml-docbook.cat:/etc/sgml/xml-docbook-4.2.cat:/etc/sgml/xhtml1.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/dsssl-docbook-stylesheets.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/xml-simple-docbook-4.1.2.5.cat:/etc/sgml/sgml-docbook-4.5.cat:/etc/sgml/sgml-docbook-4.2.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-4.4.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/xml-simple-docbook-1.0.cat:/etc/sgml/xml-simple-docbook-4.1.2.4.cat:/etc/sgml/xhtml11.cat:/etc/sgml/html401.cat" >declare -x SHELL="/bin/bash" >declare -x SLOT="0" >declare SRC_URI="https://github.com/wasmerio/wasmer/archive/0.11.0.tar.gz -> wasmer-0.11.0.tar.gz >https://dev.gentoo.org/~williamh/dist/wasmer-0.11.0-git-deps.tar.xz > https://crates.io/api/v1/crates/aho-corasick/0.7.6/download -> aho-corasick-0.7.6.crate >https://crates.io/api/v1/crates/ansi_term/0.11.0/download -> ansi_term-0.11.0.crate >https://crates.io/api/v1/crates/arrayref/0.3.5/download -> arrayref-0.3.5.crate >https://crates.io/api/v1/crates/arrayvec/0.5.1/download -> arrayvec-0.5.1.crate >https://crates.io/api/v1/crates/atty/0.2.13/download -> atty-0.2.13.crate >https://crates.io/api/v1/crates/autocfg/0.1.7/download -> autocfg-0.1.7.crate >https://crates.io/api/v1/crates/bincode/1.2.0/download -> bincode-1.2.0.crate >https://crates.io/api/v1/crates/bitflags/1.2.1/download -> bitflags-1.2.1.crate >https://crates.io/api/v1/crates/blake2b_simd/0.5.9/download -> blake2b_simd-0.5.9.crate >https://crates.io/api/v1/crates/bstr/0.2.8/download -> bstr-0.2.8.crate >https://crates.io/api/v1/crates/byteorder/1.3.2/download -> byteorder-1.3.2.crate >https://crates.io/api/v1/crates/c2-chacha/0.2.3/download -> c2-chacha-0.2.3.crate >https://crates.io/api/v1/crates/cargo_toml/0.6.4/download -> cargo_toml-0.6.4.crate >https://crates.io/api/v1/crates/cast/0.2.2/download -> cast-0.2.2.crate >https://crates.io/api/v1/crates/cbindgen/0.9.1/download -> cbindgen-0.9.1.crate >https://crates.io/api/v1/crates/cc/1.0.47/download -> cc-1.0.47.crate >https://crates.io/api/v1/crates/cfg-if/0.1.10/download -> cfg-if-0.1.10.crate >https://crates.io/api/v1/crates/clap/2.33.0/download -> clap-2.33.0.crate >https://crates.io/api/v1/crates/cloudabi/0.0.3/download -> cloudabi-0.0.3.crate >https://crates.io/api/v1/crates/cmake/0.1.42/download -> cmake-0.1.42.crate >https://crates.io/api/v1/crates/constant_time_eq/0.1.4/download -> constant_time_eq-0.1.4.crate >https://crates.io/api/v1/crates/cranelift-bforest/0.44.0/download -> cranelift-bforest-0.44.0.crate >https://crates.io/api/v1/crates/cranelift-codegen/0.44.0/download -> cranelift-codegen-0.44.0.crate >https://crates.io/api/v1/crates/cranelift-codegen-meta/0.44.0/download -> cranelift-codegen-meta-0.44.0.crate >https://crates.io/api/v1/crates/cranelift-codegen-shared/0.44.0/download -> cranelift-codegen-shared-0.44.0.crate >https://crates.io/api/v1/crates/cranelift-entity/0.44.0/download -> cranelift-entity-0.44.0.crate >https://crates.io/api/v1/crates/cranelift-native/0.44.0/download -> cranelift-native-0.44.0.crate >https://crates.io/api/v1/crates/criterion/0.2.11/download -> criterion-0.2.11.crate >https://crates.io/api/v1/crates/criterion-plot/0.3.1/download -> criterion-plot-0.3.1.crate >https://crates.io/api/v1/crates/crossbeam-deque/0.7.2/download -> crossbeam-deque-0.7.2.crate >https://crates.io/api/v1/crates/crossbeam-epoch/0.8.0/download -> crossbeam-epoch-0.8.0.crate >https://crates.io/api/v1/crates/crossbeam-queue/0.1.2/download -> crossbeam-queue-0.1.2.crate >https://crates.io/api/v1/crates/crossbeam-utils/0.6.6/download -> crossbeam-utils-0.6.6.crate >https://crates.io/api/v1/crates/crossbeam-utils/0.7.0/download -> crossbeam-utils-0.7.0.crate >https://crates.io/api/v1/crates/csv/1.1.1/download -> csv-1.1.1.crate >https://crates.io/api/v1/crates/csv-core/0.1.6/download -> csv-core-0.1.6.crate >https://crates.io/api/v1/crates/ctor/0.1.12/download -> ctor-0.1.12.crate >https://crates.io/api/v1/crates/digest/0.8.1/download -> digest-0.8.1.crate >https://crates.io/api/v1/crates/dynasm/0.5.1/download -> dynasm-0.5.1.crate >https://crates.io/api/v1/crates/dynasmrt/0.5.1/download -> dynasmrt-0.5.1.crate >https://crates.io/api/v1/crates/either/1.5.3/download -> either-1.5.3.crate >https://crates.io/api/v1/crates/enum-methods/0.0.8/download -> enum-methods-0.0.8.crate >https://crates.io/api/v1/crates/erased-serde/0.3.9/download -> erased-serde-0.3.9.crate >https://crates.io/api/v1/crates/errno/0.2.4/download -> errno-0.2.4.crate >https://crates.io/api/v1/crates/errno-dragonfly/0.1.1/download -> errno-dragonfly-0.1.1.crate >https://crates.io/api/v1/crates/failure/0.1.6/download -> failure-0.1.6.crate >https://crates.io/api/v1/crates/failure_derive/0.1.6/download -> failure_derive-0.1.6.crate >https://crates.io/api/v1/crates/fuchsia-cprng/0.1.1/download -> fuchsia-cprng-0.1.1.crate >https://crates.io/api/v1/crates/gcc/0.3.55/download -> gcc-0.3.55.crate >https://crates.io/api/v1/crates/generational-arena/0.2.4/download -> generational-arena-0.2.4.crate >https://crates.io/api/v1/crates/generic-array/0.12.3/download -> generic-array-0.12.3.crate >https://crates.io/api/v1/crates/getrandom/0.1.13/download -> getrandom-0.1.13.crate >https://crates.io/api/v1/crates/ghost/0.1.1/download -> ghost-0.1.1.crate >https://crates.io/api/v1/crates/glob/0.2.11/download -> glob-0.2.11.crate >https://crates.io/api/v1/crates/glob/0.3.0/download -> glob-0.3.0.crate >https://crates.io/api/v1/crates/goblin/0.0.24/download -> goblin-0.0.24.crate >https://crates.io/api/v1/crates/heck/0.3.1/download -> heck-0.3.1.crate >https://crates.io/api/v1/crates/hermit-abi/0.1.3/download -> hermit-abi-0.1.3.crate >https://crates.io/api/v1/crates/hex/0.3.2/download -> hex-0.3.2.crate >https://crates.io/api/v1/crates/indexmap/1.3.0/download -> indexmap-1.3.0.crate >https://crates.io/api/v1/crates/inventory/0.1.4/download -> inventory-0.1.4.crate >https://crates.io/api/v1/crates/inventory-impl/0.1.4/download -> inventory-impl-0.1.4.crate >https://crates.io/api/v1/crates/itertools/0.8.1/download -> itertools-0.8.1.crate >https://crates.io/api/v1/crates/itoa/0.4.4/download -> itoa-0.4.4.crate >https://crates.io/api/v1/crates/kernel32-sys/0.2.2/download -> kernel32-sys-0.2.2.crate >https://crates.io/api/v1/crates/lazy_static/1.4.0/download -> lazy_static-1.4.0.crate >https://crates.io/api/v1/crates/libc/0.2.65/download -> libc-0.2.65.crate >https://crates.io/api/v1/crates/llvm-sys/80.1.1/download -> llvm-sys-80.1.1.crate >https://crates.io/api/v1/crates/lock_api/0.3.1/download -> lock_api-0.3.1.crate >https://crates.io/api/v1/crates/log/0.4.8/download -> log-0.4.8.crate >https://crates.io/api/v1/crates/maybe-uninit/2.0.0/download -> maybe-uninit-2.0.0.crate >https://crates.io/api/v1/crates/md5/0.6.1/download -> md5-0.6.1.crate >https://crates.io/api/v1/crates/memchr/2.2.1/download -> memchr-2.2.1.crate >https://crates.io/api/v1/crates/memmap/0.7.0/download -> memmap-0.7.0.crate >https://crates.io/api/v1/crates/memoffset/0.5.3/download -> memoffset-0.5.3.crate >https://crates.io/api/v1/crates/nix/0.15.0/download -> nix-0.15.0.crate >https://crates.io/api/v1/crates/num_cpus/1.11.0/download -> num_cpus-1.11.0.crate >https://crates.io/api/v1/crates/num-traits/0.2.8/download -> num-traits-0.2.8.crate >https://crates.io/api/v1/crates/owning_ref/0.4.0/download -> owning_ref-0.4.0.crate >https://crates.io/api/v1/crates/page_size/0.4.1/download -> page_size-0.4.1.crate >https://crates.io/api/v1/crates/parking_lot/0.9.0/download -> parking_lot-0.9.0.crate >https://crates.io/api/v1/crates/parking_lot_core/0.6.2/download -> parking_lot_core-0.6.2.crate >https://crates.io/api/v1/crates/plain/0.2.3/download -> plain-0.2.3.crate >https://crates.io/api/v1/crates/ppv-lite86/0.2.6/download -> ppv-lite86-0.2.6.crate >https://crates.io/api/v1/crates/proc-macro2/0.4.30/download -> proc-macro2-0.4.30.crate >https://crates.io/api/v1/crates/proc-macro2/1.0.6/download -> proc-macro2-1.0.6.crate >https://crates.io/api/v1/crates/proc-macro-error/0.2.6/download -> proc-macro-error-0.2.6.crate >https://crates.io/api/v1/crates/quote/0.3.15/download -> quote-0.3.15.crate >https://crates.io/api/v1/crates/quote/0.6.13/download -> quote-0.6.13.crate >https://crates.io/api/v1/crates/quote/1.0.2/download -> quote-1.0.2.crate >https://crates.io/api/v1/crates/rand/0.7.2/download -> rand-0.7.2.crate >https://crates.io/api/v1/crates/rand_chacha/0.2.1/download -> rand_chacha-0.2.1.crate >https://crates.io/api/v1/crates/rand_core/0.3.1/download -> rand_core-0.3.1.crate >https://crates.io/api/v1/crates/rand_core/0.4.2/download -> rand_core-0.4.2.crate >https://crates.io/api/v1/crates/rand_core/0.5.1/download -> rand_core-0.5.1.crate >https://crates.io/api/v1/crates/rand_hc/0.2.0/download -> rand_hc-0.2.0.crate >https://crates.io/api/v1/crates/rand_os/0.1.3/download -> rand_os-0.1.3.crate >https://crates.io/api/v1/crates/rand_xoshiro/0.1.0/download -> rand_xoshiro-0.1.0.crate >https://crates.io/api/v1/crates/raw-cpuid/6.1.0/download -> raw-cpuid-6.1.0.crate >https://crates.io/api/v1/crates/rayon/1.2.0/download -> rayon-1.2.0.crate >https://crates.io/api/v1/crates/rayon-core/1.6.0/download -> rayon-core-1.6.0.crate >https://crates.io/api/v1/crates/rdrand/0.4.0/download -> rdrand-0.4.0.crate >https://crates.io/api/v1/crates/redox_syscall/0.1.56/download -> redox_syscall-0.1.56.crate >https://crates.io/api/v1/crates/regex/1.3.1/download -> regex-1.3.1.crate >https://crates.io/api/v1/crates/regex-automata/0.1.8/download -> regex-automata-0.1.8.crate >https://crates.io/api/v1/crates/regex-syntax/0.6.12/download -> regex-syntax-0.6.12.crate >https://crates.io/api/v1/crates/remove_dir_all/0.5.2/download -> remove_dir_all-0.5.2.crate >https://crates.io/api/v1/crates/rustc_version/0.2.3/download -> rustc_version-0.2.3.crate >https://crates.io/api/v1/crates/ryu/1.0.2/download -> ryu-1.0.2.crate >https://crates.io/api/v1/crates/same-file/1.0.5/download -> same-file-1.0.5.crate >https://crates.io/api/v1/crates/scopeguard/1.0.0/download -> scopeguard-1.0.0.crate >https://crates.io/api/v1/crates/scroll/0.9.2/download -> scroll-0.9.2.crate >https://crates.io/api/v1/crates/scroll_derive/0.9.5/download -> scroll_derive-0.9.5.crate >https://crates.io/api/v1/crates/semver/0.9.0/download -> semver-0.9.0.crate >https://crates.io/api/v1/crates/semver-parser/0.7.0/download -> semver-parser-0.7.0.crate >https://crates.io/api/v1/crates/serde/1.0.102/download -> serde-1.0.102.crate >https://crates.io/api/v1/crates/serde-bench/0.0.7/download -> serde-bench-0.0.7.crate >https://crates.io/api/v1/crates/serde_bytes/0.11.2/download -> serde_bytes-0.11.2.crate >https://crates.io/api/v1/crates/serde_derive/1.0.102/download -> serde_derive-1.0.102.crate >https://crates.io/api/v1/crates/serde_json/1.0.41/download -> serde_json-1.0.41.crate >https://crates.io/api/v1/crates/smallvec/0.6.13/download -> smallvec-0.6.13.crate >https://crates.io/api/v1/crates/stable_deref_trait/1.1.1/download -> stable_deref_trait-1.1.1.crate >https://crates.io/api/v1/crates/strsim/0.8.0/download -> strsim-0.8.0.crate >https://crates.io/api/v1/crates/structopt/0.3.4/download -> structopt-0.3.4.crate >https://crates.io/api/v1/crates/structopt-derive/0.3.4/download -> structopt-derive-0.3.4.crate >https://crates.io/api/v1/crates/syn/0.11.11/download -> syn-0.11.11.crate >https://crates.io/api/v1/crates/syn/0.15.44/download -> syn-0.15.44.crate >https://crates.io/api/v1/crates/syn/1.0.8/download -> syn-1.0.8.crate >https://crates.io/api/v1/crates/synom/0.11.3/download -> synom-0.11.3.crate >https://crates.io/api/v1/crates/synstructure/0.12.2/download -> synstructure-0.12.2.crate >https://crates.io/api/v1/crates/target-lexicon/0.8.1/download -> target-lexicon-0.8.1.crate >https://crates.io/api/v1/crates/tempfile/3.1.0/download -> tempfile-3.1.0.crate >https://crates.io/api/v1/crates/textwrap/0.11.0/download -> textwrap-0.11.0.crate >https://crates.io/api/v1/crates/thread_local/0.3.6/download -> thread_local-0.3.6.crate >https://crates.io/api/v1/crates/time/0.1.42/download -> time-0.1.42.crate >https://crates.io/api/v1/crates/tinytemplate/1.0.2/download -> tinytemplate-1.0.2.crate >https://crates.io/api/v1/crates/toml/0.4.10/download -> toml-0.4.10.crate >https://crates.io/api/v1/crates/toml/0.5.5/download -> toml-0.5.5.crate >https://crates.io/api/v1/crates/typenum/1.11.2/download -> typenum-1.11.2.crate >https://crates.io/api/v1/crates/typetag/0.1.4/download -> typetag-0.1.4.crate >https://crates.io/api/v1/crates/typetag-impl/0.1.4/download -> typetag-impl-0.1.4.crate >https://crates.io/api/v1/crates/unicode-segmentation/1.6.0/download -> unicode-segmentation-1.6.0.crate >https://crates.io/api/v1/crates/unicode-width/0.1.6/download -> unicode-width-0.1.6.crate >https://crates.io/api/v1/crates/unicode-xid/0.0.4/download -> unicode-xid-0.0.4.crate >https://crates.io/api/v1/crates/unicode-xid/0.1.0/download -> unicode-xid-0.1.0.crate >https://crates.io/api/v1/crates/unicode-xid/0.2.0/download -> unicode-xid-0.2.0.crate >https://crates.io/api/v1/crates/vec_map/0.8.1/download -> vec_map-0.8.1.crate >https://crates.io/api/v1/crates/void/1.0.2/download -> void-1.0.2.crate >https://crates.io/api/v1/crates/wabt/0.9.2/download -> wabt-0.9.2.crate >https://crates.io/api/v1/crates/wabt-sys/0.7.0/download -> wabt-sys-0.7.0.crate >https://crates.io/api/v1/crates/walkdir/2.2.9/download -> walkdir-2.2.9.crate >https://crates.io/api/v1/crates/wasi/0.7.0/download -> wasi-0.7.0.crate >https://crates.io/api/v1/crates/wasmer-clif-fork-frontend/0.44.0/download -> wasmer-clif-fork-frontend-0.44.0.crate >https://crates.io/api/v1/crates/wasmer-clif-fork-wasm/0.44.0/download -> wasmer-clif-fork-wasm-0.44.0.crate >https://crates.io/api/v1/crates/wasmparser/0.39.2/download -> wasmparser-0.39.2.crate >https://crates.io/api/v1/crates/winapi/0.2.8/download -> winapi-0.2.8.crate >https://crates.io/api/v1/crates/winapi/0.3.8/download -> winapi-0.3.8.crate >https://crates.io/api/v1/crates/winapi-build/0.1.1/download -> winapi-build-0.1.1.crate >https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download -> winapi-i686-pc-windows-gnu-0.4.0.crate >https://crates.io/api/v1/crates/winapi-util/0.1.2/download -> winapi-util-0.1.2.crate >https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download -> winapi-x86_64-pc-windows-gnu-0.4.0.crate" >declare -x SVDIR="/etc/service/" >declare -x SYMLINK_LIB="no" >declare -x TERMINFO="/etc/terminfo" >declare -x TINYSCHEMEINIT="/usr/share/tinyscheme/init.scm" >declare -x TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" >declare -x USE="abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU" >declare -x USERLAND="GNU" >declare -x USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND" >declare -x USE_EXPAND_UNPREFIXED="ARCH" >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 sh 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" >declare -x USE_EXPAND_VALUES_ELIBC="AIX bionic Cygwin Darwin DragonFly FreeBSD glibc HPUX Interix mingw mintlib musl NetBSD OpenBSD SunOS uclibc Winnt" >declare -x USE_EXPAND_VALUES_KERNEL="AIX Darwin FreeBSD freemint HPUX linux NetBSD OpenBSD SunOS Winnt" >declare -x USE_EXPAND_VALUES_USERLAND="BSD GNU" >declare -x UWSGI_PLUGINS="" >declare -x VIDEO_CARDS="" >declare -x VOICEMAIL_STORAGE="" >declare -x WCDHOME="/root/.wcd" >declare -x XEHELPURL="/usr/share/doc/xephem-3.7.7/html/xephem.html" >declare -x XFCE_PLUGINS="" >declare -x XTABLES_ADDONS="" >declare -- _CARGO_ECLASS="1" >declare -x _E_DESTTREE_="/usr" >declare -x _E_DOCDESTTREE_="" >declare -x _E_EXEDESTTREE_="" >declare -x _E_INSDESTTREE_="" >declare -- _MULTIPROCESSING_ECLASS="1" >__eapi6_src_install () >{ > if [[ -f Makefile || -f GNUmakefile || -f makefile ]]; then > emake DESTDIR="${D}" install; > fi; > einstalldocs >} >__eapi6_src_prepare () >{ > if ___is_indexed_array_var PATCHES; then > [[ ${#PATCHES[@]} -gt 0 ]] && eapply "${PATCHES[@]}"; > else > if [[ -n ${PATCHES} ]]; then > eapply ${PATCHES}; > fi; > fi; > eapply_user >} >__eapi7_ver_compare () >{ > local va=${1} vb=${2} a an al as ar b bn bl bs br re LC_ALL=C; > re="^([0-9]+(\.[0-9]+)*)([a-z]?)((_(alpha|beta|pre|rc|p)[0-9]*)*)(-r[0-9]+)?$"; > [[ ${va} =~ ${re} ]] || die "${FUNCNAME}: invalid version: ${va}"; > an=${BASH_REMATCH[1]}; > al=${BASH_REMATCH[3]}; > as=${BASH_REMATCH[4]}; > ar=${BASH_REMATCH[7]}; > [[ ${vb} =~ ${re} ]] || die "${FUNCNAME}: invalid version: ${vb}"; > bn=${BASH_REMATCH[1]}; > bl=${BASH_REMATCH[3]}; > bs=${BASH_REMATCH[4]}; > br=${BASH_REMATCH[7]}; > __eapi7_ver_compare_int "${an%%.*}" "${bn%%.*}" || return; > while [[ ${an} == *.* && ${bn} == *.* ]]; do > an=${an#*.}; > bn=${bn#*.}; > a=${an%%.*}; > b=${bn%%.*}; > if [[ ${a} == 0* || ${b} == 0* ]]; then > [[ ${a} =~ 0+$ ]] && a=${a%"${BASH_REMATCH[0]}"}; > [[ ${b} =~ 0+$ ]] && b=${b%"${BASH_REMATCH[0]}"}; > [[ ${a} > ${b} ]] && return 3; > [[ ${a} < ${b} ]] && return 1; > else > __eapi7_ver_compare_int "${a}" "${b}" || return; > fi; > done; > [[ ${an} == *.* ]] && return 3; > [[ ${bn} == *.* ]] && return 1; > [[ ${al} > ${bl} ]] && return 3; > [[ ${al} < ${bl} ]] && return 1; > as=${as#_}${as:+_}; > bs=${bs#_}${bs:+_}; > while [[ -n ${as} && -n ${bs} ]]; do > a=${as%%_*}; > b=${bs%%_*}; > if [[ ${a%%[0-9]*} == "${b%%[0-9]*}" ]]; then > __eapi7_ver_compare_int "${a##*[a-z]}" "${b##*[a-z]}" || return; > else > [[ ${a%%[0-9]*} == p ]] && return 3; > [[ ${b%%[0-9]*} == p ]] && return 1; > [[ ${a} > ${b} ]] && return 3 || return 1; > fi; > as=${as#*_}; > bs=${bs#*_}; > done; > if [[ -n ${as} ]]; then > [[ ${as} == p[_0-9]* ]] && return 3 || return 1; > else > if [[ -n ${bs} ]]; then > [[ ${bs} == p[_0-9]* ]] && return 1 || return 3; > fi; > fi; > __eapi7_ver_compare_int "${ar#-r}" "${br#-r}" || return; > return 2 >} >__eapi7_ver_compare_int () >{ > local a=$1 b=$2 d=$(( ${#1}-${#2} )); > if [[ ${d} -gt 0 ]]; then > printf -v b "%0${d}d%s" 0 "${b}"; > else > if [[ ${d} -lt 0 ]]; then > printf -v a "%0$(( -d ))d%s" 0 "${a}"; > fi; > fi; > [[ ${a} > ${b} ]] && return 3; > [[ ${a} == "${b}" ]] >} >__eapi7_ver_parse_range () >{ > local range=${1}; > local max=${2}; > [[ ${range} == [0-9]* ]] || die "${FUNCNAME}: range must start with a number"; > start=${range%-*}; > [[ ${range} == *-* ]] && end=${range#*-} || end=${start}; > if [[ -n ${end} ]]; then > [[ ${start} -le ${end} ]] || die "${FUNCNAME}: end of range must be >= start"; > [[ ${end} -le ${max} ]] || end=${max}; > else > end=${max}; > fi >} >__eapi7_ver_split () >{ > local v=${1} LC_ALL=C; > comp=(); > local s c; > while [[ -n ${v} ]]; do > s=${v%%[a-zA-Z0-9]*}; > v=${v:${#s}}; > [[ ${v} == [0-9]* ]] && c=${v%%[^0-9]*} || c=${v%%[^a-zA-Z]*}; > v=${v:${#c}}; > comp+=("${s}" "${c}"); > done >} >cargo_crate_uris () >{ > local -r regex='^([a-zA-Z0-9_\-]+)-([0-9]+\.[0-9]+\.[0-9]+.*)$'; > local crate; > for crate in "$@"; > do > local name version url; > [[ $crate =~ $regex ]] || die "Could not parse name and version from crate: $crate"; > name="${BASH_REMATCH[1]}"; > version="${BASH_REMATCH[2]}"; > url="https://crates.io/api/v1/crates/${name}/${version}/download -> ${crate}.crate"; > echo "${url}"; > done >} >cargo_gen_config () >{ > debug-print-function ${FUNCNAME} "$@"; > cat <<-EOF > "${ECARGO_HOME}/config" >[source.gentoo] >directory = "${ECARGO_VENDOR}" > >[source.crates-io] >replace-with = "gentoo" >local-registry = "/nonexistant" > >[net] >offline = true > >[build] >jobs = $(makeopts_jobs) > >[term] >verbose = true >EOF > > [[ "${NOCOLOR}" = true || "${NOCOLOR}" = yes ]] && echo "color = 'never'" >> "${ECARGO_HOME}/config" >} >cargo_live_src_unpack () >{ > debug-print-function ${FUNCNAME} "$@"; > [[ "${PV}" == *9999* ]] || die "${FUNCNAME} only allowed in live/9999 ebuilds"; > [[ "${EBUILD_PHASE}" == unpack ]] || die "${FUNCNAME} only allowed in src_unpack"; > mkdir -p "${S}" || die; > pushd "${S}" > /dev/null || die; > CARGO_HOME="${ECARGO_HOME}" cargo fetch || die; > CARGO_HOME="${ECARGO_HOME}" cargo vendor "${ECARGO_VENDOR}" || die; > popd > /dev/null || die; > cargo_gen_config >} >cargo_src_compile () >{ > debug-print-function ${FUNCNAME} "$@"; > export CARGO_HOME="${ECARGO_HOME}"; > cargo build $(usex debug "" --release) "$@" || die "cargo build failed" >} >cargo_src_install () >{ > debug-print-function ${FUNCNAME} "$@"; > cargo install --path ${CARGO_INSTALL_PATH} --root="${ED}/usr" $(usex debug --debug "") "$@" || die "cargo install failed"; > rm -f "${ED}/usr/.crates.toml"; > rm -f "${ED}/usr/.crates2.json"; > [ -d "${S}/man" ] && doman "${S}/man" || return 0 >} >cargo_src_test () >{ > debug-print-function ${FUNCNAME} "$@"; > cargo test $(usex debug "" --release) "$@" || die "cargo test failed" >} >cargo_src_unpack () >{ > debug-print-function ${FUNCNAME} "$@"; > mkdir -p "${ECARGO_VENDOR}" || die; > mkdir -p "${S}" || die; > local archive shasum pkg; > for archive in ${A}; > do > case "${archive}" in > *.crate) > ebegin "Loading ${archive} into Cargo registry"; > tar -xf "${DISTDIR}"/${archive} -C "${ECARGO_VENDOR}/" || die; > shasum=$(sha256sum "${DISTDIR}"/${archive} | cut -d ' ' -f 1); > pkg=$(basename ${archive} .crate); > cat <<-EOF > ${ECARGO_VENDOR}/${pkg}/.cargo-checksum.json >{ >"package": "${shasum}", >"files": {} >} >EOF > > if [[ ${P} == ${pkg}* ]]; then > tar -xf "${DISTDIR}"/${archive} -C "${WORKDIR}" || die; > fi; > eend $? > ;; > cargo-snapshot*) > ebegin "Unpacking ${archive}"; > mkdir -p "${S}"/target/snapshot; > tar -xzf "${DISTDIR}"/${archive} -C "${S}"/target/snapshot --strip-components 2 || die; > touch "${S}"/target/snapshot/bin/cargo || die; > eend $? > ;; > *) > unpack ${archive} > ;; > esac; > done; > cargo_gen_config >} >eapply () >{ > local failed patch_cmd=patch; > local -x LC_COLLATE=POSIX; > type -P gpatch > /dev/null && patch_cmd=gpatch; > function _eapply_patch () > { > local f=${1}; > local prefix=${2}; > ebegin "${prefix:-Applying }${f##*/}"; > local all_opts=(-p1 -f -g0 --no-backup-if-mismatch "${patch_options[@]}"); > if ${patch_cmd} "${all_opts[@]}" --dry-run -s -F0 < "${f}" &> /dev/null; then > all_opts+=(-s -F0); > fi; > ${patch_cmd} "${all_opts[@]}" < "${f}"; > failed=${?}; > if ! eend "${failed}"; then > __helpers_die "patch -p1 ${patch_options[*]} failed with ${f}"; > fi > }; > local patch_options=() files=(); > local i found_doublehyphen; > for ((i = 1; i <= ${#@}; ++i )) > do > if [[ ${@:i:1} == -- ]]; then > patch_options=("${@:1:i-1}"); > files=("${@:i+1}"); > found_doublehyphen=1; > break; > fi; > done; > if [[ -z ${found_doublehyphen} ]]; then > for ((i = 1; i <= ${#@}; ++i )) > do > if [[ ${@:i:1} != -* ]]; then > patch_options=("${@:1:i-1}"); > files=("${@:i}"); > break; > fi; > done; > for i in "${files[@]}"; > do > if [[ ${i} == -* ]]; then > die "eapply: all options must be passed before non-options"; > fi; > done; > fi; > if [[ ${#files[@]} -eq 0 ]]; then > die "eapply: no files specified"; > fi; > local f; > for f in "${files[@]}"; > do > if [[ -d ${f} ]]; then > function _eapply_get_files () > { > local LC_ALL=POSIX; > local prev_shopt=$(shopt -p nullglob); > shopt -s nullglob; > local f; > for f in "${1}"/*; > do > if [[ ${f} == *.diff || ${f} == *.patch ]]; then > files+=("${f}"); > fi; > done; > ${prev_shopt} > }; > local files=(); > _eapply_get_files "${f}"; > [[ ${#files[@]} -eq 0 ]] && die "No *.{patch,diff} files in directory ${f}"; > einfo "Applying patches from ${f} ..."; > local f2; > for f2 in "${files[@]}"; > do > _eapply_patch "${f2}" ' '; > [[ ${failed} -ne 0 ]] && return "${failed}"; > done; > else > _eapply_patch "${f}"; > [[ ${failed} -ne 0 ]] && return "${failed}"; > fi; > done; > return 0 >} >eapply_user () >{ > [[ ${EBUILD_PHASE} == prepare ]] || die "eapply_user() called during invalid phase: ${EBUILD_PHASE}"; > local tagfile=${T}/.portage_user_patches_applied; > [[ -f ${tagfile} ]] && return; > >> "${tagfile}"; > local basedir=${PORTAGE_CONFIGROOT%/}/etc/portage/patches; > local applied d f; > local -A _eapply_user_patches; > local prev_shopt=$(shopt -p nullglob); > shopt -s nullglob; > for d in "${basedir}"/${CATEGORY}/{${P}-${PR},${P},${PN}}{:${SLOT%/*},}; > do > for f in "${d}"/*; > do > if [[ ( ${f} == *.diff || ${f} == *.patch ) && -z ${_eapply_user_patches[${f##*/}]} ]]; then > _eapply_user_patches[${f##*/}]=${f}; > fi; > done; > done; > if [[ ${#_eapply_user_patches[@]} -gt 0 ]]; then > while read -r -d '' f; do > f=${_eapply_user_patches[${f}]}; > if [[ -s ${f} ]]; then > eapply "${f}"; > applied=1; > fi; > done < <(printf -- '%s\0' "${!_eapply_user_patches[@]}" | > LC_ALL=C sort -z); > fi; > ${prev_shopt}; > [[ -n ${applied} ]] && ewarn "User patches applied." >} >einstalldocs () >{ > ( if [[ $(declare -p DOCS 2>/dev/null) != *=* ]]; then > local d; > for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS FAQ CREDITS CHANGELOG; > do > [[ -f ${d} && -s ${d} ]] && docinto / && dodoc "${d}"; > done; > else > if ___is_indexed_array_var DOCS; then > [[ ${#DOCS[@]} -gt 0 ]] && docinto / && dodoc -r "${DOCS[@]}"; > else > [[ -n ${DOCS} ]] && docinto / && dodoc -r ${DOCS}; > fi; > fi ); > ( if ___is_indexed_array_var HTML_DOCS; then > [[ ${#HTML_DOCS[@]} -gt 0 ]] && docinto html && dodoc -r "${HTML_DOCS[@]}"; > else > [[ -n ${HTML_DOCS} ]] && docinto html && dodoc -r ${HTML_DOCS}; > fi ) >} >get_libdir () >{ > local libdir_var="LIBDIR_${ABI}"; > local libdir="lib"; > [[ -n ${ABI} && -n ${!libdir_var} ]] && libdir=${!libdir_var}; > echo "${libdir}" >} >get_nproc () >{ > local nproc; > if type -P nproc &> /dev/null; then > nproc=$(nproc); > fi; > if [[ -z ${nproc} ]] && type -P sysctl &> /dev/null; then > nproc=$(sysctl -n hw.ncpu 2>/dev/null); > fi; > if [[ -z ${nproc} ]] && type -P python &> /dev/null; then > nproc=$(python -c 'import multiprocessing; print(multiprocessing.cpu_count());' 2>/dev/null); > fi; > if [[ -n ${nproc} ]]; then > echo "${nproc}"; > else > echo "${1:-1}"; > fi >} >in_iuse () >{ > local use=${1}; > if [[ -z "${use}" ]]; then > echo "!!! in_iuse() called without a parameter." 1>&2; > echo "!!! in_iuse <USEFLAG>" 1>&2; > die "in_iuse() called without a parameter"; > fi; > local liuse=(${IUSE_EFFECTIVE}); > has "${use}" "${liuse[@]#[+-]}" >} >makeopts_jobs () >{ > [[ $# -eq 0 ]] && set -- "${MAKEOPTS}"; > local jobs=$(echo " $* " | sed -r -n -e 's:.*[[:space:]](-[a-z]*j|--jobs[=[:space:]])[[:space:]]*([0-9]+).*:\2:p' -e "s:.*[[:space:]](-[a-z]*j|--jobs)[[:space:]].*:${2:-999}:p"); > echo ${jobs:-1} >} >makeopts_loadavg () >{ > [[ $# -eq 0 ]] && set -- "${MAKEOPTS}"; > local lavg=$(echo " $* " | sed -r -n -e 's:.*[[:space:]](-[a-z]*l|--(load-average|max-load)[=[:space:]])[[:space:]]*([0-9]+(\.[0-9]+)?)[[:space:]].*:\3:p' -e "s:.*[[:space:]](-[a-z]*l|--(load-average|max-load))[[:space:]].*:${2:-999}:p"); > echo ${lavg:-${2:-999}} >} >pkg_nofetch () >{ > default >} >src_compile () >{ > cargo_src_compile "$@" >} >src_configure () >{ > default >} >src_install () >{ > cargo_src_install; > einstalldocs >} >src_prepare () >{ > [[ "${PV}" == *9999* ]] || ln -s ../${P}-git-deps "${ECARGO_HOME}"/git; > default >} >src_test () >{ > cargo_src_test "$@" >} >src_unpack () >{ > cargo_src_unpack "$@" >} >ver_cut () >{ > local range=${1}; > local v=${2:-${PV}}; > local start end; > local -a comp; > __eapi7_ver_split "${v}"; > local max=$((${#comp[@]}/2)); > __eapi7_ver_parse_range "${range}" "${max}"; > local IFS=; > if [[ ${start} -gt 0 ]]; then > start=$(( start*2 - 1 )); > fi; > echo "${comp[*]:start:end*2-start}" >} >ver_rs () >{ > local v; > (( ${#} & 1 )) && v=${@: -1} || v=${PV}; > local start end i; > local -a comp; > __eapi7_ver_split "${v}"; > local max=$((${#comp[@]}/2 - 1)); > while [[ ${#} -ge 2 ]]; do > __eapi7_ver_parse_range "${1}" "${max}"; > for ((i = start*2; i <= end*2; i+=2 )) > do > [[ ${i} -eq 0 && -z ${comp[i]} ]] && continue; > comp[i]=${2}; > done; > shift 2; > done; > local IFS=; > echo "${comp[*]}" >} >ver_test () >{ > local va op vb; > if [[ $# -eq 3 ]]; then > va=${1}; > shift; > else > va=${PVR}; > fi; > [[ $# -eq 2 ]] || die "${FUNCNAME}: bad number of arguments"; > op=${1}; > vb=${2}; > case ${op} in > -eq | -ne | -lt | -le | -gt | -ge) > > ;; > *) > die "${FUNCNAME}: invalid operator: ${op}" > ;; > esac; > __eapi7_ver_compare "${va}" "${vb}"; > test $? "${op}" 2 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 716768
:
631470
|
631472
|
631474
| 631476 |
631478
|
631480
|
631482