From klockar@sm-pc321.sm.luth.se  Tue Jul  9 01:16:01 2002
Return-Path: <klockar@sm-pc321.sm.luth.se>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C8DE137B400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Jul 2002 01:16:01 -0700 (PDT)
Received: from sm-pc321.sm.luth.se (sm-pc321.sm.luth.se [130.240.45.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 70BEA43E42
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  9 Jul 2002 01:16:00 -0700 (PDT)
	(envelope-from klockar@sm-pc321.sm.luth.se)
Received: from sm-pc321.sm.luth.se (localhost [127.0.0.1])
	by sm-pc321.sm.luth.se (8.12.5/8.12.3) with ESMTP id g698FwnH072718
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 9 Jul 2002 10:15:58 +0200 (CEST)
	(envelope-from klockar@sm-pc321.sm.luth.se)
Received: (from klockar@localhost)
	by sm-pc321.sm.luth.se (8.12.5/8.12.3/Submit) id g698Fuoq072717;
	Tue, 9 Jul 2002 10:15:56 +0200 (CEST)
Message-Id: <200207090815.g698Fuoq072717@sm-pc321.sm.luth.se>
Date: Tue, 9 Jul 2002 10:15:56 +0200 (CEST)
From: Tomas Klockar <klockar@sm-pc321.sm.luth.se>
Reply-To: Tomas Klockar <klockar@sm-pc321.sm.luth.se>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /usr/ports/graphics/dia does not compile
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         40373
>Category:       ports
>Synopsis:       /usr/ports/graphics/dia does not compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 09 01:20:04 PDT 2002
>Closed-Date:    Wed Jul 10 19:51:22 PDT 2002
>Last-Modified:  Wed Jul 10 19:51:22 PDT 2002
>Originator:     Tomas Klockar
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD sm-pc321.sm.luth.se 4.6-STABLE FreeBSD 4.6-STABLE #0: Sat Jul 6 17:33:01 CEST 2002 troot@sm-pc321.sm.luth.se:/usr/obj/usr/src/sys/KLOCKAR i386


	
>Description:

The dia port does not compile, below is the output when I trried to compile.

Configuration:
        Source code location:   .
        Compiler:               cc

        Libart (AA rendering, png export):      yes

        Gnome support:                          no
        Build bonobo component (not supported): no
        Gnome-print support (not recommended):  no

        Python support:                         no
        (LIMITED) Freetype support:             no

Unicode not present. This will NOT build.
Now type make to build dia.
===>  Building for dia-0.90
gmake  all-recursive
gmake[1]: Entering directory `/usr/ports/graphics/dia/work/dia-0.90'
Making all in lib
gmake[2]: Entering directory `/usr/ports/graphics/dia/work/dia-0.90/lib'
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include   -I/usr/local/include/gnome-xml  -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -DDIA_SHEETDIR=\"/usr/X11R6/share/gnome/dia/sheets\"    -I/usr/X11R6/include/gnome-1.0   -I/usr/X11R6/include/gnome-1.0      -DLIBDIR=\"/usr/X11R6/lib\"     -DDATADIR=\"/usr/X11R6/share/gnome/dia\"  -I/usr/local/include/gnome-xml -O -pipe   -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -c diagramdata.c
In file included from font.h:24,
                 from render.h:27,
                 from object.h:31,
                 from diagramdata.h:26,
                 from diagramdata.c:26:
charconv.h:149: unicode.h: No such file or directory
In file included from font.h:24,
                 from render.h:27,
                 from object.h:31,
                 from diagramdata.h:26,
                 from diagramdata.c:26:
charconv.h:150: syntax error before `unichar'
charconv.h:150: warning: type defaults to `int' in declaration of `unichar'
charconv.h:150: warning: data definition has no type or storage class
charconv.h:192: syntax error before `charconv_utf8_get_char'
charconv.h:192: warning: type defaults to `int' in declaration of `charconv_utf8_get_char'
charconv.h:192: warning: data definition has no type or storage class
gmake[2]: *** [diagramdata.o] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/dia/work/dia-0.90/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/dia/work/dia-0.90'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/graphics/dia.

>How-To-Repeat:

I compiled right from the newest ports tree. I even did a cvsup ports-supfile before I send this report.
So try compiling it from the newest portstree.

>Fix:

Unknown


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->gnome 
Responsible-Changed-By: ijliao 
Responsible-Changed-When: Wed Jul 10 07:55:33 PDT 2002 
Responsible-Changed-Why:  
over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40373 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Wed Jul 10 19:47:09 PDT 2002 
State-Changed-Why:  
This looks to be a problem with your libunicode port installation.  Please 
try reinstalling the libunicode port (currently libunicode-0.4_3), and try 
to reinstall dia.  It does work. 

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