From owner-freebsd-ports@FreeBSD.ORG Mon May 25 01:50:26 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 CAFC81065676 for ; Mon, 25 May 2009 01:50:26 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 87D468FC14 for ; Mon, 25 May 2009 01:50:26 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [IPv6:2001:470:1f07:4e1::4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Iain Michael Butler", Issuer "Protected Networks Certificate Authority" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 5DFF46122; Sun, 24 May 2009 21:50:25 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1243216225; bh=W1rkIG7RE2eyUU9CFUsiENWQt6Aa6s3wSGqtsdgRR08=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=NpkV0zswaMWU1iL5RwcVwuD1v/Y1oIbtLdTXDyk1qZ5W9KMNMVxIIFDnmNunPnEZg qdps4z3BQDf6f760n0qQHfkbEqEAyiuCkpJtXurqbPahSRrAGK4iiZqhXIsevex DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=hQL/Ay0tBqCj2Wx4Tsxse0r337S1xzm4rmslWtECcbW+aJ3jPIqJt+DukkcNAkLel OfZgs5GsBFWz77wYSDwjhTKRA//zRU2SkZZeKd6yN/GrW+hqn1fGod3kKQF2647 Message-ID: <4A19F95C.80404@protected-networks.net> Date: Sun, 24 May 2009 21:50:20 -0400 From: Michael Butler User-Agent: Thunderbird 2.0.0.21 (X11/20090404) MIME-Version: 1.0 To: Tom Mende References: <4A199915.3060001@protected-networks.net> In-Reply-To: X-Enigmail-Version: 0.95.7 OpenPGP: id=0442D492 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: graphics/sane-backends compilation still broken X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 May 2009 01:50:27 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom Mende wrote: > On 25/05/2009, at 4:59 AM, Michael Butler wrote: > > 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) > Exact same problem here at same place in the process! Raised a PR but... [ .. ] > 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! The solution is to move the /usr/local/include/sane directory from the previous installation to one side and it will compile. Using the approach of .. cd /usr/ports/graphics/sane-backends make deinstall all reinstall clean .. would also probably work, Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkoZ+VwACgkQQv9rrgRC1JLRAACfX+ghh3JKkvPLtrzQWD+fTUW0 Xr8An0x6IqMy5naZcAtDNIfHaaS5Uhh7 =9Vsb -----END PGP SIGNATURE-----