Gentoo Archives: gentoo-desktop

From: Dale <rdalek1967@×××××.com>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] KDE3 and reporting things I ran into.
Date: Mon, 05 Sep 2011 01:39:00
Message-Id: 4E642805.6000704@gmail.com
In Reply to: Re: [gentoo-desktop] KDE3 and reporting things I ran into. by Tiago Marques
Tiago Marques wrote:
> Hi, > > I'm interested in hearing your problems. > > Best regards, > Tiago >
Currently working this issue out. kdelibs-3.5.10-r6 does not like the cups USE flag with cups-1.5.0-r2. If I disable the cups USE flag it compiles fine. I keyworded kdelibs-3.5.10-r10 and it fails the same way. So, kdelibs doesn't like cups 1.5 for some reason. I went back to cups-1.4.8-r22 and it seems happy now. This is the error I get. I went back a good ways to make sure I got it all. echo 'extern "C" int kdemain(int argc, char* argv[]);' >> cupsdconf_dummy.cpp; \ echo 'extern "C" KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }' >> cupsdconf_dummy.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 cupsdconf.lo cupsdconf.cpp /usr/qt/3/bin/moc ./cupsddialog.h -o cupsddialog.moc /usr/qt/3/bin/moc ./cupsdpage.h -o cupsdpage.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 cupsdcomment.lo cupsdcomment.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 cupsdsplash.lo cupsdsplash.cpp /usr/qt/3/bin/moc ./cupsdserverpage.h -o cupsdserverpage.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 cupsdlogpage.lo cupsdlogpage.cpp /usr/qt/3/bin/moc ./cupsdjobspage.h -o cupsdjobspage.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 cupsdfilterpage.lo cupsdfilterpage.cpp /usr/qt/3/bin/moc ./qdirlineedit.h -o qdirlineedit.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 cupsddirpage.lo cupsddirpage.cpp mkdir: cannot create directory `.libs': File exists /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 portdialog.lo portdialog.cpp /usr/qt/3/bin/moc ./cupsdnetworkpage.h -o cupsdnetworkpage.moc /usr/qt/3/bin/moc ./editlist.h -o editlist.moc /usr/qt/3/bin/moc ./cupsdbrowsingpage.h -o cupsdbrowsingpage.moc /usr/qt/3/bin/moc ./browsedialog.h -o browsedialog.moc /usr/qt/3/bin/moc ./cupsdsecuritypage.h -o cupsdsecuritypage.moc /usr/qt/3/bin/moc ./locationdialog.h -o locationdialog.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 addressdialog.lo addressdialog.cpp /bin/sh ../../../libtool --silent --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -std=iso9899:1990 -W -Wall -Wchar-subscripts -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -c -o cups-util.lo cups-util.c /usr/qt/3/bin/moc ./qdirmultilineedit.h -o qdirmultilineedit.moc /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 sizewidget.lo sizewidget.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../dcop -I../../../kdecore -I../../../kio/kssl -I../../../kjs -I../../.. -I../../../kio -I../../../kfile -I../../../dcop -I../../../libltdl -I../../../kdefx -I../../../kdecore -I../../../kdecore -I../../../kdecore/network -I../../../kdeui -I../../../kio -I../../../kio/kio -I../../../kio/kfile -I../../.. -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -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 main.lo main.cpp cups-util.c: In function 'cupsGetConf': cups-util.c:73: warning: implicit declaration of function 'snprintf' cups-util.c:102: warning: implicit declaration of function 'fprintf' cups-util.c:102: warning: incompatible implicit declaration of built-in function 'fprintf' cups-util.c:102: error: 'stderr' undeclared (first use in this function) cups-util.c:102: error: (Each undeclared identifier is reported only once cups-util.c:102: error: for each function it appears in.) cups-util.c:245: warning: ignoring return value of 'write', declared with attribute warn_unused_result cups-util.c: In function 'cupsPutConf': cups-util.c:364: warning: incompatible implicit declaration of built-in function 'fprintf' cups-util.c:364: error: 'stderr' undeclared (first use in this function) cups-util.c: In function 'cups_local_auth': cups-util.c:504: error: 'FILE' undeclared (first use in this function) cups-util.c:504: error: 'fp' undeclared (first use in this function) cups-util.c:515: warning: passing argument 1 of 'httpAddrLocalhost' from incompatible pointer type /usr/include/cups/http.h:410: note: expected 'const union http_addr_t *' but argument is of type 'struct http_t *' cups-util.c:532: warning: implicit declaration of function 'fopen' cups-util.c:545: warning: implicit declaration of function 'fgets' cups-util.c:546: warning: implicit declaration of function 'fclose' make[4]: *** [cups-util.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint/cups/cupsdconf2' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint/cups' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10/kdeprint' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-base/kdelibs-3.5.10-r10/work/kdelibs-3.5.10' make: *** [all] Error 2 emake failed * ERROR: kde-base/kdelibs-3.5.10-r10 failed (compile phase): * died running emake, kde_src_compile:make * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4685: Called kde_src_compile * environment, line 3376: Called kde_src_compile 'all' * environment, line 3391: Called kde_src_compile 'make' * environment, line 3383: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" And of course this part too. [ebuild R ~] kde-base/kdelibs-3.5.10-r10 USE="alsa avahi cups fam jpeg2k spell tiff -acl -arts -bindist -branding -debug -doc -kdehiddenvisibility -kerberos -legacyssl -lua -openexr -utempter" 0 kB [1] I hope my friend doesn't have a printer right now. It may not work. :/ I also have to emerge dev-lang/python-2.6.6-r2 to get one of the much earlier packages to compile. I can't recall the name off hand. Basically, it looks like KDE3 needs python 2.6 installed. I also had to unmerge dev-libs/openssl-1.0.0d to get a package to install. If you are unaware of a issue, let me know and I'll go dig around and see if I can find the one that failed. I think it was the next one below. I also ran into this: root@fireball / # cat /mnt/gentoo32/var/tmp/portage/kde-misc/kdnssd-avahi-0.1.2-r1/temp/build.log * Package: kde-misc/kdnssd-avahi-0.1.2-r1 * Repository: kde-sunset * Maintainer: kde@g.o * USE: consolekit elibc_glibc kernel_linux policykit userland_GNU x86 xinerama * FEATURES: preserve-libs sandbox * ERROR: kde-misc/kdnssd-avahi-0.1.2-r1 failed (setup phase): * net-dns/avahi-0.6.28-r1 does not actually support the qt3 USE flag! * * Call stack: * ebuild.sh, line 56: Called pkg_setup * kdnssd-avahi-0.1.2-r1.ebuild, line 23: Called built_with_use 'net-dns/avahi' 'qt3' 'dbus' * eutils.eclass, line 1931: Called die * The specific snippet of code: * die) die "$PKG does not actually support the $1 USE flag!";; * * If you need support, post the output of 'emerge --info =kde-misc/kdnssd-avahi-0.1.2-r1', * the complete build log and the output of 'emerge -pqv =kde-misc/kdnssd-avahi-0.1.2-r1'. * This ebuild used the following eclasses from overlays: * /var/lib/layman/kde-sunset/eclass/kde.eclass * /var/lib/layman/kde-sunset/eclass/kde-functions.eclass * /var/lib/layman/kde-sunset/eclass/qt3.eclass * This ebuild is from an overlay named 'kde-sunset': '/var/lib/layman/kde-sunset/' * The complete build log is located at '/var/tmp/portage/kde-misc/kdnssd-avahi-0.1.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-misc/kdnssd-avahi-0.1.2-r1/temp/die.env'. * S: '/var/tmp/portage/kde-misc/kdnssd-avahi-0.1.2-r1/work/kdnssd-avahi-0.1.2' root@fireball / # I then tried -r2 and it worked. I think that is all I ran into. I do have one thing that you need to check. I used the autounmask feature but for some reason it didn't unmask the latest kdelibs and kdnssd-avahi. I would also recommend that something pull in the correct python version as well. Overall this wasn't to bad. I wasn't sure what to expect but since KDE3 is a bit outdated, I was sort of expecting more issues than this. I will have this rig another day or so, provided it will let me log in now. KDE4 won't let me login in at all. It starts to come up then goes back to the login screen. It doesn't like the built-in video card. I got to work on that later on. If you need more info, let me know as soon as you can. I'll do my best to get it. Thanks. I hope this helps. Remember, this is x86. Dale :-) :-)

Replies

Subject Author
Re: [gentoo-desktop] KDE3 and reporting things I ran into. Tiago Marques <tiagomnm@×××××.com>