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

Bug#380097: marked as done (qt4-x11: FTBFS on hurd-i386: missing GNU detection + POSIX incompatibilities)



Your message dated Sun, 04 Mar 2007 21:17:14 +0000
with message-id <E1HNy4w-0000Ph-Iu@ries.debian.org>
and subject line Bug#380097: fixed in qt4-x11 4.2.2-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: qt4-x11
Severity: important

Hi,

when trying to build your package, this error has been raised:
> make[1]: Entering directory `/home/kibi/qt-final-build/qt4-x11-4.1.3/qmake'
> g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -I.
>  -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac
>  -I/home/kibi/qt-final-build/qt4-x11-4.1.3/src/corelib/arch/generic
>  -I/home/kibi/qt-final-build/qt4-x11-4.1.3/include
>  -I/home/kibi/qt-final-build/qt4-x11-4.1.3/include/QtCore
>  -I/home/kibi/qt-final-build/qt4-x11-4.1.3/include
>  -I/home/kibi/qt-final-build/qt4-x11-4.1.3/include/QtCore
>  -I/home/kibi/qt-final-build/qt4-x11-4.1.3/src/corelib/global
>  -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
>  -DQT_BUILD_QMAKE -DQT_NO_COMPRESS
>  -I/home/kibi/qt-final-build/qt4-x11-4.1.3/mkspecs/linux-g++
>  -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT
>   project.cpp
> In file included
>   [from ***]
>   from project.h:27,
>   from project.cpp:24:
> /home/kibi/qt-final-build/qt4-x11-4.1.3/include/QtCore/../../src/corelib/global/qglobal.h:141:4:
>   error: #error "Qt has not been ported to this OS - talk to qt-bugs@trolltech.com"
> make[1]: *** [project.o] Error 1
> make[1]: Leaving directory `/home/kibi/qt-final-build/qt4-x11-4.1.3/qmake'
> make: *** [common-configure-arch] Error 2
[A bit reformated so that it is almost readable in a mailreader.]
 

This is due to the fact the GNU (GNU/Hurd) is not detected in the actual
Makefile, that's why I propose a patch fixing this (as a dpatch, see
the first attached file). I'm not sure that upstream has to add anything
specific for that OS; at least the build runs OK.


A second issue is the unconditional use of PATH_MAX, which is a POSIX
incompatibility (as briefly described on the hurd-devel-debian page[1]).

 1. http://www.debian.org/ports/hurd/hurd-devel-debian 

Since this problem is being fixed directly with upstream AFAIK, I
include as a second attachment another dpatch, which is a workaround
to that, setting PATH_MAX to an arbitrary value using #ifndef/#define,
so that the package could be built before upstream releases a new
version of some files.


[Here ends my important bug report, what follows is wishlist but is
related to what's just written above, so I guess I'd better put it
alltogether.]



Since I noticed that mkspecs files were available for hurd-g++, I
decided to give theme a try, patching debian/rules to use the following
flag:  -platform hurd-g++

I noticed several troubles (located in the mkspecs/hurd-g++/* files):
 -lICE is missing
 -lpthread(s?) is missing

As the package is built correctly (TTBOMK) with linux-g++, I'd suggest
that upstream synchronizes hurd-g++ directory from linux-g++ by copying
it, so that it could be used some day for some hurd-specific options.
At the moment, that mkspecs file is really outdated.


Thanks for your attention. Cheers,

-- 
Cyril Brulebois

PS: I'd tag the whole "upstream" but I guess that applying my diffes as
dpatches is an option until upstream has accepted (or not) them, thus I
don't. Feel free to fix this if I'm wrong.

Attachment: 20_hurd_detection.dpatch
Description: application/shellscript

Attachment: 21_hurd_path_max.dpatch
Description: application/shellscript


--- End Message ---
--- Begin Message ---
Source: qt4-x11
Source-Version: 4.2.2-1

We believe that the bug you reported is fixed in the latest version of
qt4-x11, which is due to be installed in the Debian FTP archive:

libqt4-core_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/libqt4-core_4.2.2-1_i386.deb
libqt4-debug_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/libqt4-debug_4.2.2-1_i386.deb
libqt4-dev_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/libqt4-dev_4.2.2-1_i386.deb
libqt4-gui_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/libqt4-gui_4.2.2-1_i386.deb
libqt4-qt3support_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/libqt4-qt3support_4.2.2-1_i386.deb
libqt4-sql_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/libqt4-sql_4.2.2-1_i386.deb
qt4-designer_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/qt4-designer_4.2.2-1_i386.deb
qt4-dev-tools_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/qt4-dev-tools_4.2.2-1_i386.deb
qt4-doc_4.2.2-1_all.deb
  to pool/main/q/qt4-x11/qt4-doc_4.2.2-1_all.deb
qt4-qtconfig_4.2.2-1_i386.deb
  to pool/main/q/qt4-x11/qt4-qtconfig_4.2.2-1_i386.deb
qt4-x11_4.2.2-1.diff.gz
  to pool/main/q/qt4-x11/qt4-x11_4.2.2-1.diff.gz
qt4-x11_4.2.2-1.dsc
  to pool/main/q/qt4-x11/qt4-x11_4.2.2-1.dsc
qt4-x11_4.2.2.orig.tar.gz
  to pool/main/q/qt4-x11/qt4-x11_4.2.2.orig.tar.gz



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 380097@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Brian Nelson <pyro@debian.org> (supplier of updated qt4-x11 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun,  4 Mar 2007 13:50:39 -0500
Source: qt4-x11
Binary: libqt4-sql libqt4-core qt4-doc libqt4-debug libqt4-qt3support qt4-designer libqt4-dev qt4-dev-tools libqt4-gui qt4-qtconfig
Architecture: source i386 all
Version: 4.2.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Brian Nelson <pyro@debian.org>
Description: 
 libqt4-core - Qt 4 core non-GUI functionality runtime library
 libqt4-debug - Qt 4 library debugging symbols
 libqt4-dev - Qt 4 development files
 libqt4-gui - Qt 4 core GUI functionality runtime library
 libqt4-qt3support - Qt 3 compatibility library for Qt 4
 libqt4-sql - Qt 4 SQL database module
 qt4-designer - Qt 4 Designer
 qt4-dev-tools - Qt 4 development tools
 qt4-doc    - Qt 4 API documentation
 qt4-qtconfig - Qt 4 configuration tool
Closes: 380097 399049 402007 403290 407297 408813 409228 410862 410885
Changes: 
 qt4-x11 (4.2.2-1) unstable; urgency=low
 .
   * New upstream release (Closes: #410862)
 .
   * debian/rules: set the sysconfdir to /etc/xdg instead of /etc/qt4 to
     match the QSettings documentation (Closes: #407297)
 .
   * Added Riku Voipio's patch for ARM EABI (Closes: #408813)
 .
   * debian/patches/22_launch_moc-qt4.dpatch: new patch to ensure the Qt4
     version of moc is launched by qdbuscpp2xml (Closes: #399049)
 .
   * Added a doc-base file for qt4-doc (Closes: #403290)
 .
   * debian/qt4-designer.links: added a link /usr/share/qt4/bin/designer ->
     /usr/bin/designer-qt4 (Closes: #410885)
 .
   * Re-arranged patches to group them by arch so that they're easier to
     deal with
 .
   * Applied new patches for kFreeBSD and Hurd support
     (Closes: #380097, #402007)
 .
   * debian/libqt4-gui.install: added the codecs plugins, somehow these got
     accidentally dropped (Closes: #409228)
Files: 
 312ef5cc9fcb5d4cf5d85e2b5086b784 1380 libs optional qt4-x11_4.2.2-1.dsc
 19f6374fe7924e33775cb87ee02669cb 37636491 libs optional qt4-x11_4.2.2.orig.tar.gz
 df7ec0162ab592e81902b768d7bd4736 23399 libs optional qt4-x11_4.2.2-1.diff.gz
 ebff69a3e6cabab557d6cabbfb23778d 21769284 doc optional qt4-doc_4.2.2-1_all.deb
 e288c8a5329564235916d80a6c2b55e8 4211374 libdevel optional libqt4-dev_4.2.2-1_i386.deb
 c72e75949f3a9635b045ce6d2d91f649 1176806 libs optional libqt4-core_4.2.2-1_i386.deb
 93c0c6eb7b8765246149801b8a16a9d3 4945590 libs optional libqt4-gui_4.2.2-1_i386.deb
 5a44be538881d3ee8a649128ec37f65a 322854 libs optional libqt4-sql_4.2.2-1_i386.deb
 690ff07eb08fcc592f958c9f06d4cdf9 1258808 libs optional libqt4-qt3support_4.2.2-1_i386.deb
 9c877dda43df143f7ca7547561cf782a 1076058 devel optional qt4-designer_4.2.2-1_i386.deb
 b0c1efc3141eaa00dcc43dfa5f241f20 57293146 libs optional libqt4-debug_4.2.2-1_i386.deb
 5ad591b976689aa43003a604797fc388 754872 devel optional qt4-dev-tools_4.2.2-1_i386.deb
 007b9c070775f277a3a4579a1bd1e445 103816 x11 optional qt4-qtconfig_4.2.2-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF6yRq1Ng1YWbyRSERAtSXAJ9mZDA6T8Jvn0U2vnGU8++F4CAs6gCeMH07
T46dwmTnr7TuQ92j2ax3peM=
=/MEA
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: