Your message dated Sun, 13 Apr 2014 17:33:32 +0000
with message-id <[email protected]>
and subject line Bug#671545: fixed in gphoto2 2.5.4-1
has caused the Debian Bug report #671545,
regarding gphoto2: FTBFS on hurd-i386.
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
671545: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=671545
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gphoto2
Severity: important
Tags: patch
Dear Maintainer,
gphoto2 currently FTBFS on hurd-i386 because of the unconditional use of
PATH_MAX in gphoto2/main.c. The attached patch should fix this issue.
I've set the size of the buf variable to 256 instead of PATH_MAX, as it is done
a few lines above. I'm not sure there is a way to get the real size of the
buffer, but it seems to be supposed to be 256
(http://libgphoto2.sourcearchive.com/documentation/2.4.6/structSetting.html).
WBR,
Cyril Roelandt.
-- System Information:
Debian Release: wheezy/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hurd-i386 (i686-AT386)
Kernel: GNU-Mach 1.3.99/Hurd-0.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff --git a/gphoto2/main.c b/gphoto2/main.c
index d523486..1ea824f 100644
--- a/gphoto2/main.c
+++ b/gphoto2/main.c
@@ -43,7 +43,6 @@
#include <locale.h>
#include <fcntl.h>
#include <utime.h>
-#include <limits.h>
#include <errno.h>
#include <sys/time.h>
@@ -1952,7 +1951,7 @@ main (int argc, char **argv, char **envp)
}
}
if (!gp_params.hook_script) {
- char buf[PATH_MAX];
+ char buf[256];
if (gp_setting_get("gphoto2","hook-script",buf)>=0) {
gp_params.hook_script = strdup(buf);
/* Run init hook */
--- End Message ---
--- Begin Message ---
Source: gphoto2
Source-Version: 2.5.4-1
We believe that the bug you reported is fixed in the latest version of
gphoto2, which is due to be installed in the Debian FTP archive.
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.
Laurent Bigonville <[email protected]> (supplier of updated gphoto2 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: SHA256
Format: 1.8
Date: Sun, 13 Apr 2014 19:16:06 +0200
Source: gphoto2
Binary: gphoto2
Architecture: source amd64
Version: 2.5.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian PhotoTools Maintainers
<[email protected]>
Changed-By: Laurent Bigonville <[email protected]>
Description:
gphoto2 - digital camera command-line client
Closes: 671545
Changes:
gphoto2 (2.5.4-1) unstable; urgency=medium
.
* Team upload.
[ Jackson Doak ]
* Add 02-do_not_use_PATH_MAX.patch, Fixes hurd ftbfs. Closes: #671545
.
[ Laurent Bigonville ]
* New upstream release
- Bump libgphoto2-dev build-dependency to >= 2.5.4
- Refreshed all the patches
* debian/rules: Install NEWS file as changelog, upstream ChangeLog file is
not updated anymore
Checksums-Sha1:
3520bb5e959d90c516a0822fa91da7fc47d91565 1841 gphoto2_2.5.4-1.dsc
785b82776dc78009265720d40e756c2e968bfcd3 1075989 gphoto2_2.5.4.orig.tar.gz
0d7a6a51e645b01b3ef99ced6996b005d8b936db 7596 gphoto2_2.5.4-1.debian.tar.xz
db548737558fd44bd7633d268f9e1c4f74c13af5 173754 gphoto2_2.5.4-1_amd64.deb
Checksums-Sha256:
0244b39360be76d1827dd8815a52a30adb65c3f43a9a2411127d770a3056ede6 1841
gphoto2_2.5.4-1.dsc
bf9242c87994cb93564ab27e8686206bb824904cf8a0efec2b16b92342d9dfd3 1075989
gphoto2_2.5.4.orig.tar.gz
65ff8ef11019a73b765db566dc9df7ba51abd6e6f0fb9fe137c64c7a60856f9d 7596
gphoto2_2.5.4-1.debian.tar.xz
ea4e82fc0c8abed2529d5a2f151414d3eefd358bf95e90eba02fcd97cd0dc9f8 173754
gphoto2_2.5.4-1_amd64.deb
Files:
2ab0dc461c1d68e074c8d3c223a93e09 1841 utils extra gphoto2_2.5.4-1.dsc
2e32e5fabb9f3529e8042741e3ba433e 1075989 utils extra gphoto2_2.5.4.orig.tar.gz
477fee40d71c5620ff80d19b01fb4da8 7596 utils extra gphoto2_2.5.4-1.debian.tar.xz
d040e0173e2f65534a5490ae69b79852 173754 utils extra gphoto2_2.5.4-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCAAGBQJTSscYAAoJEB/FiR66sEPVpFgH/iOGNKZhD8rJ/pQsJnQzb5fp
cr+83TP9U8xQV+KgK0eiKgN0fmB3pQDgeUhtHZxdy0PdnYxIT8+WPAk1ri/SXF3O
WAgK2tnMfhTqsDYKvrlKaEX5UdM8Z4C523ujhshFlS742tFog0V7riyJXg3hUE/D
f7wZF7Rha8FJtQ2AmlFeJwJvcGC40uJkfko2gLezO1Ly2Fbd+cmPzpZ0MZ9UCrca
tlroFo+E0DEByufKOGhGBlB/CGuFvqNLkF9L3BboWdvBCljLpBXRTvy22LEYFJ9X
IFLmICrV+xhXRWErx9cdC6TA2V06YtKhkpvBJVTgLZyaEjJ8Q935FuZnvJVbMWw=
=vwbb
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-phototools-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-phototools-devel