failed to build due to missing directories. (if python_targets_python2_7 is not enabled). Reproducible: Always Actual Results: >>> '/var/log/portage/app-arch:brotli-1.0.7:20200105-000729.log' * Package: app-arch/brotli-1.0.7 * Repository: gentoo * Maintainer: candrews@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python python_targets_python3_6 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Will copy sources from /var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7_build * python3_6: copying to /var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7_build-python3_6 cp: cannot stat '/var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7_build': No such file or directory * ERROR: app-arch/brotli-1.0.7::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_prepare * environment, line 4085: Called distutils-r1_src_prepare * environment, line 1576: Called distutils-r1_python_prepare_all * environment, line 1492: Called python_copy_sources * environment, line 3174: Called multibuild_copy_sources * environment, line 2484: Called multibuild_foreach_variant '_multibuild_create_source_copy' * environment, line 2516: Called _multibuild_run '_multibuild_create_source_copy' * environment, line 2514: Called _multibuild_create_source_copy * environment, line 2482: Called die * The specific snippet of code: * cp -p -R "${cp_args[@]}" "${_MULTIBUILD_INITIAL_BUILD_DIR}" "${BUILD_DIR}" || die * * If you need support, post the output of `emerge --info '=app-arch/brotli-1.0.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/brotli-1.0.7::gentoo'`. * The complete build log is located at '/var/log/portage/app-arch:brotli-1.0.7:20200105-000729.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-arch/brotli-1.0.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-arch/brotli-1.0.7/temp/environment'. * Working directory: '/var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7' * S: '/var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7' * * The following package has failed to build, install, or execute postinst: * * (app-arch/brotli-1.0.7:0/1::gentoo, ebuild scheduled for merge), Log file: * '/var/log/portage/app-arch:brotli-1.0.7:20200105-000729.log' * Expected Results: Build independant of python 7.2?
Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.19.86-gentoo-x86_64-AMD_A8-5600K_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.6 KiB Mem: 7402396 total, 3852788 free KiB Swap: 8388604 total, 8386292 free Timestamp of repository gentoo: Sat, 04 Jan 2020 12:25:45 +0000 Head commit of repository gentoo: 3a889a2e3715e45f794d3c6bff3b2f44fe02ba5e sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.32 p2) 2.32.0 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] ccache version 3.7.4 [disabled] app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17::gentoo, 3.5.7::gentoo, 3.6.9::gentoo dev-util/ccache: 3.7.4::gentoo dev-util/cmake: 3.14.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git priority: -1000 local location: /usr/local/portage masters: gentoo noci location: /usr/local/portage-noci sync-type: rsync sync-uri: rsync://core.noci.local/portage-noci masters: gentoo sync-rsync-extra-opts: --exclude ChangeLog --delete-excluded das-labor location: /var/lib/layman/das-labor masters: gentoo priority: 50 freeswitch location: /var/lib/layman/freeswitch masters: gentoo priority: 50 matrix location: /var/lib/layman/matrix masters: gentoo priority: 50 pentoo location: /var/lib/layman/pentoo masters: gentoo priority: 50 ruby location: /var/lib/layman/ruby masters: gentoo priority: 50 voyageur location: /var/lib/layman/voyageur masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE PUEL dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /var/bind /var/lib/i2pd/certificates /var/ossec/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/tmp/portdist" EMERGE_DEFAULT_OPTS="--autounmask-write --quiet --keep-going --with-bdeps=y --backtrack=15 --complete-graph --tree " ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/" INSTALL_MASK="/lib/systemd /usr/lib/systemd /etc/systemd" LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en nl en_US" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded" 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="acl acpi amd64 asterisk audiofile audit avahi bashcompletion berkdb bzip2 caps cli crypt cscope curl cxx dbus dga dri elogind encode exif expat fam fortran gdbm geoip hal howl-compat ical iconv idn ieee1394 imap iproute2 ipv6 jabber java kerberos ldap libtirpc multilib mysql mysqli ncurses netboot network nls nptl openldap openmp pam parse-clocks pcre pdf perl png posix python quotas radius razor readline rle rrdcgi seccomp skey slang snmp sox split-usr sqlite ssl syslog tcpd unicode urandom usb vim-syntax webdav xattr xml yaz zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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 keyboard mouse" KERNEL="linux" L10N="en nl en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NGINX_MODULES_HTTP="access addition auth_basic auth_ldap auth_pam auth_request autoindex browser cache_purge charset dav dav_ext degradation echo empty_gif fancyindex fastcgi flv geo geoip grpc gunzip gzip gzip_static headers_more image_filter limit_conn limit_req lua map memc memcached metrics mirror mogilefs mp4 naxsi perl proxy push_stream random_index realip referer rewrite scgi secure_link slice slowfs_cache split_clients ssi sticky stub_status sub upload_progress upstream_check upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi xslt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="account chaos condition delude dhcpmac dnetmap echo fuzzy geoip gradm iface ipmark ipp2p ipset ipv4options length2 logmark lscan pknock psd quota2 steal tarpit tee" Unset: CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ================================================================= Package Settings ================================================================= app-arch/brotli-1.0.7::gentoo was built with the following: USE="python -test" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_6 -python2_7 (-python3_7)" FEATURES="fixlafiles news parallel-fetch protect-owned unmerge-logs config-protect-if-modified binpkg-docompress preserve-libs sandbox usersync xattr userfetch unmerge-orphans usersandbox unknown-features-warn pid-sandbox network-sandbox distlocks ebuild-locks userpriv merge-sync strict multilib-strict sfperms assume-digests binpkg-logs ipc-sandbox binpkg-dostrip"
This is probably fixed by reverting the eclass change, https://gitweb.gentoo.org/repo/gentoo.git/commit/app-arch/brotli?id=38cc525 Leaving the bug to be closed by the maintainer. CCing asturm as well, some info in here about the error.
Missing build.log. Please re-open if you can reproduce the same error after emerge --sync.
The build directory is missing... 1.0.7_build * python3_6: copying to /var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7_build-python3_6 cp: cannot stat '/var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7_build': No such file or directory * ERROR: app-arch/brotli-1.0.7::gentoo failed (prepare phase): * (no error message) The message shown in the first post: IS THE COMPLETE BUILD LOG...
Just for completeness the complete build log: * Package: app-arch/brotli-1.0.7 * Repository: gentoo * Maintainer: candrews@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python python_targets_python3_6 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Will copy sources from /var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7_build * python3_6: copying to /var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7_build-python3_6 cp: cannot stat '/var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7_build': No such file or directory * ERROR: app-arch/brotli-1.0.7::gentoo failed (prepare phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_prepare * environment, line 4085: Called distutils-r1_src_prepare * environment, line 1576: Called distutils-r1_python_prepare_all * environment, line 1492: Called python_copy_sources * environment, line 3174: Called multibuild_copy_sources * environment, line 2484: Called multibuild_foreach_variant '_multibuild_create_source_copy' * environment, line 2516: Called _multibuild_run '_multibuild_create_source_copy' * environment, line 2514: Called _multibuild_create_source_copy * environment, line 2482: Called die * The specific snippet of code: * cp -p -R "${cp_args[@]}" "${_MULTIBUILD_INITIAL_BUILD_DIR}" "${BUILD_DIR}" || die * * If you need support, post the output of `emerge --info '=app-arch/brotli-1.0.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-arch/brotli-1.0.7::gentoo'`. * The complete build log is located at '/var/log/portage/app-arch:brotli-1.0.7:20200105-000729.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-arch/brotli-1.0.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-arch/brotli-1.0.7/temp/environment'. * Working directory: '/var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7' * S: '/var/tmp/portage/app-arch/brotli-1.0.7/work/brotli-1.0.7'