Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-db/mariadb and dev-db/mysql-connector-c conflict
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kkrizka
n00b
n00b


Joined: 30 Jul 2007
Posts: 30

PostPosted: Thu Dec 17, 2015 8:52 am    Post subject: dev-db/mariadb and dev-db/mysql-connector-c conflict Reply with quote

Hi,

After the latest emerge --sync, I am seeing a conflict in the mysql packages. The errors is:

Code:

[blocks B      ] dev-db/mariadb[client-libs(+)] ("dev-db/mariadb[client-libs(+)]" is blocking dev-db/mysql-connector-c-6.1.6-r2)

Total: 79 packages (74 upgrades, 4 new, 1 in new slot), Size of downloads: 231,900 KiB
Conflict: 1 block (1 unsatisfied)

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

  (dev-db/mysql-connector-c-6.1.6-r2:0/18::gentoo, installed) 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/mariadb-10.1.9-r1:0/18::gentoo, ebuild scheduled for merge) pulled in by
    =dev-db/mariadb-10.1*[-embedded,static=] (=dev-db/mariadb-10.1*[-embedded,-static]) required by (virtual/mysql-5.6-r6:0/18::gentoo, ebuild scheduled for merge)


Any idea how to resolve it? My emerge info is
Code:

Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.22-r1, 4.1.6-gentoo x86_64)
=================================================================
System uname: Linux-4.1.6-gentoo-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16414504 total,  10144532 free
KiB Swap:    2008120 total,   2008120 free
Timestamp of repository gentoo: Thu, 17 Dec 2015 07:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.11::gentoo, 3.4.3-r5::gentoo, 3.5.1::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gamerlay.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Livestation-EULA dlj-1.1 sun-bcla-java-vm skype-eula googleearth AdobeFlash-10.1 AdobeFlash-10 PUEL Oracle-BCLA-JavaSE AdobeFlash-10.3 skype-4.0.0.7-copyright google-talkplugini Google-TOS AdobeFlash-11.x google-chrome NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3ds X a52 aac accessibility acpi addbookmarks additions addressbook adns afs akonadi alisp allegro alsa amd64 amrnb amrwb ao apng applet archive artworkextra ass assistant autoipd automount autopid avahi avi bash-completion berkdb bineditor bittorrent bonjour bonusscripts branding bullet bzip2 cairo cal3d calendar caps captury cdaudio cdda cdio cdr cegui cg chm city clang cleartype cli clock-screen clucene cmake collada colord compat compiz contactnotes contrib corefonts coverart cracklib crypt css ctype cuda cups curl custom-optimization cvs cxx cycles daap dbus debugger deciberl declarative demos designer designer-plugin desktopglobe devil dfs dia disk-partition divx djvu dv dvd dvdnav dvdr dvdread dynamic ebook editor eigen emacs emacs23icons emboss emovix enblend encode exif exiv2 expoblending extensions extra extras faac faad facebook fam farstream fastrack fasttrack fbcondecor fbsplash ffmpeg fftw filter fits flac fmod fontconfig foomaticdb fortran frei0r fts3 fuse g3dvl galago gallium gbm gcj gd gdbm geolocation gflags gif git glamor glib glitz gltf gmm gnutella google gphoto2 gpm gpssync gpu graphite gs gsf gsm gstreamer gtk guile hepmc highlight history hpcups hwdb hyperestraier iconv icu id3tag ieee1394 ilbc infinality inkjar inotify inquisitio introspection iphone ithreads jadetex java java6 javascript jit jpeg jpeg2k jpg json kate kde kdenlive kdeprefix kdm kdu kerberos key-screen keyring kickoff kipi kpathsea lame lapack largefile latex lcdfilter lcms ldap legacy-systray libmpeg2 libnotify lm_sensors logitech-mouse lto lua lzma lzo mad magic maps marble matplotlib mdnsresponder-compat melt messenger metis midi minizip mjpeg mmx mmxext mng modern-top modules moonlight mousewarp mp3 mp3rtp mp4 mpeg msn mta mtp multilib musepack musicbrainz mysqli ncurses nemsi network network_manager networking networkmanager nls nsplugin ntfsprogs oauth ocamlopt octave ode ofa offensive ogg ogre ois openal openexr openft opengl openmp opus otr pam pango panorama pch pcntl pcre pcre16 pdf perl phonon php plasma player plotutils plugins png policykit poppler postscript ppds preview-latex profiler ps pulseaudio python qalculate qmake qml qt qt-copy qt3support qt4 qt5 qthelp quicktime qwt rar rdp readline real realmedia redeyes redland regex reports romio rss rt73usb rtc rtmp sasl science script scripttools sdk sdl search-screen seccomp secure-delete semantic-desktop session sftp sift simplexml skype slp snmp social-desktop solver soprano sox sparse speex spell spl sql sqlite sse sse2 sse3 sse41 sse42 ssl ssse3 stars startup-notification subversion suid svg swat swig symlink sync-plugin-portage system-sqlite system-v8 systemd taglib tcl tcpd templates testprograms tetex themes theora threads thumbnail tiff timidity tinfo tiny tinyxml tk tools transparency tremor truetype type1 udev udisks unicode unlock-notify unsupported upcall upnp usb uvm v4l v4l2 vaapi vcd vdpau video vim vim-syntax visibility vivox vnc vorbis vpx wavpack webgl webkit widgets windeco wlm wmf wpd wv2 wxwidgets x264 xattr xcb xcomposite xerces-c xetex xinerama xml xmlreader xmlwriter xoran xrootd xulrunner xv xvid xvmc yahoo zip zlib" ABI_X86="64 32" 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="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 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 asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic version authn_core authz_core unixd socache_shmcb" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="sony_dscf55 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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" 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 en_CA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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="3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 3456
Location: Gainesville, Florida

PostPosted: Thu Dec 17, 2015 10:47 am    Post subject: Reply with quote

After struggling around with this for an hour or two, I finally put
Code:
=dev-db/mariadb-10.1.9-r1
in /etc/portage/package.mask, and portage sorted it out and got rid of the blocks. You might give that a try.

Now trying an emerge -uDN @world --keep-going with 148 packages including the new kdeframeworks-5.17.0 stuff, and a few new plasma pkgs, and will see how it goes.

Please post back if this works for you.
_________________
Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.39-r7, gcc-14
kernel-6.9.4 USE=experimental python3_12.3-final
Back to top
View user's profile Send private message
baaann
Guru
Guru


Joined: 23 Jan 2006
Posts: 558
Location: uk

PostPosted: Thu Dec 17, 2015 1:26 pm    Post subject: Reply with quote

I also struggled for a while......

It seems that the client-libs USE flag has been removed in mariadb-10.1.9-r1 and therefore updating Mariadb separately appears to remove the block and allow a full update afterwards
Code:
emerge -av1 mariadb
Back to top
View user's profile Send private message
kkrizka
n00b
n00b


Joined: 30 Jul 2007
Posts: 30

PostPosted: Fri Dec 18, 2015 9:55 am    Post subject: Reply with quote

Thank you both for suggestions!

I tried baaann's suggestion of reemerging mariadb without full update and it did get rid of the block when doing emerge -uD world.
Back to top
View user's profile Send private message
davidbrooke
Guru
Guru


Joined: 03 Jan 2015
Posts: 341

PostPosted: Sat Dec 19, 2015 1:19 am    Post subject: Reply with quote

I removed
Code:
dev-db/mysql-connector-c

and installed
Code:
dev-db/mariadb-10.1.9-r1

So far so good.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Sat Dec 19, 2015 2:21 am    Post subject: Reply with quote

In a case like this simply removing the offending package, dev-db/mysql-connector-c, will generally give portage enough room to maneuver. If you investigate a bit you will find that mariadb wants to install its own libs instead of using external libs now so mysql-connector-c is not needed and for some reason portage can't figure it out on its own.

A note on using emerge -C to remove packages. Care is always called for but if a blocked package clearly belongs to a high level application then removing it won't cause problems and will usually let portage work its magic. For example, nothing in the basic OS requires the database so breaking temporarily isn't a concern.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
virtguru
Tux's lil' helper
Tux's lil' helper


Joined: 14 Aug 2010
Posts: 148
Location: The Greatest Country in the World

PostPosted: Wed Jan 06, 2016 3:54 pm    Post subject: Reply with quote

I just hit this as well ~amd64, its also affecting dev-db/mysql-connector-c , wondering if the change with +client-libs is the real culprit here, as in the latest news

Code:
emerge -av1 mariadb
hese are the packages that would be merged, in order:

Calculating dependencies                  ... done!
[ebuild  N     ] dev-db/mysql-connector-c-6.1.6-r2:0/18::gentoo  USE="ssl -static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N     ] virtual/libmysqlclient-18:0/18::gentoo  USE="-static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N    #] dev-db/mariadb-10.1.10:0/18::gentoo  USE="bindist cracklib openssl pam perl xml -debug -embedded -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jemalloc -latin1 -libressl -mroonga -odbc -oqgraph -profiling (-selinux) -server -sphinx -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc {-test} -tokudb -yassl" ABI_X86="(64) -32 (-x32)" 54,155 KiB
[ebuild  N     ] virtual/mysql-5.6-r7:0/18::gentoo  USE="-embedded -static -static-libs" ABI_X86="(64) -32 (-x32)" 0 KiB
[ebuild  N     ] dev-perl/DBD-mysql-4.32.0-r1::gentoo  USE="-embedded {-test}" 0 KiB
[blocks B      ] dev-db/mariadb[client-libs(+)] ("dev-db/mariadb[client-libs(+)]" is blocking dev-db/mysql-connector-c-6.1.6-r2)

Total: 5 packages (5 new), Size of downloads: 54,155 KiB
Conflict: 1 block (1 unsatisfied)

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

  (dev-db/mariadb-10.1.10:0/18::gentoo, ebuild scheduled for merge) pulled in by
    mariadb
    =dev-db/mariadb-10.1*[-embedded,static=] (=dev-db/mariadb-10.1*[-embedded,-static]) required by (virtual/mysql-5.6-r7:0/18::gentoo, ebuild scheduled for merge)

  (dev-db/mysql-connector-c-6.1.6-r2: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, ebuild scheduled for merge)


Then masking maria DB gave me:

Code:
blocks B      ] dev-db/mysql[client-libs(+)] ("dev-db/mysql[client-libs(+)]" is blocking dev-db/mysql-connector-c-6.1.6-r2)

Total: 220 packages (181 upgrades, 11 new, 6 in new slots, 22 reinstalls), Size of downloads: 1,138,490 KiB
Fetch Restriction: 1 package
Conflict: 1 block (1 unsatisfied)

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

  (dev-db/mysql-connector-c-6.1.6-r2: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, ebuild scheduled for merge)

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


So now Ive masked mariadb and dev-db/mysql-connector-c, then I got:

Code:
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by virtual/libmysqlclient-18::gentoo
# required by virtual/mysql-5.6-r7::gentoo
# required by dev-perl/DBD-mysql-4.32.0-r1::gentoo
>=dev-db/mysql-5.6.28 abi_x86_32


I can now update :D

*edit* the same works for masking dev-db/mysql as well, at least here I could not have dev-db/mysql-connector-c installed with maria or mysql , so masking one of the 2 dev-db and the connecter solved it.

[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Back to top
View user's profile Send private message
virtguru
Tux's lil' helper
Tux's lil' helper


Joined: 14 Aug 2010
Posts: 148
Location: The Greatest Country in the World

PostPosted: Wed Jan 06, 2016 9:23 pm    Post subject: Reply with quote

possible to mark as solved ? reviewing the latest eselect news and changes, its really clear whats going on until its hammered out.
Back to top
View user's profile Send private message
eddy89
Apprentice
Apprentice


Joined: 01 Feb 2006
Posts: 180
Location: /world/Italy/Torino

PostPosted: Mon Jan 18, 2016 11:46 am    Post subject: Reply with quote

wrc1944 wrote:
After struggling around with this for an hour or two, I finally put
Code:
=dev-db/mariadb-10.1.9-r1
in /etc/portage/package.mask, and portage sorted it out and got rid of the blocks. You might give that a try.

Please post back if this works for you.


Thank you very much.
I had to add
Code:
<dev-db/mariadb-10.1
dev-db/mysql

to /etc/portage/package.mask/ in order to happily upgrade mariadb-galera.

Thanks for you suggestion

(Although I still think there's something wrong in portage here...)
Back to top
View user's profile Send private message
k9dog
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2009
Posts: 103
Location: Denmark

PostPosted: Sun Apr 01, 2018 10:03 am    Post subject: Reply with quote

Argh- I checked the date of the post. Way too old to post a reply-

I have a problem that seems to be of the same nature today. I unmerged and removed anything relating to mysql, mariadb from both use flags and packages and could emerge world again. It doesn't seem to like mariadb today.

Ah well at least my problem matches with the mariadb_connector_c / mysql_connector_c part. I don't seem to be able to mask problem away. I unmerged all and am not emerging mariadb today (maybe sync will solve). The current problems seem to be dependency based. I think my portage is updated. Never the less I'll do that. Maybe a "revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc" could rebuild dependencies too, if there is a problem.

I will try to see if I can get mariadb running with mysql-workbench when the merge isn't blocking every connector. Atm it is blocking .. Almost circular.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum