Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 691288 - sys-apps/portage - a package conflicts with its own virtual
Summary: sys-apps/portage - a package conflicts with its own virtual
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-02 09:33 UTC by Martin Mokrejš
Modified: 2019-08-02 19:58 UTC (History)
0 users

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 Martin Mokrejš 2019-08-02 09:33:46 UTC
Hi,
  I wonder what is the problem with my system.

# emerge @preserved-rebuild --backtrack=30000 

 * IMPORTANT: 1 news items need reading for repository 'science'.
 * IMPORTANT: 34 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy ">=dev-libs/libgudev-232:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,introspection?,static-libs?]".
(dependency required by "virtual/libgudev-232::gentoo" [installed])
(dependency required by "media-gfx/gimp-2.10.12::gentoo" [ebuild])
(dependency required by "media-gfx/dcraw-9.28.0-r1::gentoo[gimp]" [ebuild])
(dependency required by "@preserved-rebuild" [argument])

#

# emerge --info
Portage 2.3.69 (python 2.7.16-final-0, default/linux/amd64/17.0/no-multilib, gcc-9.1.0, glibc-2.29-r3, 5.2.4 x86_64)
=================================================================
System uname: Linux-5.2.4-x86_64-Intel-R-_Core-TM-_i7-6700HQ_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    16377036 total,  11683924 free
KiB Swap:   23254012 total,  23254012 free
Timestamp of repository gentoo: Fri, 02 Aug 2019 07:30:01 +0000
Head commit of repository gentoo: e4104b9c4bd8cbaba4712e6a8d4e6c8d120ba5c0
sh bash 4.4_p12
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.9999::gentoo
dev-lang/python:          2.7.16::gentoo, 3.5.7::gentoo, 3.6.8::gentoo, 3.7.2::gentoo
dev-util/cmake:           3.10.1::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            6.3.0::gentoo, 6.4.0-r5::gentoo, 7.2.0::gentoo, 9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r3::gentoo
Repositories:

gentoo
    location: /scratch/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

x-portage
    location: /scratch/usr/local/portage
    masters: gentoo
    priority: 0

x-layman
    location: /scratch/var/lib/layman
    masters: gentoo
    priority: 1

science
    location: /var/lib/layman/science
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/lib/layman/stefantalpalaru
    masters: gentoo science
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE freedist all-rights-reserved estscan X11 free-noncomm phrap sun-jlfgr bonnie ApE trf OBO-Edit swiss-prot staden xv finchtv MSttfEULA GRL intel-ucode bakoma AGREP BSD-BroadInstitute fasta unRAR gmap FLI-Jena as-is ACE twm xsm font-adobe-75dpi FAULTHANDLER OracleDB ANTLR czyborra MaxMind blat DB JamesClark vienna-rna vmware vim.org bluez-firmware linux-firmware Broadcom bestcrypt OSGi-Specification-2.0 OPERA-2014 RAR sun-jsr67 no-source-code bh-luxi NVIDIA-r2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/lib/hsqldb"
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="-O2 -pipe -march=sandybridge -mtune=native -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
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 nostrip parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en_GB en cs"
MAKEOPTS="-j5"
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="/scratch/var/tmp"
USE="X acpi alsa amd64 amr apache apache2 asm avx avx2 berkdb bindist bluetooth boost bzip2 cairo cgi cli coin consolekit cracklib crypt cryptlib cryptsetup cups cxx dbus device-mapper dhcp directfb drm dvd emboss encode fax fbcon ffmpeg flac fontconfig fortran gbm gcrypt gd gdbm geoip gimp glpk gmp gnutls gpm gtk hal hpijs hwdb iconv id3tag imaging innodb inotify java javafx javascript jce jpeg jpg js jscript keymap ladspa lapack laptop lcms libnotify libtirpc lm_sensors mad matroska mmx modemmanager ncurses nfs nls nptl nptlonly nscd nss ntfsprogs objc ocr ogg opengl openmp openssl pam parport pcre pcre16 pdf perl php png policykit polkit ppds pppd python qt3support qt4 qt5 readline rendering resolvconf romio scanner sctp seccomp server session slideshow sndfile split-usr sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification suexec svg syslog tcl tcpd threads tiff tk truetype udev unicode usb v4l v4l2 vim-syntax vnc wavpack wifi x11 xattr xcb xml xorg xrandr 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="alias authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic" CALLIGRA_FEATURES="karbon sheets words" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en-US en en-GB cs" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby21 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="vesa vmware fbdev intel i915 i965" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/17.0
  [2]   default/linux/amd64/17.0/selinux
  [3]   default/linux/amd64/17.0/hardened
  [4]   default/linux/amd64/17.0/hardened/selinux
  [5]   default/linux/amd64/17.0/desktop
  [6]   default/linux/amd64/17.0/desktop/gnome
  [7]   default/linux/amd64/17.0/desktop/gnome/systemd
  [8]   default/linux/amd64/17.0/desktop/plasma
  [9]   default/linux/amd64/17.0/desktop/plasma/systemd
  [10]  default/linux/amd64/17.0/developer
  [11]  default/linux/amd64/17.0/no-multilib *
  [12]  default/linux/amd64/17.0/no-multilib/hardened
  [13]  default/linux/amd64/17.0/no-multilib/hardened/selinux
  [14]  default/linux/amd64/17.0/systemd
  [15]  default/linux/amd64/17.0/x32
  [16]  default/linux/amd64/17.1
  [17]  default/linux/amd64/17.1/selinux
  [18]  default/linux/amd64/17.1/hardened
  [19]  default/linux/amd64/17.1/hardened/selinux
  [20]  default/linux/amd64/17.1/desktop
  [21]  default/linux/amd64/17.1/desktop/gnome
  [22]  default/linux/amd64/17.1/desktop/gnome/systemd
  [23]  default/linux/amd64/17.1/desktop/plasma
  [24]  default/linux/amd64/17.1/desktop/plasma/systemd
  [25]  default/linux/amd64/17.1/developer
  [26]  default/linux/amd64/17.1/no-multilib
  [27]  default/linux/amd64/17.1/no-multilib/hardened
  [28]  default/linux/amd64/17.1/no-multilib/hardened/selinux
  [29]  default/linux/amd64/17.1/systemd
  [30]  default/linux/amd64/17.0/musl
  [31]  default/linux/amd64/17.0/musl/hardened
  [32]  default/linux/amd64/17.0/musl/hardened/selinux
  [33]  default/linux/amd64/17.0/uclibc
  [34]  default/linux/amd64/17.0/uclibc/hardened
#
Comment 1 Zac Medico gentoo-dev 2019-08-02 18:02:44 UTC
The general approach for resolving cases like this is to compare the USE settings and make sure that they are aligned, using a command like this to to the current USE settings:

> emerge -pv --nodeps virtual/libgudev dev-libs/libgudev
Comment 2 Martin Mokrejš 2019-08-02 18:57:19 UTC
Hi Zac,
  thank you. I managed over the time to move a bit ahead so I am not sure if the below output is showing I managed to reinstall of one the components manually or if a problem was elsewhere:

# emerge -pv --nodeps virtual/libgudev dev-libs/libgudev

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

[ebuild   R    ] virtual/libgudev-232::gentoo  USE="-introspection -static-libs" 0 KiB
[ebuild   R    ] dev-libs/libgudev-232::gentoo  USE="-introspection -static-libs" 0 KiB




Does the below current case eventually show something helpfull?

# emerge -uN1 net-wireless/bluez

 * IMPORTANT: 1 news items need reading for repository 'science'.
 * IMPORTANT: 34 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

net-wireless/bluez:0

  (net-wireless/bluez-5.50-r3:0/3::gentoo, ebuild scheduled for merge) conflicts with
    net-wireless/bluez:0/3=[abi_x86_32(-),abi_x86_64(-)] required by (net-libs/libpcap-1.8.1-r1:0/0::gentoo, installed)


# emerge -pv net-wireless/bluez net-libs/libpcap

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

Calculating dependencies... done!
[ebuild  N     ] dev-libs/libical-3.0.5:0/3::gentoo  USE="berkdb -doc -examples -static-libs -test" 862 KiB
[ebuild     U  ] net-wireless/bluez-5.50-r3:0/3::gentoo [5.47-r1:0/3::gentoo] USE="cups mesh obex readline udev -btpclient% -debug -deprecated -doc -experimental -extra-tools -midi% (-selinux) -systemd -test -test-programs -user-session (-alsa%*)" PYTHON_TARGETS="python2_7" 1 746 KiB
[ebuild     U  ] net-libs/libpcap-1.9.0::gentoo [1.8.1-r1::gentoo] USE="bluetooth dbus usb -netlink -static-libs" 801 KiB

Total: 3 packages (2 upgrades, 1 new), Size of downloads: 3 408 KiB


I think it is probably about my 64-bit no-multilib profile.
Comment 3 Martin Mokrejš 2019-08-02 19:01:38 UTC
Here it is after uninstalling pcap, and upgrading bluez:

# emerge -pv net-wireless/bluez net-libs/libpcap

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

Calculating dependencies... done!
[ebuild   R    ] net-wireless/bluez-5.50-r3:0/3::gentoo  USE="cups mesh obex readline udev -btpclient -debug -deprecated -doc -experimental -extra-tools -midi (-selinux) -systemd -test -test-programs -user-session" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N     ] net-libs/libpcap-1.9.0::gentoo  USE="bluetooth dbus usb -netlink -static-libs" 801 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 801 KiB


I will install back pcap but this maybe on its own demonstrates there was no incompatibility between pcap and bluez?
Comment 4 Zac Medico gentoo-dev 2019-08-02 19:25:07 UTC
(In reply to Martin Mokrejš from comment #2)
> Hi Zac,
>   thank you. I managed over the time to move a bit ahead so I am not sure if
> the below output is showing I managed to reinstall of one the components
> manually or if a problem was elsewhere:
> 
> # emerge -pv --nodeps virtual/libgudev dev-libs/libgudev
> 
> These are the packages that would be merged, in order:
> 
> [ebuild   R    ] virtual/libgudev-232::gentoo  USE="-introspection
> -static-libs" 0 KiB
> [ebuild   R    ] dev-libs/libgudev-232::gentoo  USE="-introspection
> -static-libs" 0 KiB

The fact that it doesn't show you the problematic ABI_X86 flags indicates that your profile is missing something like this:

USE_EXPAND_HIDDEN="-ABI_X86"
Comment 5 Martin Mokrejš 2019-08-02 19:58:00 UTC
# emerge --info |  grep -i hidden
#

# export USE_EXPAND_HIDDEN="-ABI_X86"
# emerge -pv --nodeps virtual/libgudev dev-libs/libgudev

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

[ebuild   R    ] virtual/libgudev-232::gentoo  USE="-introspection -static-libs" ABI_X86="(64) (-32*) (-x32)" 0 KiB
[ebuild   R    ] dev-libs/libgudev-232::gentoo  USE="-introspection -static-libs" ABI_X86="(64) (-32) (-x32)" 0 KiB

Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB



# emerge -pv net-wireless/bluez net-libs/libpcap

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

Calculating dependencies... done!
[ebuild   R    ] net-wireless/bluez-5.50-r3:0/3::gentoo  USE="cups mesh obex readline udev -btpclient -debug -deprecated -doc -experimental -extra-tools -midi (-selinux) -systemd -test -test-programs -user-session" ABI_X86="(64) (-32) (-x32)" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild  N     ] net-libs/libpcap-1.9.0::gentoo  USE="bluetooth dbus usb -netlink -static-libs" ABI_X86="(64) (-32) (-x32)" 801 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 801 KiB