Does kbtv / py-kde work on amd64?

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Sun Jan 21 12:28:16 UTC 2007


On Tue, 16 Jan 2007 21:57:42 +0100
Torfinn Ingolfsen <torfinn.ingolfsen at broadpark.no> wrote:

> On the other it fails:
> 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

A short update:
I have noe upgrade the "problem machine" to 6.2-stable:
root at kg-quiet# uname -a
FreeBSD kg-quiet.kg4.no 6.2-STABLE FreeBSD 6.2-STABLE #14: Sun Jan 21 03:07:29 CET 2007     root at kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET  amd64

and all ports are upgraded.
But py-kde still fails to compile (see attached file).
I'm quite puzzled over this, as this is the only machine that have such problems withpy-kde.
Any hints on how to fix this are welcome.
--
Regards, 
Torfinn Ingolfsen,
Norway

-------------- next part --------------
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.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.1687.67 env make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! x11-toolkits/py-kde   (bad C++ code)
--->  Packages processed: 0 done, 91 ignored, 0 skipped and 1 failed


More information about the freebsd-amd64 mailing list