View previous topic :: View next topic |
Author |
Message |
hurvajs77 n00b

Joined: 05 Apr 2010 Posts: 56
|
Posted: Sun May 01, 2016 6:00 pm Post subject: Upgrade to Qt 5.6 failed |
|
|
Hi guys,
I've a problem with upgrade portage to Qt 5.6... I've broken KDE now
Can you some one help, please?
Code: | emerge -DNuav @world
...
...
Total: 121 packages (110 upgrades, 1 downgrade, 5 new, 2 in new slots, 3 reinstalls), Size of downloads: 2,521 KiB
!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:
dev-qt/qtgui:5
(dev-qt/qtgui-5.6.0-r1:5/5.6::gentoo, ebuild scheduled for merge) pulled in by
~dev-qt/qtgui-5.6.0 required by (dev-qt/qtsvg-5.6.0:5/5.6::gentoo, ebuild scheduled for merge)
^ ^^^^^
(and 12 more with the same problem)
(dev-qt/qtgui-5.5.1-r1:5/5::gentoo, installed) pulled in by
>=dev-qt/qtgui-5.5.1:5/5= required by (kde-frameworks/frameworkintegration-5.21.0:5/5.21::gentoo, installed)
^^^^^
dev-qt/qtcore:5
(dev-qt/qtcore-5.6.0:5/5.6::gentoo, installed) pulled in by
~dev-qt/qtcore-5.6.0 required by (dev-qt/qtimageformats-5.6.0:5/5.6::gentoo, ebuild scheduled for merge)
^ ^^^^^
(and 23 more with the same problem)
(dev-qt/qtcore-5.5.1-r1:5/5::gentoo, ebuild scheduled for merge) pulled in by
~dev-qt/qtcore-5.5.1 required by (dev-qt/qtdbus-5.5.1:5/5::gentoo, installed)
^ ^^^^^
(and 1 more with the same problem)
dev-qt/qtdbus:5
(dev-qt/qtdbus-5.6.0:5/5.6::gentoo, ebuild scheduled for merge) pulled in by
~dev-qt/qtdbus-5.6.0 required by (dev-qt/qdbus-5.6.0:5/5.6::gentoo, ebuild scheduled for merge)
^ ^^^^^
(and 1 more with the same problem)
(dev-qt/qtdbus-5.5.1:5/5::gentoo, installed) pulled in by
~dev-qt/qtdbus-5.5.1 required by (dev-qt/qtgui-5.5.1-r1:5/5::gentoo, installed)
^ ^^^^^
dev-libs/xapian:0
(dev-libs/xapian-1.3.5:0/1.3.6::gentoo, ebuild scheduled for merge) pulled in by
(no parents that aren't satisfied by other packages in this slot)
(dev-libs/xapian-1.2.23:0/1.2.22::gentoo, installed) pulled in by
=dev-libs/xapian-1.2*[chert] required by (kde-base/baloo-4.14.3:4/4.14::gentoo, installed)
^ ^^^^ |
Info: Code: | zeryk hurvajs # emerge --info
Portage 2.2.28 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.23-r2, 4.5.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.5.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4790K_CPU_@_4.00GHz-with-gentoo-2.2
KiB Mem: 32893168 total, 20434664 free
KiB Swap: 38547452 total, 38547452 free
Timestamp of repository gentoo: Sun, 01 May 2016 08:50:01 +0000
sh bash 4.3_p42-r2
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42-r2::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.22.2::gentoo
dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo
dev-util/cmake: 3.5.2::gentoo
dev-util/pkgconfig: 0.29.1::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.20.5::gentoo
sys-apps/sandbox: 2.10-r2::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake: 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 5.3.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r2::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.5::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r2::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.cz.gentoo.org/gentoo-portage
priority: -1000
kde
location: /var/lib/layman/kde
sync-type: laymansync
sync-uri: git://anongit.gentoo.org/proj/kde.git
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* @EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
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_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l3.75"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli clucene consolekit cracklib crypt cxx dbus declarative djvu dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gstreamer gtk iconv ipod ipv6 jpeg jpeg2k kde lcms libnotify lzma mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd theora tiff truetype udev udisks unicode upower usb v4l vdpau vorbis wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64 pc multiboot" 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby23" 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"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON |
make.conf: Code: | zeryk hurvajs # cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=core-avx2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="-cups -doc -gnome -kipi -ldap -vlc X a52 aac acl acpi alsa berkdb bindist bluetooth branding bzip2 cairo cdr clucene consolekit cracklib crypt djvu dbus dri dts dvd dvdr encode exif fam flac gif gstreamer gtk iconv ipod ipv6 jpeg jpeg2k kde lcms libnotify lzma mmx mmxext modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl pam pcre pdf phonon plasma png policykit pulseaudio qt3support qt4 qt5 readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff theora truetype
udev udisks unicode upower usb vdpau v4l vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvmc xvid zlib wayland"
# TRY USE THESE FLAGS
# samba taglib egl ffmpeg
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
MAKEOPTS="-j5 -l3.75"
CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="* @EULA"
INPUT_DEVICES="evdev"
VIDEO_CARDS="nvidia"
#CAMERAS="ptp2"
ALSA_CARDS="hda-intel"
LINGUAS="en"
FEATURES="parallel-fetch"
GRUB_PLATFORMS="efi-64 pc multiboot"
PHP_TARGETS="php5-6"
PHP_INI_VERSION="development"
PYTHON_TARGETS="python2_7"
RUBY_TARGETS="ruby23" |
|
|
Back to top |
|
 |
Hotblack n00b


Joined: 28 Dec 2004 Posts: 45
|
Posted: Mon May 02, 2016 1:27 pm Post subject: |
|
|
Unmerge all Qt 5.6.0 packages
Code: | emerge -C =dev-qt/qtgui-5.6.0 =dev-qt/qtcore-5.6.0 [...] and so on |
Add them in your package.mask:
Code: | >=dev-qt/designer-5.6
>=dev-qt/linguist-tools-5.6
>=dev-qt/qdbus-5.6
>=dev-qt/qtconcurrent-5.6
>=dev-qt/qtcore-5.6
>=dev-qt/qtdbus-5.6
>=dev-qt/qtdeclarative-5.6
>=dev-qt/qtgraphicaleffects-5.6
>=dev-qt/qtgui-5.6
>=dev-qt/qtimageformats-5.6
>=dev-qt/qtmultimedia-5.6
>=dev-qt/qtnetwork-5.6
>=dev-qt/qtopengl-5.6
>=dev-qt/qtpaths-5.6
>=dev-qt/qtprintsupport-5.6
>=dev-qt/qtquickcontrols-5.6
>=dev-qt/qtscript-5.6
>=dev-qt/qtsql-5.6
>=dev-qt/qtsvg-5.6
>=dev-qt/qttest-5.6
>=dev-qt/qtwidgets-5.6
>=dev-qt/qtx11extras-5.6
>=dev-qt/qtxml-5.6
>=dev-qt/qtxmlpatterns-5.6
|
then retry with
Code: | emerge -DNuav @world |
and see if conflicts have been solved |
|
Back to top |
|
 |
sunoterra n00b


Joined: 04 Jun 2004 Posts: 43 Location: Michigan
|
Posted: Fri May 13, 2016 8:58 pm Post subject: re: Upgrade to Qt 5.6 failed |
|
|
This is a bit strange ... I'm lazy and/or forgetful about maintaining masked packages so, I avoid it if I can.
I attempted to emerge the updates for dev-qt/qtdbus, dev-qt/qtwidgets & dev-qt/qtgui specifically, and then noticed that dev-qt/qtx11extras was complaining that it's 5.5.1 version required those three I just tried to emerge to be version 5.5.1 so, then I specified all of them:
Code: |
emerge -av dev-qt/qtdbus dev-qt/qtwidgets dev-qt/qtgui dev-qt/qtx11extras dev-qt/qtcore
|
and then the emerge went forward without complaints.
*shrug* _________________ l33t/n00b |
|
Back to top |
|
 |
asturm Developer


Joined: 05 Apr 2007 Posts: 8064 Location: Austria
|
Posted: Fri May 13, 2016 9:05 pm Post subject: |
|
|
It is bad practice to emerge dependencies like that. As a result, your world file holds 5 additional entries that should only be present on your system as long as packages depend on them (unless you do development with Qt and need those files present even without consuming packages).
Always add --oneshot (-1) if you manually (re-)emerge packages that you do not have a special interest in.
@Hotblack: masking upgrade != fixing problem _________________ backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic |
|
Back to top |
|
 |
sunoterra n00b


Joined: 04 Jun 2004 Posts: 43 Location: Michigan
|
Posted: Sat May 14, 2016 4:17 pm Post subject: |
|
|
Thanks for the most excellent insight.
genstorm wrote: | It is bad practice to emerge dependencies like that. As a result, your world file holds 5 additional entries that should only be present on your system as long as packages depend on them (unless you do development with Qt and need those files present even without consuming packages).
Always add --oneshot (-1) if you manually (re-)emerge packages that you do not have a special interest in. |
I understand what you are stating. If I re-emerge the previously stated packages using the --oneshot option, will that take care of removing them from the world file, or is it better to just run emerge with the --deselect option? _________________ l33t/n00b |
|
Back to top |
|
 |
asturm Developer


Joined: 05 Apr 2007 Posts: 8064 Location: Austria
|
Posted: Sat May 14, 2016 4:27 pm Post subject: |
|
|
No need to rebuild them (and it wouldn't help), `emerge --deselect` does the job:
From `man emerge`:
Code: | Remove atoms and/or sets from the world file. This action is implied by uninstall actions, including --depclean, --prune and --unmerge. Use --deselect=n in order to prevent uninstall actions from removing atoms from the world file. |
_________________ backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Last edited by asturm on Sat May 14, 2016 4:32 pm; edited 1 time in total |
|
Back to top |
|
 |
sunoterra n00b


Joined: 04 Jun 2004 Posts: 43 Location: Michigan
|
Posted: Sat May 14, 2016 4:32 pm Post subject: |
|
|
genstorm wrote: | It is bad practice to emerge dependencies like that. ... |
I believe I found the answer to my question:
Quote: | https://wiki.gentoo.org/wiki/World_set_(Portage) |
That will help clean up a dirty emerge @world. _________________ l33t/n00b
Last edited by sunoterra on Sat May 14, 2016 4:36 pm; edited 1 time in total |
|
Back to top |
|
 |
sunoterra n00b


Joined: 04 Jun 2004 Posts: 43 Location: Michigan
|
Posted: Sat May 14, 2016 4:33 pm Post subject: |
|
|
genstorm wrote: | No need to rebuild them (and it wouldn't help), `emerge --deselect` does the job: |
Excellent ... thanks for the verification of my findings. _________________ l33t/n00b |
|
Back to top |
|
 |
RAPHEAD Tux's lil' helper

Joined: 20 Jun 2003 Posts: 134 Location: Germany
|
Posted: Fri Jul 08, 2016 5:12 am Post subject: |
|
|
I can confirm that it workes withh unmerging all qt packages.
Without that I got similar conflicts like described above.
The unmerging however I did more elegantly like this:
Code: | emerge --ask --unmerge $(qlist -IC 'dev-qt/*') |
|
|
Back to top |
|
 |
Jake Veteran

Joined: 31 Jul 2003 Posts: 1132
|
Posted: Sun Aug 21, 2016 5:09 am Post subject: |
|
|
RAPHEAD wrote: | I can confirm that it workes withh unmerging all qt packages.
Without that I got similar conflicts like described above.
The unmerging however I did more elegantly like this:
Code: | emerge --ask --unmerge $(qlist -IC 'dev-qt/*') |
|
Simple, and just what I needed to fix a broken KDE upgrade. Thanks. |
|
Back to top |
|
 |
asturm Developer


Joined: 05 Apr 2007 Posts: 8064 Location: Austria
|
Posted: Sun Aug 21, 2016 7:02 am Post subject: |
|
|
fyi if you just use the same command with --update instead of --unmerge it would work as well, without removing Qt packages. Always add --oneshot though so these don't enter world... _________________ backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic |
|
Back to top |
|
 |
|