Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55284 - Emerging qtella-0.6.4 and qtella-0.7.0 fails without kde
Summary: Emerging qtella-0.6.4 and qtella-0.7.0 fails without kde
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 56082 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-26 16:19 UTC by M. Creidieki Crouch
Modified: 2004-07-04 13:50 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log after qtella-0.7.0 fails (config.log,30.49 KB, text/plain)
2004-06-29 13:55 UTC, M. Creidieki Crouch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description M. Creidieki Crouch 2004-06-26 16:19:05 UTC
When I emerge qtella-0.6.4, the compilation fails with the following error messages:

"
g++ -DHAVE_CONFIG_H -fexceptions -DQT -DPIXMAPDIR=\"/share/qtella/pixmaps\" -DLA NG_DIR=\"/share/qtella/language\" -I. -I. -I.. -DQT_THREAD_SUPPORT -I../include -I../ui -I/usr/qt/3/include   -I/usr/include/vorbis    -O3 -march=i686 -funroll- loops -pipe -c -o main.o main.cpp
main.cpp: In function `int main(int, char**)':
main.cpp:76: error: `KCmdLineArgs' undeclared (first use this function)
main.cpp:76: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
main.cpp:76: error: `args' undeclared (first use this function)
main.cpp:76: error: parse error before `::' token
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/portage/tmp/portage/qtella-0.6.4/work/qtella-0 .6.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/portage/tmp/portage/qtella-0.6.4/work/qtella-0 .6.4'
make: *** [all] Error 2
"

I do not have kde installed.  I receive the same error message when I use ACCEPT_KEYWORDS=~x86 to try qtella-0.7.0.  I have tried emerging 0.7.0 with USE=kde, USE=-qt, and FEATURES=-ccache, and none of these fixed the problem.  I have also tried emerging 0.6.4 with --emptytree.



"Emerge info":
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r5)
=================================================================
System uname: 2.6.7-gentoo-r5 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"MAKEOPTS="-j2"
PKGDIR="/home/portage/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/home/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb cdr cjk crypt cups divx4linux doc dvd emacs encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd tetex tiff truetype unicode usb videos x86 xml2 xmms xv xvid zlib"
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-06-29 08:50:26 UTC
After this failed merge, could you please post the contents of config.log:
/var/tmp/portage/qtella-0.7.0/work/qtella-0.7.0/config.log

we need to find out why it's trying to drag in functions provided by kdelibs, even if the user specifically does not want them. (Adding kde team to cc as they may have more insight on this- feel free to take this bug as you'll probably have more experience in it than I)
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2004-06-29 09:19:28 UTC
btw., Jon: "use foo && inherit bar" isn't allowed, because conditional dependencies break portage cache. Doesn't produce "use foo&& need-* || need-*" the same problem?!
Comment 3 M. Creidieki Crouch 2004-06-29 13:55:25 UTC
Created attachment 34445 [details]
config.log after qtella-0.7.0 fails
Comment 4 M. Creidieki Crouch 2004-06-29 13:57:26 UTC
I also noticed that qtella seems to be installing kde-base/kde-env-3 when it installs qtella; I don't know if that's normal.
Comment 5 Jon Hood (RETIRED) gentoo-dev 2004-06-30 08:22:35 UTC
hmm, you do have --with-kde=no in there, which is what I wanted to make sure of. kde-env-3 is required by the 'inherit kde' at the top of this ebuild. Any ideas, kde team? I really don't like having to make packages DEPEND on kdelibs.
Comment 6 Dominik Stadler (RETIRED) gentoo-dev 2004-07-01 15:00:01 UTC
From looking at the source this seems to be a bug in the application itself. KDE-related code in qtella is surrounded by #ifdef USEKDE, but at the point where you get the problem this is missing.

Maybe adding a patch that puts #ifdef USEKDE around line 76 to 78 in main.cpp will solve this. It will remove the commandline-option "show-searches", though.
Comment 7 M. Creidieki Crouch 2004-07-01 15:18:43 UTC
I'll be happy to try with that patch.  How do I get at the code of something in portage, though?  Is there a doc that covers how to download the code, edit something, and then rebuild it?  I've been trying to figure that out for a while; if you don't know of any, I'll probably submit a documentation bug.  If you could tell me what to do, I'd be happy to try changing that.

I do have some C++ experience; I moved the file from my distfiles/ directory, changed those lines, and gzip'd it back up.  But I can't figure out how to tell portage to ignore the fact that the md5 is bad.
Comment 8 Jon Hood (RETIRED) gentoo-dev 2004-07-01 19:47:29 UTC
not only did that have to be disabled, but yahoo! support also had to be disabled, as it relied on kdelib functions. Please sync your portage tree in a little while and try to remerge 0.7.0. Then, report back here and let me know if it worked.
Comment 9 M. Creidieki Crouch 2004-07-01 22:59:31 UTC
It compiled with those changes!  Thanks for your help.
Comment 10 Jon Hood (RETIRED) gentoo-dev 2004-07-02 08:14:45 UTC
patch sent upstream and is in portage; thanks for your report!
Comment 11 Jon Hood (RETIRED) gentoo-dev 2004-07-04 13:50:48 UTC
*** Bug 56082 has been marked as a duplicate of this bug. ***