public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] libkdegames-3.5 won't compile
@ 2010-02-01 17:47 Dale
  2010-02-01 19:55 ` Alan McKinnon
  2010-02-01 20:43 ` Arttu V.
  0 siblings, 2 replies; 3+ messages in thread
From: Dale @ 2010-02-01 17:47 UTC (permalink / raw
  To: gentoo-user

Well I synced and did a emerge -uvDN world.  It said to run emerge 
@preserved-rebuild and I did.  This is package number one and the error 
doesn't make much since to me.


make[3]: Entering directory 
`/var/tmp/portage/kde-base/libkdegames-3.5.10/work/libkdegames-3.5.10/libkdegames/pics'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/var/tmp/portage/kde-base/libkdegames-3.5.10/work/libkdegames-3.5.10/libkdegames/pics'
make[3]: Entering directory 
`/var/tmp/portage/kde-base/libkdegames-3.5.10/work/libkdegames-3.5.10/libkdegames'
/usr/qt/3/bin/moc ./kcarddialog.h -o kcarddialog.moc
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kstdgameaction.lo kstdgameaction.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kgamemisc.lo kgamemisc.cpp
/usr/qt/3/bin/moc ./kchatbase.h -o kchatbase.moc
/usr/qt/3/bin/moc ./kchat.h -o kchat.moc
/usr/qt/3/bin/moc ./kchatdialog.h -o kchatdialog.moc
/usr/qt/3/bin/moc ./kgameprogress.h -o kgameprogress.moc
/usr/qt/3/bin/moc ./kcanvasrootpixmap.h -o kcanvasrootpixmap.moc
/usr/qt/3/bin/moc ./kgamelcd.h -o kgamelcd.moc
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kcarddialog.lo kcarddialog.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kchatbase.lo kchatbase.cpp
In file included from /usr/qt/3/include/qdragobject.h:50,
                 from /usr/qt/3/include/qiconview.h:51,
                 from /usr/kde/3.5/include/kiconview.h:22,
                 from kcarddialog.cpp:37:
/usr/qt/3/include/qimage.h: In member function 'bool 
QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/qt/3/include/qimage.h:61: warning: suggest parentheses around '&&' 
within '||'
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kchat.lo kchat.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kchatdialog.lo kchatdialog.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kgameprogress.lo kgameprogress.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kcanvasrootpixmap.lo kcanvasrootpixmap.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.   -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 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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 
kgamelcd.lo kgamelcd.cpp
/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG 
-DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer 
-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   
-Wl,-O1 -o libkdegames.la -rpath /usr/kde/3.5/lib -L/usr/kde/3.5/lib 
-L/usr/qt/3/lib     -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R 
/usr/qt/3/lib -no-undefined -Wl,--no-undefined 
-Wl,--allow-shlib-undefined -version-info 3:0:2 kcarddialog.lo 
kstdgameaction.lo kgamemisc.lo kchatbase.lo kchat.lo kchatdialog.lo 
kgameprogress.lo kcanvasrootpixmap.lo kgamelcd.lo 
highscore/libkhighscore.la kgame/libkgame.la 
kgame/dialogs/libkgamedialogs.la -lkio -lkdnssd
kgame/.libs/libkgame.a(kgamenetwork.o): In function 
`KGameNetwork::tryPublish()':
kgamenetwork.cpp:(.text+0x56e): undefined reference to 
`DNSSD::PublicService::PublicService(QString const&, QString const&, 
unsigned int, QString const&)'
kgame/dialogs/.libs/libkgamedialogs.a(kgameconnectdialog.o): In function 
`KGameConnectWidget::setType(QString const&)':
kgameconnectdialog.cpp:(.text+0xdb0): undefined reference to 
`DNSSD::ServiceBrowser::ServiceBrowser(QString const&, 
DNSSD::DomainBrowser*, bool)'
collect2: ld returned 1 exit status
make[3]: *** [libkdegames.la] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/kde-base/libkdegames-3.5.10/work/libkdegames-3.5.10/libkdegames'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/kde-base/libkdegames-3.5.10/work/libkdegames-3.5.10/libkdegames'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/kde-base/libkdegames-3.5.10/work/libkdegames-3.5.10'
make: *** [all] Error 2
 * ERROR: kde-base/libkdegames-3.5.10 failed:
 *   died running emake, kde_src_compile:make
 *
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 4743:  Called kde-meta_src_compile
 *   environment, line 3267:  Called kde_src_compile
 *   environment, line 3455:  Called kde_src_compile 'all'
 *   environment, line 3470:  Called kde_src_compile 'make'
 *   environment, line 3462:  Called die
 * The specific snippet of code:
 *                   emake || die "died running emake, $FUNCNAME:make"
 *
 * If you need support, post the output of 'emerge --info 
=kde-base/libkdegames-3.5.10',
 * the complete build log and the output of 'emerge -pqv 
=kde-base/libkdegames-3.5.10'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/local/portage/layman/kde-sunset/eclass/kde-meta.eclass
 *   /usr/local/portage/layman/kde-sunset/eclass/kde.eclass
 *   /usr/local/portage/layman/kde-sunset/eclass/kde-functions.eclass
 * This ebuild is from an overlay named 'kde-sunset': 
'/usr/local/portage/layman/kde-sunset/'
 * The complete build log is located at 
'/var/log/portage/elog/kde-base:libkdegames-3.5.10:20100201-172324.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/kde-base/libkdegames-3.5.10/temp/environment'.
 * S: '/var/tmp/portage/kde-base/libkdegames-3.5.10/work/libkdegames-3.5.10'

 >>> Failed to emerge kde-base/libkdegames-3.5.10, Log file:

 >>>  
'/var/log/portage/elog/kde-base:libkdegames-3.5.10:20100201-172324.log'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

root@smoker / #


I searched around on the forums, bgo and google and found suggestions to 
run lafilefixer --justfixit and revdep-rebuild.  They don't help 
either.  I also tried to use the skipfirst option and just come back to 
it but it complains about this missing package.

I'm trying to hang onto KDE 3 and also have KDE 4 installed.  I had to 
change some USE flags to get KDE 4 to upgrade.  One of the flags was 
mDNSResponder.  I don't know if that is related or not.

Ideas?  Should I shoot it?  lol   Thanks.

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] libkdegames-3.5 won't compile
  2010-02-01 17:47 [gentoo-user] libkdegames-3.5 won't compile Dale
@ 2010-02-01 19:55 ` Alan McKinnon
  2010-02-01 20:43 ` Arttu V.
  1 sibling, 0 replies; 3+ messages in thread
From: Alan McKinnon @ 2010-02-01 19:55 UTC (permalink / raw
  To: gentoo-user; +Cc: Dale

On Monday 01 February 2010 19:47:27 Dale wrote:
> Well I synced and did a emerge -uvDN world.  It said to run emerge
> @preserved-rebuild and I did.  This is package number one and the error
> doesn't make much since to me.

[snip]

> kgame/.libs/libkgame.a(kgamenetwork.o): In function
> `KGameNetwork::tryPublish()':
> kgamenetwork.cpp:(.text+0x56e): undefined reference to
> `DNSSD::PublicService::PublicService(QString const&, QString const&,
> unsigned int, QString const&)'
> kgame/dialogs/.libs/libkgamedialogs.a(kgameconnectdialog.o): In function
> `KGameConnectWidget::setType(QString const&)':
> kgameconnectdialog.cpp:(.text+0xdb0): undefined reference to
> `DNSSD::ServiceBrowser::ServiceBrowser(QString const&,
> DNSSD::DomainBrowser*, bool)'

This means that the code being built is trying to use a function called 
ServiceBrowser() and it's failing because it doesn't exist or is defined to be 
something different to what the code expects.

[snip]

> I searched around on the forums, bgo and google and found suggestions to
> run lafilefixer --justfixit and revdep-rebuild.  They don't help
> either.  I also tried to use the skipfirst option and just come back to
> it but it complains about this missing package.

Those are useful things to do often anyway, but all too often they are 
presented as the MagicBandAid(tm) solution to all build failures, world hunger 
and stuff that eats kittens. I doubt very much is they will help as none of 
those tips affect compiled libs already in place. 
 
> I'm trying to hang onto KDE 3 and also have KDE 4 installed.  I had to
> change some USE flags to get KDE 4 to upgrade.  One of the flags was
> mDNSResponder.  I don't know if that is related or not.

kdelibs-3.5 on Gentoo had some outlandish requirements - zeroconf was one of 
them. I don't rightly recall which zeroconf method it was - zeroconf, 
mDNSResponder, avahi - but stuff broke horribly without it. What does eix say 
about KDE-3.5 packages using any of those flags? I don't have 3.5 around 
anymore to check here

Also, KDE is heavily interlinked with Qt. A Qt upgrade usually implies a 
rebuild of all of KDE being a very good idea. It's not in DEPEND as KDE 
doesn't so much require a specific Qt version, it's that the built KDE now has 
to work with A higher version of Qt than it was build against. Did you 
recently upgrade Qt?

Have you rebuilt kdelibs than tried building kdegames again?

<side-step workaround>
Have you asked the question "Do I really need all of KDE games?"
</side-step workaround>

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] libkdegames-3.5 won't compile
  2010-02-01 17:47 [gentoo-user] libkdegames-3.5 won't compile Dale
  2010-02-01 19:55 ` Alan McKinnon
@ 2010-02-01 20:43 ` Arttu V.
  1 sibling, 0 replies; 3+ messages in thread
From: Arttu V. @ 2010-02-01 20:43 UTC (permalink / raw
  To: gentoo-user

On 2/1/10, Dale <rdalek1967@gmail.com> wrote:
> /bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++
> -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG
> -DNO_DEBUG -O2 -march=athlon-xp -O2 -pipe -fomit-frame-pointer
> -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
> -Wl,-O1 -o libkdegames.la -rpath /usr/kde/3.5/lib -L/usr/kde/3.5/lib
> -L/usr/qt/3/lib     -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R
> /usr/qt/3/lib -no-undefined -Wl,--no-undefined
> -Wl,--allow-shlib-undefined -version-info 3:0:2 kcarddialog.lo
> kstdgameaction.lo kgamemisc.lo kchatbase.lo kchat.lo kchatdialog.lo
> kgameprogress.lo kcanvasrootpixmap.lo kgamelcd.lo
> highscore/libkhighscore.la kgame/libkgame.la
> kgame/dialogs/libkgamedialogs.la -lkio -lkdnssd

A wild guess which might or might not do any good: cd into the
directory where this happens, copy & paste this monstrosity of a
linking command it prints out, and switch the libs around from the end
(lkio -lkdnssd => -lkdnssd -lkio).

-- 
Arttu V.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-01 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01 17:47 [gentoo-user] libkdegames-3.5 won't compile Dale
2010-02-01 19:55 ` Alan McKinnon
2010-02-01 20:43 ` Arttu V.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox