Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25894 - [sane] "/etc/sane.d/dll.conf" missing

Attached to Project: Arch Linux
Opened by sen (sen) - Monday, 05 September 2011, 06:37 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 05 September 2011, 14:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
While trying to add an scanner using sane (1.0.22-2) from the x86_64 repo,
it failed to detect my scanner using xsane and 'scanimage -L' while sane-find-scanner detected it just fine:
> found USB scanner (vendor=0x06bd [AGFA], product=0x0001 [SNAPSCAN 1212U]) at libusb:002:003

I could track the problem down and the problem is the missing dll.conf in this package:

# SANE_DEBUG_DLL=255 scanimage -L
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.22
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: Couldn't open config file (dll.conf): No such file or directory <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[dll] sane_get_devices
[dll] sane_get_devices: found 0 devices

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
[dll] sane_exit: exiting
[dll] sane_exit: finished


Additional info:
- sane 1.0.22-2
- when I build/install sane-git from aur the '/etc/sane.d/dll.conf' will be created and the scanner is being detected just fine

Steps to reproduce:
- install sane 1.0.22-2 [x86_64] from the Extra Repository
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 05 September 2011, 14:21 GMT
Reason for closing:  Not a bug
Comment by Tobias Powalowski (tpowa) - Monday, 05 September 2011, 12:41 GMT
[tobias@T-POWA-LX ~]$ pacman -Ql sane | grep dll
sane /etc/sane.d/dll.conf
sane /etc/sane.d/dll.d/
sane /usr/lib/sane/libsane-dll.so
sane /usr/lib/sane/libsane-dll.so.1
sane /usr/lib/sane/libsane-dll.so.1.0.22
sane /usr/share/man/man5/sane-dll.5.gz
[tobias@T-POWA-LX ~]$ pacman -Qi sane
Name : sane
Version : 1.0.22-2
URL : http://www.sane-project.org/
Lizenzen : GPL
Gruppen : Nichts
Stellt bereit : Nichts
Hängt ab von : libtiff>=3.9.2-2 libgphoto2>=2.4.7-2 libjpeg>=8
libieee1284 libusb-compat v4l-utils avahi bash
Optionale Abhängigkeiten: Nichts
Benötigt von : xsane
Konflikt mit : Nichts
Ersetzt : Nichts
Installationsgröße : 13684,00 K
Packer : Andrea Scarpino <andrea@archlinux.org>
Architektur : x86_64
Erstellt am : Mo 09 Mai 2011 22:23:48 CEST
Installiert am : Di 10 Mai 2011 08:10:23 CEST
Installationsgrund : Installiert als Abhängigkeit für ein anderes Paket
Installations-Skript : Ja
Beschreibung : Scanner Access Now Easy

All seems fine and there.
Comment by sen (sen) - Monday, 05 September 2011, 13:20 GMT
Hm, I moved '/etc/sane.d' an reinstalled the package and now it created the dll.conf.
Dunno how this could happen. Sry for the wrong bug report!

Loading...