EWbuild fails to update to recent version and fails during compile phase. Reproducible: Always Steps to Reproduce: # emerge -uND --with-bdeps=y --keep-going=y --fail-clean=y --backtrack=30 --quiet-build world or # emerge -1 automat Actual Results: Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-python/automat-20.2.0-r1::gentoo * Automat-20.2.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking Automat-20.2.0.tar.gz to /tmp/portage/dev-python/automat-20.2.0-r1/work >>> Source unpacked in /tmp/portage/dev-python/automat-20.2.0-r1/work >>> Preparing source in /tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0 ... * Applying test_visualize-twisted-import-errors.patch ... [ ok ] * Applying automat-20.2.0-py311.patch ... [ ok ] * Build system packages: * dev-python/gpep517 : 6 * dev-python/installer : 0.5.1 * dev-python/setuptools : 62.3.2-r1 * dev-python/setuptools_scm : 6.4.2 * dev-python/wheel : 0.37.1-r1 >>> Source prepared. >>> Configuring source in /tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0 ... >>> Source configured. >>> Compiling source in /tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0 ... * python3_9: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for Automat-20.2.0 via setuptools.build_meta:__legacy__ Traceback (most recent call last): File "/usr/lib/python-exec/python3.9/gpep517", line 4, in <module> sys.exit(main()) File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 191, in main return func(args) File "/usr/lib/python3.9/site-packages/gpep517/__main__.py", line 87, in build_wheel wheel_name = backend.build_wheel(args.wheel_dir, args.config_json) File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 244, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 281, in run_setup super(_BuildMetaLegacyBackend, File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup exec(compile(code, __file__, 'exec'), locals()) File "setup.py", line 8, in <module> from m2r import parse_from_file File "/usr/lib/python3.9/site-packages/m2r.py", line 59, in <module> class RestBlockGrammar(mistune.BlockGrammar): AttributeError: module 'mistune' has no attribute 'BlockGrammar' * ERROR: dev-python/automat-20.2.0-r1::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3304: Called distutils-r1_src_compile * environment, line 1567: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 685: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2990: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2573: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2571: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1027: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1552: Called distutils-r1_python_compile * environment, line 1359: Called distutils_pep517_install '/tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0-python3_9/install' * environment, line 1872: Called die * The specific snippet of code: * einfo " Installing the wheel to ${root}"; * * If you need support, post the output of `emerge --info '=dev-python/automat-20.2.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/automat-20.2.0-r1::gentoo'`. * The complete build log is located at '/tmp/portage/dev-python/automat-20.2.0-r1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-python/automat-20.2.0-r1/temp/environment'. * Working directory: '/tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0' * S: '/tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0' >>> Failed to emerge dev-python/automat-20.2.0-r1, Log file: >>> '/tmp/portage/dev-python/automat-20.2.0-r1/temp/build.log' * Messages for package dev-python/automat-20.2.0-r1: * ERROR: dev-python/automat-20.2.0-r1::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 127: Called src_compile * environment, line 3304: Called distutils-r1_src_compile * environment, line 1567: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 685: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2990: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2573: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2571: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1027: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1552: Called distutils-r1_python_compile * environment, line 1359: Called distutils_pep517_install '/tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0-python3_9/install' * environment, line 1872: Called die * The specific snippet of code: * einfo " Installing the wheel to ${root}"; * * If you need support, post the output of `emerge --info '=dev-python/automat-20.2.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/automat-20.2.0-r1::gentoo'`. * The complete build log is located at '/tmp/portage/dev-python/automat-20.2.0-r1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-python/automat-20.2.0-r1/temp/environment'. * Working directory: '/tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0' * S: '/tmp/portage/dev-python/automat-20.2.0-r1/work/Automat-20.2.0' Expected Results: Package compiles $ emerge --info Portage 3.0.30 (python 3.9.13-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-11.3.0, glibc-2.35-r5, 5.17.5-gentoo x86_64) ================================================================= System uname: Linux-5.17.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.35 KiB Mem: 32773728 total, 5998780 free KiB Swap: 2097128 total, 2097128 free Timestamp of repository gentoo: Tue, 31 May 2022 07:00:01 +0000 Head commit of repository gentoo: ec3bbf85915ac2b0107f079657577c9687fca3cf sh bash 5.1_p16 ld GNU ld (Gentoo 2.38 p4) 2.38 distcc 3.4 x86_64-pc-linux-gnu [enabled] app-misc/pax-utils: 1.3.4::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.1-r3::gentoo dev-lang/python: 3.9.13::gentoo, 3.10.4_p1::gentoo dev-lang/rust: 1.60.0::gentoo dev-util/cmake: 3.23.1::gentoo dev-util/meson: 0.62.1::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/sandbox: 2.29::gentoo sys-apps/systemd: 251.1::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 14.0.3::gentoo sys-devel/gcc: 11.3.0::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/llvm: 14.0.3::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.35-r5::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://lambda/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sinustrom-test location: /var/db/repos/sinustrom-test masters: gentoo science location: /var/db/repos/science sync-type: laymansync sync-uri: https://anongit.gentoo.org/git/proj/sci.git masters: gentoo priority: 50 sinustrom location: /var/db/repos/sinustrom sync-type: laymansync sync-uri: https://github.com/zpuskas/sinustrom-gentoo-overlay.git masters: gentoo priority: 50 Installed sets: @openwrt-prerequisites ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=skylake -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -msgx -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mclflushopt -mxsavec -mxsaves --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=skylake -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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="-march=skylake -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -msgx -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mrdseed -mprfchw -madx -mfxsr -mxsave -mxsaveopt -mclflushopt -mxsavec -mxsaves --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=skylake -O3 -pipe" DISTDIR="/var/cache/distfiles" 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" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live cgroup collision-protect config-protect-if-modified distcc distlocks 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="rsync://172.24.0.2/gentoo-distfiles http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j80 -l8" 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="/tmp" SHELL="/bin/zsh" USE="X a52 aac acl acpi activities aes alsa amd64 avx avx2 bash-completion bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr encode exif f16c flac fma3 fortran gdbm gif gphoto2 gpm gtk gui hardened iconv icu ipv6 jpeg jpeg2k kde kwallet lcms libglvnd libnotify libtirpc lm_sensors lto lzma mad mmx mmxext mng mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opencl opengl openmp pam pango pclmul pcre pdf plasma png policykit popcnt posix ppds pulseaudio qml qt5 readline sdl seccomp smp spell split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd threads tiff truetype udev udisks unicode upower usb uxa vaapi vdpau vim-syntax vorbis webp widgets wifi wxwidgets x264 xattr xcb xml xpm xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" ALSA_CARDS="hda-intel usb-audio" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul 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" INPUT_DEVICES="libinput wacom synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="x86 BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="x86_64 arm aarch64" QEMU_USER_TARGETS="x86_64 arm aarch64" RUBY_TARGETS="ruby30 ruby31" SANE_BACKENDS="plustek genesys pixma" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" 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: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 781772 [details] build.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf81b3a4802863e27bc8c43f85a6c999ebb65c8 commit 6bf81b3a4802863e27bc8c43f85a6c999ebb65c8 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2022-06-03 09:09:58 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-06-03 09:12:11 +0000 dev-python/automat: Add a blocker on m2r Closes: https://bugs.gentoo.org/848900 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/automat/automat-20.2.0-r1.ebuild | 1 + 1 file changed, 1 insertion(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f2a7ebaa5c68a594443750b31d53a6764d06699 commit 5f2a7ebaa5c68a594443750b31d53a6764d06699 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-14 19:20:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-14 19:20:25 +0000 dev-python/automat: patch out m2r usage This avoids the hard blocker with m2r (which is now last-rited) which makes upgrades a lot smoother (no need for manual intervention). Bug: https://bugs.gentoo.org/847532 Bug: https://bugs.gentoo.org/848900 Signed-off-by: Sam James <sam@gentoo.org> dev-python/automat/automat-20.2.0-r1.ebuild | 2 +- .../automat/files/automat-20.2.0-ignore-m2r.patch | 25 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-)