Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 223557
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Qt Bug Alias <qt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ingmar Vanhassel (RETIRED) <ingmar@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
freebsdspec.patch cleanup duplicates and fix freebsd specs patch Alexis Ballier 2008-05-31 11:22 0000 2.04 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 223557 depends on: 223775 224569 235685 Show dependency tree
Bug 223557 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-25 14:26 0000
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':
=x11-libs/qt-demo-4.4.0

List for '~alpha ~hppa ~ia64 ~mips ~sparc ~x86-fbsd':
=x11-libs/qt-4.4.0
=x11-libs/qt-assistant-4.4.0
=x11-libs/qt-core-4.4.0
=x11-libs/qt-dbus-4.4.0
=x11-libs/qt-demo-4.4.0
=x11-libs/qt-embedded-4.4.0
=x11-libs/qt-gui-4.4.0
=x11-libs/qt-opengl-4.4.0
=x11-libs/qt-phonon-4.4.0
=x11-libs/qt-qt3support-4.4.0
=x11-libs/qt-script-4.4.0
=x11-libs/qt-sql-4.4.0
=x11-libs/qt-svg-4.4.0
=x11-libs/qt-test-4.4.0
=x11-libs/qt-webkit-4.4.0
=x11-libs/qt-xmlpatterns-4.4.0

Thanks!
Ingmar

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

Scratch this one, bash-globbing biting me in the behind.
Grmbl...

------- Comment #2 From Markus Rothe 2008-05-25 14:55:56 0000 -------
~ppc/~ppc64 done

------- Comment #3 From Kenneth Prugh 2008-05-25 23:09:47 0000 -------
amd64 already keyworded

------- Comment #4 From Alexis Ballier 2008-05-26 07:30:00 0000 -------
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:
 *               ebuild.sh, 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 From Raúl Porcel 2008-05-26 14:13:35 0000 -------
x86 is done as well

------- Comment #6 From Ingmar Vanhassel (RETIRED) 2008-05-26 14:23:23 0000 -------
(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 From Ingmar Vanhassel (RETIRED) 2008-05-26 14:31:16 0000 -------
(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 From Alexis Ballier 2008-05-26 15:09:56 0000 -------
(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/libQtCore.so.4.4.0
/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/libQtCore.so.4.4.0] 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/corelib.pro:QMAKE_DYNAMIC_LIST_FILE = $$PWD/QtCore.dynlist
src/gui/gui.pro:QMAKE_DYNAMIC_LIST_FILE = $$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,libQtCore.so.4

If I add:
-Wl,--dynamic-list,

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 From Raúl Porcel 2008-05-27 13:22:58 0000 -------
~alpha/~ia64/~sparc done

------- Comment #10 From Jeroen Roovers 2008-05-28 16:29:16 0000 -------
Is anyone else seeing linker problems with USE=pch (bug #223775)?

------- Comment #11 From Alexis Ballier 2008-05-31 11:22:31 0000 -------
Created an attachment (id=154933) [details]
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 From Jeroen Roovers 2008-06-02 04:30:39 0000 -------
I have so far keyworded everything ~hppa except qt-demo, for which I have
opened yet another bug.

------- Comment #13 From Jeroen Roovers 2008-07-18 07:55:28 0000 -------
All marked ~hppa.

------- Comment #14 From Ben de Groot 2008-12-04 01:33:17 0000 -------
*** Bug 244964 has been marked as a duplicate of this bug. ***

------- Comment #15 From Alexis Ballier 2009-01-29 20:06:47 0000 -------
all good for bsd but qt-webkit that we'll handle in bug #256836

------- Comment #16 From Markos Chandras 2009-03-28 01:16:29 0000 -------
This package is not longer on tree

------- Comment #17 From Markos Chandras 2009-03-28 01:19:52 0000 -------
Reopening 

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

Thanks :)

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug