Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 881932 Details for
Bug 921773
app-admin/hcloud-1.41.0 - build failed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
environment
environment (text/plain), 29.09 KB, created by
Toralf Förster
on 2024-01-11 12:03:03 UTC
(
hide
)
Description:
environment
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-01-11 12:03:03 UTC
Size:
29.09 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 ALSA_CARDS="" >declare -x AMANDA_CONFIG_NAME="DailySet1" >declare -x AMANDA_DBGDIR="/var/tmp/amanda" >declare -x AMANDA_GROUP_NAME="amanda" >declare -x AMANDA_PORTS="" >declare -x AMANDA_PORTS_BOTH="" >declare -x AMANDA_PORTS_TCP="" >declare -x AMANDA_PORTS_UDP="" >declare -x AMANDA_SERVER="17-1-no-multilib-systemd-20240104-043505" >declare -x AMANDA_SERVER_INDEX="17-1-no-multilib-systemd-20240104-043505" >declare -x AMANDA_SERVER_TAPE="17-1-no-multilib-systemd-20240104-043505" >declare -x AMANDA_SERVER_TAPE_DEVICE="/dev/nst0" >declare -x AMANDA_TAR="/bin/tar" >declare -x AMANDA_TAR_LISTDIR="/var/spool/amanda/tar-lists" >declare -x AMANDA_TMPDIR="/var/tmp/amanda" >declare -x AMANDA_USER_HOMEDIR="/var/spool/amanda" >declare -x AMANDA_USER_NAME="amanda" >declare -x AMDGPU_TARGETS="" >declare -x ANT_HOME="/usr/share/ant" >declare -x APACHE2_MODULES="" >declare -x APACHE2_MPMS="" >declare -x ARCH="amd64" >declare -x AUTOJUMP_ERROR_PATH="/root/.local/share/autojump/errors.log" >declare -x AUTOJUMP_SOURCED="1" >declare BDEPEND="" >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 CFLAGS="-O2 -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 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 CSSTRNGS="/usr/share/locale" >declare -x CURL_SSL="" >declare -x CXXFLAGS="-O2 -pipe -march=native -fno-diagnostics-color" >declare -x DEBUGBUILD="1" >declare -x DEFAULT_ABI="amd64" >declare -x DEFINED_PHASES=" compile install test" >declare DEPEND=">=dev-lang/go-1.18:= " >declare DESCRIPTION="A command-line interface for Hetzner Cloud" >declare -x DIROPTIONS="-m0755" >declare -x DOTNET_ROOT="/opt/dotnet-sdk-bin-8.0" >declare -x EAPI="7" >declare -x EGO_BUILD_FLAGS="-p 4" >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="1704970084.444359" >declare -- EPOCHSECONDS="1704970084" >declare -x EXEOPTIONS="-m0755" >declare -x FCFLAGS="-O2 -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="-O2 -pipe -march=native -fno-diagnostics-color" >declare -x FFTOOLS="" >declare -x FPATH="/usr/local/share/zsh/site-functions:/usr/share/zsh/site-functions:/usr/share/zsh/5.9/functions/Calendar:/usr/share/zsh/5.9/functions/Chpwd:/usr/share/zsh/5.9/functions/Completion:/usr/share/zsh/5.9/functions/Completion/AIX:/usr/share/zsh/5.9/functions/Completion/BSD:/usr/share/zsh/5.9/functions/Completion/Base:/usr/share/zsh/5.9/functions/Completion/Cygwin:/usr/share/zsh/5.9/functions/Completion/Darwin:/usr/share/zsh/5.9/functions/Completion/Debian:/usr/share/zsh/5.9/functions/Completion/Linux:/usr/share/zsh/5.9/functions/Completion/Mandriva:/usr/share/zsh/5.9/functions/Completion/Redhat:/usr/share/zsh/5.9/functions/Completion/Solaris:/usr/share/zsh/5.9/functions/Completion/Unix:/usr/share/zsh/5.9/functions/Completion/X:/usr/share/zsh/5.9/functions/Completion/Zsh:/usr/share/zsh/5.9/functions/Completion/openSUSE:/usr/share/zsh/5.9/functions/Exceptions:/usr/share/zsh/5.9/functions/MIME:/usr/share/zsh/5.9/functions/Math:/usr/share/zsh/5.9/functions/Misc:/usr/share/zsh/5.9/functions/Newuser:/usr/share/zsh/5.9/functions/Prompts:/usr/share/zsh/5.9/functions/TCP:/usr/share/zsh/5.9/functions/VCS_Info:/usr/share/zsh/5.9/functions/VCS_Info/Backends:/usr/share/zsh/5.9/functions/Zftp:/usr/share/zsh/5.9/functions/Zle:/usr/share/Lmod/init/ksh_funcs" >declare -x GCC_COLORS="" >declare -x GCC_SPECS="" >declare -x GIT_PAGER="cat" >declare -x GO19CONCURRENTCOMPILATION="0" >declare -x GOMAXPROCS="4" >declare -x GPG_VERIFY_GROUP_DROP="nogroup" >declare -x GPG_VERIFY_USER_DROP="nobody" >declare -x GPSD_PROTOCOLS="" >declare -x GRUB_PLATFORMS="" >declare -x HELIX_RUNTIME="/usr/share/helix/runtime" >declare HOMEPAGE="https://github.com/hetznercloud/cli" >declare IDEPEND="" >declare INHERITED >declare -x INPUT_DEVICES="" >declare -x INSOPTIONS="-m0644" >declare IUSE="" >declare -x IUSE_EFFECTIVE="abi_x86_64 alpha amd64 amd64-linux arm arm64 arm64-macos 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 LE_CONFIG_HOME="/etc/acme-sh/" >declare -x LE_WORKING_DIR="/etc/acme-sh/" >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_TARGETS="" >declare -x LMOD_CACHED_LOADS="yes" >declare -x LMOD_CMD="/usr/share/Lmod/libexec/lmod" >declare -x LMOD_DIR="/usr/share/Lmod/libexec" >declare -x LMOD_PKG="/usr/share/Lmod" >declare -x LMOD_ROOT="/usr/share/Lmod/.." >declare -x LMOD_SETTARG_FULL_SUPPORT="no" >declare -x LMOD_VERSION="8.7.23" >declare -x LMOD_sys="Linux" >declare -x LOGTALKHOME="/usr/share/logtalk-3.47.0" >declare -x LUA_SINGLE_TARGET="" >declare -x LUA_TARGETS="" >declare -x LV2_PATH="/usr/lib64/lv2" >declare -x MAILTO="tinderbox" >declare -x MAKEOPTS=" -j4" >declare -x MANPAGER="manpager" >declare -x MODULEPATH="/etc/modulefiles/Linux:/etc/modulefiles/Core:/usr/share/Lmod/modulefiles/Core" >declare -x MODULEPATH_ROOT="/etc/modulefiles" >declare -x MODULESHOME="/usr/share/Lmod" >declare -x MONKEYD_PLUGINS="" >declare -x MOZ_GMP_PATH="/usr/lib64/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|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 OCAML_COLOR="never" >declare -x OFFICE_IMPLEMENTATION="" >declare -x OMP_DYNAMIC="FALSE" >declare -x OMP_NESTED="FALSE" >declare -x OMP_NUM_THREADS="4" >declare -x OPCODEDIR64="/usr/lib64/csound/plugins64" >declare -x OPENMPI_FABRICS="" >declare -x OPENMPI_OFED_FEATURES="" >declare -x OPENMPI_RM="" >declare -x ORACLE_HOME="/usr/lib64/oracle/client" >declare -x PATH="/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/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/spark-3/bin:/usr/lib/spark-3/sbin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/opt/hermes/bin:/usr/lib64/julia-1.10.0/bin" >declare PDEPEND="" >declare -x PGPLOT_FONT="/usr/lib64/pgplot/grfont.dat" >declare -x PHP_TARGETS="" >declare -x PKGSYSTEM_ENABLE_FSYNC="0" >declare -x PORTAGE_COMPRESSION_COMMAND="zstd -T4" >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/hcloud-1.41.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 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 PYTHONDOCS_3_12="/usr/share/doc/python-docs-3.12.1/html/library" >declare -x PYTHONDONTWRITEBYTECODE="1" >declare -x PYTHON_SINGLE_TARGET="" >declare -x PYTHON_TARGETS="" >declare -x PY_FORCE_COLOR="0" >declare -- QA_FLAGS_IGNORED=".*" >declare -x QEMU_SOFTMMU_TARGETS="" >declare -x QEMU_USER_TARGETS="" >declare RDEPEND="" >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="4" >declare -x RUST_TEST_THREADS="4" >declare -x S="/var/tmp/portage/app-admin/hcloud-1.41.0/work/hcloud-1.41.0" >declare -x SANDBOX_DEBUG="0" >declare -x SANDBOX_DENY="" >declare -x SANDBOX_METHOD="any" >declare -x SANDBOX_PREDICT="/var/tmp/portage/app-admin/hcloud-1.41.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/app-admin/hcloud-1.41.0/homedir/.bash_history" >declare -x SANE_BACKENDS="" >declare -x SCHEME_LIBRARY_PATH="/usr/share/slib/" >declare -x SHELL="/bin/bash" >declare -x SLOT="0" >declare -x SPARK_HOME="/usr/lib/spark-3" >declare -i SRANDOM="3473626924" >declare SRC_URI="https://dev.gentoo.org/~ago/distfiles/hcloud-1.41.0.tar.xz" >declare -x SYMLINK_LIB="no" >declare -x TASKDDATA="/var/lib/taskd" >declare -x TERMINFO="/etc/terminfo" >declare -x TINYSCHEMEINIT="/usr/share/tinyscheme/init.scm" >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 VIDEO_CARDS="" >declare -x VOICEMAIL_STORAGE="" >declare -x WISECONFIGDIR="/usr/share/wise/wisecfg" >declare -x XTABLES_ADDONS="" >declare -x XZ_OPT="-9 -T4" >declare -x __E_DESTTREE="/usr" >declare -x __E_DOCDESTTREE="" >declare -x __E_EXEDESTTREE="" >declare -x __E_INSDESTTREE="" >declare -x __LMOD_SET_FPATH="1" >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" >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 "sys-devel/libtool"; > if grep -q '^LIBTOOL="rdlibtool"' /etc/portage/make.conf; then > add2backlog "sys-devel/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 >} >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 >checkEOL () >{ > if [[ -f /var/tmp/tb/EOL || -f /var/tmp/tb/STOP ]]; then > exit 42; > fi >} >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 >} >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}" >} >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[@]#[+-]}" >} >ml () >{ > eval "$($LMOD_DIR/ml_cmd "$@")" >} >declare -fx ml >module () >{ > if [ -z "${LMOD_SH_DBG_ON+x}" ]; then > case "$-" in > *v*x*) > __lmod_sh_dbg='vx' > ;; > *v*) > __lmod_sh_dbg='v' > ;; > *x*) > __lmod_sh_dbg='x' > ;; > esac; > fi; > if [ -n "${__lmod_sh_dbg:-}" ]; then > set +$__lmod_sh_dbg; > echo "Shell debugging temporarily silenced: export LMOD_SH_DBG_ON=1 for Lmod's output" 1>&2; > fi; > eval "$($LMOD_CMD shell "$@")" && eval "$(${LMOD_SETTARG_CMD:-:} -s sh)"; > __lmod_my_status=$?; > if [ -n "${__lmod_sh_dbg:-}" ]; then > echo "Shell debugging restarted" 1>&2; > set -$__lmod_sh_dbg; > fi; > unset __lmod_sh_dbg; > return $__lmod_my_status >} >declare -fx module >pkg_nofetch () >{ > default >} >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 () >{ > go build -mod vendor -o ${PN} -ldflags "-w -X github.com/hetznercloud/cli/internal/version.Version=${PV}-gentoo" ./cmd/${PN} || die "build failed" >} >src_configure () >{ > default >} >src_install () >{ > dobin ${PN} >} >src_prepare () >{ > default >} >src_test () >{ > ./hcloud version; > if [[ $? -ne 0 ]]; then > die "Test failed"; > fi >} >src_unpack () >{ > default >} >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 921773
:
881929
|
881930
|
881931
| 881932 |
881933
|
881934
|
881935
|
881936