#1012198 sane-utils: undefined symbol: md5_buffer

Package:
sane-utils
Source:
sane-backends
Description:
API library for scanners -- utilities
Submitter:
Markus Kolb
Date:
2022-06-06 09:18:05 UTC
Severity:
important
#1012198#5
Date:
2022-05-31 23:03:45 UTC
From:
To:
Dear Maintainer,

I've updated the system via Stretch->Buster to Bullseye and now
the scanimage tool always outputs the error

scanimage: symbol lookup error: scanimage: undefined symbol: md5_buffer

Looks like there is some problem in linking. Maybe missing md5.o?

I hope we could get a fixed package to Bullseye soon!

br
Markus

#1012198#10
Date:
2022-06-01 01:11:00 UTC
From:
To:
Hello again,

I've built the version from Testing locally and with this I've found that the problem has been a more priorised link
/usr/lib64/sane/libsane.so.1 which becomes created to a /usr/lib64/sane/libsane-brother3.so.1.0.7.
The brother3.so is from a manually installed deb-file for my Brother network printer.

But I've no idea why the libsane.so.1 link is created during installation of libsane1 package to this ...brother3.so...

After deleting the wrong link, it uses the correct /usr/lib/x86_64-linux-gnu/libsane.so.1 from libsane1 package and the scanimage tool works.
Instead of deleting the link I've replaced it now with a new link targeting the correct /usr/lib/x86_64-linux-gnu/libsane.so.1. In the hope it stays in place for the future.

Is it possible that the libsane-brother3.so.1.0.7 is found with a glob like libsane*so.* and wrongly linked during libsane-common, libsane1 or sane-utils  package install?

#1012198#15
Date:
2022-06-06 09:15:24 UTC
From:
To:
Hello Markus,

thank you for spending your time helping to make Debian better with
this bug report.

The symlinks are already created when compiling the sources. And when
installing the package still copied to the right place.

First I checked if there is an artifact from the upgrade stretch via
Buster to Bullseye. But this is not the case and would certainly have
been reported before.

With the Brother packages present here some symlinks are created only
with the installation, but no /usr/lib64/sane/libsane.so.1. Here
however only current packages are available to me.

Since the /usr/lib64/sane/libsane.so.1 does not come from the package
sane-backends I close this bug. If there are new findings, please open
a new bugreport.


CU
Jörg

#1012198#20
Date:
2022-06-06 09:15:24 UTC
From:
To:
Hello Markus,

thank you for spending your time helping to make Debian better with
this bug report.

The symlinks are already created when compiling the sources. And when
installing the package still copied to the right place.

First I checked if there is an artifact from the upgrade stretch via
Buster to Bullseye. But this is not the case and would certainly have
been reported before.

With the Brother packages present here some symlinks are created only
with the installation, but no /usr/lib64/sane/libsane.so.1. Here
however only current packages are available to me.

Since the /usr/lib64/sane/libsane.so.1 does not come from the package
sane-backends I close this bug. If there are new findings, please open
a new bugreport.


CU
Jörg