From owner-freebsd-ports@FreeBSD.ORG Thu Oct 3 14:31:14 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A95AC602 for ; Thu, 3 Oct 2013 14:31:14 +0000 (UTC) (envelope-from john@potato.growveg.org) Received: from potato.growveg.org (growveg-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:3d2::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2503A2885 for ; Thu, 3 Oct 2013 14:31:14 +0000 (UTC) Received: from john by potato.growveg.org with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1VRjvr-0003Ix-Q9 for freebsd-ports@freebsd.org; Thu, 03 Oct 2013 15:31:11 +0100 Date: Thu, 3 Oct 2013 15:31:11 +0100 From: John To: freebsd-ports@freebsd.org Subject: graphics/ocropus fails to build on 9.2-R ports rev 329191 Message-ID: <20131003143111.GB12625@potato.growveg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: John X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Oct 2013 14:31:14 -0000 Hello freebsd-ports, # svn info /usr/ports Path: /usr/ports Working Copy Root Path: /usr/ports URL: https://svn0.eu.freebsd.org/ports/head Relative URL: ^/head Repository Root: https://svn0.eu.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 329191 Node Kind: directory Schedule: normal Last Changed Author: bf Last Changed Rev: 329191 Last Changed Date: 2013-10-03 14:47:44 +0100 (Thu, 03 Oct 2013) graphics/ocropus fails to build and gives the following error: ===> Building for ocropus-0.4_11 Making all in . gmake[1]: Entering directory /usr/ports/graphics/ocropus/work/ocropus-0.4/ocropus' clang++ -DPACKAGE_NAME=\"ocropus\" -DPACKAGE_TARNAME=\"ocropus\" -DPACKAGE_VERSION=\"0.3\" -DPACKAGE_STRING=\"ocropus\ 0.3\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"ocropus\" -DVERSION=\"0.3\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FLOAT_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBTIFF=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBIULIB=1 -DHAVE_LIBLEPT=1 -DHAVE_LIBGSLCBLAS=1 -DHAVE_LIBGSL=1 -DHAVE_LIBGOMP=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_DUP2=1 -DHAVE_MEMSET=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRRCHR=1 -I. -I./include -I./ocr-utils -I/usr/local/include -I/usr/local/include/leptonica -DHAVE_LEPTONICA -I/usr/local/include -O2 -pipe -fstack-protector -fno-strict-aliasing -fopenmp -Wall -Wno-sign-compare -Wno-write-strings -Wno-deprecated -O2 -pipe -fstack-protector -fno-strict-aliasing -fopenmp -MT didegrade.o -MD -MP -MF .deps/didegrade.Tpo -c -o didegrade.o test -f './ocr-utils/didegrade.cc' || echo './'./ocr-utils/didegrade.cc clang++: warning: argument unused during compilation: '-fopenmp' clang++: warning: argument unused during compilation: '-fopenmp' In file included from ./ocr-utils/didegrade.cc:25: In file included from /usr/local/include/iulib/imglib.h:29: In file included from /usr/local/include/iulib/imgfilters.h:30: In file included from /usr/local/include/colib/colib.h:34: In file included from /usr/local/include/colib/classifier.h:33: /usr/local/include/colib/narray.h:79:5: warning: 'narray' defined as a class template here but previously declared as a struct template [-Wmismatched-tags] class narray { ^ /usr/local/include/colib/narray.h:66:5: note: did you mean class here? struct narray; ^~~~~~ class In file included from ./ocr-utils/didegrade.cc:25: In file included from /usr/local/include/iulib/imglib.h:29: In file included from /usr/local/include/iulib/imgfilters.h:30: In file included from /usr/local/include/colib/colib.h:37: /usr/local/include/colib/env.h:36:17: warning: using directive refers to implicitly-defined namespace 'std' using namespace std; ^ In file included from ./ocr-utils/didegrade.cc:26: In file included from ./ocr-utils/didegrade.h:29: In file included from ./include/ocropus.h:61: ./ocr-utils/enumerator.h:83:25: error: call to function 'Hash_hash' that is neither visible in the template definition nor found by argument-dependent lookup int index = abs(Hash_hash(key)) % entries.length(); ^ ./ocr-utils/enumerator.h:71:21: note: in instantiation of member function 'EnumHash::find_index' requested here int index = find_index(key); ^ ./ocr-utils/enumerator.h:116:34: note: in instantiation of member function 'EnumHash::get' requested here int result = translation.get(i,n); ^ ./ocr-utils/enumerator.h:105:12: note: 'Hash_hash' should be declared prior to the call site inline int Hash_hash(int x) { ^ 2 warnings and 1 error generated. gmake[1]: *** [didegrade.o] Error 1 gmake[1]: Leaving directory /usr/ports/graphics/ocropus/work/ocropus-0.4/ocropus' gmake: *** [all-recursive] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/graphics/ocropus. *** [build] Error code 1 Stop in /usr/ports/graphics/ocropus. can anyone help? thanks, -- John