Bug#595535: iceweasel: FTBFS on hurd-i386
Samuel Thibault
sthibault at debian.org
Sat Sep 4 22:48:41 UTC 2010
Package: iceweasel
Version: 3.6.8-2
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd
Hello,
Here is a patch to fix the build on hurd-i386.
Samuel
-- Package-specific info:
-- Extensions information
Name: Default
Location: /usr/lib/iceweasel/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
Package: iceweasel
Status: enabled
Name: Français Language Pack
Location: /usr/lib/iceweasel/extensions/langpack-fr at firefox.mozilla.org
Package: iceweasel-l10n-fr
Status: enabled
Name: Live HTTP headers
Location: ${PROFILE_EXTENSIONS}/{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}
Status: enabled
-- Plugins information
Name: DivX Browser Plug-In
Location: /usr/lib/mozilla/plugins/mplayerplug-in-dvx.so
Package: mozilla-mplayer
Status: enabled
Name: QuickTime Plug-in 7.4.5
Location: /usr/lib/mozilla/plugins/mplayerplug-in-qt.so
Package: mozilla-mplayer
Status: enabled
Name: RealPlayer 9
Location: /usr/lib/mozilla/plugins/mplayerplug-in-rm.so
Package: mozilla-mplayer
Status: enabled
Name: Shockwave Flash
Location: /usr/lib/nspluginwrapper/plugins/npwrapper.libflashplayer.so
Status: enabled
Name: Windows Media Player Plug-in
Location: /usr/lib/mozilla/plugins/mplayerplug-in-wmp.so
Package: mozilla-mplayer
Status: enabled
Name: mplayerplug-in 3.55
Location: /usr/lib/mozilla/plugins/mplayerplug-in.so
Package: mozilla-mplayer
Status: enabled
-- Addons package information
ii iceweasel 3.5.11-1 Web browser based on Firefox
ii iceweasel-l10n 1:3.5.11+debia French language package for Iceweasel
ii mozilla-mplaye 1:3.55-0.0 MPlayer-Plugin for Mozilla
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages iceweasel depends on:
ii debianutils 3.4 Miscellaneous utilities specific t
ii fontconfig 2.8.0-2.1 generic font configuration library
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface
ii libnspr4-0d 4.8.4-2 NetScape Portable Runtime Library
ii libstdc++6 4.5.0-6 The GNU Standard C++ Library v3
ii procps 1:3.2.8-9 /proc file system utilities
ii xulrunner-1.9.1 1.9.1.11-1 XUL + XPCOM application runner
iceweasel recommends no packages.
Versions of packages iceweasel suggests:
ii latex-xft-fonts 1.6.7-1 TrueType versions of some TeX font
ii libgssapi-krb5-2 1.8.3+dfsg~beta1-1 MIT Kerberos runtime libraries - k
pn mozplugger <none> (no description available)
ii ttf-lyx 1.6.7-1 TrueType versions of some TeX font
pn ttf-mathematica4.1 <none> (no description available)
ii xfonts-mathml 4 Type1 Symbol font for MathML
pn xprint <none> (no description available)
Versions of packages xulrunner-1.9.1 depends on:
ii libasound2 1.0.23-1 shared library for ALSA applicatio
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-4 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.5.0-6 GCC support library
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-1 The GTK+ graphical user interface
ii libhunspell-1.2-0 1.2.11-1 spell checker and morphological an
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libmozjs2d 1.9.1.11-1 The Mozilla SpiderMonkey JavaScrip
ii libnspr4-0d 4.8.4-2 NetScape Portable Runtime Library
ii libnss3-1d 3.12.6-3 Network Security Service libraries
ii libpango1.0-0 1.28.1-1 Layout and rendering of internatio
ii libpng12-0 1.2.44-1 PNG library - runtime
ii libreadline6 6.1-3 GNU readline and history libraries
ii libsqlite3-0 3.7.0-1.1 SQLite 3 shared library
ii libstartup-notification 0.10-1 library for program launch feedbac
ii libstdc++6 4.5.0-6 The GNU Standard C++ Library v3
ii libx11-6 2:1.3.3-3 X11 client-side library
ii libxrender1 1:0.9.6-1 X Rendering Extension client libra
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
-- no debconf information
--
Samuel Thibault <samuel.thibault at fnac.net>
Linux, c'est simple : �a s'adresse � une machine qui est parfois un peu
marabout�e mais qui d'habitude n'a pas d'�tats d'�me. Sur Usenet y'a
plein d'humains et de primates, et �a devient vraiment gore par moment.
-+- TP in : Guide du linuxien pervers - "Le linuxien a-t-il une �me ?" -+-
-------------- next part --------------
--- profile/dirserviceprovider/src/nsProfileLock.cpp.orig 2010-09-03 08:54:12.000000000 +0000
+++ profile/dirserviceprovider/src/nsProfileLock.cpp 2010-09-03 08:55:54.000000000 +0000
@@ -159,8 +159,11 @@
static struct sigaction SIGSEGV_oldact;
static struct sigaction SIGTERM_oldact;
-void nsProfileLock::FatalSignalHandler(int signo, siginfo_t *info,
- void *context)
+void nsProfileLock::FatalSignalHandler(int signo
+#ifdef SA_SIGINFO
+ , siginfo_t *info, void *context
+#endif
+ )
{
// Remove any locks still held.
RemovePidLockFiles();
@@ -212,10 +215,12 @@
raise(signo);
}
+#ifdef SA_SIGINFO
else if (oldact->sa_sigaction &&
(oldact->sa_flags & SA_SIGINFO) == SA_SIGINFO) {
oldact->sa_sigaction(signo, info, context);
}
+#endif
else if (oldact->sa_handler && oldact->sa_handler != SIG_IGN)
{
oldact->sa_handler(signo);
@@ -392,8 +397,12 @@
// because mozilla is run via nohup.
if (!sDisableSignalHandling) {
struct sigaction act, oldact;
+#ifdef SA_SIGINFO
act.sa_sigaction = FatalSignalHandler;
act.sa_flags = SA_SIGINFO;
+#else
+ act.sa_handler = FatalSignalHandler;
+#endif
sigfillset(&act.sa_mask);
#define CATCH_SIGNAL(signame) \
--- profile/dirserviceprovider/src/nsProfileLock.h.orig 2010-09-03 22:59:15.000000000 +0000
+++ profile/dirserviceprovider/src/nsProfileLock.h 2010-09-03 22:59:45.000000000 +0000
@@ -93,8 +93,11 @@
LHANDLE mLockFileHandle;
#elif defined (XP_UNIX)
static void RemovePidLockFiles();
- static void FatalSignalHandler(int signo, siginfo_t *info,
- void *context);
+ static void FatalSignalHandler(int signo
+#ifdef SA_SIGINFO
+ , siginfo_t *info, void *context
+#endif
+ );
static PRCList mPidLockList;
nsresult LockWithFcntl(const nsACString& lockFilePath);
--- toolkit/xre/nsSigHandlers.cpp.orig 2010-09-03 23:47:00.000000000 +0000
+++ toolkit/xre/nsSigHandlers.cpp 2010-09-03 23:48:46.000000000 +0000
@@ -215,6 +215,7 @@
#endif
+#ifdef SA_SIGINFO
static void fpehandler(int signum, siginfo_t *si, void *context)
{
#ifdef XP_MACOSX
@@ -261,6 +262,7 @@
#endif
#endif
}
+#endif
void InstallSignalHandlers(const char *ProgramName)
{
@@ -293,11 +295,13 @@
}
#endif // CRAWL_STACK_ON_SIGSEGV
+#ifdef SA_SIGINFO
/* Install a handler for floating point exceptions and disable them if they occur. */
struct sigaction sa, osa;
sa.sa_flags = SA_ONSTACK | SA_RESTART | SA_SIGINFO;
sa.sa_sigaction = fpehandler;
sigaction(SIGFPE, &sa, &osa);
+#endif
#if defined(DEBUG) && defined(LINUX)
const char *memLimit = PR_GetEnv("MOZ_MEM_LIMIT");
More information about the pkg-mozilla-maintainers
mailing list