Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2013 06:34:36 GMT
From:      pkg-fallout@FreeBSD.org
To:        lippe@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-i386-default][graphics/ocrad] Failed for ocrad-0.21_1 in build
Message-ID:  <201309260634.r8Q6Yavt062573@beefy1.isc.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     lippe@FreeBSD.org
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/graphics/ocrad/Makefile 327733 2013-09-20 18:35:44Z bapt $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-26_06h12m52s/logs/ocrad-0.21_1.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2013-09-26_06h12m52s
Log:

====>> Building graphics/ocrad
build started at Thu Sep 26 06:34:31 UTC 2013
port directory: /usr/ports/graphics/ocrad
building for: FreeBSD head-i386-default-job-07 10.0-CURRENT FreeBSD 10.0-CURRENT i386
maintained by: lippe@FreeBSD.org
Makefile ident:      $FreeBSD: head/graphics/ocrad/Makefile 327733 2013-09-20 18:35:44Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000055
UNAME_v=FreeBSD 10.0-CURRENT
UNAME_r=10.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
PKG_EXT=txz
tpid=54542
POUDRIERE_BUILD_TYPE=bulk
NBPARALLEL=24
PKGNG=1
PKGNAME=ocrad-0.21_1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
--prefix=/usr/local CXXFLAGS="-O2 -pipe -fno-strict-aliasing -Wall -W" CXX="c++"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing -Wall -W"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/ocrad
DOCSDIR=/usr/local/share/doc/ocrad
EXAMPLESDIR=/usr/local/share/examples/ocrad
WWWDIR=/usr/local/www/ocrad
ETCDIR=/usr/local/etc/ocrad
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=yes
---End make.conf---
===>  Cleaning for ocrad-0.21_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ocrad-0.21_1 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.1.4_5.txz
Installing pkg-1.1.4_5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of ocrad-0.21_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by ocrad-0.21_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by ocrad-0.21_1 for building
=> SHA256 Checksum OK for ocrad-0.21.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by ocrad-0.21_1 for building
===>  Extracting for ocrad-0.21_1
=> SHA256 Checksum OK for ocrad-0.21.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ocrad-0.21_1
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for ocrad-0.21_1
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/graphics/ocrad/work/ocrad-0.21/configure

creating config.status
creating Makefile
VPATH = .
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
datadir = $(prefix)/share
includedir = ${prefix}/include
infodir = $(datadir)/info
libdir = ${exec_prefix}/lib
mandir = $(datadir)/man
sysconfdir = $(prefix)/etc
CXX = c++
CPPFLAGS = 
CXXFLAGS = -O2 -pipe -fno-strict-aliasing -Wall -W
LDFLAGS = 
OK. Now you can run make.
===========================================================================
=======================<phase: build          >============================
===>  Building for ocrad-0.21_1
--- ocradlib.o ---
--- common.o ---
--- mask.o ---
--- rational.o ---
--- rectangle.o ---
--- track.o ---
--- ucs.o ---
--- page_image.o ---
--- page_image_io.o ---
--- bitmap.o ---
--- blob.o ---
--- profile.o ---
--- feats.o ---
--- feats_test0.o ---
--- feats_test1.o ---
--- character.o ---
--- character_r11.o ---
--- character_r12.o ---
--- character_r13.o ---
--- textline.o ---
--- textline_r2.o ---
--- textblock.o ---
--- textpage.o ---
--- arg_parser.o ---
--- ocradlib.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c ocradlib.cc
--- common.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c common.cc
--- mask.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c mask.cc
--- rational.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c rational.cc
--- rectangle.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c rectangle.cc
--- track.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c track.cc
--- ucs.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c ucs.cc
--- page_image.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c page_image.cc
--- page_image_io.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c page_image_io.cc
--- bitmap.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c bitmap.cc
--- blob.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c blob.cc
--- profile.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c profile.cc
--- feats.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c feats.cc
--- feats_test0.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c feats_test0.cc
--- feats_test1.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c feats_test1.cc
--- character.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c character.cc
--- character_r11.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c character_r11.cc
--- character_r12.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c character_r12.cc
--- character_r13.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c character_r13.cc
--- textline.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c textline.cc
--- textpage.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c textpage.cc
--- textblock.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c textblock.cc
--- arg_parser.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c arg_parser.cc
--- textline_r2.o ---
c++ -O2 -pipe -fno-strict-aliasing -Wall -W -c textline_r2.cc
--- main.o ---
c++  -O2 -pipe -fno-strict-aliasing -Wall -W -DPROGVERSION=\"0.21\" -c -o main.o main.cc
--- blob.o ---
blob.cc:167:37: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
      else std::fprintf( outfile, " <B7>" );
                                    ^~~~
--- character.o ---
character.cc:277:56: warning: illegal character encoding in character literal [-Winvalid-source-encoding]
        char ch = ( isvc && col == hcenter() ) ? '+' : '<B7>';
                                                       ^
--- profile.o ---
profile.cc:253:33: error: no member named 'abs' in namespace 'std'
      if( d > dmax ) { if( std::abs( d ) <= noise ) ++dmax; else dmax = d; }
                           ~~~~~^
profile.cc:618:18: error: no member named 'abs' in namespace 'std'
    int d = std::abs( ( dx * data[i] ) - y );
            ~~~~~^
--- track.o ---
track.cc:46:21: error: no member named 'abs' in namespace 'std'
          10 * std::abs( r1.bottom() - r2.bottom() ) <= mean_height )
               ~~~~~^
track.cc:48:32: error: no member named 'abs' in namespace 'std'
      if( val > 1 && 10 * std::abs( r1.vcenter() - r2.vcenter() ) <= mean_height )
                          ~~~~~^
track.cc:51:30: error: no member named 'abs' in namespace 'std'
    if( val > 2 && 10 * std::abs( r1.vcenter() - r2.vcenter() ) <= mean_height )
                        ~~~~~^
3 errors generated.
*** [track.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/ocrad/work/ocrad-0.21
--- profile.o ---
2 errors generated.
*** [profile.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/ocrad/work/ocrad-0.21
--- feats_test0.o ---
feats_test0.cc:181:14: error: no member named 'abs' in namespace 'std'
    if( std::abs( vbar(0).hcenter() - b.hcenter() ) <= noise &&
        ~~~~~^
feats_test0.cc:182:14: error: no member named 'abs' in namespace 'std'
        std::abs( (vbar(0).left() - b.left()) - (b.right() - vbar(0).right()) ) <= 2 * noise )
        ~~~~~^
feats_test0.cc:188:18: error: no member named 'abs' in namespace 'std'
        if( std::abs( hbar(0).vcenter() - b.vcenter() ) <= 1 &&
            ~~~~~^
feats_test0.cc:223:16: error: no member named 'abs' in namespace 'std'
          std::abs( vbar(0).hcenter() - hbar(0).hcenter() ) <= 1 &&
          ~~~~~^
feats_test0.cc:316:28: error: no member named 'abs' in namespace 'std'
  if( hbars() == 1 && std::abs( hbar(0).vcenter() - b.vcenter() ) <= 1 &&
                      ~~~~~^
feats_test0.cc:523:18: error: no member named 'abs' in namespace 'std'
        if( std::abs( hdiff ) <= b.height() / 8 )
            ~~~~~^
feats_test0.cc:583:22: error: no member named 'abs' in namespace 'std'
            4 * std::abs( rp[rp.pos(20)] - rp[rp.pos(80)] ) <= b.width() )
                ~~~~~^
feats_test0.cc:830:20: error: no member named 'abs' in namespace 'std'
      if( 2 * std::abs( d ) >= n - 1 ) return 0;
              ~~~~~^
--- character_r11.o ---
character_r11.cc:235:12: error: no member named 'abs' in namespace 'std'
  if( std::abs( top_delta - bottom_delta ) <= std::max( 2, h.height() / 4 ) ||
      ~~~~~^
character_r11.cc:289:17: error: no member named 'abs' in namespace 'std'
  if( 10 * std::abs( h2.vcenter() - h1.vcenter() ) <= b.height() &&
           ~~~~~^
character_r11.cc:296:18: error: no member named 'abs' in namespace 'std'
    if( 5 * std::abs( h1.bottom() - b.vcenter() ) <= b.height() &&
            ~~~~~^
character_r11.cc:297:18: error: no member named 'abs' in namespace 'std'
        5 * std::abs( h2.bottom() - b.vcenter() ) <= b.height() &&
            ~~~~~^
--- feats_test0.o ---
8 errors generated.
*** [feats_test0.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/ocrad/work/ocrad-0.21
--- character_r11.o ---
4 errors generated.
*** [character_r11.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/graphics/ocrad/work/ocrad-0.21
--- blob.o ---
1 warning generated.
--- character.o ---
1 warning generated.
4 errors

make[1]: stopped in /wrkdirs/usr/ports/graphics/ocrad/work/ocrad-0.21
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/ocrad
===>  Cleaning for ocrad-0.21_1



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