Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2004 14:47:19 +0200
From:      "Christian Hiris" <4711@chello.at>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/70077: [patch] sysutils/kdirstat - build target fails with gcc 3.4.2 on CURRENT
Message-ID:  <1091796439.0@matrix010.matrix.net>
Resent-Message-ID: <200408061250.i76CoI90093389@freefall.freebsd.org>

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

>Number:         70077
>Category:       ports
>Synopsis:       [patch] sysutils/kdirstat - build target fails with gcc 3.4.2 on CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 12:50:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christian Hiris
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 5.2-CURRENT #0: Tue Aug  3 01:29:05 CEST 2004
    pfnu@matrix010.matrix.net:/usr/obj/usr/src/sys/MATRIX010



>Description:


gmake[3]: Entering directory `/usr/wrkdir/usr/ports/sysutils/kdirstat/work/kdirstat-2.4.0/kdirstat'
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include  -I/usr/local/include  -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -O -pipe -fno-exceptions -fno-check-new  -MT kdirstatmain.o -MD -MP -MF ".deps/kdirstatmain.Tpo" \
  -c -o kdirstatmain.o `test -f 'kdirstatmain.cpp' || echo './'`kdirstatmain.cpp; \
then mv ".deps/kdirstatmain.Tpo" ".deps/kdirstatmain.Po"; \
else rm -f ".deps/kdirstatmain.Tpo"; exit 1; \
fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for C/ObjC but not for C++
In file included from kdirstatmain.cpp:17:
kdirstatapp.h:49: error: extra `;'
gmake[3]: *** [kdirstatmain.o] Error 1
gmake[3]: Leaving directory `/usr/wrkdir/usr/ports/sysutils/kdirstat/work/kdirstat-2.4.0/kdirstat'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/wrkdir/usr/ports/sysutils/kdirstat/work/kdirstat-2.4.0/kdirstat'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/wrkdir/usr/ports/sysutils/kdirstat/work/kdirstat-2.4.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/kdirstat.

jail003# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728


>How-To-Repeat:


cd /usr/ports/sysutils/kdirstat
make


>Fix:


--- patch-kdirstat_kdirstatapp.h begins here ---
--- kdirstat/kdirstatapp.h.orig	Tue Aug 26 22:47:47 2003
+++ kdirstat/kdirstatapp.h	Fri Aug  6 14:33:36 2004
@@ -46,7 +46,7 @@
     class KSettingsDialog;
     class KTreemapView;
     class KTreemapTile;
-};
+}
 
 using namespace KDirStat;
 
--- patch-kdirstat_kdirstatapp.h ends here ---


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



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