[Pkg-shotwell-maint] building libraw15-201604 .deb

Matthias Kaehlcke matthias at kaehlcke.net
Sun Apr 24 03:55:36 UTC 2016


Hi,

libraw 0.18-201604 has recently been published. Since it is not an
official release I suppose Debian will not pick up this version.

Unfortunately my new camera (Canon EOS 80D) is not supported by libraw
0.17.1, therefore I am interested in installing the newer libraw on my
system.

I tried to build a .deb but didn't succeed. What I did is copying the
debian directory from v0.17.1 to 0.18-201604 and running

apt-get build-dep libraw15
debuild -i -us -uc -b

debuild builds the shared library but "dh_makeshlibs" fails,
apparently in a sanity check of the library symbols (see log below). I
tried to just replace the .so files on my system with the ones
generated by the build, but digikam then crashed when opening a raw
file.

I'd appreciate any help on getting my camera supported on Debian :)

Thanks

Matthias

debian/rules override_dh_makeshlibs
make[1]: Entering directory '/tmp/libraw-0.18-201604'
dh_makeshlibs -V 'libraw15 (>= 0.17.0-1)'
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see diff output below
dpkg-gensymbols: warning: some symbols or patterns disappeared in the symbols file: see diff output below
dpkg-gensymbols: warning: debian/libraw15/DEBIAN/symbols doesn't match completely debian/libraw15.symbols
--- debian/libraw15.symbols (libraw15_0.17.1-1_amd64)
+++ dpkg-gensymbolsjXqldM	2016-04-23 20:37:35.128612015 -0700
@@ -306,7 +306,7 @@
  (c++)"LibRaw::subtract_black_internal()@Base" 0.16.0
  (c++)"LibRaw::tiff_get(unsigned int, unsigned int*, unsigned int*, unsigned int*, unsigned int*)@Base" 0.16.0
  (c++)"LibRaw::tiff_head(tiff_hdr*, int)@Base" 0.16.0
- (c++)"LibRaw::tiff_set(unsigned short*, unsigned short, unsigned short, int, int)@Base" 0.16.0
+#MISSING: 0.17.1-1# (c++)"LibRaw::tiff_set(unsigned short*, unsigned short, unsigned short, int, int)@Base" 0.16.0
  (c++)"LibRaw::unpack()@Base" 0.16.0
  (c++)"LibRaw::unpack_function_name()@Base" 0.16.0
  (c++)"LibRaw::unpack_thumb()@Base" 0.16.0
@@ -336,7 +336,7 @@
  (c++)"LibRaw_abstract_datastream::tempbuffer_close()@Base" 0.16.0
  (c++|arch=!alpha !amd64 !arm64 !kfreebsd-amd64 !mips64 !mips64el !ppc64 !ppc64el !s390x !sparc64)"LibRaw_abstract_datastream::tempbuffer_open(void*, unsigned int)@Base" 0.16.0
  (c++|arch=alpha amd64 arm64 kfreebsd-amd64 mips64 mips64el ppc64 ppc64el s390x sparc64)"LibRaw_abstract_datastream::tempbuffer_open(void*, unsigned long)@Base" 0.16.0
-#MISSING: 0.17.0-1# (c++|optional=gcc-4.8)"LibRaw_abstract_datastream::~LibRaw_abstract_datastream()@Base" 0.16.0
+#MISSING: 0.17.1-1# (c++|optional=gcc-4.8)"LibRaw_abstract_datastream::~LibRaw_abstract_datastream()@Base" 0.16.0
  (c++)"LibRaw_bigfile_datastream::LibRaw_bigfile_datastream(char const*)@Base" 0.16.0
  (c++)"LibRaw_bigfile_datastream::eof()@Base" 0.16.0
  (c++)"LibRaw_bigfile_datastream::fname()@Base" 0.16.0
@@ -388,6 +388,27 @@
  (c++)"LibRaw_file_datastream::tell()@Base" 0.16.0
  (c++)"LibRaw_file_datastream::valid()@Base" 0.16.0
  (c++)"LibRaw_file_datastream::~LibRaw_file_datastream()@Base" 0.16.0
+ _Z9my_strlenPKc at Base 0.17.1-1
+ _ZN6LibRaw10ljpeg_idctEP5jhead at Base 0.17.1-1
+ _ZN6LibRaw10try_dngsdkEv at Base 0.17.1-1
+ _ZN6LibRaw11have_fpdataEv at Base 0.17.1-1
+ _ZN6LibRaw12capabilitiesEv at Base 0.17.1-1
+ _ZN6LibRaw12is_canon_600Ev at Base 0.17.1-1
+ _ZN6LibRaw12set_dng_hostEPv at Base 0.17.1-1
+ _ZN6LibRaw12try_rawspeedEv at Base 0.17.1-1
+ _ZN6LibRaw15Canon_WBpresetsEii at Base 0.17.1-1
+ _ZN6LibRaw15is_curve_linearEv at Base 0.17.1-1
+ _ZN6LibRaw16valid_for_dngsdkEv at Base 0.17.1-1
+ _ZN6LibRaw17Canon_WBCTpresetsEs at Base 0.17.1-1
+ _ZN6LibRaw17Kodak_WB_0x08tagsEij at Base 0.17.1-1
+ _ZN6LibRaw17convertFloatToIntEfff at Base 0.17.1-1
+ _ZN6LibRaw17is_floating_pointEv at Base 0.17.1-1
+ _ZN6LibRaw20Canon_CameraSettingsEv at Base 0.17.1-1
+ _ZN6LibRaw20deflate_dng_load_rawEv at Base 0.17.1-1
+ _ZN6LibRaw21pentax_4shot_load_rawEv at Base 0.17.1-1
+ _ZN6LibRaw26unpacked_load_raw_reversedEv at Base 0.17.1-1
+ _ZN6LibRaw29nikon_load_striped_packed_rawEv at Base 0.17.1-1
+ _ZN6LibRaw8tiff_setEP8tiff_hdrPtttii at Base 0.17.1-1
  auto_legacy_offset at Base 0.17.0
  default_data_callback at Base 0.16.0
  default_memory_callback at Base 0.16.0
@@ -397,6 +418,7 @@
  libraw_adjust_sizes_info_only at Base 0.16.0
  libraw_cameraCount at Base 0.16.0
  libraw_cameraList at Base 0.16.0
+ libraw_capabilities at Base 0.17.1-1
  libraw_close at Base 0.16.0
  libraw_dcraw_clear_mem at Base 0.16.0
  libraw_dcraw_make_mem_image at Base 0.16.0
@@ -433,6 +455,7 @@
  libraw_set_output_bps at Base 0.17.0
  libraw_set_output_color at Base 0.17.0
  libraw_set_progress_handler at Base 0.16.0
+ libraw_set_user_mul at Base 0.17.1-1
  libraw_strerror at Base 0.16.0
  libraw_strprogress at Base 0.16.0
  libraw_subtract_black at Base 0.16.0
@@ -782,7 +805,7 @@
  (c++)"LibRaw::subtract_black_internal()@Base" 0.16.0
  (c++)"LibRaw::tiff_get(unsigned int, unsigned int*, unsigned int*, unsigned int*, unsigned int*)@Base" 0.16.0
  (c++)"LibRaw::tiff_head(tiff_hdr*, int)@Base" 0.16.0
- (c++)"LibRaw::tiff_set(unsigned short*, unsigned short, unsigned short, int, int)@Base" 0.16.0
+#MISSING: 0.17.1-1# (c++)"LibRaw::tiff_set(unsigned short*, unsigned short, unsigned short, int, int)@Base" 0.16.0
  (c++)"LibRaw::unpack()@Base" 0.16.0
  (c++)"LibRaw::unpack_function_name()@Base" 0.16.0
  (c++)"LibRaw::unpack_thumb()@Base" 0.16.0
@@ -812,7 +835,7 @@
  (c++)"LibRaw_abstract_datastream::tempbuffer_close()@Base" 0.16.0
  (c++|arch=!alpha !amd64 !arm64 !kfreebsd-amd64 !mips64 !mips64el !ppc64 !ppc64el !s390x !sparc64)"LibRaw_abstract_datastream::tempbuffer_open(void*, unsigned int)@Base" 0.16.0
  (c++|arch=alpha amd64 arm64 kfreebsd-amd64 mips64 mips64el ppc64 ppc64el s390x sparc64)"LibRaw_abstract_datastream::tempbuffer_open(void*, unsigned long)@Base" 0.16.0
-#MISSING: 0.17.0-1# (c++|optional=gcc-4.8)"LibRaw_abstract_datastream::~LibRaw_abstract_datastream()@Base" 0.16.0
+#MISSING: 0.17.1-1# (c++|optional=gcc-4.8)"LibRaw_abstract_datastream::~LibRaw_abstract_datastream()@Base" 0.16.0
  (c++)"LibRaw_bigfile_datastream::LibRaw_bigfile_datastream(char const*)@Base" 0.16.0
  (c++)"LibRaw_bigfile_datastream::eof()@Base" 0.16.0
  (c++)"LibRaw_bigfile_datastream::fname()@Base" 0.16.0
@@ -864,6 +887,27 @@
  (c++)"LibRaw_file_datastream::tell()@Base" 0.16.0
  (c++)"LibRaw_file_datastream::valid()@Base" 0.16.0
  (c++)"LibRaw_file_datastream::~LibRaw_file_datastream()@Base" 0.16.0
+ _Z9my_strlenPKc at Base 0.17.1-1
+ _ZN6LibRaw10ljpeg_idctEP5jhead at Base 0.17.1-1
+ _ZN6LibRaw10try_dngsdkEv at Base 0.17.1-1
+ _ZN6LibRaw11have_fpdataEv at Base 0.17.1-1
+ _ZN6LibRaw12capabilitiesEv at Base 0.17.1-1
+ _ZN6LibRaw12is_canon_600Ev at Base 0.17.1-1
+ _ZN6LibRaw12set_dng_hostEPv at Base 0.17.1-1
+ _ZN6LibRaw12try_rawspeedEv at Base 0.17.1-1
+ _ZN6LibRaw15Canon_WBpresetsEii at Base 0.17.1-1
+ _ZN6LibRaw15is_curve_linearEv at Base 0.17.1-1
+ _ZN6LibRaw16valid_for_dngsdkEv at Base 0.17.1-1
+ _ZN6LibRaw17Canon_WBCTpresetsEs at Base 0.17.1-1
+ _ZN6LibRaw17Kodak_WB_0x08tagsEij at Base 0.17.1-1
+ _ZN6LibRaw17convertFloatToIntEfff at Base 0.17.1-1
+ _ZN6LibRaw17is_floating_pointEv at Base 0.17.1-1
+ _ZN6LibRaw20Canon_CameraSettingsEv at Base 0.17.1-1
+ _ZN6LibRaw20deflate_dng_load_rawEv at Base 0.17.1-1
+ _ZN6LibRaw21pentax_4shot_load_rawEv at Base 0.17.1-1
+ _ZN6LibRaw26unpacked_load_raw_reversedEv at Base 0.17.1-1
+ _ZN6LibRaw29nikon_load_striped_packed_rawEv at Base 0.17.1-1
+ _ZN6LibRaw8tiff_setEP8tiff_hdrPtttii at Base 0.17.1-1
  auto_legacy_offset at Base 0.17.0
  default_data_callback at Base 0.16.0
  default_memory_callback at Base 0.16.0
@@ -873,6 +917,7 @@
  libraw_adjust_sizes_info_only at Base 0.16.0
  libraw_cameraCount at Base 0.16.0
  libraw_cameraList at Base 0.16.0
+ libraw_capabilities at Base 0.17.1-1
  libraw_close at Base 0.16.0
  libraw_dcraw_clear_mem at Base 0.16.0
  libraw_dcraw_make_mem_image at Base 0.16.0
@@ -909,6 +954,7 @@
  libraw_set_output_bps at Base 0.17.0
  libraw_set_output_color at Base 0.17.0
  libraw_set_progress_handler at Base 0.16.0
+ libraw_set_user_mul at Base 0.17.1-1
  libraw_strerror at Base 0.16.0
  libraw_strprogress at Base 0.16.0
  libraw_subtract_black at Base 0.16.0
dh_makeshlibs: failing due to earlier errors
debian/rules:15: recipe for target 'override_dh_makeshlibs' failed
make[1]: *** [override_dh_makeshlibs] Error 2
make[1]: Leaving directory '/tmp/libraw-0.18-201604'
debian/rules:6: recipe for target 'binary' failed
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -i -b failed

-- 
Matthias Kaehlcke

            You can chain me, you can torture me, you can even
          destroy this body, but you will never imprison my mind
                            (Mahatma Gandhi)
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4                  `-



More information about the Pkg-shotwell-maint mailing list