Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 885328 Details for
Bug 924886
dev-lang/mond-0.10.0 - ERROR: dev-lang/mond-0.10.0::gentoo failed (configure phase):
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
environment
environment (text/plain), 57.11 KB, created by
Toralf Förster
on 2024-02-18 09:16:23 UTC
(
hide
)
Description:
environment
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-02-18 09:16:23 UTC
Size:
57.11 KB
patch
obsolete
>declare -x ABI="amd64" >declare -x ABI_MIPS="" >declare -x ABI_S390="" >declare -x ABI_X86="64" >declare -x ADA_TARGET="" >declare -x ALLOW_TEST="network" >declare -x ALSA_CARDS="" >declare -x AMDGPU_TARGETS="" >declare -x ANT_HOME="/usr/share/ant" >declare -x APACHE2_MODULES="" >declare -x APACHE2_MPMS="" >declare -x ARCH="amd64" >declare BDEPEND=$' \n\t\t\n\t\tvirtual/dotnet-sdk:8.0\n\t\n\t\n\t\t\tdev-dotnet/csharp-gentoodotnetinfo\n\t\t ' >declare -x BINPKG_FORMAT="xpak" >declare -x BINPKG_GPG_SIGNING_BASE_COMMAND="/usr/bin/flock /run/lock/portage-binpkg-gpg.lock /usr/bin/gpg --sign --armor [PORTAGE_CONFIG]" >declare -x BINPKG_GPG_SIGNING_DIGEST="SHA512" >declare -x BINPKG_GPG_VERIFY_BASE_COMMAND="/usr/bin/gpg --verify --batch --no-tty --no-auto-check-trustdb --status-fd 2 [PORTAGE_CONFIG] [SIGNATURE]" >declare -x BINPKG_GPG_VERIFY_GPG_HOME="/etc/portage/gnupg" >declare -x BOOTSTRAP_USE="unicode internal-glib pkg-config split-usr xml python_targets_python3_11 python_single_target_python3_11 multilib systemd sysv-utils udev" >declare -x CALLIGRA_FEATURES="" >declare -x CAMERAS="" >declare -x CARGO_TERM_COLOR="never" >declare -x CBUILD="x86_64-pc-linux-gnu" >declare -x CCL_DEFAULT_DIRECTORY="/usr/lib64/clozurecl" >declare -x CFLAGS="-O3 -pipe -march=native -fno-diagnostics-color" >declare -x CFLAGS_amd64="-m64" >declare -x CFLAGS_x32="-mx32" >declare -x CFLAGS_x86="-m32 -mfpmath=sse" >declare -x CG_COMPILER_EXE="/opt/bin/cgc" >declare -x CG_INC_PATH="/opt/nvidia-cg-toolkit/include" >declare -x CG_LIB_PATH="/opt/nvidia-cg-toolkit/lib64" >declare -x CHOST="x86_64-pc-linux-gnu" >declare -x CHOST_amd64="x86_64-pc-linux-gnu" >declare -x CHOST_x32="x86_64-pc-linux-gnux32" >declare -x CHOST_x86="i686-pc-linux-gnu" >declare -x CMAKE_COLOR_DIAGNOSTICS="OFF" >declare -x CMAKE_COLOR_MAKEFILE="OFF" >declare -x COLLECTD_PLUGINS="" >declare -x CPU_FLAGS_ARM="" >declare -x CPU_FLAGS_PPC="" >declare -x CPU_FLAGS_X86="" >declare -x CURL_SSL="" >declare -x CXXFLAGS="-O3 -pipe -march=native -fno-diagnostics-color" >declare -x DEBUGBUILD="1" >declare -x DEFAULT_ABI="amd64" >declare -x DEFINED_PHASES=" compile configure install prepare setup test unpack" >declare DEPEND="" >declare DESCRIPTION="Mond is a scripting language for .NET Core" >declare -x DIALIGN2_DIR="/usr/share/dialign2" >declare -x DIROPTIONS="-m0755" >declare -a DOCS=([0]="README.md" [1]="Examples") >declare -x DOTNET_CLI_TELEMETRY_OPTOUT="1" >declare -x DOTNET_NOLOGO="1" >declare -a DOTNET_PKG_BAD_PROJECTS=([0]="TryMond/TryMond.csproj") >declare -- DOTNET_PKG_BDEPS=$'\n\t\t\n\t\tvirtual/dotnet-sdk:8.0\n\t\n\t\n\t\t\tdev-dotnet/csharp-gentoodotnetinfo\n\t\t' >declare -a DOTNET_PKG_BUILD_EXTRA_ARGS=() >declare -- DOTNET_PKG_COMPAT="8.0" >declare -- DOTNET_PKG_CONFIGURATION="Release" >declare -- DOTNET_PKG_EXECUTABLE="/opt/dotnet-sdk-bin-8.0/dotnet" >declare -- DOTNET_PKG_OUTPUT="/var/tmp/portage/dev-lang/mond-0.10.0/work/mond-0.10.0_net8.0_Release" >declare -a DOTNET_PKG_PROJECTS=([0]="Mond.Repl/Mond.Repl.csproj") >declare -- DOTNET_PKG_RDEPS=$'\n\t\tvirtual/dotnet-sdk:8.0\n\t' >declare -a DOTNET_PKG_RESTORE_EXTRA_ARGS=() >declare -- DOTNET_PKG_RUNTIME="linux-x64" >declare -a DOTNET_PKG_TEST_EXTRA_ARGS=() >declare -x DOTNET_ROOT="/opt/dotnet-sdk-bin-8.0" >declare -x DOTNET_SKIP_FIRST_TIME_EXPERIENCE="1" >declare -x DSM_CONFIG="/etc/tivoli/dsm.opt" >declare -x DSM_DIR="/opt/tivoli/tsm/client/ba/bin" >declare -x DSM_LOG="/var/log/tsm" >declare -x EAPI="8" >declare -x EGO_BUILD_FLAGS="-p 1" >declare -x ELIBC="glibc" >declare -x ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" >declare -- EPOCHREALTIME="1708214193.623168" >declare -- EPOCHSECONDS="1708214193" >declare -x EXEOPTIONS="-m0755" >declare -x FCFLAGS="-O3 -pipe -march=native -fno-diagnostics-color" >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="-O3 -pipe -march=native -fno-diagnostics-color" >declare -x FFTOOLS="" >declare -x FLTK_DOCDIR="/usr/share/doc/fltk-1.3.8/html" >declare -x GCC_COLORS="" >declare -x GCC_SPECS="" >declare -x GIT_PAGER="cat" >declare -x GO19CONCURRENTCOMPILATION="0" >declare -x GOMAXPROCS="1" >declare -x GPG_VERIFY_GROUP_DROP="nogroup" >declare -x GPG_VERIFY_USER_DROP="nobody" >declare -x GPSD_PROTOCOLS="" >declare -x GRUB_PLATFORMS="" >declare -x GSETTINGS_BACKEND="dconf" >declare -x HELIX_RUNTIME="/usr/share/helix/runtime" >declare HOMEPAGE=$'https://rohbot.net/mond/\n\thttps://github.com/Rohansi/Mond/' >declare IDEPEND="" >declare -x INHERITED=" edo multiprocessing nuget dotnet-pkg-base dotnet-pkg" >declare -x INPUT_DEVICES="" >declare -x INSOPTIONS="-m0644" >declare IUSE=" debug " >declare -x IUSE_EFFECTIVE="abi_x86_64 alpha amd64 amd64-linux arm arm64 arm64-macos debug elibc_Darwin elibc_SunOS elibc_bionic elibc_glibc elibc_mingw elibc_musl hppa ia64 kernel_Darwin kernel_SunOS kernel_linux loong m68k mips ppc ppc-macos ppc64 ppc64-linux prefix prefix-guest prefix-stack riscv s390 sparc x64-macos x64-solaris x86 x86-linux" >declare -x IUSE_IMPLICIT="abi_x86_64 prefix prefix-guest prefix-stack" >declare -x JAVAC="/etc/java-config-2/current-system-vm/bin/javac" >declare -x JAVACC_HOME="/usr/share/javacc/" >declare -x JAVA_HOME="/etc/java-config-2/current-system-vm" >declare -x JDK_HOME="/etc/java-config-2/current-system-vm" >declare -x KERNEL="linux" >declare -x KEYWORDS="~amd64" >declare -x L10N="" >declare -x LADSPA_PATH="/usr/lib64/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 LEX="flex" >declare -x LIBDIR_amd64="lib64" >declare -x LIBDIR_x32="libx32" >declare -x LIBDIR_x86="lib" >declare -x LIBOPTIONS="-m0644" >declare -x LIBREOFFICE_EXTENSIONS="" >declare -x LICENSE="MIT" >declare -x LLVM_SLOT="" >declare -x LLVM_TARGETS="" >declare -x LOGTALKHOME="/usr/share/logtalk-3.47.0" >declare -x LUA_SINGLE_TARGET="" >declare -x LUA_TARGETS="" >declare -x MAILTO="tinderbox" >declare -x MAKEOPTS=" -j4 -j1" >declare -x MANPAGER="manpager" >declare -x MONKEYD_PLUGINS="" >declare -x MSBUILDDISABLENODEREUSE="1" >declare -x MULTILIB_ABIS="amd64 x86" >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|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 NPM_CONFIG_GLOBALCONFIG="/etc/npm/npmrc" >declare -- NUGETS=$'\nfleck@1.2.0\nmicrosoft.aspnetcore.authorization@8.0.0\nmicrosoft.aspnetcore.components.analyzers@8.0.0\nmicrosoft.aspnetcore.components.forms@8.0.0\nmicrosoft.aspnetcore.components.web@8.0.0\nmicrosoft.aspnetcore.components.webassembly.devserver@8.0.0\nmicrosoft.aspnetcore.components.webassembly@8.0.0\nmicrosoft.aspnetcore.components@8.0.0\nmicrosoft.aspnetcore.metadata@8.0.0\nmicrosoft.build.tasks.git@8.0.0\nmicrosoft.codeanalysis.analyzers@3.3.4\nmicrosoft.codeanalysis.common@4.8.0\nmicrosoft.codeanalysis.csharp@4.8.0\nmicrosoft.codecoverage@17.8.0\nmicrosoft.extensions.configuration.abstractions@8.0.0\nmicrosoft.extensions.configuration.binder@8.0.0\nmicrosoft.extensions.configuration.fileextensions@8.0.0\nmicrosoft.extensions.configuration.json@8.0.0\nmicrosoft.extensions.configuration@8.0.0\nmicrosoft.extensions.dependencyinjection.abstractions@8.0.0\nmicrosoft.extensions.dependencyinjection@8.0.0\nmicrosoft.extensions.fileproviders.abstractions@8.0.0\nmicrosoft.extensions.fileproviders.physical@8.0.0\nmicrosoft.extensions.filesystemglobbing@8.0.0\nmicrosoft.extensions.logging.abstractions@8.0.0\nmicrosoft.extensions.logging@8.0.0\nmicrosoft.extensions.options@8.0.0\nmicrosoft.extensions.primitives@8.0.0\nmicrosoft.jsinterop.webassembly@8.0.0\nmicrosoft.jsinterop@8.0.0\nmicrosoft.net.illink.tasks@8.0.1\nmicrosoft.net.sdk.webassembly.pack@8.0.1\nmicrosoft.net.test.sdk@17.8.0\nmicrosoft.netcore.platforms@1.1.0\nmicrosoft.sourcelink.common@8.0.0\nmicrosoft.sourcelink.github@8.0.0\nmicrosoft.testplatform.objectmodel@17.8.0\nmicrosoft.testplatform.testhost@17.8.0\nnetstandard.library@2.0.0\nnewtonsoft.json@13.0.1\nnuget.frameworks@6.5.0\nnunit3testadapter@4.5.0\nnunit@3.14.0\nsystem.collections.immutable@7.0.0\nsystem.io.pipelines@8.0.0\nsystem.reflection.metadata@1.6.0\nsystem.reflection.metadata@7.0.0\nsystem.runtime.compilerservices.unsafe@6.0.0\nsystem.text.encodings.web@8.0.0\nsystem.text.json@8.0.0\nnetstandard.library@2.0.3\nsystem.buffers@4.5.1\nsystem.memory@4.5.5\nsystem.numerics.vectors@4.4.0\nsystem.text.encoding.codepages@7.0.0\nsystem.threading.tasks.extensions@4.5.4\n' >declare -a NUGET_APIS=([0]="https://api.nuget.org/v3-flatcontainer") >declare -x NUGET_PACKAGES="/var/tmp/portage/dev-lang/mond-0.10.0/temp/nugets" >declare -- NUGET_SYSTEM_NUGETS="/opt/dotnet-nugets" >declare -- NUGET_URIS="https://api.nuget.org/v3-flatcontainer/fleck/1.2.0/fleck.1.2.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.authorization/8.0.0/microsoft.aspnetcore.authorization.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.analyzers/8.0.0/microsoft.aspnetcore.components.analyzers.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.forms/8.0.0/microsoft.aspnetcore.components.forms.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.web/8.0.0/microsoft.aspnetcore.components.web.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.webassembly.devserver/8.0.0/microsoft.aspnetcore.components.webassembly.devserver.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.webassembly/8.0.0/microsoft.aspnetcore.components.webassembly.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components/8.0.0/microsoft.aspnetcore.components.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.metadata/8.0.0/microsoft.aspnetcore.metadata.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.build.tasks.git/8.0.0/microsoft.build.tasks.git.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.analyzers/3.3.4/microsoft.codeanalysis.analyzers.3.3.4.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.common/4.8.0/microsoft.codeanalysis.common.4.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.csharp/4.8.0/microsoft.codeanalysis.csharp.4.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.codecoverage/17.8.0/microsoft.codecoverage.17.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.abstractions/8.0.0/microsoft.extensions.configuration.abstractions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.binder/8.0.0/microsoft.extensions.configuration.binder.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.fileextensions/8.0.0/microsoft.extensions.configuration.fileextensions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.json/8.0.0/microsoft.extensions.configuration.json.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration/8.0.0/microsoft.extensions.configuration.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencyinjection.abstractions/8.0.0/microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencyinjection/8.0.0/microsoft.extensions.dependencyinjection.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.fileproviders.abstractions/8.0.0/microsoft.extensions.fileproviders.abstractions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.fileproviders.physical/8.0.0/microsoft.extensions.fileproviders.physical.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.filesystemglobbing/8.0.0/microsoft.extensions.filesystemglobbing.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.logging.abstractions/8.0.0/microsoft.extensions.logging.abstractions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.logging/8.0.0/microsoft.extensions.logging.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.options/8.0.0/microsoft.extensions.options.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.primitives/8.0.0/microsoft.extensions.primitives.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.jsinterop.webassembly/8.0.0/microsoft.jsinterop.webassembly.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.jsinterop/8.0.0/microsoft.jsinterop.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.net.illink.tasks/8.0.1/microsoft.net.illink.tasks.8.0.1.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.net.sdk.webassembly.pack/8.0.1/microsoft.net.sdk.webassembly.pack.8.0.1.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.net.test.sdk/17.8.0/microsoft.net.test.sdk.17.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.sourcelink.common/8.0.0/microsoft.sourcelink.common.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.sourcelink.github/8.0.0/microsoft.sourcelink.github.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.testplatform.objectmodel/17.8.0/microsoft.testplatform.objectmodel.17.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.testplatform.testhost/17.8.0/microsoft.testplatform.testhost.17.8.0.nupkg https://api.nuget.org/v3-flatcontainer/netstandard.library/2.0.0/netstandard.library.2.0.0.nupkg https://api.nuget.org/v3-flatcontainer/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg https://api.nuget.org/v3-flatcontainer/nuget.frameworks/6.5.0/nuget.frameworks.6.5.0.nupkg https://api.nuget.org/v3-flatcontainer/nunit3testadapter/4.5.0/nunit3testadapter.4.5.0.nupkg https://api.nuget.org/v3-flatcontainer/nunit/3.14.0/nunit.3.14.0.nupkg https://api.nuget.org/v3-flatcontainer/system.collections.immutable/7.0.0/system.collections.immutable.7.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.io.pipelines/8.0.0/system.io.pipelines.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.reflection.metadata/1.6.0/system.reflection.metadata.1.6.0.nupkg https://api.nuget.org/v3-flatcontainer/system.reflection.metadata/7.0.0/system.reflection.metadata.7.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.text.encodings.web/8.0.0/system.text.encodings.web.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.text.json/8.0.0/system.text.json.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg https://api.nuget.org/v3-flatcontainer/system.buffers/4.5.1/system.buffers.4.5.1.nupkg https://api.nuget.org/v3-flatcontainer/system.memory/4.5.5/system.memory.4.5.5.nupkg https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/4.4.0/system.numerics.vectors.4.4.0.nupkg https://api.nuget.org/v3-flatcontainer/system.text.encoding.codepages/7.0.0/system.text.encoding.codepages.7.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.threading.tasks.extensions/4.5.4/system.threading.tasks.extensions.4.5.4.nupkg " >declare -x NX_SYSTEM="/opt/NX" >declare -x OCAML_COLOR="never" >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 OPENMPI_FABRICS="" >declare -x OPENMPI_OFED_FEATURES="" >declare -x OPENMPI_RM="" >declare -x ORACLE_HOME="/usr/lib64/oracle/client" >declare -x PATH="/opt/dotnet-sdk-bin-8.0:/usr/lib/portage/python3.11/ebuild-helpers/xattr:/usr/lib/portage/python3.11/ebuild-helpers:/opt/c3-4:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/opt/nvidia-cg-toolkit/bin:/usr/share/omniORB/bin/scripts:/opt/ucsc-genome-browser/bin:/opt/hermes/bin:/var/lib/bin" >declare PDEPEND="" >declare -x PHP_TARGETS="" >declare -x PKGSYSTEM_ENABLE_FSYNC="0" >declare -x PORTAGE_COMPRESSION_COMMAND="zstd -T1" >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/mond-0.10.0/html") >declare -a PORTAGE_DOSTRIP=() >declare -a PORTAGE_DOSTRIP_SKIP=() >declare -x PORTAGE_TMPFS="/dev/shm" >declare -x PORT_LOGDIR="/var/log/portage" >declare -x POSTGRES_TARGETS="" >declare -x POWERSHELL_TELEMETRY_OPTOUT="1" >declare -x POWERSHELL_UPDATECHECK="0" >declare -x PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL" >declare -- PROPERTIES="" >declare -x PYTEST_ADDOPTS="--color=no" >declare -x PYTHONDONTWRITEBYTECODE="1" >declare -x PYTHON_SINGLE_TARGET="" >declare -x PYTHON_TARGETS="" >declare -x PY_FORCE_COLOR="0" >declare -- QA_PREBUILT=".*" >declare -x QEMU_SOFTMMU_TARGETS="" >declare -x QEMU_USER_TARGETS="" >declare RDEPEND=$' \n\t\tvirtual/dotnet-sdk:8.0\n\t ' >declare REPOSITORY >declare REQUIRED_USE="" >declare RESTRICT="strip" >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 RUBY_TARGETS="" >declare -x RUST_TEST_TASKS="1" >declare -x RUST_TEST_THREADS="1" >declare -x R_HOME="/usr/lib64/R" >declare -x S="/var/tmp/portage/dev-lang/mond-0.10.0/work/Mond-0.10.0" >declare -x SANDBOX_DEBUG="0" >declare -x SANDBOX_DENY="" >declare -x SANDBOX_METHOD="any" >declare -x SANDBOX_PREDICT="/var/tmp/portage/dev-lang/mond-0.10.0/homedir:/dev/crypto:/var/cache/man:/dev/random:/proc/self/coredump_filter:/dev/random:/proc/self/coredump_filter:/dev/random:/proc/self/coredump_filter:/dev/random:/proc/self/coredump_filter:/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/:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp/:/var/tmp/portage:/var/tmp/portage/dev-lang/mond-0.10.0/homedir/.bash_history" >declare -x SANE_BACKENDS="" >declare -x SHELL="/bin/bash" >declare -x SLOT="0" >declare -i SRANDOM="1595677035" >declare SRC_URI=$'https://github.com/Rohansi/Mond/archive/v0.10.0.tar.gz\n\t\t-> mond-0.10.0.tar.gz https://api.nuget.org/v3-flatcontainer/fleck/1.2.0/fleck.1.2.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.authorization/8.0.0/microsoft.aspnetcore.authorization.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.analyzers/8.0.0/microsoft.aspnetcore.components.analyzers.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.forms/8.0.0/microsoft.aspnetcore.components.forms.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.web/8.0.0/microsoft.aspnetcore.components.web.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.webassembly.devserver/8.0.0/microsoft.aspnetcore.components.webassembly.devserver.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components.webassembly/8.0.0/microsoft.aspnetcore.components.webassembly.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.components/8.0.0/microsoft.aspnetcore.components.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.aspnetcore.metadata/8.0.0/microsoft.aspnetcore.metadata.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.build.tasks.git/8.0.0/microsoft.build.tasks.git.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.analyzers/3.3.4/microsoft.codeanalysis.analyzers.3.3.4.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.common/4.8.0/microsoft.codeanalysis.common.4.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.codeanalysis.csharp/4.8.0/microsoft.codeanalysis.csharp.4.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.codecoverage/17.8.0/microsoft.codecoverage.17.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.abstractions/8.0.0/microsoft.extensions.configuration.abstractions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.binder/8.0.0/microsoft.extensions.configuration.binder.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.fileextensions/8.0.0/microsoft.extensions.configuration.fileextensions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration.json/8.0.0/microsoft.extensions.configuration.json.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.configuration/8.0.0/microsoft.extensions.configuration.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencyinjection.abstractions/8.0.0/microsoft.extensions.dependencyinjection.abstractions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.dependencyinjection/8.0.0/microsoft.extensions.dependencyinjection.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.fileproviders.abstractions/8.0.0/microsoft.extensions.fileproviders.abstractions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.fileproviders.physical/8.0.0/microsoft.extensions.fileproviders.physical.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.filesystemglobbing/8.0.0/microsoft.extensions.filesystemglobbing.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.logging.abstractions/8.0.0/microsoft.extensions.logging.abstractions.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.logging/8.0.0/microsoft.extensions.logging.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.options/8.0.0/microsoft.extensions.options.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.extensions.primitives/8.0.0/microsoft.extensions.primitives.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.jsinterop.webassembly/8.0.0/microsoft.jsinterop.webassembly.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.jsinterop/8.0.0/microsoft.jsinterop.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.net.illink.tasks/8.0.1/microsoft.net.illink.tasks.8.0.1.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.net.sdk.webassembly.pack/8.0.1/microsoft.net.sdk.webassembly.pack.8.0.1.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.net.test.sdk/17.8.0/microsoft.net.test.sdk.17.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.sourcelink.common/8.0.0/microsoft.sourcelink.common.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.sourcelink.github/8.0.0/microsoft.sourcelink.github.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.testplatform.objectmodel/17.8.0/microsoft.testplatform.objectmodel.17.8.0.nupkg https://api.nuget.org/v3-flatcontainer/microsoft.testplatform.testhost/17.8.0/microsoft.testplatform.testhost.17.8.0.nupkg https://api.nuget.org/v3-flatcontainer/netstandard.library/2.0.0/netstandard.library.2.0.0.nupkg https://api.nuget.org/v3-flatcontainer/newtonsoft.json/13.0.1/newtonsoft.json.13.0.1.nupkg https://api.nuget.org/v3-flatcontainer/nuget.frameworks/6.5.0/nuget.frameworks.6.5.0.nupkg https://api.nuget.org/v3-flatcontainer/nunit3testadapter/4.5.0/nunit3testadapter.4.5.0.nupkg https://api.nuget.org/v3-flatcontainer/nunit/3.14.0/nunit.3.14.0.nupkg https://api.nuget.org/v3-flatcontainer/system.collections.immutable/7.0.0/system.collections.immutable.7.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.io.pipelines/8.0.0/system.io.pipelines.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.reflection.metadata/1.6.0/system.reflection.metadata.1.6.0.nupkg https://api.nuget.org/v3-flatcontainer/system.reflection.metadata/7.0.0/system.reflection.metadata.7.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.text.encodings.web/8.0.0/system.text.encodings.web.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.text.json/8.0.0/system.text.json.8.0.0.nupkg https://api.nuget.org/v3-flatcontainer/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg https://api.nuget.org/v3-flatcontainer/system.buffers/4.5.1/system.buffers.4.5.1.nupkg https://api.nuget.org/v3-flatcontainer/system.memory/4.5.5/system.memory.4.5.5.nupkg https://api.nuget.org/v3-flatcontainer/system.numerics.vectors/4.4.0/system.numerics.vectors.4.4.0.nupkg https://api.nuget.org/v3-flatcontainer/system.text.encoding.codepages/7.0.0/system.text.encoding.codepages.7.0.0.nupkg https://api.nuget.org/v3-flatcontainer/system.threading.tasks.extensions/4.5.4/system.threading.tasks.extensions.4.5.4.nupkg ' >declare -x SYMLINK_LIB="no" >declare -x TASKDDATA="/var/lib/taskd" >declare -x TERMINFO="/etc/terminfo" >declare -x TERMINFO_DIRS="/usr/share/st/terminfo" >declare -x TNS_ADMIN="/etc/oracle/" >declare -x TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" >declare -x USE="abi_x86_64 amd64 elibc_glibc kernel_linux" >declare -x USERLAND="GNU" >declare -x USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL" >declare -x USE_EXPAND_UNPREFIXED="ARCH" >declare -x USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc x64-macos x64-solaris x86 x86-linux" >declare -x USE_EXPAND_VALUES_ELIBC="bionic Darwin glibc mingw musl SunOS" >declare -x USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS" >declare -x UWSGI_PLUGINS="" >declare -x UseSharedCompilation="false" >declare -x VIDEO_CARDS="" >declare -x VOICEMAIL_STORAGE="" >declare -x XDG_CONFIG_DIRS="/etc/xdg" >declare -x XDG_DATA_DIRS="/usr/local/share:/usr/share" >declare -x XTABLES_ADDONS="" >declare -x XZ_OPT="-9 -T4" >declare -- _DOTNET_PKG_BASE_ECLASS="1" >declare -- _DOTNET_PKG_ECLASS="1" >declare -- _DOTNET_PKG_LAUNCHERDEST="/usr/bin" >declare -a _DOTNET_PKG_LAUNCHERVARS=() >declare -- _EDO_ECLASS="1" >declare -- _MULTIPROCESSING_ECLASS="1" >declare -- _NUGET_ECLASS="1" >declare -x __E_DESTTREE="/usr" >declare -x __E_DOCDESTTREE="" >declare -x __E_EXEDESTTREE="" >declare -x __E_INSDESTTREE="" >declare -x ac_cv_c_undeclared_builtin_options="none needed" >declare -x enable_year2038="no" >declare -x gl_cv_compiler_check_decl_option="-Werror=implicit-function-declaration" >declare -x gl_cv_func_getcwd_path_max="yes" >SwitchGCC () >{ > local highest=$(gcc-config --list-profiles --nocolor | cut -f 3 -d ' ' -s | grep -E 'x86_64-(pc|gentoo)-linux-(gnu|musl)-.*[0-9]$' | tail -n 1); > if [[ -z $highest ]]; then > Mail "${FUNCNAME[0]}: cannot get GCC version"; > return; > fi; > if ! gcc-config --list-profiles --nocolor | grep -q -F "$highest *"; then > local current; > current=$(gcc -dumpversion); > echo "major version change of gcc: $current -> $highest" | tee -a $taskfile.history; > gcc-config --nocolor $highest; > source_profile; > add2backlog "dev-build/libtool"; > if grep -q '^LIBTOOL="rdlibtool"' /etc/portage/make.conf; then > add2backlog "dev-build/slibtool"; > fi; > add2backlog "%emerge --unmerge sys-devel/gcc:$(cut -f 1 -d '.' <<< $current)"; > fi >} >declare -fx SwitchGCC >__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 >} >__eapi8_src_prepare () >{ > local f; > if ___is_indexed_array_var PATCHES; then > [[ ${#PATCHES[@]} -gt 0 ]] && eapply -- "${PATCHES[@]}"; > else > if [[ -n ${PATCHES} ]]; then > eapply -- ${PATCHES}; > fi; > fi; > eapply_user >} >__tinderbox_checkEOL () >{ > if [[ -f /var/tmp/tb/EOL || -f /var/tmp/tb/STOP ]]; then > exit 42; > fi >} >_get_all_makeopts () >{ > echo "${MAKEOPTS} ${GNUMAKEFLAGS} ${MAKEFLAGS}" >} >_nuget_set_nuget_uris () >{ > local nugets="${1}"; > NUGET_URIS=""; > local nuget; > local name version; > local nuget_api url; > for nuget in ${nugets}; > do > name="${nuget%@*}"; > version="${nuget##*@}"; > for nuget_api in "${NUGET_APIS[@]}"; > do > case ${nuget_api%/} in > *dev.gentoo.org/~*) > url="${nuget_api}/${name}.${version}.nupkg" > ;; > */v2) > url="${nuget_api}/package/${name}/${version} > -> ${name}.${version}.nupkg" > ;; > *) > url="${nuget_api}/${name}/${version}/${name}.${version}.nupkg" > ;; > esac; > NUGET_URIS+="${url} "; > done; > done >} >add2backlog () >{ > local bl=/var/tmp/tb/backlog.1st; > if [[ $1 == '@preserved-rebuild' ]]; then > sed -i -e "/@preserved-rebuild/d" $bl; > sed -i -e "1 i\@preserved-rebuild" $bl; > else > if [[ $1 =~ ^@ || $1 =~ ^% ]]; then > if [[ "$(tail -n 1 $bl)" != "$1" ]]; then > echo "$1" >> $bl; > fi; > else > if ! grep -q "^${1}$" $bl; then > echo "$1" >> $bl; > fi; > fi; > fi >} >declare -fx add2backlog >dotnet-pkg-base_append-launchervar () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > [[ -z ${1} ]] && die "${FUNCNAME[0]}: no variable setting specified"; > _DOTNET_PKG_LAUNCHERVARS+=("${1}") >} >dotnet-pkg-base_append_launchervar () >{ > dotnet-pkg-base_append-launchervar "${@}" >} >dotnet-pkg-base_build () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local -a build_args=(--configuration "${DOTNET_PKG_CONFIGURATION}" --no-restore --no-self-contained --output "${DOTNET_PKG_OUTPUT}" --runtime "${DOTNET_PKG_RUNTIME}" -maxCpuCount:$(makeopts_jobs)); > if ! use debug; then > build_args+=(-p:StripSymbols=true -p:NativeDebugSymbols=false); > fi; > build_args+=("${@}"); > edotnet build "${build_args[@]}" >} >dotnet-pkg-base_dolauncher () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local executable_path executable_name; > if [[ -n "${1}" ]]; then > local executable_path="${1}"; > shift; > else > die "${FUNCNAME[0]}: No executable path given."; > fi; > if [[ ${#} -eq 0 ]]; then > executable_name="$(basename "${executable_path}")"; > else > executable_name="${1}"; > shift; > fi; > local executable_target="${T}/${executable_name}"; > cat <<-EOF > "${executable_target}" || >#!/bin/sh > ># Launcher script for ${executable_path} (${executable_name}), ># created from package "${CATEGORY}/${P}", ># compatible with dotnet version ${DOTNET_PKG_COMPAT}. > >for __dotnet_root in \\ >"${EPREFIX}/usr/$(get_libdir)/dotnet-sdk-${DOTNET_PKG_COMPAT}" \\ >"${EPREFIX}/opt/dotnet-sdk-bin-${DOTNET_PKG_COMPAT}" ; do >[ -d "\${__dotnet_root}" ] && break >done > >DOTNET_ROOT="\${__dotnet_root}" >export DOTNET_ROOT > >$(for var in "${_DOTNET_PKG_LAUNCHERVARS[@]}" ; do >echo "${var}" >echo "export ${var%%=*}" >done) > >exec "${EPREFIX}${executable_path}" "\${@}" >EOF > die > exeinto "${_DOTNET_PKG_LAUNCHERDEST}"; > doexe "${executable_target}" >} >dotnet-pkg-base_dolauncher-portable () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local dll_path="${1}"; > local executable_name="${2}"; > local executable_target="${T}/${executable_name}"; > cat <<-EOF > "${executable_target}" || >#!/bin/sh > ># Launcher script for ${dll_path} (${executable_name}), ># created from package "${CATEGORY}/${P}", ># compatible with any dotnet version, built on ${DOTNET_PKG_COMPAT}. > >$(for var in "${_DOTNET_PKG_LAUNCHERVARS[@]}" ; do >echo "${var}" >echo "export ${var%%=*}" >done) > >exec dotnet exec "${EPREFIX}${dll_path}" "\${@}" >EOF > die > exeinto "${_DOTNET_PKG_LAUNCHERDEST}"; > doexe "${executable_target}" >} >dotnet-pkg-base_dolauncher_portable () >{ > dotnet-pkg-base_dolauncher-portable "${@}" >} >dotnet-pkg-base_foreach-solution () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local directory="${1}"; > shift; > local dotnet_solution; > local dotnet_solution_name; > while read -r dotnet_solution; do > dotnet_solution_name="$(basename "${dotnet_solution}")"; > ebegin "Running \"${@}\" for solution: \"${dotnet_solution_name}\""; > "${@}" "${dotnet_solution}"; > eend $? "${FUNCNAME[0]}: failed for solution: \"${dotnet_solution}\"" || die; > done < <(find "${directory}" -maxdepth 1 -type f -name "*.sln") >} >dotnet-pkg-base_get-configuration () >{ > if in_iuse debug && use debug; then > echo Debug; > else > echo Release; > fi >} >dotnet-pkg-base_get-output () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > [[ -z ${DOTNET_PKG_CONFIGURATION} ]] && die "${FUNCNAME[0]}: DOTNET_PKG_CONFIGURATION is not set."; > echo "${WORKDIR}/${1}_net${DOTNET_PKG_COMPAT}_${DOTNET_PKG_CONFIGURATION}" >} >dotnet-pkg-base_get-runtime () >{ > local libc; > libc="$(usex elibc_musl "-musl" "")"; > if use amd64; then > echo "linux${libc}-x64"; > else > if use x86; then > echo "linux${libc}-x86"; > else > if use arm; then > echo "linux${libc}-arm"; > else > if use arm64; then > echo "linux${libc}-arm64"; > else > die "${FUNCNAME[0]}: Unsupported architecture: ${ARCH}"; > fi; > fi; > fi; > fi >} >dotnet-pkg-base_info () >{ > if [[ ${CATEGORY}/${PN} == dev-dotnet/csharp-gentoodotnetinfo ]]; then > debug-print-function "${FUNCNAME[0]}: ${P} is a special package, skipping dotnet-pkg-base_info"; > else > if command -v gentoo-dotnet-info > /dev/null; then > gentoo-dotnet-info || die "${FUNCNAME[0]}: failed to execute gentoo-dotnet-info"; > else > ewarn "${FUNCNAME[0]}: gentoo-dotnet-info not available"; > fi; > fi >} >dotnet-pkg-base_install () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local installation_directory="${1:-/usr/share/${P}}"; > dodir "${installation_directory}"; > cp -r "${DOTNET_PKG_OUTPUT}"/* "${ED}/${installation_directory}/" || die >} >dotnet-pkg-base_launcherinto () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > [[ -z ${1} ]] && die "${FUNCNAME[0]}: no directory specified"; > _DOTNET_PKG_LAUNCHERDEST="${1}" >} >dotnet-pkg-base_remove-global-json () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local file="${1:-.}"/global.json; > if [[ -f "${file}" ]]; then > ebegin "Removing the global.json file"; > rm "${file}"; > eend ${?} || die "${FUNCNAME[0]}: failed to remove ${file}"; > fi >} >dotnet-pkg-base_restore () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local -a restore_args=(--runtime "${DOTNET_PKG_RUNTIME}" --source "${NUGET_PACKAGES}" -maxCpuCount:$(makeopts_jobs) "${@}"); > edotnet restore "${restore_args[@]}" >} >dotnet-pkg-base_restore-tools () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local -a tool_restore_args=(--add-source "${NUGET_PACKAGES}"); > if [[ -n "${1}" ]]; then > tool_restore_args+=(--configfile "${1}"); > shift; > fi; > tool_restore_args+=("${@}"); > edotnet tool restore "${tool_restore_args[@]}" >} >dotnet-pkg-base_restore_tools () >{ > dotnet-pkg-base_restore-tools "${@}" >} >dotnet-pkg-base_setup () >{ > local -a impl_dirs=("${EPREFIX}/usr/$(get_libdir)/dotnet-sdk-${DOTNET_PKG_COMPAT}" "${EPREFIX}/opt/dotnet-sdk-bin-${DOTNET_PKG_COMPAT}"); > local impl_exe; > local impl_dir; > for impl_dir in "${impl_dirs[@]}"; > do > impl_exe="${impl_dir}/dotnet"; > if [[ -d "${impl_dir}" ]] && [[ -x "${impl_exe}" ]]; then > DOTNET_PKG_EXECUTABLE="${impl_exe}"; > DOTNET_ROOT="${impl_dir}"; > break; > fi; > done; > einfo "Setting .NET SDK \"DOTNET_ROOT\" to \"${DOTNET_ROOT}\""; > export DOTNET_ROOT; > export PATH="${DOTNET_ROOT}:${PATH}"; > DOTNET_PKG_RUNTIME="$(dotnet-pkg-base_get-runtime)"; > DOTNET_PKG_CONFIGURATION="$(dotnet-pkg-base_get-configuration)"; > DOTNET_PKG_OUTPUT="$(dotnet-pkg-base_get-output "${P}")" >} >dotnet-pkg-base_sln-remove () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > [[ -z ${1} ]] && die "${FUNCNAME[0]}: no solution file specified"; > [[ -z ${2} ]] && die "${FUNCNAME[0]}: no project file specified"; > edotnet sln "${1}" remove "${2}" >} >dotnet-pkg-base_test () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local -a test_args=(--configuration "${DOTNET_PKG_CONFIGURATION}" --no-restore -maxCpuCount:$(makeopts_jobs) "${@}"); > edotnet test "${test_args[@]}" >} >dotnet-pkg_force-compat () >{ > if [[ -z ${DOTNET_PKG_COMPAT} ]]; then > die "DOTNET_PKG_COMPAT is not set"; > fi; > local -a force_extra_args=(-p:RollForward=Major -p:TargetFramework="net${DOTNET_PKG_COMPAT}" -p:TargetFrameworks="net${DOTNET_PKG_COMPAT}"); > DOTNET_PKG_RESTORE_EXTRA_ARGS+=("${force_extra_args[@]}"); > DOTNET_PKG_BUILD_EXTRA_ARGS+=("${force_extra_args[@]}"); > DOTNET_PKG_TEST_EXTRA_ARGS+=("${force_extra_args[@]}") >} >dotnet-pkg_foreach-project () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > local dotnet_project; > for dotnet_project in "${DOTNET_PKG_PROJECTS[@]}"; > do > ebegin "Running \"${*}\" for project: \"${dotnet_project##*/}\""; > "${@}" "${dotnet_project}"; > eend $? "${FUNCNAME[0]}: failed for project: \"${dotnet_project}\"" || die; > done >} >dotnet-pkg_pkg_setup () >{ > [[ ${MERGE_TYPE} != binary ]] && dotnet-pkg-base_setup >} >dotnet-pkg_remove-bad () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > [[ -z ${1} ]] && die "${FUNCNAME[0]}: no solution file specified"; > local bad_project; > for bad_project in "${DOTNET_PKG_BAD_PROJECTS[@]}"; > do > nonfatal dotnet-pkg-base_sln-remove "${1}" "${bad_project}"; > done >} >dotnet-pkg_src_compile () >{ > dotnet-pkg_foreach-project dotnet-pkg-base_build "${DOTNET_PKG_BUILD_EXTRA_ARGS[@]}" >} >dotnet-pkg_src_configure () >{ > dotnet-pkg-base_info; > dotnet-pkg_foreach-project dotnet-pkg-base_restore "${DOTNET_PKG_RESTORE_EXTRA_ARGS[@]}"; > dotnet-pkg-base_foreach-solution "$(pwd)" dotnet-pkg-base_restore "${DOTNET_PKG_RESTORE_EXTRA_ARGS[@]}" >} >dotnet-pkg_src_install () >{ > dotnet-pkg-base_install; > if [[ -f "${D}/usr/share/${P}/${PN^}" ]]; then > dotnet-pkg-base_dolauncher "/usr/share/${P}/${PN^}"; > dosym -r "/usr/bin/${PN^}" "/usr/bin/${PN}"; > else > if [[ -f "${D}/usr/share/${P}/${PN}" ]]; then > dotnet-pkg-base_dolauncher "/usr/share/${P}/${PN}"; > fi; > fi; > einstalldocs >} >dotnet-pkg_src_prepare () >{ > dotnet-pkg-base_remove-global-json; > dotnet-pkg-base_foreach-solution "$(pwd)" dotnet-pkg_remove-bad; > find "$(pwd)" -maxdepth 1 -iname "nuget.config" -delete || die "${FUNCNAME[0]}: failed to remove unwanted \"NuGet.config\" config files"; > nuget_writeconfig "$(pwd)/"; > default >} >dotnet-pkg_src_test () >{ > dotnet-pkg-base_foreach-solution "$(pwd)" dotnet-pkg-base_test "${DOTNET_PKG_TEST_EXTRA_ARGS[@]}" >} >dotnet-pkg_src_unpack () >{ > nuget_link-system-nugets; > nuget_link-nuget-archives; > nuget_unpack-non-nuget-archives >} >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 columns=${COLUMNS:-0}; > [[ ${columns} == 0 ]] && columns=$(set -- $( ( stty size < /dev/tty ) 2> /dev/null || echo 24 80); echo $2); > (( columns > 0 )) || (( columns = 80 )); > 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 > if [[ -z ${applied} ]]; then > einfo "${PORTAGE_COLOR_INFO}$(for ((column = 0; column < ${columns} - 3; column++)) >do > echo -n =; >done)${PORTAGE_COLOR_NORMAL}"; > einfo "Applying user patches from ${basedir} ..."; > fi; > eapply "${f}"; > applied=1; > fi; > done < <(printf -- '%s\0' "${!_eapply_user_patches[@]}" | LC_ALL=C sort -z); > fi; > ${prev_shopt}; > if [[ -n ${applied} ]]; then > einfo "User patches applied."; > einfo "${PORTAGE_COLOR_INFO}$(for ((column = 0; column < ${columns} - 3; column++)) >do > echo -n =; >done)${PORTAGE_COLOR_NORMAL}"; > fi >} >edo () >{ > einfo "$@"; > "$@" || die -n "Failed to run command: $@" >} >edob () >{ > ebegin "Running $@"; > "$@"; > eend $? || die -n "Failed to run command: $@" >} >edotnet () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > if [[ -z ${DOTNET_PKG_EXECUTABLE} ]]; then > die "${FUNCNAME[0]}: DOTNET_PKG_EXECUTABLE not set. Was dotnet-pkg-base_setup called?"; > fi; > edo "${DOTNET_PKG_EXECUTABLE}" "${@}" >} >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_makeopts_jobs () >{ > makeopts_jobs "$(_get_all_makeopts)" "${1:-1}" >} >get_makeopts_loadavg () >{ > makeopts_loadavg "$(_get_all_makeopts)" "${1:-999}" >} >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 -- "$(_get_all_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:-$(( $(get_nproc) + 1 ))}:p"); > echo ${jobs:-1} >} >makeopts_loadavg () >{ > [[ $# -eq 0 ]] && set -- "$(_get_all_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}} >} >nuget_donuget () >{ > insinto "${NUGET_SYSTEM_NUGETS}"; > doins "${@}" >} >nuget_link () >{ > [[ -z "${1}" ]] && die "${FUNCNAME[0]}: no nuget path given"; > mkdir -p "${NUGET_PACKAGES}" || die; > local nuget_name="${1##*/}"; > if [[ -f "${NUGET_PACKAGES}/${nuget_name}" ]]; then > eqawarn "QA Notice: \"${nuget_name}\" already exists, not linking it"; > else > ln -s "${1}" "${NUGET_PACKAGES}/${nuget_name}" || die; > fi >} >nuget_link-nuget-archives () >{ > local archive; > for archive in ${A}; > do > case "${archive}" in > *.nupkg) > nuget_link "${DISTDIR}/${archive}" > ;; > *) > : > ;; > esac; > done >} >nuget_link-system-nugets () >{ > local runtime_nuget; > for runtime_nuget in "${EPREFIX}${NUGET_SYSTEM_NUGETS}"/*.nupkg; > do > if [[ -f "${runtime_nuget}" ]]; then > nuget_link "${runtime_nuget}"; > fi; > done >} >nuget_unpack-non-nuget-archives () >{ > local archive; > for archive in ${A}; > do > case "${archive}" in > *.nupkg) > : > ;; > *) > unpack "${archive}" > ;; > esac; > done >} >nuget_writeconfig () >{ > debug-print-function "${FUNCNAME[0]}" "${@}"; > case "${1}" in > "") > die "${FUNCNAME[0]}: no directory/file path specified" > ;; > */) > mkdir -p "${1}" || die > ;; > esac; > local nuget_config_path; > if [[ -d "${1}" ]]; then > nuget_config_path="${1}/NuGet.config"; > else > nuget_config_path="${1}"; > fi; > cat <<-EOF > "${nuget_config_path}" || ><?xml version="1.0" encoding="utf-8"?> ><configuration> ><packageSources> ><clear /> ><add key="nuget" value="${NUGET_PACKAGES}" /> ></packageSources> ></configuration> >EOF > die >} >pkg_nofetch () >{ > default >} >pkg_setup () >{ > dotnet-pkg_pkg_setup "$@" >} >post_src_install () >{ > ( if grep -E -q 'internal compiler error' "${WORKDIR}"/*/config.log &> /dev/null; then > echo "${CATEGORY}/${PF}: Found ICE in config.log?!"; > fi; > if [[ -f "${S}"/meson.build ]] && ! grep -q "dev-util/meson" <<< "${BDEPEND}"; then > echo "${CATEGORY}/${PF}: meson.build found but ebuild doesn't use meson?"; > fi; > if grep -r -q "dejagnu" "${S}" &> /dev/null && ! grep -q "dejagnu" <<< "${BDEPEND}"; then > echo "${CATEGORY}/${PF}: Missing dejagnu tests?"; > fi; > if grep -r -q "test" "${S}/meson_options.txt" &> /dev/null && ! grep -q "test" <<< "${IUSE}"; then > echo "${CATEGORY}/${PF}: Missing test option wiring for meson?"; > fi; > if grep -E -r -q -- "(disable|enable|with(out)?)-(unit)?test(s?)" configure.ac &> /dev/null && ! grep -q "test" <<< "${IUSE}"; then > echo "${CATEGORY}/${PF}: Missing test option wiring for autoconf?"; > fi; > if grep -E -r -q -- "(disable|enable)-valgrind" configure.ac &> /dev/null && ! grep -q "valgrind" <<< "${IUSE}"; then > echo "${CATEGORY}/${PF}: Missing valgrind option wiring for autoconf?"; > fi; > if grep -r -q "valgrind" "${S}/meson_options.txt" &> /dev/null && ! grep -q "valgrind" <<< "${IUSE}"; then > echo "${CATEGORY}/${PF}: Missing valgrind option wiring for meson?"; > fi; > if grep -E -r -q -- "(disable|enable)-fuzz" configure.ac &> /dev/null && ! grep -q "fuzz" <<< "${EBUILD}"; then > echo "${CATEGORY}/${PF}: Missing fuzz option wiring for autoconf?"; > fi; > if grep -r -q "fuzz" "${S}/meson_options.txt" &> /dev/null && ! grep -q "fuzz" <<< "${EBUILD}"; then > echo "${CATEGORY}/${PF}: Missing fuzz option wiring for meson?"; > fi ) &>> /var/tmp/sam.txt >} >source_profile () >{ > set +u; > source /etc/profile; > set -u >} >declare -fx source_profile >src_compile () >{ > dotnet-pkg_src_compile "$@" >} >src_configure () >{ > dotnet-pkg_src_configure "$@" >} >src_install () >{ > dotnet-pkg-base_install; > dotnet-pkg-base_dolauncher "/usr/share/${P}/Mond.Repl" "${PN}"; > docompress -x "/usr/share/doc/${PF}/Examples"; > einstalldocs >} >src_prepare () >{ > dotnet-pkg_src_prepare "$@" >} >src_test () >{ > dotnet-pkg_src_test "$@" >} >src_unpack () >{ > dotnet-pkg_src_unpack; > if [[ -n "${EGIT_REPO_URI}" ]]; then > git-r3_src_unpack; > fi >} >syncRepo () >{ > cd /var/db/repos/gentoo; > local synclog=/var/tmp/tb/sync.log; > local curr_time=$EPOCHSECONDS; > if ! emaint sync --auto &> $synclog; then > if grep -q -e 'git fetch error' -e ': Failed to connect to ' -e ': SSL connection timeout' -e ': Connection timed out' -e 'The requested URL returned error:' $synclog; then > return 0; > else > if ! emaint merges --fix &>> $synclog; then > ReachedEOL "broken repo, cannot be fixed" $synclog; > else > if ! emaint sync --auto &>> $synclog; then > ReachedEOL "broken sync of repo" $synclog; > fi; > fi; > fi; > fi; > if grep -q -F '* An update to portage is available.' $synclog; then > add2backlog "sys-apps/portage"; > fi; > if ! grep -B 1 '=== Sync completed for gentoo' $synclog | grep -q 'Already up to date.'; then > git diff --diff-filter="ACM" --name-only "@{ $((EPOCHSECONDS - last_sync + 2 * 3600)) second ago }..@{ 2 hour ago }" 2> /dev/null | grep -F -e '/files/' -e '.ebuild' -e 'Manifest' | cut -f 1-2 -d '/' -s | grep -v -f /mnt/tb/data/IGNORE_PACKAGES | sort -u > /tmp/syncRepo.upd; > if [[ -s /tmp/syncRepo.upd ]]; then > sort -u /tmp/syncRepo.upd /var/tmp/tb/backlog.upd | shuf > /tmp/backlog.upd; > cp /tmp/backlog.upd /var/tmp/tb/backlog.upd; > fi; > fi; > last_sync=$curr_time; > cd - > /dev/null >} >declare -fx syncRepo >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 924886
:
885325
|
885326
|
885327
| 885328 |
885329
|
885330
|
885331
|
885332