Your message dated Sat, 08 Mar 2008 21:02:39 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#408745: fixed in xulrunner 1.8.1.12-3
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-3
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-3_all.deb
to pool/main/x/xulrunner/libmozillainterfaces-java_1.8.1.12-3_all.deb
libmozjs-dev_1.8.1.12-3_all.deb
to pool/main/x/xulrunner/libmozjs-dev_1.8.1.12-3_all.deb
libmozjs0d-dbg_1.8.1.12-3_amd64.deb
to pool/main/x/xulrunner/libmozjs0d-dbg_1.8.1.12-3_amd64.deb
libmozjs0d_1.8.1.12-3_amd64.deb
to pool/main/x/xulrunner/libmozjs0d_1.8.1.12-3_amd64.deb
libxul-common_1.8.1.12-3_all.deb
to pool/main/x/xulrunner/libxul-common_1.8.1.12-3_all.deb
libxul-dev_1.8.1.12-3_all.deb
to pool/main/x/xulrunner/libxul-dev_1.8.1.12-3_all.deb
libxul0d-dbg_1.8.1.12-3_amd64.deb
to pool/main/x/xulrunner/libxul0d-dbg_1.8.1.12-3_amd64.deb
libxul0d_1.8.1.12-3_amd64.deb
to pool/main/x/xulrunner/libxul0d_1.8.1.12-3_amd64.deb
python-xpcom_1.8.1.12-3_amd64.deb
to pool/main/x/xulrunner/python-xpcom_1.8.1.12-3_amd64.deb
spidermonkey-bin_1.8.1.12-3_amd64.deb
to pool/main/x/xulrunner/spidermonkey-bin_1.8.1.12-3_amd64.deb
xulrunner-gnome-support_1.8.1.12-3_amd64.deb
to pool/main/x/xulrunner/xulrunner-gnome-support_1.8.1.12-3_amd64.deb
xulrunner_1.8.1.12-3.diff.gz
to pool/main/x/xulrunner/xulrunner_1.8.1.12-3.diff.gz
xulrunner_1.8.1.12-3.dsc
to pool/main/x/xulrunner/xulrunner_1.8.1.12-3.dsc
xulrunner_1.8.1.12-3_amd64.deb
to pool/main/x/xulrunner/xulrunner_1.8.1.12-3_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, 08 Mar 2008 20:47:27 +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-3
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 456338 461450 465321
Changes:
xulrunner (1.8.1.12-3) unstable; urgency=low
.
* debian/patches/99_configure.dpatch: Forgot to update in previous release.
Closes: #408745.
* debian/patches/65_native_uconv.dpatch: Remove BOM from UTF-16 output.
Closes: #456338, #465321, #461450.
* debian/rules: Don't ignore $(MAKE) distclean errors.
* debian/control:
+ Bumped Standards-Version to 3.7.3.0. No changes.
+ Turned Homepage indications in descriptions into a control field.
+ Fixed GNOME and GnomeVFS capitalization/spelling.
+ Build depend on binutils >= 2.17 instead of 2.17-1 for mips and mipsel.
* debian/spidermonkey-bin.menu: Moved into the Applications/Programming
section.
Files:
f8f6e3de738e217f87df22ad51eefd06 1221 devel optional xulrunner_1.8.1.12-3.dsc
43a0167f4d1bddcd4782e9398603ca83 131827 devel optional
xulrunner_1.8.1.12-3.diff.gz
cefba61059b3a5ed99b340c69fbe8fa0 191804 libdevel optional
libmozjs-dev_1.8.1.12-3_all.deb
4f98b43f225471efb1ea91e33c802dff 1201036 libs optional
libxul-common_1.8.1.12-3_all.deb
c30588248f2f3c499b8b777cbd42feb5 3010692 libdevel optional
libxul-dev_1.8.1.12-3_all.deb
b83a715282c6a4de09b06bdd38e4e962 1341594 libdevel extra
libmozillainterfaces-java_1.8.1.12-3_all.deb
ce2705f90abf05015808e381698ad8cb 291416 devel optional
xulrunner_1.8.1.12-3_amd64.deb
56127d9ed5ec8f857ddd77f4a7600fa0 70152 devel optional
xulrunner-gnome-support_1.8.1.12-3_amd64.deb
be42e4de8211e9a376d7a1334a718d9a 388436 libs optional
libmozjs0d_1.8.1.12-3_amd64.deb
7c668c1a975e9f7a90b123f8c4f5bcdb 862182 libdevel extra
libmozjs0d-dbg_1.8.1.12-3_amd64.deb
82bb509c5179fbe83bf0f5fc8f8fd9ac 55726 interpreters optional
spidermonkey-bin_1.8.1.12-3_amd64.deb
71724b3899ef69992cfa9d04de18e752 6689130 libs optional
libxul0d_1.8.1.12-3_amd64.deb
715366c6615f5d5dfdf6cf9174f25af5 47042304 libdevel extra
libxul0d-dbg_1.8.1.12-3_amd64.deb
13352d855d7eadb53905a4e46eb36471 125578 python extra
python-xpcom_1.8.1.12-3_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH0vBk3kvaLFT9KlgRAqzqAJ9He7rSoX9TalIEJWd5djSelt0KQgCfSZ5a
JObo9LT67OsN8sUsq3ek/wo=
=eYcF
-----END PGP SIGNATURE-----
--- End Message ---