Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libreoffice breaks after update
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
thekeymaker
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2010
Posts: 104

PostPosted: Sat Apr 14, 2012 7:00 pm    Post subject: libreoffice breaks after update Reply with quote

I am not sure if this is the right spot for this but anyways...

I recently updated my machine and got through the hole qt blocked packages business, and now everything seems to work except libreoffice.

When I run it I get the following error message:
Code:

    Cannot mix incompatible Qt library (version 0x40702) with this library (version 0x40704)


Is there a way to remove the old version of QT? 4.7.2 I asume.

Currently using libreoffice-3.5.2.2

any ideas?
Back to top
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 7610

PostPosted: Sat Apr 14, 2012 7:11 pm    Post subject: Reply with quote

Have you tried rebuilding libreoffice? What Qt packages do you have installed?
Back to top
View user's profile Send private message
thekeymaker
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2010
Posts: 104

PostPosted: Sat Apr 14, 2012 7:17 pm    Post subject: Reply with quote

Yes I tried reinstalling libreoffice

I am not sure how to find out exactly which qt version I have installed, but if I do an
Code:

ls /usr/lib64/qt


it shows me this:

Code:

imports                 libQtDBus.prl              libQtDesigner.so                  libQtGui.so.4             libQtNetwork.so.4.7    libQtScript.so.4.7.4       libQtSvg.prl        libQtUiTools.prl      libQtXmlPatterns.prl
libQt3Support.prl       libQtDBus.so               libQtDesigner.so.4                libQtGui.so.4.7           libQtNetwork.so.4.7.4  libQtScriptTools.prl       libQtSvg.so         libQtWebKit.prl       libQtXmlPatterns.so
libQt3Support.so        libQtDBus.so.4             libQtDesigner.so.4.7              libQtGui.so.4.7.4         libQtOpenGL.prl        libQtScriptTools.so        libQtSvg.so.4       libQtWebKit.so        libQtXmlPatterns.so.4
libQt3Support.so.4      libQtDBus.so.4.7           libQtDesigner.so.4.7.4            libQtMultimedia.prl       libQtOpenGL.so         libQtScriptTools.so.4      libQtSvg.so.4.7     libQtWebKit.so.4      libQtXmlPatterns.so.4.7
libQt3Support.so.4.7    libQtDBus.so.4.7.4         libQtDesignerComponents.prl       libQtMultimedia.so        libQtOpenGL.so.4       libQtScriptTools.so.4.7    libQtSvg.so.4.7.4   libQtWebKit.so.4.7    libQtXmlPatterns.so.4.7.4
libQt3Support.so.4.7.4  libQtDeclarative.prl       libQtDesignerComponents.so        libQtMultimedia.so.4      libQtOpenGL.so.4.7     libQtScriptTools.so.4.7.4  libQtTest.prl       libQtWebKit.so.4.7.4  plugins
libQtCore.prl           libQtDeclarative.so        libQtDesignerComponents.so.4      libQtMultimedia.so.4.7    libQtOpenGL.so.4.7.4   libQtSql.prl               libQtTest.so        libQtXml.prl
libQtCore.so            libQtDeclarative.so.4      libQtDesignerComponents.so.4.7    libQtMultimedia.so.4.7.4  libQtScript.prl        libQtSql.so                libQtTest.so.4      libQtXml.so
libQtCore.so.4          libQtDeclarative.so.4.7    libQtDesignerComponents.so.4.7.4  libQtNetwork.prl          libQtScript.so         libQtSql.so.4              libQtTest.so.4.7    libQtXml.so.4
libQtCore.so.4.7        libQtDeclarative.so.4.7.4  libQtGui.prl                      libQtNetwork.so           libQtScript.so.4       libQtSql.so.4.7            libQtTest.so.4.7.4  libQtXml.so.4.7
libQtCore.so.4.7.4      libQtDesigner.prl          libQtGui.so                       libQtNetwork.so.4         libQtScript.so.4.7     libQtSql.so.4.7.4          libQtUiTools.a      libQtXml.so.4.7.4


So I assume it is 4.7.4

Is there a better way to check?

Oh I have also tried running revdep-rebuild and that doesn't seem to work ether.
Back to top
View user's profile Send private message
thekeymaker
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2010
Posts: 104

PostPosted: Sat Apr 14, 2012 7:57 pm    Post subject: Reply with quote

I also found this when I tried emerge -auND world again:

Code:

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

Calculating dependencies... done!

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

x11-libs/qt-qt3support:4

  (x11-libs/qt-qt3support-4.8.1::gentoo, ebuild scheduled for merge) conflicts with
    ~x11-libs/qt-qt3support-4.7.4[-aqua] required by (x11-libs/qt-declarative-4.7.4::gentoo, installed)

x11-libs/qt-opengl:4

  (x11-libs/qt-opengl-4.8.1::gentoo, ebuild scheduled for merge) conflicts with
    ~x11-libs/qt-opengl-4.7.4[-aqua,qt3support] required by (x11-libs/qt-declarative-4.7.4::gentoo, installed)


!!! The following update(s) have been skipped due to unsatisfied dependencies
!!! triggered by backtracking:

x11-libs/qt-gui:4
x11-libs/qt-webkit:4
x11-libs/qt-core:4


could this be a reason to wrong versions of qt?
How would I go about emerging these packages. I tried adding those use flags to my package.use file but that didn't change anything
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Sat Apr 14, 2012 8:44 pm    Post subject: Reply with quote

thekeymaker,

Quote:
So I assume it is 4.7.4

Is there a better way to check?

If you don't have gentoolkit installed then install app-portage/gentoolkit for equery
Code:
root@gentoo-gateway home # equery l -p qt-core
 * Searching for qt-core ...
[-P-] [  ] x11-libs/qt-core-4.6.3-r1:4
[-P-] [  ] x11-libs/qt-core-4.7.2-r2:4
[-P-] [  ] x11-libs/qt-core-4.7.4-r1:4
[IP-] [  ] x11-libs/qt-core-4.8.1:4

You can also search to see what package a file belongs to with:
Code:
root@gentoo-gateway qt4 # equery b /usr/lib64/qt4/libQt3Support.so
 * Searching for /usr/lib64/qt4/libQt3Support.so ...
x11-libs/qt-qt3support-4.8.1 (/usr/lib64/qt4/libQt3Support.so -> libQt3Support.so.4.8.1)
x11-libs/qt-qt3support-4.8.1 (/usr/lib64/qt4/libQt3Support.so.4.8.1)

Another good utility is eix (app-portage/eix). Just enter eix gentoolkit and get the result in under two seconds
Code:
root@gentoo-gateway qt4 # eix gentoolkit
[I] app-portage/gentoolkit
     Available versions:  0.3.0.4-r5 0.3.0.5 (~)0.3.0.6 **9999 {{minimal}}
     Installed versions:  0.3.0.6(11:19:59 AM 04/12/2012)
     Homepage:            http://www.gentoo.org/proj/en/portage/tools/index.xml
     Description:         Collection of administration scripts for Gentoo

* app-portage/gentoolkit-dev
     Available versions:  0.2.6.14 0.2.7 0.2.8 **9999
     Homepage:            http://www.gentoo.org/proj/en/portage/tools/index.xml
     Description:         Collection of developer scripts for Gentoo

Found 2 matches.

Hope this helps :wink:
Back to top
View user's profile Send private message
thekeymaker
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2010
Posts: 104

PostPosted: Sat Apr 14, 2012 9:26 pm    Post subject: Reply with quote

Thanks BillWho!
I have never tried those commands before!

So with your helpful tip I ran:

Code:

equery l -p qt*


and got this:

Code:

[-P-] [ ~] app-emulation/qtemu-1.0.5:0                                                                                                                                                                                                       
[-P-] [ ~] app-mobilephone/qtadb-0.8.1:0                                                                                                                                                                                                     
[-P-] [  ] dev-tex/qtexengine-0.3:0                                                                                                                                                                                                         
[-P-] [  ] dev-util/qt-creator-2.1.0:0                                                                                                                                                                                                       
[-P-] [  ] dev-util/qt-creator-2.3.1:0                                                                                                                                                                                                       
[-P-] [  ] dev-util/qt-creator-2.4.1:0
[-P-] [M~] dev-util/qt-creator-2.5.0_beta:0
[-P-] [  ] games-engines/qtads-2.1.1:0
[-P-] [ ~] games-engines/qtads-2.1.3:0
[-P-] [  ] kde-base/qtruby-4.7.4:4
[-P-] [  ] kde-base/qtruby-4.8.1:4
[-P-] [ ~] kde-base/qtruby-4.8.2:4
[-P-] [ ~] kde-misc/qtrans-0.2.2.6:4
[-P-] [ ~] media-sound/qtagconvert-2.0.0-r1:0
[-P-] [  ] media-sound/qtagger-1.0.1:0
[-P-] [ ~] media-sound/qtgain-0.9.5:0
[-P-] [ ~] media-sound/qtmpc-0.6.1:0
[-P-] [ ~] media-sound/qtractor-0.5.4:0
[-P-] [  ] media-sound/qtscrobbler-0.10:0
[-P-] [  ] media-video/qt-recordmydesktop-0.3.8:0
[-P-] [ ~] media-video/qt-recordmydesktop-0.3.8-r1:0
[-P-] [ ~] net-dialup/qtwvdialer-0.4.4_p20091228:0
[-P-] [  ] net-im/qtwitter-0.10.0:0
[-P-] [ ~] net-im/qtwitter-0.10.0-r1:0
[-P-] [ ~] net-libs/qtweetlib-0.4:0
[-P-] [ ~] net-libs/qtweetlib-0.5:0
[-P-] [ -] net-libs/qtweetlib-9999:0
[-P-] [ ~] net-mail/qtools-0.56:0
[-P-] [  ] net-misc/qtm-1.3.6:0
[-P-] [  ] net-misc/qtnx-0.9:0
[-P-] [  ] sci-mathematics/qtoctave-0.9.1-r1:0
[-P-] [ ~] sci-mathematics/qtoctave-0.10.1:0
[-P-] [  ] sci-visualization/qtiplot-0.9.8.2:0
[-P-] [ ~] sci-visualization/qtiplot-0.9.8.9:0
[-P-] [ ~] sci-visualization/qtiplot-0.9.8.9-r1:0
[-P-] [  ] x11-libs/qt-assistant-4.6.3:4
[-P-] [  ] x11-libs/qt-assistant-4.7.2:4
[-P-] [  ] x11-libs/qt-assistant-4.7.4:4
[-P-] [ ~] x11-libs/qt-assistant-4.8.1-r1:4
[-P-] [  ] x11-libs/qt-core-4.6.3-r1:4
[-P-] [  ] x11-libs/qt-core-4.7.2-r2:4
[IP-] [  ] x11-libs/qt-core-4.7.4-r1:4
[-P-] [ ~] x11-libs/qt-core-4.8.1:4
[-P-] [  ] x11-libs/qt-dbus-4.6.3:4
[-P-] [  ] x11-libs/qt-dbus-4.7.2:4
[IP-] [  ] x11-libs/qt-dbus-4.7.4:4
[-P-] [ ~] x11-libs/qt-dbus-4.8.1:4
[-P-] [  ] x11-libs/qt-declarative-4.7.2-r1:4
[IP-] [  ] x11-libs/qt-declarative-4.7.4:4
[-P-] [ ~] x11-libs/qt-declarative-4.8.1:4
[-P-] [  ] x11-libs/qt-demo-4.6.3:4
[-P-] [  ] x11-libs/qt-demo-4.7.2:4
[-P-] [  ] x11-libs/qt-demo-4.7.4:4
[-P-] [ ~] x11-libs/qt-demo-4.8.1-r1:4
[-P-] [  ] x11-libs/qt-gui-4.6.3:4
[-P-] [  ] x11-libs/qt-gui-4.6.3-r2:4
[-P-] [  ] x11-libs/qt-gui-4.7.2:4
[IP-] [  ] x11-libs/qt-gui-4.7.4-r1:4
[-P-] [ ~] x11-libs/qt-gui-4.8.1-r1:4
[-P-] [ ~] x11-libs/qt-meta-4.6:4
[-P-] [ ~] x11-libs/qt-meta-4.7:4
[-P-] [ ~] x11-libs/qt-meta-4.8:4
[-P-] [ ~] x11-libs/qt-mobility-1.2.0:0
[-P-] [ ~] x11-libs/qt-mobility-1.2.2_p20120403:0
[-P-] [  ] x11-libs/qt-multimedia-4.6.3:4
[-P-] [  ] x11-libs/qt-multimedia-4.7.2:4
[IP-] [  ] x11-libs/qt-multimedia-4.7.4:4
[-P-] [ ~] x11-libs/qt-multimedia-4.8.1:4
[-P-] [  ] x11-libs/qt-opengl-4.6.3:4
[-P-] [  ] x11-libs/qt-opengl-4.7.2:4
[IP-] [  ] x11-libs/qt-opengl-4.7.4:4
[-P-] [ ~] x11-libs/qt-opengl-4.8.1:4
[-P-] [ ~] x11-libs/qt-openvg-4.8.1:4
[-P-] [  ] x11-libs/qt-phonon-4.6.3:4
[-P-] [  ] x11-libs/qt-phonon-4.7.2:4
[-P-] [  ] x11-libs/qt-phonon-4.7.4:4
[-P-] [ ~] x11-libs/qt-phonon-4.8.1:4
[-P-] [  ] x11-libs/qt-qt3support-4.6.3:4
[-P-] [  ] x11-libs/qt-qt3support-4.7.2:4
[IP-] [  ] x11-libs/qt-qt3support-4.7.4:4
[-P-] [ ~] x11-libs/qt-qt3support-4.8.1:4
[-P-] [  ] x11-libs/qt-script-4.6.3:4
[-P-] [  ] x11-libs/qt-script-4.7.2:4
[IP-] [  ] x11-libs/qt-script-4.7.4:4
[-P-] [ ~] x11-libs/qt-script-4.8.1:4
[-P-] [  ] x11-libs/qt-sql-4.6.3-r2:4
[-P-] [  ] x11-libs/qt-sql-4.7.2:4
[IP-] [  ] x11-libs/qt-sql-4.7.4:4
[-P-] [ ~] x11-libs/qt-sql-4.8.1:4
[-P-] [  ] x11-libs/qt-svg-4.6.3:4
[-P-] [  ] x11-libs/qt-svg-4.7.2:4
[IP-] [  ] x11-libs/qt-svg-4.7.4:4
[-P-] [ ~] x11-libs/qt-svg-4.8.1:4
[-P-] [  ] x11-libs/qt-test-4.6.3:4
[-P-] [  ] x11-libs/qt-test-4.7.2:4
[IP-] [  ] x11-libs/qt-test-4.7.4:4
[-P-] [ ~] x11-libs/qt-test-4.8.1:4
[-P-] [  ] x11-libs/qt-webkit-4.6.3-r1:4
[-P-] [ ~] x11-libs/qt-webkit-4.6.3-r2:4
[-P-] [  ] x11-libs/qt-webkit-4.7.2:4
[IP-] [  ] x11-libs/qt-webkit-4.7.4:4
[-P-] [ ~] x11-libs/qt-webkit-4.8.1:4
[-P-] [  ] x11-libs/qt-xmlpatterns-4.6.3:4
[-P-] [  ] x11-libs/qt-xmlpatterns-4.7.2:4
[IP-] [  ] x11-libs/qt-xmlpatterns-4.7.4:4
[-P-] [ ~] x11-libs/qt-xmlpatterns-4.8.1:4
[-P-] [  ] x11-libs/qtscriptgenerator-0.1.0:0
[IP-] [  ] x11-libs/qtscriptgenerator-0.1.0-r2:0
[-P-] [  ] x11-misc/qterm-0.5.11:0
[-P-] [  ] x11-misc/qterm-0.5.12:0
[-P-] [ ~] x11-misc/qtfm-5.3:0
[-P-] [ ~] x11-misc/qtnotifydaemon-1.0.14:0
[-P-] [  ] x11-themes/qtcurve-qt4-1.6.4-r1:0
[-P-] [  ] x11-themes/qtcurve-qt4-1.8.9:0
[-P-] [ ~] x11-themes/qtcurve-qt4-1.8.10:0


I assume that the "I" means installed.

So I guess my question is why is libreoffice trying to use an older version of qt?
Could I set some env variable to tell libreoffice to use the new library?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Sat Apr 14, 2012 9:46 pm    Post subject: Reply with quote

thekeymaker

Quote:
I assume that the "I" means installed.

Yes, you assumed correctly.

As far as the problems you're encountering with libreoffice, I honestly can't answer that. I switched to app-office/libreoffice-bin to eliminate compiles.

It seemed that just about every revdep-rebuild needed to recompile libreoffice, so I decided to switch.

I think some of your problems are due to use flag settings. What I did was clean them up so there were no conflicting use flags and, used /etc/portage/package.use when a package required a certain setting rather than entering it in /etc/make.conf.

Since I did that, I rarely experience a problem with updates or installing packages.

Good luck :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4735

PostPosted: Sun Apr 15, 2012 8:20 am    Post subject: Re: libreoffice breaks after update Reply with quote

thekeymaker wrote:
I am not sure if this is the right spot for this but anyways...

I recently updated my machine and got through the hole qt blocked packages business, and now everything seems to work except libreoffice.

When I run it I get the following error message:
Code:

    Cannot mix incompatible Qt library (version 0x40702) with this library (version 0x40704)


Is there a way to remove the old version of QT? 4.7.2 I asume.

Currently using libreoffice-3.5.2.2

any ideas?


please provide the output of ldd libreoffice bin that you are trying to run.

also, when you update something and it breaks a package, run revdep-rebuild from gentoolkit.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
thekeymaker
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2010
Posts: 104

PostPosted: Sun Apr 15, 2012 5:35 pm    Post subject: Reply with quote

I did try doing a revdep-rebuild after the update.

When I run ldd /usr/bin/libreoffice I get:

Code:

        not a dynamic executable


So does that mean that the libraries are statically linked in?

Versoin:
Code:

[IP-] [  ] app-office/libreoffice-3.5.2.2:0
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4735

PostPosted: Sun Apr 15, 2012 6:08 pm    Post subject: Reply with quote

this is strange:
Code:
dagg@NCC-5001-D ~ $ qlist libreoffice | grep soffice.bin
/usr/lib64/libreoffice/program/soffice.bin
dagg@NCC-5001-D ~ $ ldd /usr/lib64/libreoffice/program/soffice.bin
        not a dynamic executable
dagg@NCC-5001-D ~ $ file /usr/lib64/libreoffice/program/soffice.bin
/usr/lib64/libreoffice/program/soffice.bin: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped


run the libreoffice from shell as follows:
Code:
set -x
libreoffice

and paste the output here please
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Sun Apr 15, 2012 6:17 pm    Post subject: Reply with quote

thekeymaker,

Quote:
When I run ldd /usr/bin/libreoffice I get:

Code:

not a dynamic executable


So does that mean that the libraries are statically linked in?

Not quite, it's an ASCII text executable
Code:
root@gentoo-gateway portage # file /usr/bin/libreoffice
/usr/bin/libreoffice: POSIX shell script, ASCII text executable

I noticed that two use flags (-aqua and qt3support) are listed in your emerge message. Paste back:
Code:
emerge --info

and
Code:
emerge -pvq =$(equery l x11-libs/qt-qt3support) =$(equery l x11-libs/qt-opengl)

These might help with resolving the conflict
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
thekeymaker
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2010
Posts: 104

PostPosted: Sun Apr 15, 2012 6:47 pm    Post subject: Reply with quote

emerge --info:

Code:

Portage 2.1.10.49 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r2, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 13 Apr 2012 16:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3, 3.1.3-r1, 3.2.2-r1
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2, 4.6.0
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mno-avx -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/env.d /etc/env.d/java/ /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="-march=native -mno-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j5"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx daap dbus dri dts dvd dvdr emboss encode exif fam ffmepg firefox flac fortran gdbm gdu gif gpm gtk iconv ipv6 jpeg kde lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xinerama xml xorg xulrunner xv xvid zlib" 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="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" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Emerge:
Code:

[ebuild   R   ] x11-libs/qt-qt3support-4.7.4  USE="accessibility exceptions kde (-aqua) -debug -pch -phonon"
[ebuild   R   ] x11-libs/qt-opengl-4.7.4  USE="exceptions qt3support (-aqua) -debug -egl -pch"


set -x libreoffice gave me this:

Code:

+ libreoffice
Cannot mix incompatible Qt library (version 0x40702) with this library (version 0x40704)



do you run one
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1576
Location: US

PostPosted: Sun Apr 15, 2012 7:41 pm    Post subject: Reply with quote

thekeymaker,

Try at your own risk :!:

Code:
emerge -Ca =x11-libs/qt-declarative-4.7.4

I'm basing this on the criteria that both packages are blocked by it and it's not in libreoffice dependency graph nor is any package dependent on it.
Code:
root@gentoo-gateway portage # equery g app-office/libreoffice-3.5.2.2|grep qt-declarative
root@gentoo-gateway portage # equery d qt-declarative
 * These packages depend on qt-declarative:


You might want to wait for a better answer, but this is how I would proceed faced with these errors. You can always reemerge the package

Good luck :wink:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
The Doctor
l33t
l33t


Joined: 27 Jul 2010
Posts: 940

PostPosted: Sun Apr 15, 2012 8:08 pm    Post subject: Reply with quote

You can clean that up by using one command to check for dependancies and remove the unwanted program: just run emerge -ca =x11-libs/qt-declarative-4.7.4 with a small c instead of a capital C.

Also remember to run emerge -c often to clean out the old dependencies that are not used anymore, and make sure they don't get in your world file.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
thekeymaker
Tux's lil' helper
Tux's lil' helper


Joined: 15 Aug 2010
Posts: 104

PostPosted: Sun Apr 15, 2012 8:34 pm    Post subject: Reply with quote

penguin swordmaster wrote:

Also remember to run emerge -c often to clean out the old dependencies that are not used anymore, and make sure they don't get in your world file.


Wow :D Learning a lot of new stuff.
I am a little confused by what you mean by:

penguin swordmaster wrote:

and make sure they don't get in your world file.


Does that mean I shouldn't have anything in my world file that has a version extension on it? For example after examine /var/lib/portage/world
I found a few entrees: like this:

Code:

sys-libs/glibc:2.2
media-libs/tiff:3
media-libs/libpng:1.2
media-libs/libpng:1.4
dev-lang/python:2.7


Is that bad and should I change them to get ride of everything past the colon?
Back to top
View user's profile Send private message
The Doctor
l33t
l33t


Joined: 27 Jul 2010
Posts: 940

PostPosted: Sun Apr 15, 2012 8:50 pm    Post subject: Reply with quote

I just mean that your world file should not acquire things like x11-libs/qt-declarative, portage, glibc, or gcc because they are part of the system set. If they are added to the world file then emerge -c will not remove them even if they are unneeded. It is safest to use the --oneshot option, which is conveniently abbreviated -1 if you are specifically recompiling part of your system set. This tells portage not to add the packages to the world file.

The version numbers are not the end of the world, but they might get in the way during update. If you did not put them there, then I would just leave them alone. In general the world file is best left undisturbed and managed only through portage.

Quote:
Code:
sys-libs/glibc:2.2
media-libs/tiff:3
media-libs/libpng:1.2
media-libs/libpng:1.4
dev-lang/python:2.7

These are mostly harmless. None of these really needs to be in the world file in the first place so the version specification should not be a problem. The probably were added when you recompiled them without the -1 option.
If you ever decide to remove the unneeded bits form your world file, BE SURE TO BACK IT UP. You wouldn't want to break your system!
_________________
First things first, but not necessarily in that order.
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