From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 24 08:20:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE1421065670 for ; Sun, 24 May 2009 08:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 98E7E8FC12 for ; Sun, 24 May 2009 08:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n4O8K1v7035742 for ; Sun, 24 May 2009 08:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n4O8K1is035741; Sun, 24 May 2009 08:20:01 GMT (envelope-from gnats) Resent-Date: Sun, 24 May 2009 08:20:01 GMT Resent-Message-Id: <200905240820.n4O8K1is035741@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Igor Soumenkov <2igosha@gmail.com> Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E9A7106566B for ; Sun, 24 May 2009 08:13:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 73B128FC17 for ; Sun, 24 May 2009 08:13:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n4O8DNP6042876 for ; Sun, 24 May 2009 08:13:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n4O8DNgJ042875; Sun, 24 May 2009 08:13:23 GMT (envelope-from nobody) Message-Id: <200905240813.n4O8DNgJ042875@www.freebsd.org> Date: Sun, 24 May 2009 08:13:23 GMT From: Igor Soumenkov <2igosha@gmail.com> To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/134891: sane-backends port does not build if old version is installed X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 May 2009 08:20:01 -0000 >Number: 134891 >Category: ports >Synopsis: sane-backends port does not build if old version is installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 24 08:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Igor Soumenkov >Release: 7.2-STABLE >Organization: >Environment: FreeBSD igosha-desktop 7.2-STABLE FreeBSD 7.2-STABLE #9: Sat May 23 21:29:49 MSD 2009 igosha@igosha-desktop:/usr/obj/usr/src/sys/IGOSHA i386 >Description: Can't build the graphics/sane-backends port while trying to update it: gmake[2]: Entering directory `/usr/ports/graphics/sane-backends/work/sane-backends-1.0.20/backend' /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) gmake[2]: *** [libcanon_dr_la-canon_dr.lo] Ошибка 1 >How-To-Repeat: have old version of sane-backends installed cd /usr/ports/graphics/sane-backends && make >Fix: Apply additional patch: --- backend/Makefile.in.orig 2009-04-30 17:41:18.000000000 +0400 +++ backend/Makefile.in 2009-05-24 12:02:03.000000000 +0400 @@ -1138,7 +1138,7 @@ libxerox_mfp_la_LIBADD = am_libxerox_mfp_la_OBJECTS = libxerox_mfp_la-xerox_mfp.lo libxerox_mfp_la_OBJECTS = $(am_libxerox_mfp_la_OBJECTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/sane +DEFAULT_INCLUDES = -I$(top_builddir)/include/sane -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ Patch attached with submission follows: --- backend/Makefile.in.orig 2009-04-30 17:41:18.000000000 +0400 +++ backend/Makefile.in 2009-05-24 12:02:03.000000000 +0400 @@ -1138,7 +1138,7 @@ libxerox_mfp_la_LIBADD = am_libxerox_mfp_la_OBJECTS = libxerox_mfp_la-xerox_mfp.lo libxerox_mfp_la_OBJECTS = $(am_libxerox_mfp_la_OBJECTS) -DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/include/sane +DEFAULT_INCLUDES = -I$(top_builddir)/include/sane -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ >Release-Note: >Audit-Trail: >Unformatted: