ports/71574: ports/cad/qcad does not compile
Tage Stabell-Kulø
task at ifi.uit.no
Fri Sep 10 23:20:25 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list