Your message dated Sat, 23 Feb 2008 17:02:19 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#408745: fixed in xulrunner 1.8.1.12-2
has caused the Debian Bug report #408745,
regarding xulrunner: 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.)
--
408745: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=408745
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: xulrunner
Version: 1.8.0.9-1
Severity: important
Tags: patch
Hi,
xulrunner currently FTBFS on hurd-i386. Here are two patches for fixing
it:
- xulrunner-18_kbsd_nspr.dpatch.diff which fixes
debian/patches/18_kbsd_nspr.dpatch for proper Hurd support
- xulrunner-37_hurd.patch which mostly fixes various PATH_MAX/MAXPATHLEN
issues
Samuel
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
--- xulrunner-1.8.0.9/debian/patches/18_kbsd_nspr.dpatch.orig 2007-01-27
12:37:09.000000000 +0100
+++ xulrunner-1.8.0.9/debian/patches/18_kbsd_nspr.dpatch 2007-01-27
12:35:25.000000000 +0100
@@ -72,7 +72,7 @@
diff -urN mozilla/nsprpub/pr/include/md/_pth.h
mozilla/nsprpub/pr/include/md/_pth.h
--- mozilla/nsprpub/pr/include/md/_pth.h 2005-08-18 19:24:28.000000000
+0200
+++ mozilla/nsprpub/pr/include/md/_pth.h 2006-11-20 22:10:27.000000000
+0100
-@@ -143,10 +143,15 @@
+@@ -143,13 +143,22 @@
(!memcmp(&(t), &pt_zero_tid, sizeof(pthread_t)))
#define _PT_PTHREAD_COPY_THR_HANDLE(st, dt) (dt) = (st)
#elif defined(IRIX) || defined(OSF1) || defined(AIX) || defined(SOLARIS) \
@@ -83,13 +83,20 @@
|| defined(VMS) || defined(NTO) || defined(DARWIN) \
|| defined(UNIXWARE) || defined(RISCOS)
+#ifdef __GNU__
-+/* Hurd pthreads don't have an invalid value for pthread_t. -- rmh */
-+#error Using Hurd pthreads
-+#endif
++/* Hurd pthread_ts are allocated from 0, and you just _won't_ be able to
create
++ * 4G threads :) */
++#define _PT_PTHREAD_INVALIDATE_THR_HANDLE(t) (t) = -1
++#define _PT_PTHREAD_THR_HANDLE_IS_INVALID(t) (t) == -1
++#define _PT_PTHREAD_COPY_THR_HANDLE(st, dt) (dt) = (st)
++#else
#define _PT_PTHREAD_INVALIDATE_THR_HANDLE(t) (t) = 0
#define _PT_PTHREAD_THR_HANDLE_IS_INVALID(t) (t) == 0
#define _PT_PTHREAD_COPY_THR_HANDLE(st, dt) (dt) = (st)
-@@ -195,7 +200,8 @@
++#endif
+ #else
+ #error "invalid pthread ID is not supported for this architecture"
+ #endif
+@@ -201,7 +210,8 @@
/*
* These platforms don't have sigtimedwait()
*/
@@ -99,7 +106,7 @@
|| defined(FREEBSD) || defined(NETBSD) || defined(OPENBSD) \
|| defined(BSDI) || defined(VMS) || defined(UNIXWARE) \
|| defined(DARWIN)
-@@ -235,7 +241,8 @@
+@@ -235,7 +245,8 @@
#define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER)
#endif /* defined(_PR_DCETHREADS) */
@@ -109,7 +116,7 @@
#define PT_PRIO_MIN sched_get_priority_min(SCHED_OTHER)
#define PT_PRIO_MAX sched_get_priority_max(SCHED_OTHER)
#elif defined(NTO)
-@@ -291,7 +298,8 @@
+@@ -291,7 +302,8 @@
onemillisec.tv_nsec = 1000000L; \
nanosleep(&onemillisec,NULL); \
PR_END_MACRO
--- nsprpub/pr/src/md/unix/uxrng.c.orig 2007-01-27 13:12:45.000000000 +0000
+++ nsprpub/pr/src/md/unix/uxrng.c 2007-01-27 13:12:59.000000000 +0000
@@ -139,7 +139,8 @@
}
#elif (defined(LINUX) || defined(FREEBSD) || defined(__FreeBSD_kernel__) \
- || defined(NETBSD) || defined(__NetBSD_kernel__) || defined(OPENBSD))
+ || defined(NETBSD) || defined(__NetBSD_kernel__) || defined(OPENBSD)) \
+ || defined(__GNU__)
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
--- dbm/src/ndbm.c.orig 2007-01-27 13:15:59.000000000 +0000
+++ dbm/src/ndbm.c 2007-01-27 13:16:37.000000000 +0000
@@ -67,7 +67,7 @@
dbm_open(const char *file, int flags, int mode)
{
HASHINFO info;
- char path[MAXPATHLEN];
+ char path[strlen(file) + strlen(DBM_SUFFIX) + 1];
info.bsize = 4096;
info.ffactor = 40;
--- xpcom/io/nsDirectoryService.cpp.orig 2007-01-27 13:27:22.000000000
+0000
+++ xpcom/io/nsDirectoryService.cpp 2007-01-27 13:29:44.000000000 +0000
@@ -233,6 +233,9 @@
#elif defined(XP_UNIX)
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
// In the absence of a good way to get the executable directory let
// us try this for unix:
// - if MOZILLA_FIVE_HOME is defined, that is it
--- xpcom/io/nsLocalFileUnix.cpp.orig 2007-01-27 13:32:03.000000000 +0000
+++ xpcom/io/nsLocalFileUnix.cpp 2007-01-27 13:33:38.000000000 +0000
@@ -524,6 +524,9 @@
NS_IMETHODIMP
nsLocalFile::Normalize()
{
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
char resolved_path[PATH_MAX] = "";
char *resolved_path_ptr = nsnull;
--- xpcom/obsolete/nsSpecialSystemDirectory.cpp.orig 2007-01-27
13:40:06.000000000 +0000
+++ xpcom/obsolete/nsSpecialSystemDirectory.cpp 2007-01-27 13:45:21.000000000
+0000
@@ -266,7 +266,6 @@
// us try this for unix:
// - if MOZILLA_FIVE_HOME is defined, that is it
// - else give the current directory
- char buf[MAXPATHLEN];
char *moz5 = PR_GetEnv("MOZILLA_FIVE_HOME");
if (moz5)
{
@@ -285,12 +284,19 @@
}
#endif /* DEBUG */
- // Fall back to current directory.
- if (getcwd(buf, sizeof(buf)))
- {
- aFileSpec = buf;
- return;
- }
+ size_t size = 256;
+ while(1) {
+ char buf[size];
+ // Fall back to current directory.
+ if (getcwd(buf, sizeof(buf)))
+ {
+ aFileSpec = buf;
+ return;
+ }
+ if (errno != ERANGE)
+ break;
+ size *= 2;
+ }
}
#elif defined(XP_BEOS)
--- modules/libjar/nsZipArchive.cpp.orig 2007-01-27 14:03:57.000000000
+0000
+++ modules/libjar/nsZipArchive.cpp 2007-01-27 14:04:20.000000000 +0000
@@ -120,11 +120,12 @@
# ifndef S_IFLNK
# define S_IFLNK 0120000
# endif
-# ifndef PATH_MAX
-# define PATH_MAX 1024
-# endif
#endif /* XP_UNIX */
+#ifndef PATH_MAX
+# define PATH_MAX 1024
+#endif
+
#include "zipfile.h"
#include "zipstruct.h"
#include "nsZipArchive.h"
--- gfx/src/gtk/nsDeviceContextSpecG.h.orig 2007-01-27 14:15:06.000000000
+0000
+++ gfx/src/gtk/nsDeviceContextSpecG.h 2007-01-27 14:15:34.000000000 +0000
@@ -55,6 +55,10 @@
#define NS_PORTRAIT 0
#define NS_LANDSCAPE 1
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
typedef enum
{
pmInvalid = 0,
--- toolkit/mozapps/update/src/updater/progressui_gtk.cpp.orig 2007-01-27
16:17:03.000000000 +0000
+++ toolkit/mozapps/update/src/updater/progressui_gtk.cpp 2007-01-27
16:27:03.000000000 +0000
@@ -39,6 +39,7 @@
#include <stdio.h>
#include <gtk/gtk.h>
#include <unistd.h>
+#include <string.h>
#include "progressui.h"
#include "readstrings.h"
#include "errors.h"
@@ -102,7 +103,7 @@
if (sQuit || sProgressVal > 50.0f)
return 0;
- char path[PATH_MAX];
+ char path[strlen(sProgramPath)+4+1];
snprintf(path, sizeof(path), "%s.ini", sProgramPath);
StringTable strings;
--- security/nss/lib/freebl/unix_rand.c.orig 2007-01-27 17:02:35.000000000
+0000
+++ security/nss/lib/freebl/unix_rand.c 2007-01-27 17:04:49.000000000 +0000
@@ -82,7 +82,8 @@
#if defined(SCO) || defined(UNIXWARE) || defined(BSDI) || defined(FREEBSD) \
|| defined(NETBSD) || defined(NTO) || defined(DARWIN) || defined(OPENBSD) \
- || defined(__FreeBSD_kernel__) || defined(__NetBSD_kernel__)
+ || defined(__FreeBSD_kernel__) || defined(__NetBSD_kernel__) \
+ || defined(__GNU__)
#include <sys/times.h>
#define getdtablesize() sysconf(_SC_OPEN_MAX)
--- security/nss/cmd/shlibsign/shlibsign.c.orig 2007-01-28 01:20:32.000000000
+0000
+++ security/nss/cmd/shlibsign/shlibsign.c 2007-01-28 01:21:01.000000000
+0000
@@ -163,6 +163,9 @@
#ifdef USES_LINKS
int ret;
struct stat stat_buf;
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 1024
+#endif
char link_buf[MAXPATHLEN+1];
char *link_file = NULL;
#endif
--- End Message ---
--- Begin Message ---
Source: xulrunner
Source-Version: 1.8.1.12-2
We believe that the bug you reported is fixed in the latest version of
xulrunner, which is due to be installed in the Debian FTP archive:
libmozillainterfaces-java_1.8.1.12-2_all.deb
to pool/main/x/xulrunner/libmozillainterfaces-java_1.8.1.12-2_all.deb
libmozjs-dev_1.8.1.12-2_all.deb
to pool/main/x/xulrunner/libmozjs-dev_1.8.1.12-2_all.deb
libmozjs0d-dbg_1.8.1.12-2_amd64.deb
to pool/main/x/xulrunner/libmozjs0d-dbg_1.8.1.12-2_amd64.deb
libmozjs0d_1.8.1.12-2_amd64.deb
to pool/main/x/xulrunner/libmozjs0d_1.8.1.12-2_amd64.deb
libxul-common_1.8.1.12-2_all.deb
to pool/main/x/xulrunner/libxul-common_1.8.1.12-2_all.deb
libxul-dev_1.8.1.12-2_all.deb
to pool/main/x/xulrunner/libxul-dev_1.8.1.12-2_all.deb
libxul0d-dbg_1.8.1.12-2_amd64.deb
to pool/main/x/xulrunner/libxul0d-dbg_1.8.1.12-2_amd64.deb
libxul0d_1.8.1.12-2_amd64.deb
to pool/main/x/xulrunner/libxul0d_1.8.1.12-2_amd64.deb
python-xpcom_1.8.1.12-2_amd64.deb
to pool/main/x/xulrunner/python-xpcom_1.8.1.12-2_amd64.deb
spidermonkey-bin_1.8.1.12-2_amd64.deb
to pool/main/x/xulrunner/spidermonkey-bin_1.8.1.12-2_amd64.deb
xulrunner-gnome-support_1.8.1.12-2_amd64.deb
to pool/main/x/xulrunner/xulrunner-gnome-support_1.8.1.12-2_amd64.deb
xulrunner_1.8.1.12-2.diff.gz
to pool/main/x/xulrunner/xulrunner_1.8.1.12-2.diff.gz
xulrunner_1.8.1.12-2.dsc
to pool/main/x/xulrunner/xulrunner_1.8.1.12-2.dsc
xulrunner_1.8.1.12-2_amd64.deb
to pool/main/x/xulrunner/xulrunner_1.8.1.12-2_amd64.deb
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.
Mike Hommey <[EMAIL PROTECTED]> (supplier of updated xulrunner 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: Sat, 23 Feb 2008 17:05:32 +0100
Source: xulrunner
Binary: xulrunner xulrunner-gnome-support libmozjs0d libmozjs-dev
libmozjs0d-dbg spidermonkey-bin libxul0d libxul-common libxul-dev libxul0d-dbg
libmozillainterfaces-java python-xpcom
Architecture: source all amd64
Version: 1.8.1.12-2
Distribution: unstable
Urgency: low
Maintainer: Mike Hommey <[EMAIL PROTECTED]>
Changed-By: Mike Hommey <[EMAIL PROTECTED]>
Description:
libmozillainterfaces-java - XPCOM bindings for Java
libmozjs-dev - Development files for the Mozilla SpiderMonkey JavaScript
library
libmozjs0d - The Mozilla SpiderMonkey JavaScript library
libmozjs0d-dbg - Development files for the Mozilla SpiderMonkey JavaScript
library
libxul-common - Gecko engine library - common files
libxul-dev - Development files for the Gecko engine library
libxul0d - Gecko engine library
libxul0d-dbg - Development files for the Gecko engine library
python-xpcom - XPCOM bindings for Python
spidermonkey-bin - standalone JavaScript/ECMAScript (ECMA-262) interpreter
xulrunner - XUL + XPCOM application runner
xulrunner-gnome-support - Support for Gnome in xulrunner applications
Closes: 408745 433126 461351
Changes:
xulrunner (1.8.1.12-2) unstable; urgency=low
.
* debian/patches/01_gtkmozembed_change_toplevel.dpatch: Removed, as it is
useless (epiphany doesn't support to move tabs between windows), and
can lead to crashes. Closes: #461351.
* debian/patches/38_kbsd.dpatch, debian/patches/38_gnu.dpatch,
debian/patches/80_uname.dpatch: Support GNU/Hurd, and fix FTBFS on
GNU/kFreeBSD. Thanks Samuel Thibault. Closes: #408745, #433126.
* debian/patches/00list: Updated accordingly.
Files:
bcbd6ca4f07242825044e4e8d436443b 1223 devel optional xulrunner_1.8.1.12-2.dsc
b40974dc2beb5c6cdd65db6c972bb5f3 131441 devel optional
xulrunner_1.8.1.12-2.diff.gz
0ae048f412a6f285544159771ac38f7d 191680 libdevel optional
libmozjs-dev_1.8.1.12-2_all.deb
1e924a4022cb6fae8cb8a28720093957 1200938 libs optional
libxul-common_1.8.1.12-2_all.deb
056b6cc02f549e213755b9fdfe995421 3010586 libdevel optional
libxul-dev_1.8.1.12-2_all.deb
877d76a380cdb8ea801da9269a55157a 1341662 libdevel extra
libmozillainterfaces-java_1.8.1.12-2_all.deb
8ee7d84f069f54adfa9ee195da714155 291232 devel optional
xulrunner_1.8.1.12-2_amd64.deb
43c580d06d2a07ac38d308a8bf9874df 69994 devel optional
xulrunner-gnome-support_1.8.1.12-2_amd64.deb
f4ef00467d6378ae5c4f965dcdb688bf 388190 libs optional
libmozjs0d_1.8.1.12-2_amd64.deb
92235295363d84552ddf5c70a025490b 861788 libdevel extra
libmozjs0d-dbg_1.8.1.12-2_amd64.deb
8e12cb11883c71f2dd8292937d6cbece 55550 interpreters optional
spidermonkey-bin_1.8.1.12-2_amd64.deb
f1ba0d73f685fa5222334bf1beedb3cc 6688810 libs optional
libxul0d_1.8.1.12-2_amd64.deb
9d8712b25239c24841dc5907721f1b26 47040096 libdevel extra
libxul0d-dbg_1.8.1.12-2_amd64.deb
677811938ab5a876f091f6f761aa821a 125410 python extra
python-xpcom_1.8.1.12-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHwEup3kvaLFT9KlgRAnNhAJ90FpSz5BCfo8Eh+SL/AIPOKc84lwCcDE6/
FPGKqmycdVoSPGQDGARjTIY=
=cGVu
-----END PGP SIGNATURE-----
--- End Message ---