| View previous topic :: View next topic |
| Author |
Message |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Mon Feb 01, 2010 1:00 am Post subject: qt-qt3support-4.6.1 fails to install qt-gui [SOLVED] |
|
|
Hi,
I've been battling with this qt mess all w/e.
I seem to have tracked it down to qt-qt3support and qt-gui. They seem to work together in a somewhat hacked version of the usual ebuild process.
-su-3.2#emerge -p qt-gui
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] x11-libs/qt-gui-4.6.1
[ebuild N ] x11-libs/qt-qt3support-4.6.1 USE="accessibility kde (-aqua) -debug -pch -phonon"
sort of pulls in qt-qt3support but builds it after not before.
Now at the end of qt-gui build it "installs" it without installing :
| Code: |
....
>>> Test phase [not enabled]: x11-libs/qt-gui-4.6.1
>>> Install qt-gui-4.6.1 into /back/tmp/portage/x11-libs/qt-gui-4.6.1/image/ category x11-libs
rmdir: failed to remove `/back/tmp/portage/x11-libs/qt-gui-4.6.1/image///usr/lib/qt4/pkgconfig': No such file or directory
>>> Completed installing qt-gui-4.6.1 into /back/tmp/portage/x11-libs/qt-gui-4.6.1/image/
>>> Installing (1 of 2) x11-libs/qt-gui-4.6.1
>>> Recording x11-libs/qt-gui in "world" favorites file...
>>> Emerging (2 of 2) x11-libs/qt-qt3support-4.6.1
....
|
then when it finishes build qt3support the linker fails to find QtGui because it is in the portage work area not installed where it can find it.
This prevents anything else that depends of qt4 from installing since the libs are not in place.
Are other not hitting this problem because they already have an older qt4 installed that allows this possibly buggy ebuild to complete and hence bootstrap itself?
Before these changes I was not on the split packages.
I could try installing an intermediate version but it looks like something broken here.
I thought there were binary repos for this kind of problem but I don't seem to find any . Probably any i686/athlon bin would get me out of the catch 22 here.
TIA, Gentree.  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Last edited by Gentree on Fri Feb 05, 2010 2:09 pm; edited 1 time in total |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4060
|
Posted: Mon Feb 01, 2010 2:46 am Post subject: |
|
|
I do hope your post was caused by lack of sleep.
qt 4.6.1 splits work just fine and qt-qt3support is correctly emerged after
qt-gui. |
|
| Back to top |
|
 |
ssuominen Developer

Joined: 30 Sep 2005 Posts: 1376 Location: Finland
|
Posted: Mon Feb 01, 2010 4:15 am Post subject: Re: qt-qt3support-4.6.1 fails to install qt-gui |
|
|
| Gentree wrote: | Hi,
then when it finishes build qt3support the linker fails to find QtGui because it is in the portage work area not installed where it can find it.
This prevents anything else that depends of qt4 from installing since the libs are not in place.
|
The linker? I bet you need the path passed with -L flag, like,
gcc -L/usr/lib/qt4 -lQtGui
Don't know what you are building, but setting proper QTDIR or QTLIBDIR environment variable should work |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Mon Feb 01, 2010 11:48 am Post subject: |
|
|
thanks for the reply,
I'm not trying to build anything special , just update to the split ebuilds.
Both revdep and emerge -uD world put these packages at the head of the list.
| Code: | bash-3.2#em -uDp world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-util/cmake-2.8.0-r1 [2.8.0] USE="ncurses%*"
[ebuild N ] x11-libs/qt-qt3support-4.6.1 USE="accessibility kde (-aqua) -debug -pch -phonon"
[ebuild N ] x11-libs/qt-svg-4.6.1 USE="iconv (-aqua) -debug -pch"
[ebuild N ] x11-libs/qt-opengl-4.6.1 USE="qt3support (-aqua) -debug -pch"
[ebuild N ] x11-libs/qt-webkit-4.6.1 USE="kde (-aqua) -debug -pch"
|
cmake fails with exactly the same problem as I posted in another unresolved thread this w'e.
(That is doubly odd since the precompile check says it does not find qt but then goes ahead to fail later when it needs it.)
revdep shows a whole shit load of packages that are broken because of missing qt4. Yet don't try to build it.
| Code: | revdep-rebuild -ip
...
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-util/cmake-2.8.0-r1 [2.8.0] USE="ncurses%*"
[ebuild N ] x11-libs/qt-svg-4.6.1 USE="iconv (-aqua) -debug -pch"
[ebuild N ] x11-libs/qt-qt3support-4.6.1 USE="accessibility kde (-aqua) -debug -pch -phonon"
[ebuild R ] x11-libs/cairo-1.8.8
[ebuild R ] media-video/ffmpeg-9999-r1
[ebuild R ] media-video/smplayer-0.6.8
|
I do have two statically built qt4 libs via opera and googleearth that maybe I could copy across but that seems completely hacky and error prone way to go.
I'd much rather understand what is broken and why I can't emerge the split qt4 packages.
I started out with a whole rake of blocks and counter blocks so I just unmerged the old qt stuff to let portage pull in what was needed. That was Sat a.m. and I'm still battling with this shit.
What package actually provides the Qt4libs? I seem to be in a chicken and egg situation here.
I don't understand why I have to do anything like screwing around env vars, linkers or anything else.
Why can't portage just emerge what's required?
 _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4060
|
Posted: Mon Feb 01, 2010 1:54 pm Post subject: |
|
|
Try unmerging all of qt splits, check what 'emerge -upvD @world' wants to pull
and 'emerge -1 <listed qt splits>'.
Paste 'emerge -1pv <listed qt splits>' output, so we know what you want to emerge.
On that note - splitting happened ages ago... |
|
| Back to top |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon Feb 01, 2010 3:05 pm Post subject: |
|
|
| Can you post your emerge --info please. |
|
| Back to top |
|
 |
yngwin Developer


Joined: 19 Dec 2002 Posts: 4219 Location: Suzhou, China
|
Posted: Mon Feb 01, 2010 4:28 pm Post subject: |
|
|
| Gentree wrote: | Both revdep and emerge -uD world put these packages at the head of the list.
| Code: | bash-3.2#em -uDp world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-util/cmake-2.8.0-r1 [2.8.0] USE="ncurses%*"
[ebuild N ] x11-libs/qt-qt3support-4.6.1 USE="accessibility kde (-aqua) -debug -pch -phonon"
[ebuild N ] x11-libs/qt-svg-4.6.1 USE="iconv (-aqua) -debug -pch"
[ebuild N ] x11-libs/qt-opengl-4.6.1 USE="qt3support (-aqua) -debug -pch"
[ebuild N ] x11-libs/qt-webkit-4.6.1 USE="kde (-aqua) -debug -pch"
|
|
This should just work, and normally does. In addition to emerge --info also post the relevant part of the build log where it fails. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Tue Feb 02, 2010 12:26 am Post subject: |
|
|
| Code: | -su-3.2#em --info
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r0, 2.6.29-hh2 i686)
=================================================================
System uname: Linux-2.6.29-hh2-i686-Unknown_CPU_Typ-with-gentoo-1.12.13
Timestamp of tree: Fri, 29 Jan 2010 19:15:02 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p50
dev-java/java-config: 2.1.9-r1
dev-lang/python: 2.6.4
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.8.0
sys-apps/baselayout: 1.12.13
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65
sys-devel/automake: 1.4_p6, 1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils: 2.20.51.0.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64 -fgnu89-inline"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64"
DISTDIR="/usr/portage/new/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo "
LANG="en_GB"
LC_ALL="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s -Wl,--hash-style=gnu"
LINGUAS="en fr en_GB fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/back/tmp"
PORTDIR="/usr/portage/new"
PORTDIR_OVERLAY="/usr/portage/local/layman/zen-overlay /usr/portage/local/layman/berkano /usr/portage/overlay"
SYNC="rsync://rsync.gentoo.stealer.net/gentoo-portage"
USE="3dnow X a52 aac acl acpi acpi4linux aiglx alsa apache2 bindist branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus directfb dri dts dvd dvdr dvdread eds emboss encode evo fam fbcon fbdev ffmpeg firefox flac foomaticdb fortran gdbm gif gimp gpm gstreamer gtk gtk2 iconv imagemagick imlib joystick jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap mysql nas ncurses network nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt3support qt4 quicktime readline reflection rtc samba sdl session slang sms spell spl sse ssl startup-notification svg svga sysfs tcltk tcpd threads thunar tiff truetype unicode usb userlocales vesa vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ens1371 cmipci es1938" 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 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" CAMERAS="ptp2 fuji panasonic canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr en_GB fr_FR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia 3dfx nv vesa vesafb"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
| Code: | emerge cmake
...
-- Looking for _POSIX_TIMERS - found
Qt QTGUI library not found.
-- Configuring done
-
...
[ 92%] Generating moc_QMacInstallDialog.cxx
Scanning dependencies of target cmake-gui
[ 92%] Building CXX object Source/QtDialog/CMakeFiles/cmake-gui.dir/AddCacheEntry.o
[ 92%] Building CXX object Source/QtDialog/CMakeFiles/cmake-gui.dir/CMakeSetup.o
In file included from /back/tmp/portage/dev-util/cmake-2.8.0-r1/work/cmake-2.8.0/Source/QtDialog/AddCacheEntry.cxx:13:
/back/tmp/portage/dev-util/cmake-2.8.0-r1/work/cmake-2.8.0/Source/QtDialog/AddCacheEntry.h:16:19: error: QWidget: No such file or directory
/back/tmp/portage/dev-util/cmake-2.8.0-r1/work/cmake-2.8.0/Source/QtDialog/AddCacheEntry.h:17:21: error: QCheckBox: No such file or directory
In file included from /back/tmp/portage/dev-util/cmake-2.8.0-r1/work/cmake-2.8.0/Source/QtDialog/AddCacheEntry.h:20,
from /back/tmp/portage/dev-util/cmake-2.8.0-r1/work/cmake-2.8.0/Source/QtDialog/AddCacheEntry.cxx:13:
/back/tmp/portage/dev-util/cmake-2.8.0-r1/work/cmake-2.8.0/Source/QtDialog/ui_AddCacheEntry.h:14:25: error: QtGui/QAction: No such file or directory
/back/tmp/portage/dev-util/cmake-2.8.0-r1/work/cmake-2.8.0/Source/QtDialog/ui_AddCacheEntry.h:15:30: error: QtGui/QApplication: No such file or directory
...
|
and about 300 similar lines [sic] of errors.
So it seems the libs are missing , but despite detecting this the build goes ahead then screws up big time due to missing headers.
This leaves me with several questions:
1. which package now provides the basic qt4 libs?
2. why does the ebuild continue having found they are missing?
3. why doesn't portage build the libs if they are missing?
4. is there a bug that assumes the libs are present to start with?
5. not having qt installed is a valid starting point , why is this a problem here?
TIA.  _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4060
|
Posted: Tue Feb 02, 2010 1:09 am Post subject: |
|
|
As I said, reemerge all of the qt splits you've already emerged.
Seems something has gone wrong during their emerge. |
|
| Back to top |
|
 |
Gentree Watchman


Joined: 01 Jul 2003 Posts: 5077 Location: France, Old Europe
|
Posted: Wed Feb 03, 2010 9:12 am Post subject: |
|
|
Thanks,
I unmerged qtXMLpatterns and qt-gui and the problems seems to have cleared. _________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86 |
|
| Back to top |
|
 |
|
|
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
|
|