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

Marco Moock mm at dorfdsl.de
Sat Sep 28 14:45:53 BST 2024


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'

------

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


Is there an official way documented how to build the deb package from
the source?

-- 
Gruß
Marco



More information about the sane-devel mailing list