Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64234 - kdepim-3.3.0 wont compile with DO_NOT_COMPILE="knotes"
Summary: kdepim-3.3.0 wont compile with DO_NOT_COMPILE="knotes"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-16 03:28 UTC by Henning Schild
Modified: 2004-09-16 09:20 UTC (History)
1 user (show)

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 Henning Schild 2004-09-16 03:28:49 UTC
when updating to kde 3.3 i had problems merging kdepim, i had the following line in my make.conf
DO_NOT_COMPILE="kopete kppp knotes kbear kalarm kandy juk noatun"
after removing knotes from this line i could merge kdepim without problems.


here some output
**************************************************

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libical/src/libical -I../../libical/src/libicalss -I../../libical/src/libical -I../../libical/src/libicalss -I./versit -I../../ -I../../knotes -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -mcpu=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o knotes_resourcexmlrpcplugin.lo knotes_resourcexmlrpcplugin.cpp
/usr/qt/3/bin/moc ./knotes_resourcexmlrpc.h -o knotes_resourcexmlrpc.moc
/usr/qt/3/bin/moc ./knotes_resourcexmlrpcconfig.h -o knotes_resourcexmlrpcconfig.moc
make[3]: *** Keine Regel vorhanden, um das Target 
Comment 1 Henning Schild 2004-09-16 03:28:49 UTC
when updating to kde 3.3 i had problems merging kdepim, i had the following line in my make.conf
DO_NOT_COMPILE="kopete kppp knotes kbear kalarm kandy juk noatun"
after removing knotes from this line i could merge kdepim without problems.


here some output
**************************************************

/bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libical/src/libical -I../../libical/src/libicalss -I../../libical/src/libical -I../../libical/src/libicalss -I./versit -I../../ -I../../knotes -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -mcpu=athlon-xp -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o knotes_resourcexmlrpcplugin.lo knotes_resourcexmlrpcplugin.cpp
/usr/qt/3/bin/moc ./knotes_resourcexmlrpc.h -o knotes_resourcexmlrpc.moc
/usr/qt/3/bin/moc ./knotes_resourcexmlrpcconfig.h -o knotes_resourcexmlrpcconfig.moc
make[3]: *** Keine Regel vorhanden, um das Target »../../knotes/libknotes.la«, 
  benötigt von »libknotes_xmlrpc.la«, zu erstellen.  Schluss.
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0/kresources/egroupware'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0/kresources'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0'
make: *** [all] Fehler 2

!!! ERROR: kde-base/kdepim-3.3.0 failed.
!!! Function kde_src_compile, Line 135, Exitcode 2
!!! died running emake, kde_src_compile:make

Calculating dependencies  ...done!
>>> emerge (1 of 1) kde-base/kdepim-3.3.0 to /
>>> md5 src_uri ;-) kdepim-3.3.0.tar.bz2


Reproducible: Always
Steps to Reproduce:
1.DO_NOT_COMPILE="knotes" emerge =kdepim-3.3.0
2.
3.

Actual Results:  
build fails


Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.3)
=================================================================
System uname: 2.6.3 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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/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="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd
exif foomaticdb gdbm ggi gif gimpprint gphoto2 gpm gtk gtk2 guile imlib java
jpeg kde libg++ libwww linguas_de mad mikmod mmx motif mpeg nas ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
slang spell sse ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xprint xv
xvid zlib"
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2004-09-16 05:39:43 UTC
This isn't a gentoo or kde problem, symply other kdepim programs like kderesources needs the libraries from knotes, so you can DO_NOT_COMPILE it.

Remember that DO_NOT_COMPILE is simply an automake hack that don't create some Makefiles and not an user option. It's more useful to developers. 
So this can't be classified as a bug.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-09-16 08:13:35 UTC
>So this can't be classified as a bug.

Exactly. 


henning, I'm aware that DO_NOT_COMPILE is praised in forums.g.o, but it cannot be supported. It breaks dependencies not only inside of kde-base/* packages but also between those and other packages, since Portage doesn't know anything about DO_NOT_COMPILE. Please don't use it.
Comment 4 Henning Schild 2004-09-16 09:20:46 UTC
i know that i caused the problem myself. i just wanted to write the problem down somewhere. so anyone else having the same problem could find the solution somewhere on the web. i thougth this would be the right place, because i always look for solution here and in forums.