[Pkg-phototools-devel] Bug#533540: creating FDI file problematic for 32bit support on amd64/ia64

Goswin Brederlow goswin-v-b at web.de
Thu Jun 18 14:36:54 UTC 2009


Package: libgphoto2-2
Version: 2.4.5-1
Severity: normal

Hi,

for 32bit support on amd64/ia64 /usr/lib gets renamed to /usr/lib32
and then the postinst fails to execute

	/usr/lib/$PACKAGE/print-camera-list hal-fdi > \
		/usr/share/hal/fdi/preprobe/10osvendor/20-$PACKAGE.fdi

if the 64bit libgphoto2-2 is not installed. The generated file is also
completly empty. I'm assuming the file is supposed to contain camera
devices of any connected camera. Given that most people only connect a
camera when they want to transfere files this whole procedure seems
rather pointless.

Also in postrm removing either the 64bit or 32bit package will remove
the generated file leaving the other flavour without it.


Please consider removing that call completly, ship a prebuild file or
test and prefer /usr/lib32/$PACKAGE/print-camera-list on i386 and
outputing to 20-$ARCH-$PACKAGE.fdi. Or use
/usr/lib/$(DEB_HOST_GNU_TYPE)/$PACKAGE/print-camera-list.

MfG
	Goswin

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable-i386
  APT policy: (500, 'unstable-i386'), (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29.4-frosties-1
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgphoto2-2 depends on:
ii  adduser                       3.110      add and remove users and groups
ii  libc6                         2.9-12     GNU C Library: Shared libraries
ii  libexif12                     0.6.17-1   library to parse EXIF files
ii  libgphoto2-port0              2.4.5-1    gphoto2 digital camera port librar
ii  libjpeg62                     6b-14      The Independent JPEG Group's JPEG 
ii  libltdl7                      2.2.6a-4   A system independent dlopen wrappe

Versions of packages libgphoto2-2 recommends:
ii  udev                          0.141-1    /dev/ and hotplug management daemo

Versions of packages libgphoto2-2 suggests:
pn  gphoto2                       <none>     (no description available)

-- no debconf information





More information about the Pkg-phototools-devel mailing list