Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73828 - KBear 2.1.1 does not emerge on amd64
Summary: KBear 2.1.1 does not emerge on amd64
Status: RESOLVED DUPLICATE of bug 65722
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 11:53 UTC by Lee Packham
Modified: 2005-07-17 13:06 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 Lee Packham 2004-12-08 11:53:33 UTC
When I try to emerge kbear. It complains that it can't find qt >= 3.0. Hunting through config.log gave this:

configure:22120: checking for Qt
configure: 22185: /usr/qt/3/include/qstyle.h
taking that
$i -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -I/usr/qt/3/include -I.  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/qt/3/lib64 -$
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
configure:22300: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 300)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:22340: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!

-------------------------------------------------

However, /usr/qt/3/lib64 didn't exist! Doing ln -s /usr/lib/qt/3/lib /usr/lib/qt/3/lib64 fixed the problem. Obviously the real fix is to either correct the qt ebuild OR the kbear ebuild. Haven't had this problem with any other kde/qt application ebuilds.

Reproducible: Always
Steps to Reproduce:
1. emerge kbear
2.
3.

Actual Results:  
The emerge failed complaining that qt >= 3.0 could not be found

Expected Results:  
Kbear should have emerged correctly with no errors
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-08 12:38:54 UTC
I guess you installes Qt, before it got the multilib fixes
http://www.gentoo.org/cgi-bin/viewcvs.cgi/x11-libs/qt/qt-3.3.3-r1.ebuild?r1=1.1&r2=1.2

Could you remove the symlink, re-emerge Qt and see if this solves the problem, please!? 
Comment 2 Lee Packham 2004-12-08 12:56:17 UTC
I emerged with 1.7 of the ebuild. So well after that 'fix' had been applied. Re-merged. Same problem.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-12-08 18:17:57 UTC
What's your "emerge info" ?
Comment 4 Lee Packham 2004-12-08 22:05:55 UTC
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 30 2004, 23:24:49)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.3, 1.8.5-r2, 1.5, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=x86-64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=x86-64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts avi berkdb bitmap-fonts bzlib cdr crypt cups dba dvd dvdr esd f77 fam ffmpeg flac fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 java jp2 jpeg junit kde lzw lzw-tiff mad mozilla multilib mysql ncurses nls nptl nvidia offensive oggvorbis opengl oss pam perl png python qt quicktime readline samba sdl socks5 ssl svg tcltk tcpd tiff truetype usb userlocales xine xml xml2 xmms xpm xrandr xv xvid zlib"
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2005-01-02 09:42:24 UTC

*** This bug has been marked as a duplicate of 65722 ***