Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223557 - Please keyword =x11-libs/qt-*-4.4.2
Summary: Please keyword =x11-libs/qt-*-4.4.2
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
: 244964 (view as bug list)
Depends on: 223775 224569 235685
  Show dependency tree
Reported: 2008-05-25 14:26 UTC by Ingmar Vanhassel (RETIRED)
Modified: 2009-10-28 21:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

cleanup duplicates and fix freebsd specs (freebsdspec.patch,2.04 KB, patch)
2008-05-31 11:22 UTC, Alexis Ballier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-25 14:26:12 UTC
Arches, please keyword split Qt-4.4.0, needed for the upcoming release of KDE 4.1.0 & misc. other packages.

Target keywords: ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc64 ~ppc ~sparc ~x86 ~x86-fbsd

List for '~amd64 ~ppc64 ~ppc ~x86':

List for '~alpha ~hppa ~ia64 ~mips ~sparc ~x86-fbsd':

Comment 1 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-25 14:30:55 UTC
(In reply to comment #0)
> =x11-libs/qt-embedded-4.4.0

Scratch this one, bash-globbing biting me in the behind.
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2008-05-25 14:55:56 UTC
~ppc/~ppc64 done
Comment 3 Kenneth Prugh (RETIRED) gentoo-dev 2008-05-25 23:09:47 UTC
amd64 already keyworded
Comment 4 Alexis Ballier gentoo-dev 2008-05-26 07:30:00 UTC
on x86-fbsd:
>>> Compiling source in /var/tmp/portage/x11-libs/qt-core-4.4.0/work/qt-x11-opensource-src-4.4.0 ...
 * ERROR: x11-libs/qt-core-4.4.0 failed.
 * Call stack:
 *     , line   49:  Called src_compile
 *             environment, line 2698:  Called qt4-build_src_compile
 *             environment, line 2473:  Called standard_configure_options
 *             environment, line 2793:  Called die
 * The specific snippet of code:
 *               die "${ARCH} is unsupported by this eclass. Please file a bug."
 *  The die message:
 *   x86-fbsd is unsupported by this eclass. Please file a bug.
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/x11-libs:qt-core-4.4.0:20080526-072126.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-core-4.4.0/temp/environment'.

Did you really expect it to be keyworded ~*-fbsd ?
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2008-05-26 14:13:35 UTC
x86 is done as well
Comment 6 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-26 14:23:23 UTC
(In reply to comment #0)
> =x11-libs/qt-assistant-4.4.0

Just added a qt-assistant-4.4.0-r1 with a fix for bug 217709, please keyword that instead.
Comment 7 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-05-26 14:31:16 UTC
(In reply to comment #4)
> on x86-fbsd:
>  *  The die message:
>  *   x86-fbsd is unsupported by this eclass. Please file a bug.

$ cvs commit -m "Don't die on ~x86-fbsd, as noted by Alexis Ballier in bug 223557." qt4-build.eclass

Thanks! :)
Comment 8 Alexis Ballier gentoo-dev 2008-05-26 15:09:56 UTC
(In reply to comment #7)
> (In reply to comment #4)
> > on x86-fbsd:
> >  *  The die message:
> >  *   x86-fbsd is unsupported by this eclass. Please file a bug.
> $ cvs commit -m "Don't die on ~x86-fbsd, as noted by Alexis Ballier in bug
> 223557." qt4-build.eclass

it helps but not much:

linking ../../lib/
/usr/lib/gcc/i686-gentoo-freebsd6.3/4.2.4/../../../../i686-gentoo-freebsd6.3/bin/ld:/var/tmp/portage/x11-libs/qt-core-4.4.0/work/qt-x11-opensource-src-4.4.0/src/corelib/QtCore.dynlist: file format not recognized; treating as linker script
/usr/lib/gcc/i686-gentoo-freebsd6.3/4.2.4/../../../../i686-gentoo-freebsd6.3/bin/ld:/var/tmp/portage/x11-libs/qt-core-4.4.0/work/qt-x11-opensource-src-4.4.0/src/corelib/QtCore.dynlist:1: syntax error
collect2: ld returned 1 exit status
distcc[27272] ERROR: compile (null) on localhost failed
gmake: *** [../../lib/] Error 1

# grep DYNAMIC_LIST * -r
mkspecs/common/g++.conf:QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
mkspecs/common/llvm.conf:QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list,
mkspecs/features/unix/bsymbolic_functions.prf:    !isEmpty(QMAKE_DYNAMIC_LIST_FILE):QMAKE_LFLAGS_SHLIB += $$QMAKE_LFLAGS_DYNAMIC_LIST$$QMAKE_DYNAMIC_LIST_FILE
mkspecs/linux-icc/qmake.conf:QMAKE_LFLAGS_DYNAMIC_LIST = -Qoption,ld,--dynamic-list,
src/corelib/ = $$PWD/QtCore.dynlist
src/gui/ = $$PWD/QtGui.dynlist

src/corelib/Makefile contains:
LFLAGS        = -Wl,--as-needed -pthread -shared /var/tmp/portage/x11-libs/qt-core-4.4.0/work/qt-x11-opensource-src-4.4.0/src/corelib/QtCore.dynlist -Wl,-soname,

If I add:

in front of the dynlist file, then it links fine.

Now you'll have to explain me why the qmake specs are broken in that way :/
Comment 9 Raúl Porcel (RETIRED) gentoo-dev 2008-05-27 13:22:58 UTC
~alpha/~ia64/~sparc done
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-28 16:29:16 UTC
Is anyone else seeing linker problems with USE=pch (bug #223775)?
Comment 11 Alexis Ballier gentoo-dev 2008-05-31 11:22:31 UTC
Created attachment 154933 [details, diff]
cleanup duplicates and fix freebsd specs

That patch allowed me to build successfully most of the x11-libs/qt-* packages on x86-fbsd (didn't try all though). It is needed for each one that needs dynamic lists (qt-core and qt-gui). After that, everything seems to be fine.
However it is not possible to apply it after qt4-build src_unpack as that's where it does the cflags/ldflags/etc mangling, so the patch will fail to apply. I've moved the seds to src_compile and added the patch on the mentionned ebuilds after the qt4-build-src_unpack call. This is not pretty and I think we should have a better way to update qmake specs for the future.
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-02 04:30:39 UTC
I have so far keyworded everything ~hppa except qt-demo, for which I have opened yet another bug.
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2008-07-18 07:55:28 UTC
All marked ~hppa.
Comment 14 Ben de Groot (RETIRED) gentoo-dev 2008-12-04 01:33:17 UTC
*** Bug 244964 has been marked as a duplicate of this bug. ***
Comment 15 Alexis Ballier gentoo-dev 2009-01-29 20:06:47 UTC
all good for bsd but qt-webkit that we'll handle in bug #256836
Comment 16 Markos Chandras (RETIRED) gentoo-dev 2009-03-28 01:16:29 UTC
This package is not longer on tree
Comment 17 Markos Chandras (RETIRED) gentoo-dev 2009-03-28 01:19:52 UTC

Since 4.4.0 is no longer on the tree, you can keyword 4.4.2 packages instead :)

Thanks :)