Package: libgphoto2
Version: 2.1.6-6

I'm trying to backport libgphoto2 to stable (because 2.1.6 is
apparently a requirement if you want a USB camera to work with
a 2.6.14 or similar kernel).

However, it doesn't seem to build from source: your debian/rules
uses "dpkg-architecture -qDEB_HOST_ARCH_OS", which doesn't work
on stable:

DEB_HOST_ARCH_OS is not a supported variable name at /usr/bin/dpkg-architecture 
line 271.

It then ignores this error, and proceeds happily through the
building but trips up at the end because print-udev-rules
and print-usb-usermap have been left in debian/tmp. This is
because this part of debian/rules:

ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu)
        sed -e "s/[EMAIL PROTECTED]@ //g" \
        < debian/libgphoto2-2.files.in > debian/libgphoto2-2.files
else
        grep -v "[EMAIL PROTECTED]@" \
        < debian/libgphoto2-2.files.in > debian/libgphoto2-2.files
endif

has taken the 'else' clause and the generated filelist is wrong.
(I can't see where DEB_HOST_GNU_SYSTEM is supposed to be being
set...)

hope this helps
-- PMM


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to