[sane-devel] sane-git launchpad repo libjpeg8 dependency

Ralph Little skelband at gmail.com
Sat Sep 28 18:00:33 BST 2024


Hi,

On Sat, Sep 28, 2024 at 6:46 AM Marco Moock <mm at dorfdsl.de> wrote:

> Am 27.09.2024 um 09:51:28 Uhr schrieb Ralph Little:
>
> > > Probably the easiest way would be to download the source package,
> > > update
> > the source in there (replace the rts8891*.* files in the backend
> > directory) then rebuild the deb file.
>
> This doesn't seem to be enough:
>
> /usr/bin/ld: ./.libs/librts8891.a(librts8891_la-rts8891.o): in function
> `gamma_correction': ./backend/./backend/rts8891.c:2947:(.text+0x62e1):
> undefined reference to `pow' /usr/bin/ld:
> ./backend/./backend/rts8891.c:2947:(.text+0x8a3a): undefined reference
> to `pow'
>
> ------
>

Yeah, sorry. Have a look here for all the changes:
https://gitlab.com/sane-project/backends/-/merge_requests/853/diffs#d20bd4c65270e6b76cbb764eaebb98c4823f0bda

In particular, there is a library addition to the Makefile.am in the
backend directory on line 1622 to add the $(MATH_LIB) variable to the front
of that line.


> I have then tried to build from the source and copying
> the debian folder (from the apt-get source) into it and changing the
> changelog file.
>
> dwz:
> debian/libsane1/usr/lib/x86_64-linux-gnu/sane/libsane-genesys.so.1.2.1:
> DWARF compression not beneficial - old size 10513109 new size 10551199
>    dh_strip -a
>    debian/rules override_dh_makeshlibs-arch
> make[1]: Entering directory '/home/m/sane-backends-1.3.0-2-marco'
> dpkg-parsechangelog: warning:     debian/changelog(l5): badly formatted
> trailer line
> LINE:  -- Marco M <mm at dorfdsl.de> Sat, 28 Sep 2024 12:21:33 +0200
> dh_makeshlibs --exclude=/sane/ -- -v1.3.0-2 -Pdebian/libsane1 -plibsane1
> dh_makeshlibs: warning:     debian/changelog(l5): badly formatted trailer
> line
> LINE:  -- Marco M <mm at dorfdsl.de> Sat, 28 Sep 2024 12:21:33 +0200
> dpkg-gensymbols: error: some symbols or patterns disappeared in the
> symbols file: see diff output below
> dpkg-gensymbols: warning: debian/libsane1/DEBIAN/symbols doesn't match
> completely debian/libsane1.symbols
> --- debian/libsane1.symbols (libsane1_1.3.0-2_amd64)
> +++ dpkg-gensymbolsSfWUpp       2024-09-28 12:44:32.953663717 +0200
> @@ -1,7 +1,7 @@
>  libsane.so.1 libsane1 #MINVER#
>  * Build-Depends-Package: libsane-dev
>   (arch=!hurd-i386 !kfreebsd-any)cmsg at Base 1.0.29
> - fail_test at Base 1.0.29
> +#MISSING: 1.3.0-2# fail_test at Base 1.0.29
>   md5_buffer at Base 1.0.27
>   md5_finish_ctx at Base 1.0.27
>   md5_init_ctx at Base 1.0.27
> dh_makeshlibs: error: failing due to earlier errors
>
>
There was an error that I accidentally introduced. That has been fixed now
but I did get this from the PPA build as well.
Honestly, I would take the source package as-is from Debian, update that
Makefile.am and the rts8891*.* source and it should build the package.

I'm going to be pretty busy this weekend, but I will try to find time to
have a go myself as well to make sure that the process works.

Cheers,
Ralph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20240928/34b2f5fb/attachment.htm>


More information about the sane-devel mailing list