==> Making package: exactimage 0.8.7-1 (Tue Jan 29 23:32:03 CET 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found exact-image-0.8.7.tar.bz2
-> Found makefile-cflags.patch
-> Found agg-missing-includes.patch
-> Found utility-timer-dead-code.diff
-> Found libpng15.patch
-> Found g++-4.7.patch
-> Found patch-lib__ContourUtility.cc
-> Found patch-lib__ContourMatching.cc
-> Found patch-codecs__xpm.cc
-> Found patch-codecs__jpeg.cc
-> Found patch-bardecode__code128.hh
-> Found patch-codecs__bmp.cc
-> Found patch-lib__ImageIterator2.hh
-> Found patch-edisplay_edisplay.cc
-> Found patch-codecs__gif.cc
==> Validating source files with md5sums...
exact-image-0.8.7.tar.bz2 ... Passed
makefile-cflags.patch ... Passed
agg-missing-includes.patch ... Passed
utility-timer-dead-code.diff ... Passed
libpng15.patch ... Passed
g++-4.7.patch ... Passed
patch-lib__ContourUtility.cc ... Passed
patch-lib__ContourMatching.cc ... Passed
patch-codecs__xpm.cc ... Passed
patch-codecs__jpeg.cc ... Passed
patch-bardecode__code128.hh ... Passed
patch-codecs__bmp.cc ... Passed
patch-lib__ImageIterator2.hh ... Passed
patch-edisplay_edisplay.cc ... Passed
patch-codecs__gif.cc ... Passed
==> Extracting Sources...
-> Extracting exact-image-0.8.7.tar.bz2 with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
==> Patching for Makefile CFLAGS --> From DEBIAN Project.
patching file Makefile
==> Patching for missing includes --> From DEBIAN Project.
patching file codecs/agg_svg_path_renderer.hh
patching file codecs/svg.cc
patching file lib/agg.hh
==> Patching for dead code in utility/Timer.cc --> From DEBIAN Project.
patching file utility/Timer.cc
patching file utility/Timer.hh
==> Patching for compiling w/libpng-1.5 --> From DEBIAN Project.
patching file codecs/png.cc
==> Patching for compiling w/gcc++-4.7 --> From DEBIAN Project.
patching file edisplay/edisplay.cc
==> Patching for ContourUtility.cc --> From FreeBSDProject.
patching file lib/ContourUtility.cc
==> Patching for ContourMatching.cc --> From FreeBSDProject.
patching file lib/ContourMatching.cc
==> Patching for codecs__xpm.cc --> From FreeBSDProject.
patching file codecs/xpm.cc
==> Patching for codecs__jpeg.cc --> From FreeBSDProject.
patching file codecs/jpeg.cc
Hunk #1 succeeded at 688 (offset 5 lines).
==> Patching for bardecode__code128.hh --> From FreeBSDProject.
patching file bardecode/code128.hh
Hunk #1 succeeded at 236 (offset 1 line).
==> Patching for codecs__bmp.cc --> From FreeBSDProject.
patching file codecs/bmp.cc
Hunk #1 succeeded at 473 with fuzz 2 (offset 32 lines).
Hunk #2 succeeded at 551 (offset 27 lines).
Hunk #3 succeeded at 623 with fuzz 1 (offset 27 lines).
==> Patching for lib__ImageIterator2.hh --> From FreeBSDProject.
patching file lib/ImageIterator2.hh
==> Patching for edisplay_edisplay.cc --> From FreeBSDProject.
patching file ./edisplay/edisplay.cc
==> Patching for codecs__gif.cc --> From FreeBSDProject (Partly!).
patching file codecs/gif.cc
==> Patching for python2...
checking whether the C++ compiler works ... yes
checking for C++ STL support ... yes
checking for C++ templates ... yes
checking for C++ template specialization ... yes
checking for C++ partial template specialization ... yes
checking whether C++ supports templates ... yes
checking for header iostream ... found
checking for header string ... found
checking for header iostream ... found
checking for header sstream ... found
checking for header fstream ... found
checking for package x11 (atleast 11.0) ... yes (11.0)
checking for package libagg (atleast 2.3) ... yes (2.5.0)
checking for package freetype2 (atleast 9.5.0) ... yes (16.0.10)
checking for package evas (atleast 0.9.9) ... no
Enlightenment Evas was not found - edisplay is disabled.
Evas can be obtained from: www.enlightenment.org
checking for header Evas_Engine_GL_X11.h ... not found
checking for package libjpeg ... yes
checking for package libtiff ... yes
checking for package libpng (atleast 1.2) ... yes (1.5.13)
checking for package libungif ... yes
checking for package jasper ... yes
checking for package expat ... yes
checking for package OpenEXR (atleast 1.2.0) ... yes (1.7.1)
checking for package lcms (atleast 1.10) ... yes (1.19)
checking for package bardecode ... no
For optional, proprietary barcode recognition, place it in 'external/'.
checking for package swig (atleast 1.3.32) ... yes (1.3.40)
checking for package lua (atleast 5.1) ... yes (5.2.1)
checking for package perl (atleast 5.8.0) ... yes (5.16.2)
checking for package php (atleast 5.2.0) ... no
checking for package python (atleast 2.5.0) ... yes (2.7.3)
checking for package ruby (atleast 1.8.5) ... yes (1.9.3p374)
C++ objdir/lib/Colorspace.o
C++ objdir/lib/agg.o
C++ objdir/lib/Matrix.o
C++ objdir/lib/scale.o
C++ objdir/lib/hocr.o
C++ objdir/lib/rotate.o
C++ objdir/lib/ContourUtility.o
C++ objdir/lib/ContourMatching.o
C++ objdir/lib/segmentation.o
C++ objdir/lib/vectorial.o
LINK LIB objdir/lib/lib.a
C++ objdir/codecs/jpeg.o
C++ objdir/codecs/dcraw.o
C++ objdir/codecs/pdf.o
C++ objdir/codecs/agg_svg_parser.o
C++ objdir/codecs/xpm.o
C++ objdir/codecs/bmp.o
C++ objdir/codecs/png.o
C++ objdir/codecs/agg_svg_path_renderer.o
C++ objdir/codecs/svg.o
LINK LIB objdir/codecs/lib.a
C++ objdir/bardecode/Scanner.o
LINK LIB objdir/bardecode/bardecode.a
C++ objdir/frontends/optimize2bw.o
LINK EXEC objdir/frontends/optimize2bw
C++ objdir/frontends/bardecode.o
LINK EXEC objdir/frontends/bardecode
C++ objdir/frontends/hocr2pdf.o
LINK EXEC objdir/frontends/hocr2pdf
C++ objdir/frontends/edentify.o
LINK EXEC objdir/frontends/edentify
C++ objdir/frontends/empty-page.o
LINK EXEC objdir/frontends/empty-page
C++ objdir/frontends/e2mtiff.o
LINK EXEC objdir/frontends/e2mtiff
C++ objdir/frontends/econvert.o
LINK EXEC objdir/frontends/econvert
C++ objdir/api/api.o
LINK LIB objdir/api/api.a
LINK DYN objdir/api/lua/ExactImage.so
objdir/api/lua/api-lua-wrap.cc: In function ‘int _wrap_decodeImage(lua_State*)’:
objdir/api/lua/api-lua-wrap.cc:2189:48: error: ‘lua_strlen’ was not declared in this scope
objdir/api/lua/api-lua-wrap.cc: At global scope:
objdir/api/lua/api-lua-wrap.cc:6953:1: error: elements of array ‘const luaL_reg swig_commands []’ have incomplete type
objdir/api/lua/api-lua-wrap.cc:6953:1: error: storage size of ‘swig_commands’ isn’t known
objdir/api/lua/api-lua-wrap.cc: In function ‘int luaopen_ExactImage(lua_State*)’:
objdir/api/lua/api-lua-wrap.cc:7280:19: error: ‘LUA_GLOBALSINDEX’ was not declared in this scope
make: *** [objdir/api/lua/ExactImage.so] Error 1
==> ERROR: A failure occurred in build().
Aborting...