Does kbtv work for you?

Josh Paetzel josh at tcbug.org
Thu Dec 28 11:13:37 PST 2006


On Thursday 28 December 2006 11:36, Torfinn Ingolfsen wrote:
> Hello,
> Has anyone sucessfully compiled kbtv (multimedia/kbtv) recently?
> When I try it, one of the dependencies (py-kde) fails:
> 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
> `struct 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
> `struct 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.4744.32 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, 67 ignored, 0 skipped and 1
> failed
>
> This is on
> root at kg-quiet# uname -a
> FreeBSD kg-quiet.kg4.no 6.1-STABLE FreeBSD 6.1-STABLE #10: Wed Oct
> 11 19:49:47 CEST 2006    
> root at kg-quiet.kg4.no:/usr/obj/usr/src/sys/QUIET  amd64

===>   Registering installation for kbtv-1.1.3
===root at gimpy /usr/ports/multimedia/kbtv # 

# uname -a
FreeBSD gimpy.tcbug.org 6.2-RC2 FreeBSD 6.2-RC2 #7: Thu Dec 28 
00:26:22 CST 2006     root at gimpy.tcbug.org:/usr/obj/usr/src/sys/GIMPY  
i386

# pkg_info | grep -i py
...
py24-kde-3.16.0,1   Python Bindings for KDE3
....

From a ports tree from this morning.

-- 
Thanks,

Josh Paetzel


More information about the freebsd-multimedia mailing list