Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2009 12:06:50 GMT
From:      "O. Hartmann" <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/136815: graphics/dia: wmf.cpp:64:19: error: emf.h: No such file or directory
Message-ID:  <200907161206.n6GC6oO0005703@www.freebsd.org>
Resent-Message-ID: <200907161210.n6GCA8LW055414@freefall.freebsd.org>

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

>Number:         136815
>Category:       ports
>Synopsis:       graphics/dia: wmf.cpp:64:19: error: emf.h: No such file or directory
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 16 12:10:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     O. Hartmann
>Release:        FreeBSD 8.0-BETA1/amd64
>Organization:
FU Berlin
>Environment:
>Description:
Updating graphics/dia with 'portmaster -dav' or (re)installing graphics/dia ends up with the trailing error:

gmake[3]: Entering directory `/usr/ports/graphics/dia/work/dia-0.97/plug-ins/wmf'
/bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib  -D_THREAD_SAFE -D_REENTRANT -I/usr/loc
al/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr
/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/us
r/local/include/libxml2 -I/usr/local/include/libart-2.0     -I/usr/local/include  -O2 -pipe -march=nocona -fno-strict-aliasing -MT wmf.lo -MD -MP
 -MF .deps/wmf.Tpo -c -o wmf.lo wmf.cpp
mkdir .libs
 c++ -DHAVE_CONFIG_H -I. -I../.. -I../../intl -I../../lib -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/inclu
de -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/u
sr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 -I/usr/local/include/liba
rt-2.0 -I/usr/local/include -O2 -pipe -march=nocona -fno-strict-aliasing -MT wmf.lo -MD -MP -MF .deps/wmf.Tpo -c wmf.cpp  -fPIC -DPIC -o .libs/wm
f.o

wmf.cpp:64:19: error: emf.h: No such file or directory
wmf.cpp:108: error: 'HDC' in namespace 'W32' does not name a type
wmf.cpp:111: error: 'HDC' in namespace 'W32' does not name a type
wmf.cpp:116: error: 'HPEN' in namespace 'W32' does not name a type
wmf.cpp:118: error: 'HFONT' in namespace 'W32' does not name a type
[...]
wmf.cpp:1359: error: 'ReleaseDC' is not a member of 'W32'
wmf.cpp: In function 'PluginInitResult dia_plugin_init(PluginInfo*)':
wmf.cpp:1411: warning: deprecated conversion from string constant to 'gchar*'
gmake[3]: *** [wmf.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/graphics/dia/work/dia-0.97/plug-ins/wmf'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/graphics/dia/work/dia-0.97/plug-ins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/dia/work/dia-0.97'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/graphics/dia.

===>>> make failed for graphics/dia
===>>> Aborting update

===>>> Update for dia-0.96.1_6,1 failed
===>>> Aborting update


>How-To-Repeat:
Try to install ports/graphics/dia
>Fix:


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



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