Bug#322618: mozilla-thunderbird: FTBFS (ppc64): Please support the ppc64 architecture

2005-08-18 Thread Alexander Sack - Debian Bugmail
forwarded 322618 https://bugzilla.mozilla.org/show_bug.cgi?id=266123
thanks

 - Alexander

 p.s. please take care that the bug is listed as To: or CC: when 
  replying to this mail (e.g. /reply-all/). 
-- 
 GPG messages preferred.   |  .''`.  ** Debian GNU/Linux **
 Alexander Sack| : :' :  The  universal
 [EMAIL PROTECTED]   | `. `'  Operating System
 http://www.asoftsite.org  |   `-http://www.debian.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#322618: mozilla-thunderbird: FTBFS (ppc64): Please support the ppc64 architecture

2005-08-15 Thread Alexander Sack - Debian Bugmail
On Fri, Aug 12, 2005 at 04:59:06PM +0200, Andreas Jochens wrote:
> I checked the upstream bug and found that it indeed addresses the same
> problem. The upstream bug contains several patch fragments. Taken 
> together, those patch fragments are almost identical to my patch.
> 

You want to gather all patches from the bug report and attach it here?
Otherwise, I will just wait and see if upstream 1.5 fixes this?

Is this ok with you?


Cheers,

Alexander


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#322618: mozilla-thunderbird: FTBFS (ppc64): Please support the ppc64 architecture

2005-08-12 Thread Andreas Jochens
On 05-Aug-12 16:19, Alexander Sack - Debian Bugmail wrote:
> Can you please check if the upstream bug I found [1] addresses the same
> problem and maybe check back if you did the same as they did?

Hello,

thank you for looking at this.

I checked the upstream bug and found that it indeed addresses the same
problem. The upstream bug contains several patch fragments. Taken 
together, those patch fragments are almost identical to my patch.

Regards
Andreas Jochens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#322618: mozilla-thunderbird: FTBFS (ppc64): Please support the ppc64 architecture

2005-08-12 Thread Alexander Sack - Debian Bugmail
On Fri, Aug 12, 2005 at 09:04:44AM +0200, Andreas Jochens wrote:
> On 05-Aug-12 01:20, Alexander Sack - Debian Bugmail wrote:
> > Is this patch from bugzilla? Otherwise, I would send it upstream. 
> 
> I wrote the patch myself and I did not look at bugzilla.
> 
> It would certainly be nice to have ppc64 support included upstream.

Can you please check if the upstream bug I found [1] addresses the same
problem and maybe check back if you did the same as they did?


Thanks
Alexander

[1] - https://bugzilla.mozilla.org/show_bug.cgi?id=266123


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#322618: mozilla-thunderbird: FTBFS (ppc64): Please support the ppc64 architecture

2005-08-12 Thread Andreas Jochens
On 05-Aug-12 01:20, Alexander Sack - Debian Bugmail wrote:
> Is this patch from bugzilla? Otherwise, I would send it upstream. 

I wrote the patch myself and I did not look at bugzilla.

It would certainly be nice to have ppc64 support included upstream.

Regards
Andreas Jochens


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#322618: mozilla-thunderbird: FTBFS (ppc64): Please support the ppc64 architecture

2005-08-11 Thread Alexander Sack - Debian Bugmail
> @@ -34,6 +34,10 @@
> +ifeq ($(DEB_BUILD_ARCH),ppc64)
> +OPTFLAGS += -mminimal-toc
> +endif

Thanks for the patch,

Is this patch from bugzilla? Otherwise, I would send it upstream. 


Cheers,

Alexander

p.s. If possible add patches as attachments please.

-- 
 GPG messages preferred.   |  .''`.  ** Debian GNU/Linux **
 Alexander Sack| : :' :  The  universal
 [EMAIL PROTECTED]   | `. `'  Operating System
 http://www.asoftsite.org  |   `-http://www.debian.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#322618: mozilla-thunderbird: FTBFS (ppc64): Please support the ppc64 architecture

2005-08-11 Thread Andreas Jochens
Package: mozilla-thunderbird
Version: 1.0.6-3
Severity: wishlist
Tags: patch

When building 'mozilla-thunderbird' on ppc64/unstable,
I get the following error:

c++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor 
-Wno-long-long -pedantic -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O2 
-fPIC -shared -Wl,-h -Wl,libgklayout.so -o libgklayout.so  nsLayoutModule.o 
nsContentHTTPStartup.o nsContentDLF.o   -Wl,--whole-archive 
../../dist/lib/libgkhtmlbase_s.a ../../dist/lib/libgkhtmldoc_s.a 
../../dist/lib/libgkhtmlforms_s.a ../../dist/lib/libgkhtmlstyle_s.a 
../../dist/lib/libgkhtmltable_s.a ../../dist/lib/libgkxulbase_s.a 
../../dist/lib/libgkbase_s.a ../../dist/lib/libgkconbase_s.a 
../../dist/lib/libgkconevents_s.a ../../dist/lib/libgkconhtmlcon_s.a 
../../dist/lib/libgkconhtmldoc_s.a ../../dist/lib/libgkconhtmlstyle_s.a 
../../dist/lib/libgkconxmlcon_s.a ../../dist/lib/libgkconxmldoc_s.a 
../../dist/lib/libgkconxbl_s.a ../../dist/lib/libgkconxuldoc_s.a 
../../dist/lib/libgkconshared_s.a ../../dist/lib/libgkview_s.a 
../../dist/lib/libjsdombase_s.a ../../dist/lib/libjsdomevents_s.a 
../../dist/lib/libjsurl_s.a  ../../dist/lib/libgkxultree_s.a 
../../dist/lib/libgkxulgrid_s.a ../../dist/lib/libgkconxulcon_s.a 
../../dist/lib/libgkconxultmpl_s.a  -Wl,--no-whole-archive -L../../dist/bin 
-L../../dist/lib -lgkgfx ../../dist/lib/libunicharutil_s.a -L../../dist/bin 
-lxpcom  -L../../dist/bin 
-L/mozilla-thunderbird-1.0.6/build-dir/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 
-lpthread -ldl  -L../../dist/bin -lmozjs  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 
-lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpangoft2-1.0 -lpango-1.0 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0-Wl,--version-script 
-Wl,../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic 
-ldl -lm
/usr/bin/ld: ../../dist/lib/libgkxulbase_s.a(nsListBoxLayout.o)(.text+0x164): 
sibling call optimization to `nsGridRowGroupLayout::GetMaxSize(nsIBox*, 
nsBoxLayoutState&, nsSize&)' does not allow automatic multiple TOCs; recompile 
with -mminimal-toc or -fno-optimize-sibling-calls, or make 
`nsGridRowGroupLayout::GetMaxSize(nsIBox*, nsBoxLayoutState&, nsSize&)' extern
/usr/bin/ld: ../../dist/lib/libgkxulbase_s.a(nsListBoxLayout.o)(.text+0x8fc): 
sibling call optimization to `nsGridRowGroupLayout::GetMinSize(nsIBox*, 
nsBoxLayoutState&, nsSize&)' does not allow automatic multiple TOCs; recompile 
with -mminimal-toc or -fno-optimize-sibling-calls, or make 
`nsGridRowGroupLayout::GetMinSize(nsIBox*, nsBoxLayoutState&, nsSize&)' extern
/usr/bin/ld: ../../dist/lib/libgkxulbase_s.a(nsListBoxLayout.o)(.text+0xabc): 
sibling call optimization to `nsGridRowGroupLayout::GetPrefSize(nsIBox*, 
nsBoxLayoutState&, nsSize&)' does not allow automatic multiple TOCs; recompile 
with -mminimal-toc or -fno-optimize-sibling-calls, or make 
`nsGridRowGroupLayout::GetPrefSize(nsIBox*, nsBoxLayoutState&, nsSize&)' extern
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libgklayout.so] Error 1
make[4]: Leaving directory 
`/mozilla-thunderbird-1.0.6/build-dir/mozilla/layout/build'

With the attached patch 'mozilla-thunderbird' can be compiled on ppc64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/mozilla-thunderbird-1.0.6/debian/patches/00list 
./debian/patches/00list
--- ../tmp-orig/mozilla-thunderbird-1.0.6/debian/patches/00list 2005-08-11 
06:30:20.0 +
+++ ./debian/patches/00list 2005-08-11 06:29:50.0 +
@@ -32,3 +32,4 @@
 90_mail_components_miration_src_nsSeamonkeyProfileMigrator_cpp
 90_gcc4_fix
 gdk_property_get
+90_ppc64-build-fix
diff -urN 
../tmp-orig/mozilla-thunderbird-1.0.6/debian/patches/90_ppc64-build-fix.dpatch 
./debian/patches/90_ppc64-build-fix.dpatch
--- 
../tmp-orig/mozilla-thunderbird-1.0.6/debian/patches/90_ppc64-build-fix.dpatch  
1970-01-01 00:00:00.0 +
+++ ./debian/patches/90_ppc64-build-fix.dpatch  2005-08-10 21:26:05.0 
+
@@ -0,0 +1,104 @@
+#!/bin/sh -e
+## 50_ppc64-build-fix.dpatch
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+if [ $# -ne 1 ]; then
+echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+exit 1
+fi
+
+[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
+patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
+
+case "$1" in
+   -patch) patch $patch_opts -p1 < $0;;
+   -unpatch) patch $patch_opts -p1 -R < $0;;
+*)
+echo >&2 "`basename $0`: script expects -patch|-unpatch as 
argument"
+exit 1;;
+esac
+
+exit 0
+
[EMAIL PROTECTED]@
+diff -urN mozilla.orig/nsprpub/pr/include/md/_linux.cfg 
mozilla/nsprpub/pr/include/md/_linux.cfg
+--- mozilla.orig/nsprpub/pr/include/md/_linux.cfg  2005-08-10 
12:13:21.0 +
 mozilla/nsprpub/pr/include/md/_linux.cfg   2005-0