Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2004 00:56:11 +0200
From:      task@ifi.uit.no (=?iso-8859-1?q?Tage_Stabell-Kul=F8?=)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/71574: ports/cad/qcad does not compile
Message-ID:  <m2r7p94ttg.fsf@tage.local>
Resent-Message-ID: <200409102320.i8ANKO63043952@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         71574
>Category:       ports
>Synopsis:       ports/cad/qcad does not compile
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 10 23:20:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tage Stabell-Kulo
>Release:        FreeBSD 5.2.1-RELEASE-p9 i386
>Organization:
University of Tromsų, Norway
>Environment:
System: FreeBSD tagehome.pasta.cs.uit.no 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Tue Sep 7 08:58:32 CEST 2004 tage@tagehome.pasta.cs.uit.no:/usr/obj/usr/src/sys/TAGEHOME i386

>Description:

cd /usr/ports/cad/qcad
make
===>  Building for qcad-2.0.3.3.1_1
    [...]
c++ -c -pipe -Wall -W -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE  -DRS_NO_COMPLEX_ENTITIES -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../include -I../../dxflib/include -I../../fparser/include -I../../qcadcmd/include -I../../../../../../../local/include -I/usr/X11R6/include -Imoc/ -o obj/rs_graphic.o engine/rs_graphic.cpp
engine/rs_graphic.cpp: In member function `void RS_Graphic::fitToPage()':
engine/rs_graphic.cpp:521: error: call of overloaded `fabs(bool)' is ambiguous
/usr/include/math.h:191: error: candidates are: double fabs(double)
/usr/include/c++/3.3/cmath:328: error:                 long double 
   std::fabs(long double)
/usr/include/c++/3.3/cmath:324: error:                 float std::fabs(float)
engine/rs_graphic.cpp:514: warning: unused variable `double factor'
gmake[2]: *** [obj/rs_graphic.o] Error 1
gmake[2]: Leaving directory `/usr/ports/cad/qcad/work/qcad-2.0.3.3-1.src/qcadlib/src'
gmake[1]: *** [lib/libqcad.a] Error 2
gmake[1]: Leaving directory `/usr/ports/cad/qcad/work/qcad-2.0.3.3-1.src/qcadlib'
gmake: *** [all] Error 2
Building qcadlib failed


>How-To-Repeat:

cd /usr/ports/cad/qcad
make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m2r7p94ttg.fsf>