Your message dated Tue, 14 Aug 2007 22:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#434568: fixed in libgphoto2 2.4.0-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libgphoto2
Version: 2.3.1-7
Severity: important

Hi,

The Hurd doesn't have USB support, so libusb can't be build.  In the
meanwhile, please disable the libusb-dev dependency in libgphoto2, as
the attached patch does.

Also attached is a patch that fixes compilation: the Hurd has no such
hard limit like PATH_MAX, and actually the tmppath buffer is useless.

Samuel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-xen
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel Thibault <[EMAIL PROTECTED]>
 PS> Salut ! J'ai un sujet de philo à vous soumettre : "Suffit-il
 PS> d'observer pour connaître" Idées + plan Merçi
 Oui, ya qu'a t'observer pour connaître le fait que tu es une feignasse.
 -+- FF in: Guide du Neuneu d'Usenet - Neuneu fait de la philo -+-
--- libgphoto2-2.3.1/debian/control.orig        2007-07-24 21:21:23.000000000 
+0200
+++ libgphoto2-2.3.1/debian/control     2007-07-24 21:21:42.000000000 +0200
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Frederic Peters <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 5.0.0), zlib1g-dev, libtool, libusb-dev (>= 
1:0.1.5), libgpmg1-dev [alpha amd64 arm armeb armel hppa i386 ia64 lpia m32r 
m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc], 
pkg-config, libexif-dev (>= 0.5.9), libjpeg62-dev, type-handling (>= 0.2.1), 
libhal-dev (>= 0.5.0-1) [alpha amd64 arm armeb armel hppa i386 ia64 lpia m32r 
m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc], doxygen, 
libdbus-1-dev, dpatch
+Build-Depends: debhelper (>> 5.0.0), zlib1g-dev, libtool, libusb-dev (>= 
1:0.1.5) [!hurd-i386], libgpmg1-dev [alpha amd64 arm armeb armel hppa i386 ia64 
lpia m32r m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc], 
pkg-config, libexif-dev (>= 0.5.9), libjpeg62-dev, type-handling (>= 0.2.1), 
libhal-dev (>= 0.5.0-1) [alpha amd64 arm armeb armel hppa i386 ia64 lpia m32r 
m68k mips mipsel powerpc ppc64 s390 s390x sh3 sh3eb sh4 sh4eb sparc], doxygen, 
libdbus-1-dev, dpatch
 Build-Conflicts: liblockdev1-dev
 Standards-Version: 3.7.2
 
@@ -12,7 +12,7 @@
 Provides: libgphoto2port-dev, libgphoto2-dev
 Replaces: libgphoto2port-dev, libgphoto2-dev
 Conflicts: libgphoto2port-dev, gphoto2-dev (<= 2.1.1)
-Depends: libgphoto2-2 (=${Source-Version}), libexif-dev, libusb-dev, 
libc6-dev, pkg-config
+Depends: libgphoto2-2 (=${Source-Version}), libexif-dev, libusb-dev 
[!hurd-i386], libc6-dev, pkg-config
 Description: gphoto2 digital camera library (development files)
  The gphoto2 library can be used by applications to access various
  digital camera models.
reverted:
--- libgphoto2-2.3.1/debian/control.in.orig     2007-07-24 21:23:39.000000000 
+0200
+++ libgphoto2-2.3.1/debian/control.in  2007-07-24 21:23:55.000000000 +0200
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Frederic Peters <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 5.0.0), zlib1g-dev, libtool, libusb-dev (>= 
1:0.1.5), libgpmg1-dev [EMAIL PROTECTED]@], pkg-config, libexif-dev (>= 0.5.9), 
libjpeg62-dev, type-handling (>= 0.2.1), libhal-dev (>= 0.5.0-1) [EMAIL 
PROTECTED]@], doxygen, libdbus-1-dev, dpatch
+Build-Depends: debhelper (>> 5.0.0), zlib1g-dev, libtool, libusb-dev (>= 
1:0.1.5) [!hurd-i386], libgpmg1-dev [EMAIL PROTECTED]@], pkg-config, 
libexif-dev (>= 0.5.9), libjpeg62-dev, type-handling (>= 0.2.1), libhal-dev (>= 
0.5.0-1) [EMAIL PROTECTED]@], doxygen, libdbus-1-dev, dpatch
 Build-Conflicts: liblockdev1-dev
 Standards-Version: 3.7.2
 
@@ -12,7 +12,7 @@
 Provides: libgphoto2port-dev, libgphoto2-dev
 Replaces: libgphoto2port-dev, libgphoto2-dev
 Conflicts: libgphoto2port-dev, gphoto2-dev (<= 2.1.1)
-Depends: libgphoto2-2 (=${Source-Version}), libexif-dev, libusb-dev, 
libc6-dev, pkg-config
+Depends: libgphoto2-2 (=${Source-Version}), libexif-dev, libusb-dev 
[!hurd-i386], libc6-dev, pkg-config
 Description: gphoto2 digital camera library (development files)
  The gphoto2 library can be used by applications to access various
  digital camera models.
--- libgphoto2-2.3.1/debian/rules.orig  2007-07-24 19:39:03.674278000 +0000
+++ libgphoto2-2.3.1/debian/rules       2007-07-24 19:40:00.000000000 +0000
@@ -15,6 +15,10 @@
   endif
 endif
 
+ifeq ($(DEB_HOST_ARCH_OS),hurd)
+  CONFIGURE_OPTIONS += --without-libusb
+endif
+
 major=2
 
 CFLAGS = -g
@@ -31,7 +35,7 @@
 configure: configure-stamp
 configure-stamp: patch
        dh_testdir
-       CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --sysconfdir=/etc 
--mandir=\$${prefix}/share/man --with-drivers=all
+       CFLAGS="$(CFLAGS)" ./configure --prefix=/usr --sysconfdir=/etc 
--mandir=\$${prefix}/share/man --with-drivers=all $(CONFIGURE_OPTIONS)
        touch configure-stamp
 
 build: build-stamp
--- camlibs/digita/digita.c.orig        2007-07-24 20:06:30.579858000 +0000
+++ camlibs/digita/digita.c     2007-07-24 20:10:19.000000000 +0000
@@ -137,7 +137,6 @@
        /* Walk through all of the pictures building a list of folders */
        for (i = 0; i < camera->pl->num_pictures; i++) {
                int found;
-               char tmppath[PATH_MAX + 1];
                char *path;
 
                /* Check to make sure the path matches the folder we're */
@@ -158,22 +157,19 @@
                if (strchr(path, '/') != path + strlen(path) - 1)
                        continue;
 
-               strncpy(tmppath, path, MIN(strlen(path) - 1, PATH_MAX));
-               tmppath[strlen(path) - 1] = 0;
-
                found = 0;
                for (i1 = 0; i1 < gp_list_count(list); i1++) {
                        const char *name;
 
                        gp_list_get_name(list, i1, &name);
-                       if (!strcmp(name, tmppath)) {
+                       if (!strcmp(name, path)) {
                                found = 1;
                                break;
                        }
                }
 
                if (!found)
-                       gp_list_append(list, tmppath, NULL);
+                       gp_list_append(list, path, NULL);
        }
 
        return GP_OK;

--- End Message ---
--- Begin Message ---
Source: libgphoto2
Source-Version: 2.4.0-2

We believe that the bug you reported is fixed in the latest version of
libgphoto2, which is due to be installed in the Debian FTP archive:

libgphoto2-2-dev_2.4.0-2_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-2-dev_2.4.0-2_i386.deb
libgphoto2-2_2.4.0-2_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-2_2.4.0-2_i386.deb
libgphoto2-port0_2.4.0-2_i386.deb
  to pool/main/libg/libgphoto2/libgphoto2-port0_2.4.0-2_i386.deb
libgphoto2_2.4.0-2.diff.gz
  to pool/main/libg/libgphoto2/libgphoto2_2.4.0-2.diff.gz
libgphoto2_2.4.0-2.dsc
  to pool/main/libg/libgphoto2/libgphoto2_2.4.0-2.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Frederic Peters <[EMAIL PROTECTED]> (supplier of updated libgphoto2 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 15 Aug 2007 00:13:26 +0200
Source: libgphoto2
Binary: libgphoto2-port0 libgphoto2-2-dev libgphoto2-2
Architecture: source i386
Version: 2.4.0-2
Distribution: unstable
Urgency: low
Maintainer: Frederic Peters <[EMAIL PROTECTED]>
Changed-By: Frederic Peters <[EMAIL PROTECTED]>
Description: 
 libgphoto2-2 - gphoto2 digital camera library
 libgphoto2-2-dev - gphoto2 digital camera library (development files)
 libgphoto2-port0 - gphoto2 digital camera port library
Closes: 434568
Changes: 
 libgphoto2 (2.4.0-2) unstable; urgency=low
 .
   * debian/patches/11_hurd_no_path_max_bsdsource.dpatch: new patch contributed
     by Samuel Thibault, to fix compilation issues on the Hurd,(closes: #434568)
     * description: Hurd has no such hard limit like PATH_MAX, and define
       _BSD_SOURCE because code uses IXANY and O_NDELAY.
Files: 
 dc0df551651b2f228676f3837699262d 891 libs optional libgphoto2_2.4.0-2.dsc
 fa796409b235aae637df6dcc485c79a8 14512 libs optional libgphoto2_2.4.0-2.diff.gz
 70433a6c9e19c1669a498361ce2b52e2 2516780 libdevel optional 
libgphoto2-2-dev_2.4.0-2_i386.deb
 a776240c3465dd15e0bca286fa8bc4b2 128860 libs optional 
libgphoto2-port0_2.4.0-2_i386.deb
 84c39bc3cdb480cb9a0ced4f2675b267 1254258 libs optional 
libgphoto2-2_2.4.0-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGwiutoR3LsWeD7V4RAmzrAJ9ijbLDx62nrGU5k31am9G7VNENNgCeNQOd
XGhlPm3Vol+f+hOi0qktiQM=
=ukSO
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to