Date: Sun, 24 May 2009 08:13:23 GMT From: Igor Soumenkov <2igosha@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/134891: sane-backends port does not build if old version is installed Message-ID: <200905240813.n4O8DNgJ042875@www.freebsd.org> Resent-Message-ID: <200905240820.n4O8K1is035741@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905240813.n4O8DNgJ042875>