Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 596176 - Depedency resolution after failed build in --keep-going is overly restrictive
Summary: Depedency resolution after failed build in --keep-going is overly restrictive
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 373807
  Show dependency tree
 
Reported: 2016-10-04 20:14 UTC by Maciej Piechotka
Modified: 2016-10-08 11:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2016-10-04 20:14:09 UTC
For some reason failures in --keep-going mode seems to prune much larger portion of tree then expected. For example failure builds in haskell packages (due to need of haskell-updater) can stop all other packages from continuing even though they don't depend on any Haskell package.

It seems that rebuilds failures are treated more severly then new installs. For example on my system failure of rebuild dev-haskell/timezone-olson stopped all other 51 packages from rebuilding haskell-updater but when I unmerged it and run haskell-updater only xmobar (the only package depending on dev-haskell/timezone-olson) was skipped.

Original command (from this command):
emerge --oneshot --keep-going --complete-graph --quiet --deep app-admin/haskell-updater:0 app-portage/hackport:0 dev-haskell/alex:0 dev-haskell/alsa-core:0 dev-haskell/alsa-mixer:0 dev-haskell/ansi-terminal:0 dev-haskell/ansi-wl-pprint:0 dev-haskell/async:0 dev-haskell/attoparsec:0 dev-haskell/base-orphans:0 dev-haskell/base16-bytestring:0 dev-haskell/base64-bytestring:0 dev-haskell/bifunctors:0 dev-haskell/binary:0 dev-haskell/byteable:0 dev-haskell/bytestring-builder:0 dev-haskell/c2hs:0 dev-haskell/cabal:0 dev-haskell/cabal-install:0 dev-haskell/cereal:0 dev-haskell/clock:0 dev-haskell/comonad:0 dev-haskell/contravariant:0 dev-haskell/cryptohash:0 dev-haskell/cryptohash-sha256:0 dev-haskell/cryptonite:0 dev-haskell/data-default:0 dev-haskell/data-default-class:0 dev-haskell/data-default-instances-containers:0 dev-haskell/data-default-instances-dlist:0 dev-haskell/data-default-instances-old-locale:0 dev-haskell/dbus:0 dev-haskell/distributive:0 dev-haskell/dlist:0 dev-haskell/ed25519:0 dev-haskell/exceptions:0 dev-haskell/extensible-exceptions:0 dev-haskell/fail:0 dev-haskell/foldl:0 dev-haskell/hackage-security:0 dev-haskell/happy:0 dev-haskell/hashable:0 dev-haskell/hinotify:0 dev-haskell/hit:0 dev-haskell/hostname:0 dev-haskell/hourglass:0 dev-haskell/hslogger:0 dev-haskell/http:0 dev-haskell/hunit:0 dev-haskell/language-c:0 dev-haskell/libxml-sax:0 dev-haskell/managed:0 dev-haskell/memory:0 dev-haskell/missingh:0 dev-haskell/mtl:0 dev-haskell/mwc-random:0 dev-haskell/nats:0 dev-haskell/network:0 dev-haskell/network-uri:0 dev-haskell/old-locale:0 dev-haskell/old-time:0 dev-haskell/optional-args:0 dev-haskell/optparse-applicative:0 dev-haskell/parsec:0 dev-haskell/patience:0 dev-haskell/primitive:0 dev-haskell/profunctors:0 dev-haskell/quickcheck:2 dev-haskell/random:0 dev-haskell/regex-base:0 dev-haskell/regex-compat:0 dev-haskell/regex-posix:0 dev-haskell/scientific:0 dev-haskell/semigroups:0 dev-haskell/setlocale:0 dev-haskell/split:0 dev-haskell/statevar:0 dev-haskell/stm:0 dev-haskell/syb:0 dev-haskell/system-fileio:0 dev-haskell/system-filepath:0 dev-haskell/tagged:0 dev-haskell/tar:0 dev-haskell/temporary:0 dev-haskell/text:0 dev-haskell/tf-random:0 dev-haskell/timezone-olson:0 dev-haskell/timezone-series:0 dev-haskell/transformers:0 dev-haskell/transformers-compat:0 dev-haskell/turtle:0 dev-haskell/unix-compat:0 dev-haskell/unordered-containers:0 dev-haskell/utf8-string:0 dev-haskell/vector:0 dev-haskell/void:0 dev-haskell/x11:0 dev-haskell/x11-xft:0 dev-haskell/xml:0 dev-haskell/xml-types:0 dev-haskell/zlib:0 dev-haskell/zlib-bindings:0 x11-misc/xmobar:0 x11-wm/xmonad:0 x11-wm/xmonad-contrib:0

Portage 2.3.1 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r2, 4.7.5-gentoo x86_64)
=================================================================
System uname: Linux-4.7.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.3
KiB Mem:    32833016 total,   9538160 free
KiB Swap:   20971512 total,  20971512 free
Timestamp of repository gentoo: Tue, 04 Oct 2016 18:00:01 +0000
sh bash 4.4
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.4::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.2::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.22.1::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:
(...)
CCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CC="x86_64-pc-linux-gnu-gcc-5.4.0"
CFLAGS="-O2 -pipe -fomit-frame-pointer -g -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
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"
CXX="x86_64-pc-linux-gnu-g++-5.4.0"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -g -march=core2 -mcx16 -msahf -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="-j12 --load-average=7"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs compress-build-logs compressdebug config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common"
MAKEOPTS="-j12 -l7"
PKGDIR="/usr/portage/packages"
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="X a52 aac acl acpi aes alsa amd64 avahi avx berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cryptsetup cups cxx dbus device-mapper dmenu dri dts dvd dvdr emacs emboss encode exif fam firefox flac fontconfig fortran gdbm gif glamor gles2 gnuefi gpm gssapi gtk iconv icu ipv6 jpeg kerberos lcms ldap libkms libnotify lvm lzma mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ntlm ogg opengl openldap openmp pam pango pcre pdf png policykit popcnt ppds qt3support qt4 readline samba sasl sctp sdl seccomp session spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid zeroconf zlib zsh-completion" ABI_X86="32 64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Maciej Piechotka 2016-10-04 20:18:46 UTC
Just to clear it as well - I run it mostly during:

emerge -avDuN @world --with-bdeps y --keep-going