Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649638 - virtual/mysql-5.6-r11 - mysql-5.6-r11[embedded] has a dependency on dev-db/mysql-5.6.39 which blocks installed dev-db/mariadb
Summary: virtual/mysql-5.6-r11 - mysql-5.6-r11[embedded] has a dependency on dev-db/m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-05 12:29 UTC by Juergen Rose
Modified: 2018-05-15 14:57 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 Juergen Rose 2018-03-05 12:29:01 UTC
'emerge -vt --update --newuse --deep --with-bdeps=y --backtrack=30 --verbose-conflicts --keep-going @world' fails with:

root@cheetahnew:/root(30)# emerge -vt --update --newuse --deep --with-bdeps=y --backtrack=30 --verbose-conflicts --keep-going @world  

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

Calculating dependencies... done!
[nomerge       ] dev-db/mariadb-10.3.5_rc:0/18::gentoo [10.2.12:0/18::gentoo] USE="backup extraengine kerberos odbc pam perl server systemd xml -bindist (-client-libs) -cracklib -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -latin1 -libressl -mroonga -numa -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemtap -tcmalloc {-test} -tokudb -yassl (-embedded%*)" ABI_X86="32 (64) (-x32)" 
[nomerge       ]  dev-db/mariadb-connector-c-3.0.3:0/3::gentoo  USE="curl gnutls kerberos ssl -libressl -mysqlcompat -static-libs" ABI_X86="(64) -32 (-x32)" 
[blocks b      ]   >=dev-db/mariadb-10.2.0[client-libs(+)] (">=dev-db/mariadb-10.2.0[client-libs(+)]" is blocking dev-db/mariadb-connector-c-3.0.3)
[ebuild     U  ]    dev-db/mariadb-10.3.5_rc:0/18::gentoo [10.2.12:0/18::gentoo] USE="backup extraengine kerberos odbc pam perl server systemd xml -bindist (-client-libs) -cracklib -debug -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -jemalloc -latin1 -libressl -mroonga -numa -oqgraph -profiling -rocksdb (-selinux) -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemtap -tcmalloc {-test} -tokudb -yassl (-embedded%*)" ABI_X86="32 (64) (-x32)" 69,593 KiB
[ebuild     U  ]     virtual/mysql-5.6-r11:0/18::gentoo [5.6-r10:0/18::gentoo] USE="embedded server -static" 0 KiB
[ebuild  N     ]      dev-db/mysql-5.6.39:0/18::gentoo  USE="embedded openssl perl server -debug -extraengine -jemalloc -latin1 -libressl -numa -profiling (-selinux) -static -static-libs -systemtap -tcmalloc {-test} -yassl" ABI_X86="(64) -32 (-x32)" 31,668 KiB
[ebuild  N     ]     dev-db/mariadb-connector-c-3.0.3:0/3::gentoo  USE="curl gnutls kerberos ssl -libressl -mysqlcompat -static-libs" ABI_X86="(64) -32 (-x32)" 652 KiB
[ebuild  N     ]     dev-db/mysql-connector-c-6.1.11:0/18::gentoo  USE="ssl -static-libs" ABI_X86="32 (64) (-x32)" 3,408 KiB
[blocks B      ] dev-db/mysql[client-libs(+)] ("dev-db/mysql[client-libs(+)]" is blocking dev-db/mysql-connector-c-6.1.11)
[blocks B      ] dev-db/mariadb ("dev-db/mariadb" is blocking dev-db/mysql-5.6.39)
[blocks B      ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mariadb-10.2.12, dev-db/mariadb-10.3.5_rc)

Total: 5 packages (2 upgrades, 3 new), Size of downloads: 105,319 KiB
Conflict: 5 blocks (3 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-db/mariadb-10.3.5_rc:0/18::gentoo, ebuild scheduled for merge) pulled in by
    dev-db/mariadb required by @selected

  (dev-db/mysql-connector-c-6.1.11:0/18::gentoo, ebuild scheduled for merge) pulled in by
    dev-db/mysql-connector-c:0/18[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (dev-db/mysql-connector-c:0/18[abi_x86_32(-),abi_x86_64(-)]) required by (virtual/libmysqlclient-18:0/18::gentoo, installed)
    dev-db/mysql-connector-c required by (dev-db/mariadb-10.3.5_rc:0/18::gentoo, ebuild scheduled for merge)

  (dev-db/mysql-5.6.39:0/18::gentoo, ebuild scheduled for merge) pulled in by
    =dev-db/mysql-5.6*[embedded(-)?,server?,static?] (=dev-db/mysql-5.6*[embedded(-),server]) required by (virtual/mysql-5.6-r11:0/18::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-03-05 13:43:55 UTC
(In reply to Juergen Rose from comment #0)
> [ebuild     U  ]     virtual/mysql-5.6-r11:0/18::gentoo [5.6-r10:0/18::gentoo] USE="embedded server -static" 0 KiB

The reason for this is the embedded USE flag is enabled on virtual/mysql.
MariaDB 10.3 removes this flag as it is obsolete.

It will slowly disappear from other packages and versions as well.

I will apply a USE mask on >= -r11 to help those in transition.
Comment 2 Juergen Rose 2018-03-05 20:27:41 UTC
(In reply to Brian Evans from comment #1)
> (In reply to Juergen Rose from comment #0)
> > [ebuild     U  ]     virtual/mysql-5.6-r11:0/18::gentoo [5.6-r10:0/18::gentoo] USE="embedded server -static" 0 KiB
> 
> The reason for this is the embedded USE flag is enabled on virtual/mysql.
> MariaDB 10.3 removes this flag as it is obsolete.
> 
> It will slowly disappear from other packages and versions as well.
> 
> I will apply a USE mask on >= -r11 to help those in transition.

After removing all embedded USE flags from /etc/portage/package.use the issue disappered.
Comment 3 Melendro 2018-05-15 14:57:04 UTC
The mask of the USE flag "embedded" is given problems now because the current stable dev-db/mariadb-10.1.31-r1 has the embedded flag set and requires virtual/mysql with this flag also enabled.

Thus a conflict appears:

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

virtual/mysql:0

  (virtual/mysql-5.6-r12:0/18::gentoo, ebuild scheduled for merge) pulled in by
    virtual/mysql[server] required by (media-gfx/digikam-5.9.0:5/5::gentoo, installed)
                  ^^^^^^                                                                                                  
    =virtual/mysql-5.6-r12[server] required by (media-gfx/digikam-5.9.0:5/5::gentoo, installed)
    ^              ^^^^^^^                                                                                                                            

  (virtual/mysql-5.6-r6:0/18::gentoo, ebuild scheduled for merge) pulled in by
    ~virtual/mysql-5.6[embedded=,static=] required by (dev-db/mariadb-10.1.31-r1:0/18::gentoo, installed)
                       ^^^^^^^^^