[MacPorts] #36192: abiword-x11 @2.8.6 does not build because of libpng issue

MacPorts noreply at macports.org
Mon Sep 17 15:03:35 PDT 2012


#36192: abiword-x11 @2.8.6 does not build because of libpng issue
-----------------------------+--------------------------------
 Reporter:  Peter_Dyballa@…  |      Owner:  macports-tickets@…
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.1.2
 Keywords:                   |       Port:  abiword-x11
-----------------------------+--------------------------------
 Hello!

 The error is this:

 {{{
 libtool: compile:  /usr/bin/llvm-g++-4.2 -DHAVE_CONFIG_H -I. -I../../../..
 -D_REENTRANT -I/opt/local/include/fribidi -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include
 -I/opt/local/include/libgsf-1 -I/opt/local/include/libxml2
 -I/opt/local/include/wv -I/opt/local/include/enchant
 -I/opt/local/include/cairo -I/opt/local/include/pixman-1
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng15
 -I/opt/local/include/pango-1.0 -I/opt/local/include/gtk-2.0
 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0
 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/gio-unix-2.0/
 -I/opt/local/include/gtk-unix-print-2.0 -I/opt/local/include/librsvg-2.0
 -I../../../.. -I../../../../goffice-bits -I../../../../src/af/ev/gtk
 -I../../../../src/af/ev/xp -I../../../../src/af/gr/gtk
 -I../../../../src/af/gr/xp -I../../../../src/af/util/unix
 -I../../../../src/af/util/xp -I../../../../src/af/xap/gtk
 -I../../../../src/af/xap/xp -I/opt/local/include -Wall -Wextra -Wsign-
 compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wmissing-
 noreturn -Wunused -Wpointer-arith -Wshadow -pipe -O2 -arch x86_64 -MT
 ut_test.lo -MD -MP -MF .deps/ut_test.Tpo -c ut_test.cpp -o ut_test.o
 >/dev/null 2>&1
 ut_png.cpp: In function ‘bool UT_PNG_getDimensions(const UT_ByteBuf*,
 UT_sint32&, UT_sint32&)’:
 ut_png.cpp:74: error: invalid use of incomplete type ‘struct
 png_struct_def’
 /opt/local/include/png.h:854: error: forward declaration of ‘struct
 png_struct_def’
 make[6]: *** [ut_png.lo] Error 1
 make[6]: *** Waiting for unfinished jobs....
 }}}

 The version of libpng installed is libpng @1.5.12_0.

-- 
Ticket URL: <https://trac.macports.org/ticket/36192>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list