From owner-freebsd-amd64@FreeBSD.ORG Tue Jan 16 20:57:48 2007 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45A8716A49E for ; Tue, 16 Jan 2007 20:57:48 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id EC50513C465 for ; Tue, 16 Jan 2007 20:57:47 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0JBZ00K2BBK6JB70@osl1smout1.broadpark.no> for freebsd-amd64@freebsd.org; Tue, 16 Jan 2007 21:57:42 +0100 (CET) Received: from kg-work.kg4.no ([80.203.66.169]) by osl1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with SMTP id <0JBZ00C57BK6EUO2@osl1sminn1.broadpark.no> for freebsd-amd64@freebsd.org; Tue, 16 Jan 2007 21:57:42 +0100 (CET) Date: Tue, 16 Jan 2007 21:57:42 +0100 From: Torfinn Ingolfsen X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH In-reply-to: To: freebsd-amd64@freebsd.org Message-id: <20070116215742.6f1ebca9.torfinn.ingolfsen@broadpark.no> MIME-version: 1.0 X-Mailer: Sylpheed 2.3.0 (GTK+ 2.10.7; i386-portbld-freebsd6.2) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <20061231145026.e60ef46c.torfinn.ingolfsen@broadpark.no> <200701010306.05908.andy@athame.co.uk> <20070101162035.b3fdd878.torfinn.ingolfsen@broadpark.no> <200701011744.55866.andy@athame.co.uk> Subject: Re: Does kbtv / py-kde work on amd64? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 20:57:48 -0000 On Tue, 02 Jan 2007 20:06:24 +0100 Tilman Linneweh wrote: > I have added a dependency on kdebase to py-kde, which now compiles > fine on amd64 here. On one of my two amd64 machines py-kde compiles fine: root@kg-fil# uname -a FreeBSD kg-fil.kg4.no 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #11: Fri Dec 29 13:46:13 CET 2006 root@kg-fil.kg4.no:/usr/obj/usr/src/sys/FIL60 amd64 On the other it fails: root@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 last part of 'make' in /usr/ports/x11-toolkits/py-kde: 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. One diffence I know about is the installed ports; the machine that fails has a lot more ports installed. I'll have to try to find the error. -- Regards, Torfinn Ingolfsen, Norway