Bug#528485: qt4-x11 - FTBFS: webkit linking fails

2009-05-14 Thread Fathi Boudra (Debian)
Hi,

By default, debug info are disabled for QtWebkit. It's an upstream choice.
I enabled debug info using 18_enable_qt3support_qtwebkit_debug_info.diff patch 
to provide debug package for QtWebkit. This patch triggered the build failure 
on s390. The linker runs out of memory which is the reason why pristine 
upstream QtWebkit doesn't have debugging symbols at all.

For our users, we should continue to provide QtWebkit debug package.
That means, we can't disable QtWebkit debug info as upstream does.

We have 2 solutions:
a) drop patch 18 and QtWebkit debug package.
or
b) build with gstabs on s390 architecture.

thoughts ?

cheers,

Fathi



Bug#528485: qt4-x11 - FTBFS: webkit linking fails

2009-05-13 Thread Bastian Blank
s390 uses dwarf2 as default debugging type. This needs much more place
then the default on most arches (stabs). Building webkit with -gstabs
makes it buildable.

Bastian



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#528485: qt4-x11 - FTBFS: webkit linking fails

2009-05-13 Thread Bastian Blank
On s390, the input in form of object files have about 1.3GiB of size:

| $ du -s .obj 
| 1326696 .obj

ld reads all of them into the memory, even if it is going to throw away
most of them.

Bastian



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#528485: qt4-x11 - FTBFS: webkit linking fails

2009-05-13 Thread Bastian Blank
Package: qt4-x11
Version: 4.5.1-2
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of qt4-x11_4.5.1-2 on lxdebian.bfinv.de by sbuild/s390 98
[...]
> g++ -Wl,--as-needed 
> -Wl,--version-script,/build/buildd/qt4-x11-4.5.1/src/3rdparty/webkit/symbols.filter
>  -Wl,--no-undefined -Wl,-O1 -shared -Wl,-soname,libQtWebKit.so.4 -o 
> libQtWebKit.so.4.5.1 .obj/release-shared/pcre_compile.o [...] 
> .obj/release-shared/qrc_WebCore.o   -L/build/buildd/qt4-x11-4.5.1/lib 
> -L/usr/X11R6/lib -lsqlite3 -lphonon -L/build/buildd/qt4-x11-4.5.1/lib 
> -lQtDBus -pthread -pthread -pthread -pthread -pthread -pthread -lQtXml 
> -pthread -pthread -pthread -pthread -pthread -pthread -pthread -pthread 
> -L/usr/X11R6/lib -pthread -pthread -pthread -pthread -pthread -pthread 
> -pthread -pthread -lQtGui -laudio -lXt -pthread -lpng -lfreetype 
> -lgobject-2.0 -lSM -lICE -pthread -pthread -lXrender -lXext -lX11 -lQtNetwork 
> -pthread -pthread -lQtCore -lfontconfig -lz -lm -pthread -lgthread-2.0 -lrt 
> -lglib-2.0 -lpthread -ldl 
> collect2: ld terminated with signal 9 [Killed]
> make[2]: *** [../../../../lib/libQtWebKit.so.4.5.1] Error 1
> make[2]: Leaving directory 
> `/build/buildd/qt4-x11-4.5.1/src/3rdparty/webkit/WebCore'
> make[1]: *** [sub-webkit-sub_src_target_ordered] Error 2
> make[1]: Leaving directory `/build/buildd/qt4-x11-4.5.1'
> make: *** [debian/stamp-makefile-build] Error 2

The linker call for the webkit library gets killed with about 1.4GiB of used
memory.

| waldi 9690 13.1 94.1 1438056 964912 pts/4  D+   21:15   0:21 /usr/bin/ld 
--eh-frame-hdr -m elf_s390 --hash-style=both -shared [...]

Bastian



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org