| Summary: | =sys-apps/portage-2.2.1 - autounmask-write doesn't work - ? | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alex Efros <powerman-asdf> |
| Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Why should portage's autounmask-write feature be expected to resolve blockers? Also: sys-auth/polkit-0.110::local we cannot fix your overlay. (In reply to Jeroen Roovers from comment #1) > Why should portage's autounmask-write feature be expected to resolve > blockers? I didn't see any real blockers in that output. Or real conflicts. It looks like usual situation when some extra USE-flags required by other package, which is usually handled by autounmask-write. Also, it doesn't clear why these USE-flags was changed after updating to portage-2.2. > Also: > > sys-auth/polkit-0.110::local > > we cannot fix your overlay. It has nothing with this issue: # diff /usr/{,local}/portage/sys-auth/polkit/polkit-0.110.ebuild 60a61 > epatch "${FILESDIR}"/${P}-libjs.patch Only difference is a patch for compatibility with dev-lang/spidermonkey-1.8.7. Yes, these are automatically resolved. Please provide the complete emerge output. I've already posted it, but, ok, here is complete output both for portage 2.1 and 2.2 (2.2 first, 2.1 next).
# emerge -uDNav world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-libs/zlib-1.2.7 USE="-minizip* -static-libs" 0 kB
[ebuild R ] sys-auth/pambase-20120417-r2 USE="cracklib sha512 -consolekit* -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux) -systemd" 0 kB
[ebuild R ] virtual/udev-200 USE="keymap kmod -gudev* -hwdb* -introspection (-selinux) -static-libs" 0 kB
Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
sys-auth/pambase:0
(sys-auth/pambase-20120417-r2::gentoo, installed) pulled in by
sys-auth/pambase[consolekit] required by (sys-auth/polkit-0.110::local, installed)
(sys-auth/pambase-20120417-r2::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)
sys-libs/zlib:0
(sys-libs/zlib-1.2.7::gentoo, installed) pulled in by
sys-libs/zlib:0/0=[minizip] required by (www-client/chromium-29.0.1547.57::gentoo, installed)
sys-libs/zlib:=[minizip] required by (www-client/chromium-29.0.1547.57::gentoo, installed)
>=sys-libs/zlib-1.2.5.1-r2:0[minizip] required by (dev-db/virtuoso-server-6.1.6::gentoo, installed)
>=sys-libs/zlib-1.2.5.1-r2[minizip] required by (media-video/vlc-2.0.7::gentoo, installed)
(sys-libs/zlib-1.2.7::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)
virtual/udev:0
(virtual/udev-200::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)
(virtual/udev-200::gentoo, installed) pulled in by
>=virtual/udev-197[gudev,hwdb(+)] required by (sys-fs/udisks-2.1.0::gentoo, installed)
It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously. If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.
For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
# emerge -1 '<portage-2.2'
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild UD ] sys-apps/portage-2.1.12.2 [2.2.1] USE="(ipc) (xattr) -build -doc -epydoc (-pypy2_0) -python2 -python3 (-selinux)" LINGUAS="ru -pl%" PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6 (-python3_3) (-python3_4)" 0 kB
Total: 1 package (1 downgrade), Size of downloads: 0 kB
…
# emerge -uDNav world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-apps/portage-2.2.1 [2.1.12.2] USE="(ipc) (xattr) -build -doc -epydoc (-pypy2_0) -python2 -python3 (-selinux)" LINGUAS="ru (-pl%)" PYTHON_TARGETS="python2_7 python3_2 (-pypy2_0) -python2_6 (-python3_3) (-python3_4)" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No]
It doesn't say anything about that you need to unmask anything; so, you could try to raise the backtrack value, it is possible that backtrack happens slightly different with the new release. (In reply to Tom Wijsman (TomWij) from comment #5) > It doesn't say anything about that you need to unmask anything; so, you > could try to raise the backtrack value, it is possible that backtrack > happens slightly different with the new release. Yeah, you right, --backtrack=13 is minimum value which fix this issue. So, is I have to add this to EMERGE_DEFAULT_OPTS now? Up to you; higher just means it will take longer, people usually leave it at the default and only increase it temporarily when the output indicates it. It's just a change in the way backtracking works that you're seeing; not sure what they changed, but it causes this case to be less favorable to be resolved and perhaps another case to be more favored. So, pick a sane default that doesn't take to long and perhaps create a shell alias or function that allows you to quickly do the emerge again with a larger backtrack number. (In reply to Tom Wijsman (TomWij) from comment #7) > Up to you; higher just means it will take longer, people usually leave it at I've benchmarked it, but didn't notice any difference at all - 10, 15 and 30 took exactly same time. |
After update from portage-2.1.12.2 to 2.2.1 I got several packages with changed (by unknown reason) USE-flags: [ebuild R ] sys-libs/zlib-1.2.7 USE="-minizip* -static-libs" 0 kB [ebuild R ] sys-auth/pambase-20120417-r2 USE="cracklib sha512 -consolekit* -debug -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -passwdqc (-selinux) -systemd" 0 kB [ebuild R ] virtual/udev-200 USE="keymap kmod -gudev* -hwdb* -introspection (-selinux) -static-libs" 0 kB These changes was reported as "slot conflict" and, also by unknown reason, wasn't automatically added into /etc/portage/package.use (I've "--autounmask-write" in EMERGE_DEFAULT_OPTS in /etc/make.conf): !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: sys-auth/pambase:0 (sys-auth/pambase-20120417-r2::gentoo, installed) pulled in by sys-auth/pambase[consolekit] required by (sys-auth/polkit-0.110::local, installed) (sys-auth/pambase-20120417-r2::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) sys-libs/zlib:0 (sys-libs/zlib-1.2.7::gentoo, installed) pulled in by sys-libs/zlib:0/0=[minizip] required by (www-client/chromium-29.0.1547.57::gentoo, installed) sys-libs/zlib:=[minizip] required by (www-client/chromium-29.0.1547.57::gentoo, installed) >=sys-libs/zlib-1.2.5.1-r2:0[minizip] required by (dev-db/virtuoso-server-6.1.6::gentoo, installed) >=sys-libs/zlib-1.2.5.1-r2[minizip] required by (media-video/vlc-2.0.7::gentoo, installed) (sys-libs/zlib-1.2.7::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) virtual/udev:0 (virtual/udev-200::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (virtual/udev-200::gentoo, installed) pulled in by >=virtual/udev-197[gudev,hwdb(+)] required by (sys-fs/udisks-2.1.0::gentoo, installed) Portage 2.2.1 (hardened/linux/amd64, gcc-4.6.3, glibc-2.15-r3, 3.10.1-hardened-r1 x86_64) ================================================================= System uname: Linux-3.10.1-hardened-r1-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 8163184 total, 500008 free KiB Swap: 4200960 total, 4187468 free Timestamp of tree: Mon, 09 Sep 2013 01:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r2, 3.2.5-r2 dev-util/cmake: 2.8.10.2-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.6.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo perl-experimental-snapshots gamerlay powerman local ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/upsmon-usb/EXT/DownOS /opt/upsmon-usb/EXT/JSystem /service /usr/inferno/keydb /usr/inferno/lib /usr/inferno/services /usr/share/config /usr/share/gnupg/qualified.txt /var/log /var/qmail/alias /var/qmail/control" 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" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage-distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --autounmask-write=y" FCFLAGS="-march=native -O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr" FFLAGS="-march=native -O2 -pipe" GENTOO_MIRRORS="http://gentoo.kiev.ua/ftp/ http://gentoo.iteam.net.ua/ http://tux.rainside.sk/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.inode.at/" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j8" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/perl-experimental-snapshots /var/lib/layman/gamerlay /var/lib/layman/powerman /usr/local/portage" SYNC="rsync://rsync3.ua.gentoo.org/gentoo-portage" USE="X a52 aac acl alac alsa amd64 avx bash-completion berkdb bzip2 caps cdda cddb cli cracklib crypt cxx dbus dri dts dvb dvd flac fontconfig gdbm gif gnutls gpg hardened iconv icu id3tag idn ipv6 jpeg jpeg2k justify libnotify mac mad matroska mbox mmx mng modules mp3 mpeg mudflap multilib musepack mysql ncurses network-cron nls nptl nsplugin ogg opengl openmp pam pax_kernel pcre perl png qt3support readline session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 svg tcpd theora tiff truetype unicode urandom vdpau vim-syntax vorbis wavpack x264 xattr xosd xv xvid xvmc zlib" ABI_X86="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="log_config vhost_alias autoindex alias rewrite dir deflate filter mime negotiation auth_basic authn_file authz_host authz_user authz_groupfile cgi actions headers env setenvif" 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" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi fancyindex" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON