Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461464 - sys-apps/portage: subslot rebuilds do not work if any of the ebuilds are masked or not available for rebuild
Summary: sys-apps/portage: subslot rebuilds do not work if any of the ebuilds are mask...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Portage team
URL: https://forums.gentoo.org/viewtopic.p...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 300071 462382
  Show dependency tree
 
Reported: 2013-03-11 21:52 UTC by Richard Cox
Modified: 2014-11-20 21:09 UTC (History)
2 users (show)

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


Attachments
1st split debug output from emerge -pv dev-libs/boost --debug (debug.log.bz2.xaa,1000.00 KB, application/octet-stream)
2013-03-11 21:58 UTC, Richard Cox
Details
2nd split debug output from emerge -pv dev-libs/boost --debug (debug.log.bz2.xab,1000.00 KB, application/octet-stream)
2013-03-11 21:59 UTC, Richard Cox
Details
3rd split debug output from emerge -pv dev-libs/boost --debug (debug.log.bz2.xac,287.41 KB, application/x-gnucash)
2013-03-11 22:00 UTC, Richard Cox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Cox 2013-03-11 21:52:16 UTC
I stumbled on this issue while trying to upgrade to the latest arch version of libreoffice.  I wound up with some strange slot conflicts between several packages, including boost- all revolving around dev-libs/icu-50.1.2.  Here's what the output of the emerge looks like.

Calculating dependencies                          ... done! 
[ebuild   R   ~] dev-libs/icu-50.1.2:0/50.1 [50.1.2:0/50.1.2] USE="doc -debug -examples -static-libs" 0 kB

Total: 1 package (1 reinstall), 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:

dev-libs/icu:0

  (dev-libs/icu-50.1.2::gentoo, installed) pulled in by
    dev-libs/icu:0/50.1.2= required by (dev-db/sqlite-3.7.15.2::gentoo, installed)
    dev-libs/icu:0/50.1.2= required by (media-libs/libcdr-0.0.11::gentoo, installed)
    dev-libs/icu:0/50.1.2= required by (media-libs/harfbuzz-0.9.12::gentoo, installed)
    dev-libs/icu:0/50.1.2= required by (dev-libs/libxml2-2.9.0-r2::gentoo, installed)
    dev-libs/icu:0/50.1.2= required by (app-text/libmspub-0.0.4::gentoo, installed)

  (dev-libs/icu-50.1.2::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)


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.

The only way I found to get out of this was to add -icu to the USE flags.
Comment 1 Richard Cox 2013-03-11 21:52:45 UTC
Portage 2.2.0_alpha166 (default/linux/amd64/13.0/desktop/kde, gcc-4.6.3, glibc-2.15-r3, 3.8.2-gentoo x86_64)
=================================================================
System uname: Linux-3.8.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.1
KiB Mem:    32852812 total,  14604084 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of tree: Mon, 11 Mar 2013 04:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.1.5, 3.2.3-r2, 3.3.0-r1
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo perl-experimental multimedia sunrise nbigaouette gamerlay java-overlay desktop-effects local mythtv
Installed sets: @local-kde-4.8, @system
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 /usr/lib64/udev/rules.d/97-bluetooth-hid2hci.rules /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=n --with-bdeps=y --autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j12 -l4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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 /var/lib/layman/multimedia /var/lib/layman/sunrise /var/lib/layman/nbigaouette /var/lib/layman/gamerlay /var/lib/layman/java-overlay /var/lib/layman/desktop-effects /usr/local/portage /usr/local/mythtv_portage/Gentoo"
SYNC="rsync://msi/gentoo-portage"
USE="X a52 aac aacplus acl acpi alsa amd64 aspell avx berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups curl cxx dbus declarative doc dri dts dvd dvdnav dvdr emboss encode eselect exif fam firefox flac fortran gdbm gif gpm gstreamer gtk htmlhandbook hunspell iconv icu ipv6 jack java jpeg kde kipi lcms ldap libnotify libwww lm_sensors mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nsplugin ogg openexr opengl openmp oss pam pango pcre pdf perl phonon plasma png policykit ppds python qt3support qt4 rdesktop readline samba sdl semantic-desktop session spell spl sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora threads tiff tools truetype udev udisks unicode upower usb v4l v4l2 vdpau vlc vorbis vpx wxwidgets x264 xcb xcomposite xinerama xml xscreensaver 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="serial" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_1 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vmware" 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"
USE_PYTHON="2.7 3.1 3.2"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Richard Cox 2013-03-11 21:58:23 UTC
Created attachment 341754 [details]
1st split debug output from emerge -pv dev-libs/boost --debug

Output of emerge -pv dev-libs/boost --debug was so enormous, I had to bzip -9 the file and split it.
Comment 3 Richard Cox 2013-03-11 21:59:21 UTC
Created attachment 341756 [details]
2nd split debug output from emerge -pv dev-libs/boost --debug

Second piece of split debug log.
Comment 4 Richard Cox 2013-03-11 22:00:04 UTC
Created attachment 341758 [details]
3rd split debug output from emerge -pv dev-libs/boost --debug

final piece of split debug log output.
Comment 5 Zac Medico gentoo-dev 2013-03-11 22:23:53 UTC
It seems that it couldn't find an available version of app-text/libmspub to rebuild. Please post the output of this command:

  emerge -pv app-text/libmspub
Comment 6 Richard Cox 2013-03-11 22:30:32 UTC
Yep, you are right:

emerge -pv app-text/libmspub

These are the packages that would be merged, in order:

Calculating dependencies                ... done!

!!! All ebuilds that could satisfy "app-text/libmspub" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-text/libmspub-9999::gentoo (masked by: missing keyword)
- app-text/libmspub-0.0.5::gentoo (masked by: ~amd64 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 7 Zac Medico gentoo-dev 2013-03-13 03:49:20 UTC
When autounmask us enabled, we can use it to handle masked packages. If autounmask is disabled or the package simply is not available, we can treat is as a special kind of unsatisfied dependency, and report that instead of the unsatisified slot-operator dependency.
Comment 8 Zac Medico gentoo-dev 2013-03-19 21:15:42 UTC
(In reply to comment #7)
> When autounmask us enabled, we can use it to handle masked packages.

This is in git:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=af19f0ec16e635393ca0d1ac875d2873cff1608f

> If autounmask is disabled or the package simply is not available, we can treat
> is as a special kind of unsatisfied dependency, and report that instead of
> the unsatisified slot-operator dependency.

This part is not implemented yet.
Comment 9 Zac Medico gentoo-dev 2013-03-19 22:42:06 UTC
This is fixed in 2.1.11.56 and 2.2.0_alpha167.