Created attachment 660456 [details] build.log > [...] > Error detected while processing /etc/vim/vimrc: > line 92: > E484: Can't open file ../../runtime/syntax/syntax.vim > Press ENTER or type command to continue Portage 3.0.4 (python 3.7.8-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.31-r6, 5.4.60-gentoo-x86-kmod i686) ================================================================= System uname: Linux-5.4.60-gentoo-x86-kmod-i686-with-gentoo-2.7 KiB Mem: 3106040 total, 2169484 free KiB Swap: 8875836 total, 8845372 free Timestamp of repository gentoo: Tue, 15 Sep 2020 15:35:36 +0000 Head commit of repository gentoo: 547015b4cd335ea67ffb793c21db1c2a268a1e79 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r2::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo dev-util/cmake: 3.16.5::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo, 2.34-r2::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git priority: -1000 ABI="x86" ABI_X86="32" ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" ACCEPT_PROPERTIES="*" ACCEPT_RESTRICT="*" ADA_TARGET="gnat_2018" ARCH="x86" BINPKG_COMPRESS="bzip2" BROOT="" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare" CHOST="i686-pc-linux-gnu" CHOST_x86="i686-pc-linux-gnu" COLLISION_IGNORE="/lib/modules/*" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CPU_FLAGS_X86="mmx mmxext sse sse2" CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m -Wno-error=jump-misses-init -Wno-error=sign-compare" DEFAULT_ABI="x86" EDITOR="/usr/bin/mcedit" ELIBC="glibc" 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" EPREFIX="" EROOT="/" ESYSROOT="/" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -march=i686 -pipe" GCC_SPECS="" GRUB_PLATFORMS="efi-32 pc" GSETTINGS_BACKEND="dconf" HOME="/root" INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/9.3.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.34/info:/usr/share/info" INPUT_DEVICES="libinput" IUSE_IMPLICIT="abi_x86_32 prefix prefix-guest prefix-stack" KERNEL="linux" L10N="en en-US de de-DE" LADSPA_PATH="/usr/lib/ladspa" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LC_MESSAGES="C" LC_PAPER="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LIBDIR_x86="lib" LINGUAS="en de" LOGNAME="root" LV2_PATH="/usr/lib/lv2" MAIL="/var/mail/root" MAKEOPTS="--jobs 5 --load-average 7.95" MANPAGER="manpager" MOTD_SHOWN="pam" MULTILIB_ABIS="x86" NOCOLOR="true" OFFICE_IMPLEMENTATION="libreoffice" OPENCL_PROFILE="ocl-icd" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PWD="/root" PYTHONDONTWRITEBYTECODE="1" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" QT_GRAPHICSSYSTEM="raster" ROOT="/" ROOTPATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/10/bin" RUBY_TARGETS="ruby25 ruby26" SHELL="/bin/bash" SHLVL="2" SSH_TTY="/dev/pts/0" SYSROOT="/" TERM="tmux-256color" TMUX="/tmp//tmux-0/default,3586,0" TMUX_PANE="%4" TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1" USER="root" USERLAND="GNU" VIDEO_CARDS="vmware" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share" XDG_RUNTIME_DIR="/run/user/0" XDG_SESSION_CLASS="user" XDG_SESSION_ID="1" XDG_SESSION_TYPE="tty"
I managed to work around this by adding the following line to the src_prepare section of the ebuild: rm "${S}"/src/testdir/test_startup.vim This does bring to mind a couple of questions. 1. Why does Gentoo force running the test suite with no straightforward (via USE flag, for example) way of disabling it? 2. Why did the developers remove all of the previous versions leaving only a version that won't compile in the portage tree? I note that simply compiling vim outside of portage does not encounter this problem.
(In reply to ta2002 from comment #1) > I managed to work around this by adding the following line to the > src_prepare section of the ebuild: > > rm "${S}"/src/testdir/test_startup.vim > > This does bring to mind a couple of questions. > > 1. Why does Gentoo force running the test suite with no straightforward (via > USE flag, for example) way of disabling it? > It doesn’t. Whissi ran it with FEATURES=test. Note that the test suite seems to hang most of the time anyway. Please share your build.log and emerge —info. > 2. Why did the developers remove all of the previous versions leaving only a > version that won't compile in the portage tree? > The cleaned up versions were for non-slotted Lua. > I note that simply compiling vim outside of portage does not encounter this > problem.
> It doesn’t. Whissi ran it with FEATURES=test. Note that the test suite seems to hang most of the time anyway. > Please share your build.log and emerge —info. Ahh, I do have FEATURES=test, but I have never seen an ebuild where the tests cause the ebuild to fail that did not have the test feature restricted. Further, I have absolutely never seen an ebuild with tests that cause problems that did not have a USE flag to disable tests (app-editors/vim has no such USE flag). # emerge --info Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.2.0, glibc-2.32-r7, 5.4.80-gentoo-r1 x86_64) ================================================================= System uname: Linux-5.4.80-gentoo-r1-x86_64-Intel-R-_Core-TM-_i5-3470_CPU_@_3.20GHz-with-glibc2.2.5 KiB Mem: 16287048 total, 2016680 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 30 Mar 2021 06:00:01 +0000 Head commit of repository gentoo: 69d01a4273a556b1205a7a575cb3811ab7e2443d sh bash 5.0_p18 ld GNU ld (Gentoo 2.35.1 p2) 2.35.1 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18_p7::gentoo, 3.8.8::gentoo dev-util/cmake: 3.18.5::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2-r1::gentoo sys-devel/binutils: 2.35.1-r1::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.3.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r7::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 28 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=ivybridge -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=ivybridge -fstack-protector-strong -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=ivybridge -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=ivybridge -fstack-protector-strong -mfpmath=sse" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y" 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" FCFLAGS="-O2 -pipe -fomit-frame-pointer -march=ivybridge -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=ivybridge -fstack-protector-strong -mfpmath=sse" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox protect-owned qa-unresolved-soname-deps sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -fomit-frame-pointer -march=ivybridge -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx -msse4.2 -msse4.1 -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=ivybridge -fstack-protector-strong -mfpmath=sse" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4 --load-average=4" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="64bit R X a52 aac aalib acoustid acpi additions adobe-cff aio alsa amd64 ap arcade arping asf asm audio audiofile avcodec avformat blake2 blksha1 bookmarks bwscheduler bzip2 cacert cairo caps cdda cdio cdr chm chromaprint chromium chroot classic cli client clock-panel-plugin cpumining crypt cryptsetup css cups daemon dav1d dbus desktop-utils device-mapper dga directfb display-manager djvu downloadorder dri dri3 drm drop-root dvbpsi dvd dvdnav dvdr e2e ebook egl eigen encode epub espeak exceptions exif expat extra extra-filters fbcon fdt ffmpeg file-transfer filecaps flac fluidsynth fontconfig fortran gallium gbm gcj gd ggi gif glass glib glibc-omitfp globalcfg gmp gpm gsm handbook hardcoded-tables harfbuzz hddtemp hpcups hpn hunspell iconv icu idea imap imlib infowidget inotify iostats ipc ipfilter iptables ipv6 jabber javafx jbig jit joystick jpeg jpeg2k jsbsim kdcraw kmod lame lcms less libass libglvnd libinput libkms libmpv libsamplerate libtirpc libwww live lm_sensors logviewer luajittex lzma mad matroska mbox mdns-bundled memlimit mesh midi mime minizip mmx mmxext mouse mp3 mp4 mpeg mta nas native-extensions native-symlinks ncurses net netifrc network nls no-old-linux nodrm npm nptl ntfsprogs ntp ocamlopt offlinehelp ofx ogg okular omemo opengl openmedia openmp openssl opus oscar osdmenu p2p pango pch pcre pcre16 pdf pie pin-upstream-blobs pm-utils png portmon postproc private-home ps qml quotes raptor readline real recursion-limit redland rsync-verify rtc rtmp savedconfig scanfolder scanner scp scrypt sdl search seccomp secure-delete security-key sensord shared-glapi shm silc slirp slit smbclient smtp snapshot sndfile sound speex spell spice split-usr sse sse2 sse2_4way sse2check sse4 ssl ssse3 stats svc svg swscale sysfs system-icu systray taglib tcmalloc tcpd test theora thin threads threadsafe tiff tinfo tls-heartbeat toolbar truetype udev unicode upower urandom usb usbredir userlocales userns utils uvm v4l2 vaapi vdpau vhost-net vhost-user-fs video vorbis vtv vulkan wav webdav-neon webp wg-quick whitelist widgets x264 x265 xattr xcb xinerama xkb xml xmp xscreensaver xslt xv xvfb xvid zlib zrtp zstd" ABI_X86="64" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-GB ru" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="i965 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 696189 [details] vim build log
From Whissi's log: ``` Failures: From test_startup.vim: Found errors in Test_exrc(): Caught exception in Test_exrc(): Vim(call):E484: Can't open file Xdir/Xtestout @ function RunTheTest[39]..Test_exrc, line 13 Found errors in Test_w_arg(): Caught exception in Test_w_arg(): Vim(call):E739: Cannot create directory: Xdir @ function RunTheTest[39]..Test_w_arg, line 13 From test_viminfo.vim: Found errors in Test_viminfo_perm(): Caught exception in Test_viminfo_perm(): Vim(call):E739: Cannot create directory: Xdir @ function RunTheTest[39]..Test_viminfo_perm, line 11 TEST FAILURE make: *** [Makefile:58: report] Error 1 make: Leaving directory '/var/tmp/portage/app-editors/vim-8.2.0814/work/vim-8.2.0814/src/testdir' * ERROR: app-editors/vim-8.2.0814::gentoo failed (test phase): * emake failed ```
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32fc93f4c6d277ba025266fe97adc91be4eaf2b6 commit 32fc93f4c6d277ba025266fe97adc91be4eaf2b6 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-29 05:57:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-29 05:58:23 +0000 app-editors/vim: skip flaky/hanging tests Closes: https://bugs.gentoo.org/742710 Closes: https://bugs.gentoo.org/616680 Signed-off-by: Sam James <sam@gentoo.org> app-editors/vim/vim-8.2.3428-r1.ebuild | 14 ++++++++++++++ app-editors/vim/vim-9999.ebuild | 14 ++++++++++++++ 2 files changed, 28 insertions(+)