From root@soralx.cydem.org  Tue Nov 28 13:00:43 2006
Return-Path: <root@soralx.cydem.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 57BE616A4FD
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Nov 2006 13:00:43 +0000 (UTC)
	(envelope-from root@soralx.cydem.org)
Received: from soralx.cydem.org (S0106000103ce4c9c.vc.shawcable.net [24.87.27.3])
	by mx1.FreeBSD.org (Postfix) with ESMTP id F0B2444309
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Nov 2006 12:50:45 +0000 (GMT)
	(envelope-from root@soralx.cydem.org)
Received: from soralx.cydem.org (localhost [127.0.0.1])
	by soralx.cydem.org (8.13.3/8.13.3) with ESMTP id kASCo5Of006998
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Nov 2006 04:50:05 -0800 (PST)
	(envelope-from root@soralx.cydem.org)
Received: (from root@localhost)
	by soralx.cydem.org (8.13.3/8.13.3/Submit) id kASCo5Iw006997;
	Tue, 28 Nov 2006 04:50:05 -0800 (PST)
	(envelope-from root)
Message-Id: <200611281250.kASCo5Iw006997@soralx.cydem.org>
Date: Tue, 28 Nov 2006 04:50:05 -0800 (PST)
From: <soralx@cydem.org>
To: FreeBSD-gnats-submit@freebsd.org
Subject: ports/math/qwtplot3d does not compile
X-Send-Pr-Version: 3.113
X-GNATS-Notify: makc@issp.ac.ru

>Number:         105948
>Category:       ports
>Synopsis:       ports/math/qwtplot3d does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 28 13:10:12 GMT 2006
>Closed-Date:    Mon Dec 18 15:29:26 GMT 2006
>Last-Modified:  Mon Dec 18 15:29:26 GMT 2006
>Originator:     cydem.org!soralx
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:
System: FreeBSD soralx.cydem.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Fri Aug 25 02:55:08 PDT 2006 root:/usr/src/sys/i386/compile/SORALX i386

qmake-3.3.6
qt-copy-3.3.6_3

>Description:
	`make` in 'ports/math/qwtplot3d' fails with:
c++ -c -pipe -Wall -W -msse2 -O2 -march=pentium4 -I/usr/X11R6/include -fPIC  -DGL2PS_HAVE_ZLIB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -Iinclude -I../../../../../local/include -I/include -I../../../../../X11R6/include -Itmp/ -o tmp/qwt3d_mousekeyboard.o src/qwt3d_mousekeyboard.cpp
src/qwt3d_mousekeyboard.cpp: In member function `virtual void Qwt3D::Plot3D::mouseMoveEvent(QMouseEvent*)':
src/qwt3d_mousekeyboard.cpp:44: error: `MouseState' undeclared (first use this function)
src/qwt3d_mousekeyboard.cpp:44: error: (Each undeclared identifier is reported only once for each function it appears in.)
src/qwt3d_mousekeyboard.cpp:44: error: expected `;' before "bstate"
src/qwt3d_mousekeyboard.cpp:51: error: `bstate' undeclared (first use this function)
src/qwt3d_mousekeyboard.cpp: At global scope:
src/qwt3d_mousekeyboard.cpp:58: error: variable or field `setRotationMouse' declared void
src/qwt3d_mousekeyboard.cpp:58: error: `int Qwt3D::Plot3D::setRotationMouse' is not a static member of `class Qwt3D::Plot3D'
src/qwt3d_mousekeyboard.cpp:58: error: `MouseState' was not declared in this scope
src/qwt3d_mousekeyboard.cpp:58: error: expected primary-expression before "double"
src/qwt3d_mousekeyboard.cpp:58: error: expected primary-expression before "diff"
src/qwt3d_mousekeyboard.cpp:59: error: initializer expression list treated as compound expression
src/qwt3d_mousekeyboard.cpp:59: error: expected `,' or `;' before '{' token
src/qwt3d_mousekeyboard.cpp:81: error: variable or field `setScaleMouse' declared void
src/qwt3d_mousekeyboard.cpp:81: error: `int Qwt3D::Plot3D::setScaleMouse' is not a static member of `class Qwt3D::Plot3D'
src/qwt3d_mousekeyboard.cpp:81: error: `MouseState' was not declared in this scope
src/qwt3d_mousekeyboard.cpp:81: error: expected primary-expression before "double"
src/qwt3d_mousekeyboard.cpp:81: error: expected primary-expression before "diff"
src/qwt3d_mousekeyboard.cpp:82: error: initializer expression list treated as compound expression
src/qwt3d_mousekeyboard.cpp:82: error: expected `,' or `;' before '{' token
src/qwt3d_mousekeyboard.cpp:107: error: variable or field `setShiftMouse' declared void
src/qwt3d_mousekeyboard.cpp:107: error: `int Qwt3D::Plot3D::setShiftMouse' is not a static member of `class Qwt3D::Plot3D'
src/qwt3d_mousekeyboard.cpp:107: error: `MouseState' was not declared in this scope
src/qwt3d_mousekeyboard.cpp:107: error: expected primary-expression before "double"
src/qwt3d_mousekeyboard.cpp:107: error: expected primary-expression before "diff"
src/qwt3d_mousekeyboard.cpp:108: error: initializer expression list treated as compound expression
src/qwt3d_mousekeyboard.cpp:108: error: expected `,' or `;' before '{' token
src/qwt3d_mousekeyboard.cpp:168: error: variable or field `assignMouse' declared void
src/qwt3d_mousekeyboard.cpp:168: error: `int Qwt3D::Plot3D::assignMouse' is not a static member of `class Qwt3D::Plot3D'
src/qwt3d_mousekeyboard.cpp:168: error: `MouseState' was not declared in this scope
[and so on]

>How-To-Repeat:
	`cd /usr/ports/math/qwtplot3d && make`

>Fix:
	reinstalling qt-copy and then qmake (from ports) made the errors go away
[EOF]
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Nov 28 13:14:25 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105948 
State-Changed-From-To: feedback->closed 
State-Changed-By: arved 
State-Changed-When: Mon Dec 18 15:27:50 UTC 2006 
State-Changed-Why:  
Since reinstalling qt-copy solved the problem this looks like a local 
problem (stale header?) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105948 
>Unformatted:
