Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 2009 08:53:50 +1000
From:      Tom Mende <tmende@optusnet.com.au>
To:        Michael Butler <imb@protected-networks.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: graphics/sane-backends compilation still broken 
Message-ID:  <F767A861-F5B8-40C9-A3D9-EC04EA38C560@optusnet.com.au>
In-Reply-To: <4A199915.3060001@protected-networks.net>
References:  <4A199915.3060001@protected-networks.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org 
> "

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

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

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

	Date: 	24 May 2009 7:46:41 PM

	To: 	tmende@optusnet.com.au, miwi@freebsd.org, miwi@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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F767A861-F5B8-40C9-A3D9-EC04EA38C560>