Subject: pkg/6316: sane-0.74 package broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <rh@idle.trapdoor.vip.at>
List: netbsd-bugs
Date: 10/17/1998 20:54:04
>Number:         6316
>Category:       pkg
>Synopsis:       sane-0.74 package broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 17 12:05:00 1998
>Last-Modified:
>Originator:     Rene Hexel
>Organization:

>Release:        NetBSD 1.3.2
>Environment:
	
System: NetBSD idle 1.3.2 NetBSD 1.3.2 (IDLE) #48: Fri Oct 16 16:22:19 CEST 1998 rh@idle:/usr/local/sys/src/sys/arch/i386/compile/IDLE i386


>Description:
	Sane 0.74 (or at least most of the scanner backends) got broken,
probably somewhere along libtoolification.  On all backends I have tried
ld.so complains about an `Undefined symbol "_scsireq_enter"'.  That symbol
gets defined in ${WRKDIR}/sanei/sanei_scsi.c, which becomes part of
libsanei.  Looks like the backend libraries somehow no longer get linked
against libsanei.

>How-To-Repeat:
	# echo /dev/uk1 >/usr/X11R6/etc/sane.d/umax.conf
	# xscanimage umax
/usr/libexec/ld.so: Undefined symbol "_scsireq_enter" called from xscanimage:/usr/X11R6/lib/sane/libsane-umax.so.0 at 0x402272a4
Exit 1

>Fix:
	Unfortunately I'm not too far into the subtleties of pkglibtool,
so I can't provide a patch here, but the libsane-<backend> libraries need
linking with libsanei.

>Audit-Trail:
>Unformatted: