* QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * vtext.cc:537: warning: dereferencing type-punned pointer will break strict-aliasing rules kivio_wrap.cpp:481: warning: dereferencing type-punned pointer will break strict-aliasing rules kivio_wrap.cpp:516: warning: dereferencing type-punned pointer will break strict-aliasing rules [cut, a lot of others...] * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * gdk-pixbuf-xlib.c:41: warning: implicit declaration of function 'xlib_rgb_init' gdk-pixbuf-xlib.c:59: warning: implicit declaration of function 'xlib_rgb_init_with_depth' a patch will follow in a few seconds... Feel free to send upstream the attached patch. ebuild side patch: Index: koffice-1.6.1-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-1.6.1-r1.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 koffice-1.6.1-r1.ebuild --- koffice-1.6.1-r1.ebuild 17 Jan 2007 01:18:23 -0000 1.1 +++ koffice-1.6.1-r1.ebuild 22 Jan 2007 19:13:00 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-1.6.1-r1.ebuild,v 1.1 2007/01/17 01:18:23 flameeyes Exp $ -inherit kde +inherit kde flag-o-matic RV="${PV}" MY_P="koffice-${RV}" @@ -71,6 +71,7 @@ src_unpack() { kde_src_unpack + epatch "${FILESDIR}"/karbon-missing-include.patch # FIXME - disable broken tests for now sed -i -e "s:TESTSDIR =.*:TESTSDIR=:" ${S}/krita/core/Makefile.am \ `ls ${S}/krita/colorspaces/*/Makefile.am` @@ -78,6 +79,10 @@ } src_compile() { + # Until strict aliasing is porperly fixed... + filter-flags -fstrict-aliasing + append-flags -fno-strict-aliasing + local myconf="$(use_enable mysql) $(use_enable postgres pgsql)" # $(use_enable opengl gl)"
Created attachment 107819 [details, diff] Fix undeclared functions due to missing header.
Please reopen this bug when upstream puts out a version with the patch applied.
Ok, I'll wait upstream for source code patching. Please patch the ebuild for strict-aliasing filtering. Index: koffice-1.6.1-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-1.6.1-r1.ebuild,v retrieving revision 1.1 diff -u -B -r1.1 koffice-1.6.1-r1.ebuild --- koffice-1.6.1-r1.ebuild 17 Jan 2007 01:18:23 -0000 1.1 +++ koffice-1.6.1-r1.ebuild 22 Jan 2007 19:13:00 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/koffice/koffice-1.6.1-r1.ebuild,v 1.1 2007/01/17 01:18:23 flameeyes Exp $ -inherit kde +inherit kde flag-o-matic RV="${PV}" MY_P="koffice-${RV}" @@ -78,6 +79,10 @@ } src_compile() { + # Until strict aliasing is porperly fixed... + filter-flags -fstrict-aliasing + append-flags -fno-strict-aliasing + local myconf="$(use_enable mysql) $(use_enable postgres pgsql)" # $(use_enable opengl gl)"
Beside the filtering being pointless (append-flags will cover for that), please report this upstream, and try to get the issue fixed there before adding -fno-strict-aliasing unconditionally on the whole build, especially since the problems seems not to apply to _all_ modules. A patch to append -fno-strict-aliasing to the right modules might be better, but still try first to contact upstream; if upstream fails to address the issue, then we can think of applying this to portage.
Upstream contacted: https://bugs.kde.org/show_bug.cgi?id=140912