From owner-freebsd-ports@FreeBSD.ORG Mon May 25 15:19:43 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9BC81065689 for ; Mon, 25 May 2009 15:19:43 +0000 (UTC) (envelope-from troy@twisted.net) Received: from oz.twisted.net (oz.twisted.net [69.211.34.241]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB878FC16 for ; Mon, 25 May 2009 15:19:43 +0000 (UTC) (envelope-from troy@twisted.net) Received: from localhost (localhost [127.0.0.1]) by oz.twisted.net (Postfix) with ESMTP id 6A2B4FD724D; Mon, 25 May 2009 10:19:55 -0500 (CDT) X-Virus-Scanned: by amavisd-new at twisted.net Received: from oz.twisted.net ([127.0.0.1]) by localhost (oz.twisted.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id egVvSZOe5QRK; Mon, 25 May 2009 10:19:55 -0500 (CDT) Received: by oz.twisted.net (Postfix, from userid 1001) id 26FADFD725A; Mon, 25 May 2009 10:19:55 -0500 (CDT) Date: Mon, 25 May 2009 10:19:54 -0500 From: Troy To: ajtiM Message-ID: <20090525151954.GA64784@twisted.net> Mail-Followup-To: ajtiM , freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: freebsd-ports@freebsd.org Subject: sane-backends port broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: troy@twisted.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 15:19:44 -0000 I was just trying to portupgrade sane-backends-1.0.19_1 to 1.0.20_1 and ran into the following errors: /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -DLIBDIR="/usr/local/lib/sane" -DBACKEND_NAME=canon_dr -I/usr/local/include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -O2 -fno-strict-aliasing -pipe -W -Wall -MT libsane_canon_dr_la-canon_dr-s.lo -MD -MP -MF .deps/libsane_canon_dr_la-canon_dr-s.Tpo -c -o libsane_canon_dr_la-canon_dr-s.lo `test -f 'canon_dr-s.c' || echo './'`canon_dr-s.c mv -f .deps/libsane_canon_dr_la-canon_dr-s.Tpo .deps/libsane_canon_dr_la-canon_dr-s.Plo /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. -I../include -I../include -DLIBDIR="/usr/local/lib/sane" -DBACKEND_NAME=canon_dr -I/usr/local/include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -O2 -fno-strict-aliasing -pipe -W -Wall -MT libcanon_dr_la-canon_dr.lo -MD -MP -MF .deps/libcanon_dr_la-canon_dr.Tpo -c -o libcanon_dr_la-canon_dr.lo `test -f 'canon_dr.c' || echo './'`canon_dr.c canon_dr.c: In function 'sane_canon_dr_get_option_descriptor': canon_dr.c:1333: error: 'SANE_NAME_STANDARD' undeclared (first use in this function) canon_dr.c:1333: error: (Each undeclared identifier is reported only once canon_dr.c:1333: error: for each function it appears in.) canon_dr.c:1334: error: 'SANE_TITLE_STANDARD' undeclared (first use in this function) canon_dr.c:1335: error: 'SANE_DESC_STANDARD' undeclared (first use in this function) canon_dr.c:1545: error: 'SANE_NAME_GEOMETRY' undeclared (first use in this function) canon_dr.c:1546: error: 'SANE_TITLE_GEOMETRY' undeclared (first use in this function) canon_dr.c:1547: error: 'SANE_DESC_GEOMETRY' undeclared (first use in this function) canon_dr.c:1632: error: 'SANE_NAME_PAGE_WIDTH' undeclared (first use in this function) canon_dr.c:1633: error: 'SANE_TITLE_PAGE_WIDTH' undeclared (first use in this function) canon_dr.c:1634: error: 'SANE_DESC_PAGE_WIDTH' undeclared (first use in this function) canon_dr.c:1659: error: 'SANE_NAME_PAGE_HEIGHT' undeclared (first use in this function) canon_dr.c:1660: error: 'SANE_TITLE_PAGE_HEIGHT' undeclared (first use in this function) canon_dr.c:1661: error: 'SANE_DESC_PAGE_HEIGHT' undeclared (first use in this function) canon_dr.c:1680: error: 'SANE_NAME_ENHANCEMENT' undeclared (first use in this function) canon_dr.c:1681: error: 'SANE_TITLE_ENHANCEMENT' undeclared (first use in this function) canon_dr.c:1682: error: 'SANE_DESC_ENHANCEMENT' undeclared (first use in this function) canon_dr.c:1771: error: 'SANE_NAME_ADVANCED' undeclared (first use in this function) canon_dr.c:1772: error: 'SANE_TITLE_ADVANCED' undeclared (first use in this function) canon_dr.c:1773: error: 'SANE_DESC_ADVANCED' undeclared (first use in this function) canon_dr.c:1958: error: 'SANE_NAME_SENSORS' undeclared (first use in this function) canon_dr.c:1959: error: 'SANE_TITLE_SENSORS' undeclared (first use in this function) canon_dr.c:1960: error: 'SANE_DESC_SENSORS' undeclared (first use in this function) canon_dr.c: In function 'read_from_scanner': canon_dr.c:3543: warning: format '%d' expects type 'int', but argument 6 has type 'size_t' canon_dr.c: In function 'read_from_scanner_duplex': canon_dr.c:3680: warning: format '%d' expects type 'int', but argument 3 has type 'size_t' gmake[2]: *** [libcanon_dr_la-canon_dr.lo] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backends-1.0.20/backend' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/ports/graphics/sane-backends/work/sane-backends-1.0.20/backend' gmake: *** [all-recursive] Error 1 *** Error code 1 Stop in /usr/ports/graphics/sane-backends. *** Error code 1 Stop in /usr/ports/graphics/sane-backends.