Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340765 - [kde overlay] KTorrent-9999 don't compile
Summary: [kde overlay] KTorrent-9999 don't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-12 21:39 UTC by Alexey Shildyakov
Modified: 2010-10-25 22:15 UTC (History)
0 users

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


Attachments
emerge --info (info,14.92 KB, text/plain)
2010-10-15 22:29 UTC, Alexey Shildyakov
Details
MAKEOPTS="-j1" emerge ktorrent (build-j1.log,19.00 KB, text/plain)
2010-10-15 22:29 UTC, Alexey Shildyakov
Details
MAKEOPTS="-j5" emerge ktorrent (build-j5.log,22.12 KB, text/plain)
2010-10-15 22:30 UTC, Alexey Shildyakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shildyakov 2010-10-12 21:39:30 UTC
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp: In member function ‘void UPnPTestWidget::doForward()’:
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:57: ошибка: ‘net’ has not been declared
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:57: ошибка: expected ‘;’ before ‘p’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:58: ошибка: invalid use of incomplete type ‘struct bt::UPnPRouter’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.h:30: ошибка: forward declaration of ‘struct bt::UPnPRouter’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:58: ошибка: нет декларации ‘p’ в этой области видимости
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp: In member function ‘void UPnPTestWidget::undoForward()’:
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:66: ошибка: ‘net’ has not been declared
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:66: ошибка: expected ‘;’ before ‘p’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:67: ошибка: invalid use of incomplete type ‘struct bt::UPnPRouter’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.h:30: ошибка: forward declaration of ‘struct bt::UPnPRouter’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:67: ошибка: нет декларации ‘p’ в этой области видимости
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp: In member function ‘void UPnPTestWidget::findRouters()’:
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:75: ошибка: invalid use of incomplete type ‘struct bt::UPnPMCastSocket’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.h:29: ошибка: forward declaration of ‘struct bt::UPnPMCastSocket’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:76: ошибка: нет подходящей функции для вызова ‘UPnPTestWidget::connect(bt::UPnPMCastSocket*&, const char*, UPnPTestWidget* const, const char*)’
/usr/include/qt4/QtCore/qobject.h:198: замечание: претенденты: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/qt4/QtCore/qobject.h:313: замечание:              bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:79: ошибка: invalid use of incomplete type ‘struct bt::UPnPMCastSocket’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.h:29: ошибка: forward declaration of ‘struct bt::UPnPMCastSocket’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp: In member function ‘void UPnPTestWidget::discovered(bt::UPnPRouter*)’:
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:85: ошибка: invalid use of incomplete type ‘struct bt::UPnPRouter’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.h:30: ошибка: forward declaration of ‘struct bt::UPnPRouter’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:90: ошибка: invalid use of incomplete type ‘struct bt::UPnPRouter’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.h:30: ошибка: forward declaration of ‘struct bt::UPnPRouter’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp: In member function ‘void UPnPTestWidget::verboseModeChecked(bool)’:
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.cpp:102: ошибка: invalid use of incomplete type ‘struct bt::UPnPMCastSocket’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/upnptestwidget.h:29: ошибка: forward declaration of ‘struct bt::UPnPMCastSocket’
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/main.cpp: In function ‘int main(int, char**)’:
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/ktupnptest/main.cpp:49: ошибка: ‘InitLibKTorrent’ is not a member of ‘bt’
make[2]: *** [ktupnptest/CMakeFiles/ktupnptest.dir/upnptestwidget.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
[  4%] Building CXX object plasma/dataengine/CMakeFiles/plasma_engine_ktorrent.dir/torrentdbusinterface.o
make[2]: *** [ktupnptest/CMakeFiles/ktupnptest.dir/main.o] Ошибка 1
make[1]: *** [ktupnptest/CMakeFiles/ktupnptest.dir/all] Ошибка 2
make[1]: *** Ожидание завершения заданий...

[ 15%] Building CXX object libktcore/CMakeFiles/ktcore.dir/plugin/pluginmanager.o
[ 16%] Building CXX object libktcore/CMakeFiles/ktcore.dir/plugin/pluginactivity.o
[ 16%] Building CXX object libktcore/CMakeFiles/ktcore.dir/settings.o
/var/tmp/portage/net-p2p/ktorrent-9999/work/ktorrent-9999/libktcore/plugin/pluginmanager.cpp:131: warning: argument ‘pi’ is not used
Linking CXX shared library ../lib/libktcore.so
[ 16%] Built target ktcore
make: *** [all] Error 2
emake failed
 * ERROR: net-p2p/ktorrent-9999 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3901:  Called kde4-base_src_compile
 *   environment, line 2989:  Called cmake-utils_src_compile
 *   environment, line 1182:  Called _execute_optionaly 'src_compile'
 *   environment, line  569:  Called enable_cmake-utils_src_compile
 *   environment, line 1561:  Called cmake-utils_src_make
 *   environment, line 1201:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =net-p2p/ktorrent-9999',
 * the complete build log and the output of 'emerge -pqv =net-p2p/ktorrent-9999'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/kde/eclass/kde4-base.eclass
 *   /var/lib/layman/kde/eclass/kde4-functions.eclass


 * USE:  amd64 bwscheduler debug downloadorder elibc_glibc infowidget ipfilter kernel_linux kross logviewer magnetgenerator mediaplayer multilib plasma scanfolder search shutdown stats upnp userland_GNU zeroconf
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-10-13 13:49:31 UTC
This might have been caused by a bad commit. You may want to try again later today or tomorrow.
After you test again, please add emerge --info, the complete build report and be sure to emerge with locale="C" so we get the emerge log in english.
Comment 2 Alexey Shildyakov 2010-10-15 22:28:51 UTC
Hm.. Errors are different in logs with MAKEOPTS="-j1" and "-j5"
Attached logs below.
Comment 3 Alexey Shildyakov 2010-10-15 22:29:17 UTC
Created attachment 250769 [details]
emerge --info
Comment 4 Alexey Shildyakov 2010-10-15 22:29:49 UTC
Created attachment 250773 [details]
MAKEOPTS="-j1" emerge ktorrent
Comment 5 Alexey Shildyakov 2010-10-15 22:30:08 UTC
Created attachment 250775 [details]
MAKEOPTS="-j5" emerge ktorrent
Comment 6 Alexey Shildyakov 2010-10-22 08:21:10 UTC
Any suggestions for this error?
Comment 7 Alexey Shildyakov 2010-10-23 23:10:47 UTC
By developer, Joris Guisson:
Maybe an older version of libktupnp (which is now part of libktorrent)
is interfering with the compile.
Comment 8 Alexey Shildyakov 2010-10-25 22:15:47 UTC
Ok. Now it's fixed in SVN.
The problem have been due compiling old libktorrent and error in libktorrent SVN.
I think we should edit dependency for libktorrent in ktorrent-9999 to libktorrent-9999 instead of >=libktorrent-1.0.3. What do you think?