From owner-freebsd-ports@FreeBSD.ORG Sat Jun 2 16:54:22 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DDFE216A46B; Sat, 2 Jun 2007 16:54:21 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id C1ADA13C46C; Sat, 2 Jun 2007 16:54:21 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 68B9F1A4D88; Sat, 2 Jun 2007 09:55:35 -0700 (PDT) Received: from rot13.obsecurity.org (rot13.obsecurity.org [192.168.1.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 24FDA511A7; Sat, 2 Jun 2007 12:54:21 -0400 (EDT) Received: by rot13.obsecurity.org (Postfix, from userid 1001) id 13E22C1D6; Sat, 2 Jun 2007 12:54:21 -0400 (EDT) Date: Sat, 2 Jun 2007 12:54:21 -0400 From: Kris Kennaway To: shaun@FreeBSD.org, freebsd-ports@freebsd.org Message-ID: <20070602165421.GA3903@rot13.obsecurity.org> References: <20070602163950.GA30282@d610.network.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070602163950.GA30282@d610.network.home> User-Agent: Mutt/1.4.2.2i Cc: Subject: Re: net-im/psi build fails on CURRENT X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 16:54:22 -0000 On Sat, Jun 02, 2007 at 06:39:51PM +0200, Marek Holly wrote: > Hi, > > I am trying to build psi but I get following error: > > c++ -c -pipe -Wall -W -O2 -fno-strict-aliasing -pipe -march=pentium-m > -DHAVE_XSS -DHAVE_CONFIG -DXMPP_TEST -DQT_NO_DEBUG -DQT_THREAD_SUPPORT > -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. > -I../../../../../../local/include/plugins/qca -I../cutestuff/util > -I../cutestuff/network -Itools/trayicon -Itools/idle -Itools/systemwatch > -Itools/mac_dock -Itools/zip -Itools/dirwatch -Itools/openpgp > -Itools/globalaccel -Itools/advwidget -I../iris/libidn -I../iris/include > -I../iris/xmpp-core -I../iris/xmpp-im -I../iris/jabber -I../libpsi/iconset > -I../libpsi/psiwidgets -I../libpsi/psipng -I../../../../../../local/include > -I/usr/local/include -I../../../../../../local/include -I.ui/ -I. -Ioptions > -I.moc/ -o .obj/ui_profilenew.o .ui/ui_profilenew.cpp > .ui/ui_profilenew.cpp: In constructor 'ProfileNewUI::ProfileNewUI(QWidget*, > const char*, bool, uint)': > .ui/ui_profilenew.cpp:39: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:40: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:40: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:41: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:42: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:43: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > .ui/ui_profilenew.cpp:44: error: no matching function for call to > 'QHBoxLayout::addWidget(PsiTextView*&)' > ../../../../../../local/include/qlayout.h:386: note: candidates are: void > QBoxLayout::addWidget(QWidget*, int, int) > .ui/ui_profilenew.cpp:103: error: no matching function for call to > 'ProfileNewUI::setTabOrder(QCheckBox*&, PsiTextView*&)' > ../../../../../../local/include/qwidget.h:309: note: candidates are: static void > QWidget::setTabOrder(QWidget*, QWidget*) > .ui/ui_profilenew.cpp: In member function 'virtual void > ProfileNewUI::languageChange()': > .ui/ui_profilenew.cpp:121: error: invalid use of incomplete type 'struct > PsiTextView' > .ui/ui_profilenew.h:20: error: forward declaration of 'struct PsiTextView' > *** Error code 1 > > Stop in /usr/ports/net-im/psi/work/psi-0.10/src. > *** Error code 1 > > Stop in /usr/ports/net-im/psi/work/psi-0.10. > *** Error code 1 > > > $ uname -a > FreeBSD d610.network.home 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sat Jun 2 > 16:04:21 CEST 2007 marko@d610.network.home:/usr/obj/usr/src/sys/KERNEL i386 > > Any ideas what cause it? Looks like it needs to be fixed to compile with gcc 4. Talk to the authors about their plans to do this. Kris