graphics/sane-backends compilation still broken

Tom Mende tmende at optusnet.com.au
Mon May 25 00:55:45 UTC 2009


On 25/05/2009, at 4:59 AM, Michael Butler wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> As follows, with either portmaster or portupgrade:
>
> /bin/sh ../libtool --silent --tag=CC   --mode=compile cc - 
> DHAVE_CONFIG_H
> - -I../include/sane -I.  -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 -pipe -march=prescott -fno-strict-aliasing -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)
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (FreeBSD)
>
> iEYEARECAAYFAkoZmRUACgkQQv9rrgRC1JIdJQCgj/2f5rg9uho+s6Y/vwHq0Lzd
> fLwAn1zmaWVYaQZTjQrTCFttKT5fpCM+
> =59fG
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org 
> "

Exact same problem here at same place in the process! Raised a PR but...

---------------

From: 	miwi at freebsd.org
	Subject: 	Re: ports/134890: graphics/sane-backends port fails to build

	Date: 	24 May 2009 7:46:41 PM

	To: 	tmende at optusnet.com.au, miwi at freebsd.org, miwi at freebsd.org

Synopsis: graphics/sane-backends port fails to build

State-Changed-From-To: open->closed
State-Changed-By: miwi
State-Changed-When: Sun May 24 09:46:41 UTC 2009
State-Changed-Why:
a patch was committed please update your portstree.

http://www.freebsd.org/cgi/query-pr.cgi?pr=134890
-----------------

...so I guess I must be an idiot...

Have now used both portsnap fetch extract and portsnap fetch update to  
no avail as the port fails in the same place each time.

Do I have to go back to using CVSup to update the ports tree? That  
would be going backwards in my view!

Cheers, Tom





More information about the freebsd-ports mailing list