Does kbtv / py-kde work on amd64?

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Sun Dec 31 06:50:41 PST 2006


Hello,

Im trying to install kbtv (multimedia/kbtv) from ports on a machine
running:
root at kg-quiet# uname -a
FreeBSD kg-quiet.kg4.no 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #12: Sat
Dec 30 18:25:42 CET 2006     root@:/usr/obj/usr/src/sys/QUIET  amd64

One of the dependencies are py-kde (x11-toolkits/py-kde), but it is
failing:
c++ -c -Wno-deprecated-declarations -pipe -fPIC -O -pipe -Wall -W -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../extra/kde353 -I/usr/local/include -I/usr/local/include/kio -I../kio -I/usr/local/include/kparts -I/usr/local/include/python2.4 -I/usr/X11R6/mkspecs/freebsd-g++ -I/usr/X11R6/include -o sipkpartspart1.o sipkpartspart1.cpp
In file included from sipkpartspart1.cpp:2707:
sipkpartsKPartsGUIActivateEvent.h:39: error: invalid use of undefined type `struct KParts::GUIActivateEvent'
/usr/local/include/kparts/part.h:49: error: forward declaration of `struct KParts::GUIActivateEvent'
In file included from sipkpartspart1.cpp:2712:
sipkpartsKPartsPartSelectEvent.h:39: error: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: error: forward declaration of `struct KParts::PartSelectEvent'
In file included from sipkpartspart1.cpp:2713:
sipkpartsKPartsPartActivateEvent.h:39: error: invalid use of undefined type `struct KParts::PartActivateEvent'
/usr/local/include/kparts/part.h:47: error: forward declaration of `struct KParts::PartActivateEvent'
In file included from sipkpartspart1.cpp:15418:
sipkpartsKPartsEvent.h:39: error: expected class-name before '{' token
sipkpartsKPartsEvent.h:42: error: expected unqualified-id before '&' token
sipkpartsKPartsEvent.h:42: error: expected `,' or `...' before '&' token
sipkpartsKPartsEvent.h:42: error: ISO C++ forbids declaration of `parameter' with no type
sipkpartspart1.cpp: In constructor `sipKParts_PartSelectEvent::sipKParts_PartSelectEvent(bool, KParts::Part*, QWidget*)':
sipkpartspart1.cpp:15426: error: type `KParts::PartSelectEvent' is not a direct base of `sipKParts_PartSelectEvent'
sipkpartspart1.cpp: In constructor `sipKParts_PartSelectEvent::sipKParts_PartSelectEvent(const KParts::PartSelectEvent&)':
sipkpartspart1.cpp:15431: error: type `KParts::PartSelectEvent' is not a direct base of `sipKParts_PartSelectEvent'
sipkpartspart1.cpp: In member function `const char* sipKParts_PartSelectEvent::eventName() const':
sipkpartspart1.cpp:15451: error: `KParts::Event' has not been declared
sipkpartspart1.cpp: In function `PyObject* meth_KParts_PartSelectEvent_selected(PyObject*, PyObject*)':
sipkpartspart1.cpp:15469: error: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: error: forward declaration of `struct KParts::PartSelectEvent'
sipkpartspart1.cpp: In function `PyObject* meth_KParts_PartSelectEvent_part(PyObject*, PyObject*)':
sipkpartspart1.cpp:15494: error: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: error: forward declaration of `struct KParts::PartSelectEvent'
sipkpartspart1.cpp: In function `PyObject* meth_KParts_PartSelectEvent_widget(PyObject*, PyObject*)':
sipkpartspart1.cpp:15519: error: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: error: forward declaration of `struct KParts::PartSelectEvent'
sipkpartspart1.cpp: In function `PyObject* meth_KParts_PartSelectEvent_test(PyObject*, PyObject*)':
sipkpartspart1.cpp:15544: error: incomplete type `KParts::PartSelectEvent' used in nested name specifier
sipkpartspart1.cpp: In function `void* cast_KParts_PartSelectEvent(void*, sipWrapperType*)':
sipkpartspart1.cpp:15566: error: `Event' is not a member of `KParts'
sipkpartspart1.cpp:15566: error: expected primary-expression before ')' token
sipkpartspart1.cpp:15566: error: expected primary-expression before '*' token
sipkpartspart1.cpp:15566: error: expected primary-expression before ')' token
sipkpartspart1.cpp: In function `void release_KParts_PartSelectEvent(void*, int)':
sipkpartspart1.cpp:15580: warning: possible problem detected in invocation of delete operator:
sipkpartspart1.cpp:15580: warning: invalid use of undefined type `struct KParts::PartSelectEvent'
/usr/local/include/kparts/part.h:48: warning: forward declaration of `struct KParts::PartSelectEvent'
sipkpartspart1.cpp:15580: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-kde/work/PyKDE-3.16.0/kparts.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-kde/work/PyKDE-3.16.0.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-kde.

Ports tree updated as of 2006-12-30.
I've asked over in the -multimedia list, an got an answer from someone running this under i386 without problems.
Could this be an amd64 related problem?
Does anyone have sucess installing any of the following on amd64:
kbtv-1.1.3
py24-kde-3.16.0,1

Thanks.
-- 
Regards,
Torfinn Ingolfsen,
Norway



More information about the freebsd-amd64 mailing list