NetBSD Problem Report #32130

From www@netbsd.org  Sun Nov 20 14:14:06 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 6B2AC63BA19; Sun, 20 Nov 2005 14:14:06 +0000 (UTC)
Message-Id: <20051120141406.6B2AC63BA19@narn.netbsd.org>
Date: Sun, 20 Nov 2005 14:14:06 +0000 (UTC)
From: zul@netbsd-fr.org
Reply-To: zul@netbsd-fr.org
To: gnats-bugs@netbsd.org
Subject: Psi doesn"t compile with qt-3.3.5
X-Send-Pr-Version: www-1.0

>Number:         32130
>Category:       pkg
>Synopsis:       Psi doesn"t compile with qt-3.3.5
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    jdolecek
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 20 14:15:00 +0000 2005
>Closed-Date:    Mon Jan 23 17:08:09 +0000 2006
>Last-Modified:  Mon Jan 23 17:08:09 +0000 2006
>Originator:     zul
>Release:        current
>Organization:
>Environment:
NetBSD Hermes.at.home 3.99.11 NetBSD 3.99.11 (HERMES) #0: Fri Nov 18 22:15:07 CET 2005  zul@Hermes.at.home:/usr/build_tmp/objdir/sys/arch/i386/compile/HERMES i386

>Description:
The compilation of psi-0.9.3nb1 fails with the last qt-3.3.5. It here fails with the failed assertion following.

c++ -c -O2 -march=pentium4 -mfpmath=sse,387 -mmmx -msse2 -pipe -funroll-loops -ftracer -O2 -I/usr/pkgsrc/chat/psi/work/.buildlink/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkgsrc/chat/psi/work/.buildlink/include/freetype2 -I/usr/pkgsrc/chat/psi/work/.x11-buildlink/include -march=pentium4 -mfpmath=sse,387 -mmmx -msse2 -pipe -funroll-loops -ftracer -O2 -DQ_TRAILING_DIR_SEP -g -D_REENTRANT -DHAVE_CONFIG -DXMPP_TEST -DQT_THREAD_SUPPORT -I/usr/pkg/qt3/mkspecs/netbsd-g++ -I. -I../../../../../../pkg/include -I../cutestuff/util -I../cutestuff/network -I../cutestuff/trayicon -I../cutestuff/idle -I../cutestuff/zip -I../cutestuff/dirwatch -I../cutestuff/openpgp -I../iris/include -I../iris/xmpp-core -I../iris/xmpp-im -I../iris/jabber -I../libpsi/iconset -I../libpsi/psiwidgets -I../libpsi/psipng -I../../../../../../X11R6/include -I.ui/ -Ioptions -I.moc/ .ui/ui_about.cpp  -fPIC -DPIC -o .obj/.libs/ui_about.o
.ui/ui_about.cpp:29:22: urllabel.h: No such file or directory
gmake[1]: *** [.obj/ui_about.o] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/chat/psi/work/psi-0.9.3/src'
gmake: *** [sub-src] Error 2
*** Error code 2

It seems to be a uic bug, see http://www.trolltech.com/developer/tasktracker.html?id=85440&method=entry. I apply the solution written in this document.
>How-To-Repeat:
cd /usr/pkgsrc/chat/psi && make ( with qt-3.3.5 installed )
>Fix:
The following patches solve the problem

$NetBSD$

--- src/options/opt_appearance-ui.ui.orig       2005-11-20 15:10:01.000000000 +0100
+++ src/options/opt_appearance-ui.ui
@@ -458,9 +458,5 @@
 </tabstops>
 <layoutdefaults spacing="6" margin="11"/>
 <includehints>
-    <includehint>fontlabel.h</includehint>
-    <includehint>fontlabel.h</includehint>
-    <includehint>fontlabel.h</includehint>
-    <includehint>fontlabel.h</includehint>
 </includehints>
 </UI>

$NetBSD$

--- src/ui_about.ui.orig        2005-11-20 15:10:31.000000000 +0100
+++ src/ui_about.ui
@@ -333,11 +333,5 @@ Now that this is out of the way, enjoy P
 </functions>
 <layoutdefaults spacing="6" margin="11"/>
 <includehints>
-    <includehint>fancylabel.h</includehint>
-    <includehint>urllabel.h</includehint>
-    <includehint>psitextview.h</includehint>
-    <includehint>psitextview.h</includehint>
-    <includehint>psitextview.h</includehint>
-    <includehint>iconwidget.h</includehint>
 </includehints>
 </UI>

$NetBSD$

--- src/ui_profilenew.ui.orig   2005-11-20 15:11:05.000000000 +0100
+++ src/ui_profilenew.ui
@@ -244,7 +244,5 @@ Check the &lt;i&gt;Enable Emoticons&lt;/
 </tabstops>
 <layoutdefaults spacing="6" margin="11"/>
 <includehints>
-    <includehint>iconwidget.h</includehint>
-    <includehint>iconwidget.h</includehint>
 </includehints>
 </UI>

>Release-Note:

>Audit-Trail:
From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@netbsd.org
Cc: zul@netbsd-fr.org
Subject: Re: pkg/32130: Psi doesn"t compile with qt-3.3.5
Date: Mon, 21 Nov 2005 08:03:55 +0100

 --Dxnq1zWXvFF0Q93v
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 On Sun, Nov 20, 2005 at 02:15:01PM +0000, zul@netbsd-fr.org wrote:
 > >Number:         32130
 > >Category:       pkg
 > >Synopsis:       Psi doesn"t compile with qt-3.3.5
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sun Nov 20 14:15:00 +0000 2005
 > >Originator:     zul
 > >Release:        current
 > >Organization:
 > >Environment:
 > NetBSD Hermes.at.home 3.99.11 NetBSD 3.99.11 (HERMES) #0: Fri Nov 18 22:1=
 5:07 CET 2005  zul@Hermes.at.home:/usr/build_tmp/objdir/sys/arch/i386/compi=
 le/HERMES i386
 >=20
 > >Description:
 > The compilation of psi-0.9.3nb1 fails with the last qt-3.3.5. It here fai=
 ls with the failed assertion following.
 >=20
 > c++ -c -O2 -march=3Dpentium4 -mfpmath=3Dsse,387 -mmmx -msse2 -pipe -funro=
 ll-loops -ftracer -O2 -I/usr/pkgsrc/chat/psi/work/.buildlink/include -I/usr=
 /pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkgsrc/chat/psi/work/.buildlink=
 /include/freetype2 -I/usr/pkgsrc/chat/psi/work/.x11-buildlink/include -marc=
 h=3Dpentium4 -mfpmath=3Dsse,387 -mmmx -msse2 -pipe -funroll-loops -ftracer =
 -O2 -DQ_TRAILING_DIR_SEP -g -D_REENTRANT -DHAVE_CONFIG -DXMPP_TEST -DQT_THR=
 EAD_SUPPORT -I/usr/pkg/qt3/mkspecs/netbsd-g++ -I. -I../../../../../../pkg/i=
 nclude -I../cutestuff/util -I../cutestuff/network -I../cutestuff/trayicon -=
 I../cutestuff/idle -I../cutestuff/zip -I../cutestuff/dirwatch -I../cutestuf=
 f/openpgp -I../iris/include -I../iris/xmpp-core -I../iris/xmpp-im -I../iris=
 /jabber -I../libpsi/iconset -I../libpsi/psiwidgets -I../libpsi/psipng -I../=
 ../../../../../X11R6/include -I.ui/ -Ioptions -I.moc/ .ui/ui_about.cpp  -fP=
 IC -DPIC -o .obj/.libs/ui_about.o
 > .ui/ui_about.cpp:29:22: urllabel.h: No such file or directory
 > gmake[1]: *** [.obj/ui_about.o] Error 1
 > gmake[1]: Leaving directory `/usr/pkgsrc/chat/psi/work/psi-0.9.3/src'
 > gmake: *** [sub-src] Error 2
 > *** Error code 2
 >=20
 > It seems to be a uic bug, see http://www.trolltech.com/developer/tasktrac=
 ker.html?id=3D85440&method=3Dentry. I apply the solution written in this do=
 cument.
 > >How-To-Repeat:
 > cd /usr/pkgsrc/chat/psi && make ( with qt-3.3.5 installed )
 > >Fix:
 > The following patches solve the problem

 Could you try applying the patch from the URL you give to qt3-tools
 instead?  If I read the bug report correctly, that's what should be
 fixed.

 --=20
 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

 --Dxnq1zWXvFF0Q93v
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)

 iQEVAwUBQ4FxW9goQloHrPnoAQKduQf/UYVUT/lIpBiODymCFXtnqltqPKLQyc7z
 9/mbKLo8K3jyG744J0yEKEszst43yC6IlJT6fAIW7J+dVj+nwrXfCsgafLu7qaYF
 FpngKHa7m799TveXwbYEGA8rHmD8+9Z8zjHaIqGkOUVUGGlb1y/rdZ5+yaE9wUae
 balTwhJzkp3RK3ARn0AdM1KUMRqXJO6w7/j5slKI51kgg/M40RMVIU7BBxvy5V/X
 lexiM2wRZSzZBntNhxBQJO+rLvgVffEpE/3Ps3zBHMIPMWm/gHCM9iCgXpy8UplX
 UOO3tOOHXdtpY6/C38DeyGwa8Ku+a674MKRWJGHvlsebsPE2L42dAQ==
 =pBkN
 -----END PGP SIGNATURE-----

 --Dxnq1zWXvFF0Q93v--

Responsible-Changed-From-To: pkg-manager->jdolecek
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Thu, 24 Nov 2005 02:07:43 +0000
Responsible-Changed-Why:
jdolecek is the maintainer


State-Changed-From-To: open->closed
State-Changed-By: xtraeme@netbsd.org
State-Changed-When: Mon, 23 Jan 2006 17:08:09 +0000
State-Changed-Why:
psi was updated to 0.10... I verified it works correctly.
Thanks for your PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.