[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 Tue, 31 Oct 2006 09:26:59 -0800
with message-id <E1GexO7-00042K-Nr@spohr.debian.org>
and subject line Bug#380097: fixed in qt4-x11 4.2.1-2
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


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
>  -I/home/kibi/qt-final-build/qt4-x11-4.1.3/mkspecs/linux-g++
>   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

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.1-2

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:

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

A summary of the changes between this version and the previous one is

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
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)

Hash: SHA1

Format: 1.7
Date: Tue, 31 Oct 2006 02:42:02 -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.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Brian Nelson <pyro@debian.org>
 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 394836 394953
 qt4-x11 (4.2.1-2) unstable; urgency=low
   * debian/patches/20_hppa_inotify_fix.dpatch: new patch that should fix
     the FTBFS on hppa due to missing defines (Closes: #394953)
   * Added patches for hurd support (Closes: #380097)
   * debian/patches/10_qmake_for_debian.dpatch: restored the modification
     to remove link_prl from the CONFIG line, which fixes problems with
     unnecessary linkage (Closes: #394836)
 9db4745c4b4d115979b3e1b7d5b5f0d1 1380 libs optional qt4-x11_4.2.1-2.dsc
 3ccf09364cb8ab2dae86c891847c1a96 21637 libs optional qt4-x11_4.2.1-2.diff.gz
 e7796ffcd7c0a506a2934274411b1cc3 21219016 doc optional qt4-doc_4.2.1-2_all.deb
 33c8f171e7b290dc30a6aee979b22bd5 4198868 libdevel optional libqt4-dev_4.2.1-2_i386.deb
 ade9a39e337f36d2a2cfb39c3304005c 1166698 libs optional libqt4-core_4.2.1-2_i386.deb
 93d508bb30bc3a592033416b7df1d1ee 4550196 libs optional libqt4-gui_4.2.1-2_i386.deb
 e6584d6544cae4a96014ab18b2b9c957 312072 libs optional libqt4-sql_4.2.1-2_i386.deb
 a9805f2056c387329bc98310c0c443f6 1251676 libs optional libqt4-qt3support_4.2.1-2_i386.deb
 74a2f5e32055e3521fd82b7472d7ff40 1066566 devel optional qt4-designer_4.2.1-2_i386.deb
 0b8b5b7752d4d1ed4417730232bf99be 57204644 libs optional libqt4-debug_4.2.1-2_i386.deb
 6a3e09f64c8a07432e30911ba96da429 745878 devel optional qt4-dev-tools_4.2.1-2_i386.deb
 d5675c29c93f1fb592870ac152cb3ac9 94478 x11 optional qt4-qtconfig_4.2.1-2_i386.deb

Version: GnuPG v1.4.5 (GNU/Linux)


--- End Message ---

Reply to: