Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 837979 Details for
Bug 883433
dev-ml/merlin-4.6 - Error: Library seq not found.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
environment
environment (text/plain), 33.79 KB, created by
Toralf Förster
on 2022-11-28 15:36:12 UTC
(
hide
)
Description:
environment
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-11-28 15:36:12 UTC
Size:
33.79 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 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=$'\n\t!!<dev-ml/seq-0.3\n\ttest? ( app-misc/jq )\n dev-ml/dune dev-lang/ocaml' >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_10 multilib systemd sysv-utils udev" >declare -x BROWSER="xdg-open" >declare -- BYTECOMPFLAGS="-L ." >declare -x CALLIGRA_FEATURES="" >declare -x CAMERAS="" >declare -x CARGO_TERM_COLOR="never" >declare -x CATKIN_PREFIX_PATH="/usr" >declare -x CBUILD="x86_64-pc-linux-gnu" >declare -x CFLAGS="-pipe -march=native -fno-diagnostics-color -O2" >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 CURL_SSL="" >declare -x CXXFLAGS="-pipe -march=native -fno-diagnostics-color -O2" >declare -x DATAPLOT_FILES="/usr/share/dataplot" >declare -x DATAPLOT_WEB="OFF" >declare -x DEFAULT_ABI="amd64" >declare -x DEFINED_PHASES=" compile install postinst postrm prepare test unpack" >declare DEPEND=$'\n\t>=dev-lang/ocaml-4.12:=[ocamlopt?]\n\tdev-ml/csexp:=\n\t>=dev-ml/yojson-2.0.0:=\n\tdev-ml/menhir:=\n\t>=dev-ml/dune-2.9:=\n\t|| (\n\t\tdev-lang/ocaml:0/4.12\n\t\tdev-lang/ocaml:0/4.13\n\t\tdev-lang/ocaml:0/4.14\n\t)\n\temacs? (\n\t\t>=app-editors/emacs-23.1:*\n\t\tapp-emacs/auto-complete\n\t\tapp-emacs/company-mode\n\t)\n >=dev-lang/ocaml-4:=[ocamlopt?] dev-ml/dune:=' >declare DESCRIPTION="Context sensitive completion for OCaml in Vim and Emacs" >declare -x DIROPTIONS="-m0755" >declare -- DUNE_PKG_NAME="merlin" >declare -x EAPI="8" >declare -x EGO_BUILD_FLAGS="-p 4" >declare -x ELIBC="glibc" >declare -- EMACS="/usr/bin/emacs" >declare -- EMACSFLAGS="-batch -q --no-site-file" >declare -- EMACSMODULES="/usr/@libdir@/emacs/modules" >declare -x ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" >declare -- EPOCHREALTIME="1669646578.360101" >declare -- EPOCHSECONDS="1669646578" >declare -x EXEOPTIONS="-m0755" >declare -x FCFLAGS="-pipe -march=native -fno-diagnostics-color -O2" >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="-pipe -march=native -fno-diagnostics-color -O2" >declare -x FFTOOLS="" >declare -x GCC_COLORS="" >declare -x GCC_SPECS="" >declare -x GIT_PAGER="cat" >declare -x GNUMAKEFLAGS=" --jobserver-style=pipe --shuffle" >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 GSETTINGS_BACKEND="gconf" >declare HOMEPAGE="https://github.com/ocaml/merlin/" >declare IDEPEND="" >declare -x INHERITED=" elisp-common multiprocessing dune" >declare -x INPUT_DEVICES="" >declare -x INSOPTIONS="-m0644" >declare IUSE="emacs +ocamlopt test " >declare -x IUSE_EFFECTIVE="abi_x86_64 alpha amd64 amd64-linux arm arm64 arm64-macos elibc_Cygwin elibc_Darwin elibc_SunOS elibc_Winnt elibc_bionic elibc_glibc elibc_mingw elibc_musl emacs hppa ia64 kernel_Darwin kernel_SunOS kernel_Winnt kernel_linux loong m68k mips ocamlopt ppc ppc-macos ppc64 ppc64-linux prefix prefix-guest prefix-stack riscv s390 sparc sparc-solaris sparc64-solaris test userland_BSD userland_GNU x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt" >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 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 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 LUA_SINGLE_TARGET="" >declare -x LUA_TARGETS="" >declare -x MAILTO="tinderbox" >declare -x MAKEOPTS=" -j4" >declare -x MANPAGER="manpager" >declare -x MONKEYD_PLUGINS="" >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 -- NEED_EMACS="23.1" >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 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.10/ebuild-helpers/xattr:/usr/lib/portage/python3.10/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/15/bin" >declare PDEPEND="" >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/merlin-4.6/html") >declare -a PORTAGE_DOSTRIP=([0]="/") >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 USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND" >declare -- PROPERTIES="" >declare -x PYTEST_ADDOPTS="--color=no" >declare -x PYTHIA8DATA="/usr/share/pythia8/xmldoc" >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=$'\n\t>=dev-lang/ocaml-4.12:=[ocamlopt?]\n\tdev-ml/csexp:=\n\t>=dev-ml/yojson-2.0.0:=\n\tdev-ml/menhir:=\n\t>=dev-ml/dune-2.9:=\n\t|| (\n\t\tdev-lang/ocaml:0/4.12\n\t\tdev-lang/ocaml:0/4.13\n\t\tdev-lang/ocaml:0/4.14\n\t)\n\temacs? (\n\t\t>=app-editors/emacs-23.1:*\n\t\tapp-emacs/auto-complete\n\t\tapp-emacs/company-mode\n\t)\n >=dev-lang/ocaml-4:=[ocamlopt?] dev-ml/dune:=' >declare REPOSITORY >declare REQUIRED_USE="" >declare RESTRICT="test" >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 ROS_DISTRO="Gentoo" >declare -x ROS_MASTER_URI="http://localhost:11311/" >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 RUST_TEST_TASKS="4" >declare -x RUST_TEST_THREADS="4" >declare -x S="/var/tmp/portage/dev-ml/merlin-4.6/work/merlin-4.6" >declare -x SANDBOX_DEBUG="0" >declare -x SANDBOX_DENY="" >declare -x SANDBOX_METHOD="any" >declare -x SANDBOX_PREDICT="/var/tmp/portage/dev-ml/merlin-4.6/homedir:/dev/crypto:/var/cache/man:/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-ml/merlin-4.6/homedir/.bash_history" >declare -x SANE_BACKENDS="" >declare -x SBCL_HOME="/usr/lib64/sbcl" >declare -x SBCL_SOURCE_ROOT="/usr/lib64/sbcl/src" >declare -x SHELL="/bin/bash" >declare -- SITEETC="/usr/share/emacs/etc" >declare -- SITEFILE="50merlin-gentoo.el" >declare -- SITELISP="/usr/share/emacs/site-lisp" >declare -x SKIP_KERNEL_CHECK="y" >declare -x SLOT="0/4.6" >declare -i SRANDOM="3520341872" >declare SRC_URI=$'\n\thttps://github.com/ocaml/merlin/releases/download/v4.6-412/merlin-4.6-412.tbz\n\thttps://github.com/ocaml/merlin/releases/download/v4.6-413/merlin-4.6-413.tbz\n\thttps://github.com/ocaml/merlin/releases/download/v4.6-414/merlin-4.6-414.tbz\n' >declare -x SYMLINK_LIB="no" >declare -x TASKDDATA="/var/lib/taskd" >declare -x TERMINFO="/etc/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 ocamlopt 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-linux arm arm64 arm64-macos hppa ia64 loong m68k mips ppc ppc64 ppc64-linux ppc-macos riscv s390 sparc sparc64-solaris sparc-solaris x64-cygwin x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris x86-winnt" >declare -x USE_EXPAND_VALUES_ELIBC="bionic Cygwin Darwin glibc mingw musl SunOS Winnt" >declare -x USE_EXPAND_VALUES_KERNEL="Darwin linux SunOS Winnt" >declare -x USE_EXPAND_VALUES_USERLAND="BSD GNU" >declare -x UWSGI_PLUGINS="" >declare -x VIDEO_CARDS="" >declare -x VOICEMAIL_STORAGE="" >declare -x XTABLES_ADDONS="" >declare -- _ELISP_EMACS_VERSION="" >declare -x _E_DESTTREE_="/usr" >declare -x _E_DOCDESTTREE_="" >declare -x _E_EXEDESTTREE_="" >declare -x _E_INSDESTTREE_="" >declare -- _MULTIPROCESSING_ECLASS="1" >declare -x bugz_timeout="timeout --signal=15 --kill-after=1m 3m" >declare -x enable_year2038="no" >declare -x taskfile="/var/tmp/tb/task" >SwitchGCC () >{ > local highest=$(gcc-config --list-profiles --nocolor | cut -f3 -d' ' -s | grep -E 'x86_64-(pc|gentoo)-linux-(gnu|musl)-.*[0-9]$' | tail -n 1); > if ! gcc-config --list-profiles --nocolor | grep -q -F "$highest *"; then > local 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"; > add2backlog "%emerge --unmerge sys-devel/gcc:$(cut -f1 -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 () >{ > if [[ $1 =~ '@' || $1 =~ '%' ]]; then > if [[ "$(tail -n 1 /var/tmp/tb/backlog.1st)" != "$1" ]]; then > echo "$1" >> /var/tmp/tb/backlog.1st; > fi; > else > if ! grep -q "^${1}$" /var/tmp/tb/backlog.1st; then > echo "$1" >> /var/tmp/tb/backlog.1st; > fi; > fi >} >declare -fx add2backlog >dune-install () >{ > local -a pkgs=("${@}"); > [[ ${#pkgs[@]} -eq 0 ]] && pkgs=("${DUNE_PKG_NAME}"); > local -a myduneopts=(--prefix="${ED%/}/usr" --libdir="${D%/}$(ocamlc -where)" --mandir="${ED%/}/usr/share/man"); > local pkg; > for pkg in "${pkgs[@]}"; > do > ebegin "Installing ${pkg}"; > dune install ${myduneopts[@]} ${pkg}; > eend $? || die; > if [ -d "${ED%/}/usr/doc/${pkg}" ]; then > mkdir -p "${ED%/}/usr/share/doc/${PF}/" || die; > mv "${ED%/}/usr/doc/${pkg}" "${ED%/}/usr/share/doc/${PF}/" || die; > rm -rf "${ED%/}/usr/doc" || die; > fi; > done >} >dune_src_compile () >{ > ebegin "Building"; > dune build @install -j $(makeopts_jobs) --profile release; > eend $? || die >} >dune_src_install () >{ > dune-install ${1:-${DUNE_PKG_NAME}} >} >dune_src_test () >{ > ebegin "Testing"; > dune runtest -j $(makeopts_jobs) --profile release; > eend $? || die >} >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 ) >} >elisp-check-emacs-version () >{ > if [[ -z ${_ELISP_EMACS_VERSION} ]]; then > local have_emacs; > have_emacs=$(elisp-emacs-version) || die "Could not determine Emacs version"; > einfo "Emacs version: ${have_emacs}"; > if [[ ${have_emacs} =~ XEmacs|Lucid ]]; then > die "XEmacs detected. This package needs GNU Emacs."; > fi; > if ! [[ ${have_emacs} =~ ^[0-9]+(\.[0-9]+)*$ ]]; then > die "Malformed version string: ${have_emacs}"; > fi; > _ELISP_EMACS_VERSION=${have_emacs}; > fi; > if ! ver_test "${_ELISP_EMACS_VERSION}" -ge "${NEED_EMACS}"; then > eerror "This package needs at least Emacs ${NEED_EMACS}."; > eerror "Use \"eselect emacs\" to select the active version."; > die "Emacs version too low"; > fi >} >elisp-compile () >{ > elisp-check-emacs-version; > ebegin "Compiling GNU Emacs Elisp files"; > ${EMACS} ${EMACSFLAGS} ${BYTECOMPFLAGS} -f batch-byte-compile "$@"; > eend $? "elisp-compile: batch-byte-compile failed" || die >} >elisp-emacs-version () >{ > local version ret tmout="timeout -k 5 55"; > ${tmout} true &> /dev/null || tmout=""; > echo "(princ emacs-version)" > "${T}"/emacs-version.el; > version=$(unset TERM DISPLAY >${tmout} ${EMACS} ${EMACSFLAGS} -l "${T}"/emacs-version.el < /dev/null); > ret=$?; > rm -f "${T}"/emacs-version.el; > if [[ ${ret} -ne 0 ]]; then > eerror "elisp-emacs-version: Failed to run ${EMACS}"; > [[ $(realpath ${EMACS} 2> /dev/null) == */emacs* ]] || eerror "This package needs GNU Emacs"; > return ${ret}; > fi; > if [[ -z ${version} ]]; then > eerror "elisp-emacs-version: Could not determine Emacs version"; > return 1; > fi; > echo "${version}" >} >elisp-install () >{ > local subdir="$1"; > shift; > ebegin "Installing Elisp files for GNU Emacs support"; > ( insinto "${SITELISP}/${subdir}"; > doins "$@" ); > eend $? "elisp-install: doins failed" || die >} >elisp-make-autoload-file () >{ > local f="${1:-${PN}-autoloads.el}" null="" page=''; > shift; > elisp-check-emacs-version; > ebegin "Generating autoload file for GNU Emacs"; > cat > "${f}" <<-EOF >;;; ${f##*/} --- autoloads for ${PN} > >;;; Commentary: >;; Automatically generated by elisp-common.eclass >;; DO NOT EDIT THIS FILE > >;;; Code: >${page} >;; Local ${null}Variables: >;; version-control: never >;; no-byte-compile: t >;; no-update-autoloads: t >;; End: > >;;; ${f##*/} ends here >EOF > > ${EMACS} ${EMACSFLAGS} --eval "(require 'autoload)" --eval "(setq make-backup-files nil)" --eval "(setq generated-autoload-file (expand-file-name \"${f}\"))" -f batch-update-autoloads "${@-.}"; > eend $? "elisp-make-autoload-file: batch-update-autoloads failed" || die >} >elisp-modules-install () >{ > local subdir="$1"; > shift; > ebegin "Installing dynamic modules for GNU Emacs support"; > ( exeinto "${EMACSMODULES//@libdir@/$(get_libdir)}/${subdir}"; > doexe "$@" ); > eend $? "elisp-modules-install: doins failed" || die >} >elisp-site-file-install () >{ > local sf="${1##*/}" my_pn="${2:-${PN}}" modules ret; > local header=";;; ${PN} site-lisp configuration"; > [[ ${sf} == [0-9][0-9]*-gentoo*.el ]] || ewarn "elisp-site-file-install: bad name of site-init file"; > [[ ${sf%-gentoo*.el} != "${sf}" ]] && sf="${sf%-gentoo*.el}-gentoo.el"; > sf="${T}/${sf}"; > ebegin "Installing site initialisation file for GNU Emacs"; > [[ $1 == "${sf}" ]] || cp "$1" "${sf}"; > modules=${EMACSMODULES//@libdir@/$(get_libdir)}; > sed -i -e "1{:x;/^\$/{n;bx;};/^;.*${PN}/I!s:^:${header}\n\n:;1s:^:\n:;}" -e "s:@SITELISP@:${EPREFIX}${SITELISP}/${my_pn}:g" -e "s:@SITEETC@:${EPREFIX}${SITEETC}/${my_pn}:g" -e "s:@EMACSMODULES@:${EPREFIX}${modules}/${my_pn}:g;\$q" "${sf}"; > ( insinto "${SITELISP}/site-gentoo.d"; > doins "${sf}" ); > ret=$?; > rm -f "${sf}"; > eend ${ret} "elisp-site-file-install: doins failed" || die >} >elisp-site-regen () >{ > local sitelisp=${ROOT%/}${EPREFIX}${SITELISP}; > local sf i ret=0 null="" page=''; > local -a sflist; > if [[ ${EBUILD_PHASE} == *rm && ! -e ${sitelisp}/site-gentoo.el ]]; then > ewarn "Refusing to create site-gentoo.el in ${EBUILD_PHASE} phase."; > return 0; > fi; > [[ -d ${sitelisp} ]] || die "elisp-site-regen: Directory ${sitelisp} does not exist"; > [[ -d ${T} ]] || die "elisp-site-regen: Temporary directory ${T} does not exist"; > ebegin "Regenerating site-gentoo.el for GNU Emacs (${EBUILD_PHASE})"; > for sf in "${sitelisp}"/site-gentoo.d/[0-9][0-9]*.el; > do > [[ -r ${sf} ]] && sflist+=("${sf}"); > done; > cat <<-EOF > "${T}"/site-gentoo.el || >;;; site-gentoo.el --- site initialisation for Gentoo-installed packages > >;;; Commentary: >;; Automatically generated by elisp-common.eclass >;; DO NOT EDIT THIS FILE > >;;; Code: >EOF > ret=$? > sed '$q' "${sflist[@]}" < /dev/null >> "${T}"/site-gentoo.el || ret=$?; > cat <<-EOF >> "${T}"/site-gentoo.el || > >${page} >(provide 'site-gentoo) > >;; Local ${null}Variables: >;; no-byte-compile: t >;; buffer-read-only: t >;; End: > >;;; site-gentoo.el ends here >EOF > ret=$? > if [[ ${ret} -ne 0 ]]; then > eend ${ret} "elisp-site-regen: Writing site-gentoo.el failed."; > die; > else > if cmp -s "${sitelisp}"/site-gentoo.el "${T}"/site-gentoo.el; then > rm -f "${T}"/site-gentoo.el; > eend 0; > einfo "... no changes."; > else > mv "${T}"/site-gentoo.el "${sitelisp}"/site-gentoo.el; > eend $? "elisp-site-regen: Replacing site-gentoo.el failed" || die; > case ${#sflist[@]} in > 0) > [[ ${PN} == emacs-common ]] || ewarn "... Huh? No site initialisation files found." > ;; > 1) > einfo "... ${#sflist[@]} site initialisation file included." > ;; > *) > einfo "... ${#sflist[@]} site initialisation files included." > ;; > esac; > fi; > fi; > return 0 >} >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:-$(( $(get_nproc) + 1 ))}: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 >} >pkg_postinst () >{ > use emacs && elisp-site-regen >} >pkg_postrm () >{ > use emacs && elisp-site-regen >} >source_profile () >{ > set +u; > source /etc/profile 2> /dev/null; > set -u >} >declare -fx source_profile >src_compile () >{ > dune build @install || die; > if use emacs; then > rm emacs/merlin-iedit.el || die; > BYTECOMPFLAGS="-L emacs" elisp-compile emacs/*.el; > fi >} >src_configure () >{ > default >} >src_install () >{ > dune_src_install; > if use emacs; then > elisp-install ${PN} emacs/*.el{,c}; > elisp-site-file-install "${FILESDIR}/${SITEFILE}"; > fi >} >src_prepare () >{ > default; > rm emacs/dune || die; > if [[ -f tests/test-dirs/occurrences/issue1404.t ]]; then > rm tests/test-dirs/occurrences/issue1404.t || die; > fi; > rm -r tests/test-dirs/locate/context-detection/cd-mod_constr.t || die >} >src_test () >{ > dune_src_test "$@" >} >src_unpack () >{ > default; > if has_version "dev-lang/ocaml:0/4.12"; then > mv ${P}-412 "${S}" || die; > else > if has_version "dev-lang/ocaml:0/4.13"; then > mv ${P}-413 "${S}" || die; > else > if has_version "dev-lang/ocaml:0/4.14"; then > mv ${P}-414 "${S}" || die; > fi; > fi; > fi >} >syncRepo () >{ > local synclog=/var/tmp/tb/sync.log; > local curr_time=$EPOCHSECONDS; > cd /var/db/repos/gentoo; > 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; > fi; > echo "git status" >> $synclog; > git status &>> $synclog; > if ( echo -e "\nTrying to restore ...\n"; > git stash; > git stash drop; > git restore . ) &>> $synclog; then > if ! emaint sync --auto &>> $synclog; then > Finish 13 "still unfixed ::gentoo" $synclog; > else > Mail "INFO: fixed ::gentoo" $synclog; > fi; > else > Finish 13 "cannot restore ::gentoo" $synclog; > 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+3600 )) second ago }".."@{ 1 hour ago }" | grep -F -e '/files/' -e '.ebuild' -e 'Manifest' | cut -f1-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 883433
:
837973
|
837975
|
837977
| 837979 |
837981
|
837983
|
837985