[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#672825: qt4-x11: Various small problems building qt4-x11 on hppa



Source: qt4-x11
Version: 4.8.1-1
Severity: normal
Tags: patch

1)

Determining system architecture... (Linux:3.3.4+:parisc64)
    Trying 'parisc64'...
    'parisc64' is unsupported, using 'generic'
    'parisc64' is unsupported, using 'generic'

2)

g++-4.6 -c -g -O2 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -I/usr/in
clude/freetype2 -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -W
char-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-
compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -Wno
-c++0x-compat -fno-stack-protector -Wno-c++0x-compat -O3 -pthread -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -D_REENTRANT -DQT_WEBKIT -DNDEBUG -DBUIL
DING_QT__=1 -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DBUILDING_JavaScriptCore -DBUILDING_WTF -DENABLE_GLIB_SUPPORT=1 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO
_DEBUG -DQT_CORE_LIB -DQT_SHARED -I../../../../../mkspecs/linux-g++ -I. -I../../
../../../include/QtCore -I../../../../../include -I. -I../../Source -I../ThirdParty -Iassembler -Ibytecode -Ibytecompiler -Iheap -Idfg -Idebugger -Iinterpreter 
-Ijit -Iparser -Iprofiler -Iruntime -Iwtf -Iwtf/gobject -I/home/dave/macpro/debian/qt4-x11/qt4-x11-4.8.1/src/3rdparty/webkit/Source/JavaScriptCore/wtf/symbian -
Iwtf/unicode -Iyarr -IAPI -IForwardingHeaders -Igenerated -I../../Source -I../../include -I/include/QtWebKit -I/include -I/usr/include/glib-2.0 -I/usr/lib/hppa-
linux-gnu/glib-2.0/include -I.moc/release-static -o .obj/release-static/GOwnPtr.
o wtf/gobject/GOwnPtr.cpp
In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34:0,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:25,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from wtf/gobject/GOwnPtr.cpp:24:
/usr/include/glib-2.0/glib/gthread.h:51:16: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive]
/usr/include/glib-2.0/glib/gthread.h:58:7: error: ‘union’ tag used in naming ‘struct _GMutex’ [-fpermissive]
make[4]: *** [.obj/release-static/GOwnPtr.o] Error 1

3)

dpkg-shlibdeps: error: no dependency information found for /home/dave/macpro/debian/qt4-x11/qt4-x11-4.8.1/lib/libQtWebKit.so.4 (used by debian/qt4-dev-tools/usr/bin/assistant-qt4).
dh_shlibdeps: dpkg-shlibdeps -Tdebian/qt4-dev-tools.substvars debian/qt4-dev-tools/usr/bin/assistant-qt4 debian/qt4-dev-tools/usr/bin/lconvert debian/qt4-dev-tools/usr/bin/linguist-qt4 debian/qt4-dev-tools/usr/bin/pixeltool debian/qt4-dev-tools/usr/bin/qcollectiongenerator debian/qt4-dev-tools/usr/bin/qdbusviewer debian/qt4-dev-tools/usr/bin/qdoc3 debian/qt4-dev-tools/usr/bin/qhelpconverter debian/qt4-dev-tools/usr/bin/qhelpgenerator debian/qt4-dev-tools/usr/bin/qmlplugindump debian/qt4-dev-tools/usr/bin/qttracereplay debian/qt4-dev-tools/usr/bin/qvfb debian/qt4-dev-tools/usr/bin/xmlpatterns debian/qt4-dev-tools/usr/bin/xmlpatternsvalidator returned exit code 2
make[1]: *** [override_dh_shlibdeps] Error 2

Patches are attached for the first two.  The last one is probably missing
symbols.  I worked around the last proplem by adding --ignore-missing-info
to the dh_shlibdeps --remaining-packages command in debian rules.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.3.4+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- configure.orig	2012-05-10 08:26:11.000000000 -0400
+++ configure	2012-05-10 08:26:32.000000000 -0400
@@ -186,7 +186,7 @@
 		UNAME_MACHINE="armv6"
 	;;
 	hppa)
-		UNAME_MACHINE="parisc64"
+		UNAME_MACHINE="parisc"
 	;;
 	hurd-i386)
 		UNAME_MACHINE="i686-AT386"
--- ./src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h.orig	2012-05-10 00:09:14.000000000 -0400
+++ ./src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h	2012-05-10 00:06:13.000000000 -0400
@@ -52,7 +52,7 @@
 typedef struct _GHashTable GHashTable;
 typedef struct _GInputStream GInputStream;
 typedef struct _GList GList;
-typedef struct _GMutex GMutex;
+typedef union _GMutex GMutex;
 typedef struct _GPatternSpec GPatternSpec;
 typedef struct _GPollableOutputStream GPollableOutputStream;
 typedef struct _GSocketClient GSocketClient;

Reply to: