Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2009 10:19:54 -0500
From:      Troy <troy@twisted.net>
To:        ajtiM <lumiwa@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   sane-backends port broken
Message-ID:  <20090525151954.GA64784@twisted.net>

next in thread | raw e-mail | index | archive | help
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.



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