Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322147 - Version bump: app-office/koffice-meta-2.2.2
Summary: Version bump: app-office/koffice-meta-2.2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 331019 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-30 21:40 UTC by Luyang Han
Modified: 2010-10-15 22:29 UTC (History)
11 users (show)

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


Attachments
lib/libkomain.so.7.0.0 error when trying to compile koffice-libs-2.2.0 (build.log,103.17 KB, text/plain)
2010-06-12 17:03 UTC, Andreas Sturmlechner
Details
output of emerge --info (emerge.info,9.73 KB, text/plain)
2010-06-14 18:29 UTC, Andreas Sturmlechner
Details
patch that fixes undefined reference error (koffice-libs-2.2.0-fix-undefined-reference.patch,2.27 KB, patch)
2010-07-03 22:14 UTC, Igor Poboiko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luyang Han 2010-05-30 21:40:01 UTC
The koffice 2.2 has been released. It would be nice to have this included in the portage tree.

http://www.koffice.org/news/koffice-2-2-released/

Reproducible: Always
Comment 1 bartoz 2010-06-01 19:49:48 UTC
One vote to have it in the tree asap!
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2010-06-01 20:52:03 UTC
Well the ebuilds do not build yet and need definitely some more work. 

Feel free to unmask the ones from the overlay, and help sorting this out. See bug 311805 for more info.

As soon as everything compiles and installs...
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2010-06-03 17:40:25 UTC
Unmasked in the overlay; all applications build and start. 
Please help sorting out remaining bugs!
Comment 4 Thomas Capricelli 2010-06-03 18:43:12 UTC
ok here: all app build and start. Thanks!
Comment 5 Xavier Vachon 2010-06-08 16:10:30 UTC
So, is it ready to be added to the portage tree?
Comment 6 Thomas Fischer 2010-06-10 12:48:02 UTC
Just tried to emerge from kde testing. When updating from KOffice 2.1.2 to 2.2.0, it got a long list of file collisions. koffice-libs-2.2.0 wants to install/overwrite a long list of files which belong to kchart-2.1.2. Guessing by the file name, those files should belong to the kchart package:

 * Detected file collision(s):
 * 
 *      /usr/lib/kde4/chartshape.so
 *      /usr/lib/kde4/libkchartsvgexport.so
 *      /usr/lib/kde4/libkchartgenericimageexport.so
 *      /usr/share/icons/hicolor/16x16/apps/kchart.png
 *      /usr/share/icons/hicolor/48x48/apps/kchart.png
 *      /usr/share/icons/hicolor/32x32/apps/kchart.png
 *      /usr/share/apps/kchart/pics/chart_bar_layer.png
 *      /usr/share/apps/kchart/pics/chart_bar_beside.png
 *      /usr/share/apps/kchart/pics/chart_legend_topright.png
[...]
 *      /usr/share/apps/kchart/templates/chart/.directory
 *      /usr/share/apps/kchart/templates/chart/Empty.desktop
 *      /usr/share/apps/kchart/templates/chart/.source/BarChart.chrt
 *      /usr/share/apps/kchart/templates/chart/.source/Empty.chrt
 *      /usr/share/kde4/services/kchart_png_export.desktop
 *      /usr/share/kde4/services/chartshape.desktop
 *      /usr/share/kde4/services/kchart_svg_export.desktop
 *      /usr/share/kde4/services/kchart_bmp_export.desktop
 *      /usr/share/kde4/services/kchartpart.desktop
 *      /usr/share/kde4/services/kchart_mng_export.desktop
 *      /usr/share/kde4/services/kchart_xbm_export.desktop
 *      /usr/share/kde4/services/kchart_xpm_export.desktop
 *      /usr/share/kde4/services/kchart_jpeg_export.desktop
 *      /usr/lib/libkdchart.so
 *      /usr/lib/libkchartcommon.so
 *      /usr/lib/libchartshapelib.so

I haven't tested it yet, but maybe the two references to kchart in variable KMEXTRA should be removed in koffice-libs-2.2.0.ebuild? Or, if the kchart is deprecated, there should be a block in koffice-libs-2.2.0 added?
Comment 7 Thomas Capricelli 2010-06-10 14:59:03 UTC
unmerge it before updating

emerge -C @koffice
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2010-06-10 22:13:15 UTC
(In reply to comment #6)
> Just tried to emerge from kde testing. When updating from KOffice 2.1.2 to
> 2.2.0, it got a long list of file collisions. koffice-libs-2.2.0 wants to
> install/overwrite a long list of files which belong to kchart-2.1.2. Guessing
> by the file name, those files should belong to the kchart package:

That should be fixed now.
Comment 9 Andreas Sturmlechner gentoo-dev 2010-06-12 17:03:07 UTC
Created attachment 235101 [details]
lib/libkomain.so.7.0.0 error when trying to compile koffice-libs-2.2.0

koffice-libs-2.2.0 still wouldn't build for me, even though I already had it to the point where emerge would die because of conflicting packages. Perhaps some change in the ebuild which introduced a bug?
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2010-06-13 14:37:00 UTC
(In reply to comment #9)
> Created an attachment (id=235101) [details]
> lib/libkomain.so.7.0.0 error when trying to compile koffice-libs-2.2.0

Strange. Did you reinstall or change anything with the rest of kde in the meantime? What's your kdelibs version?

> Perhaps some
> change in the ebuild which introduced a bug?
> 

Not really, I only changed the dependencies... Please attach your emerge --info output!

Comment 11 Andreas Sturmlechner gentoo-dev 2010-06-14 18:29:25 UTC
Created attachment 235301 [details]
output of emerge --info

OK, just when has emerge --info exploded like that? ^^

Stripped out some completely irrelevant stuff, so here it is.

Also, KDE SC 4.4.85 at work.
Comment 12 Igor Poboiko 2010-07-03 22:14:43 UTC
Created attachment 237385 [details, diff]
patch that fixes undefined reference error

I had this compillation error too. This patch fixes it (as for me).
According to /usr/include/kio/job.h, KIO::file_copy with 3 parameters is unemplemented and we mustn't call it. This patch adding 4th parameter (int permissions) with it's default value (-1).
I'm using KDE SC 4.4.90 and tried to install koffice 2.2.0
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2010-07-09 08:39:21 UTC
2.2.1 is out
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2010-07-14 19:06:41 UTC
Igor & Andreas, 

I just bumped the ebuilds to version 2.2.1 - could you please check if you are still running into this problem? (I cannot reproduce it here.)

If yes I'll add the patch since it looks reasonable to me...

Cheers, Andreas

(In reply to comment #12)
> Created an attachment (id=237385) [details]
> patch that fixes undefined reference error
> 
> I had this compillation error too. This patch fixes it (as for me).
> According to /usr/include/kio/job.h, KIO::file_copy with 3 parameters is
> unemplemented and we mustn't call it. This patch adding 4th parameter (int
> permissions) with it's default value (-1).
> I'm using KDE SC 4.4.90 and tried to install koffice 2.2.0
> 

Comment 15 Andreas Sturmlechner gentoo-dev 2010-07-14 21:06:43 UTC
(In reply to comment #14)
> Igor & Andreas, 
> 
> I just bumped the ebuilds to version 2.2.1 - could you please check if you are
> still running into this problem? (I cannot reproduce it here.)
> 
> If yes I'll add the patch since it looks reasonable to me...

It seems to build fine now, 4 packages left. :)
Comment 16 Andreas Sturmlechner gentoo-dev 2010-07-15 08:31:27 UTC
All built and running fine now.
Comment 17 Rahul Jain 2010-07-15 17:30:45 UTC
app-office/koffice-l10n-2.2.0 was not bumped to 2.2.1. I hope this is the right place to mention this.
Comment 18 Andreas Sturmlechner gentoo-dev 2010-07-15 18:19:30 UTC
(In reply to comment #17)
> app-office/koffice-l10n-2.2.0 was not bumped to 2.2.1. I hope this is the right
> place to mention this.
> 

I renamed koffice-l10n-2.1.2 to 2.2.1 and that did the trick for me.
Comment 19 Andreas K. Hüttel archtester gentoo-dev 2010-07-15 18:50:49 UTC
(In reply to comment #17)
> app-office/koffice-l10n-2.2.0 was not bumped to 2.2.1. I hope this is the right
> place to mention this.
> 

Ooops, sorry. Fixed. :)
Comment 20 Samuli Suominen (RETIRED) gentoo-dev 2010-08-03 11:04:36 UTC
*** Bug 331019 has been marked as a duplicate of this bug. ***
Comment 21 Andreas Sturmlechner gentoo-dev 2010-08-03 11:17:44 UTC
What is holding it back from inclusion right now?
Comment 22 Rahul Jain 2010-08-07 21:29:12 UTC
So, can someone please list the hurdles that are the reason for this to be not in portage?
Comment 23 rick vernam 2010-08-11 03:15:58 UTC
Kudos for getting past the initial hurdles.
Please, what can we do to get the ball rolling again?
Comment 24 rick vernam 2010-08-31 14:36:59 UTC
Ping...
Comment 25 Rahul Jain 2010-09-01 11:17:00 UTC
Koffice-2.2.2 has been out for almost a week as well. Can we get some update on this issue?
Comment 26 Andreas K. Hüttel archtester gentoo-dev 2010-09-03 12:22:40 UTC
(In reply to comment #25)
> Koffice-2.2.2 has been out for almost a week as well. Can we get some update on
> this issue?
> 

Working on it but I'm travelling these days... My work in progress is in my personal overlay (dilfridge in Layman), but that can be arbitrarily broken at any point in time, so try it on your own risk.

Comment 27 rick vernam 2010-09-21 17:12:40 UTC
So is it true that within Gentoo there is only one person who can get KOffice ebuilds into the office portage tree?
What can be done within Gentoo to overcome this problem where KOffice is dependant upon Andreas K. Hüttel?  It seems that Andreas K. Hüttel has done some fine work, and should not have to bear this burden alone.
Comment 28 Andreas K. Hüttel archtester gentoo-dev 2010-09-25 21:01:38 UTC
In tree... Now go test 'em!
Comment 29 Andreas K. Hüttel archtester gentoo-dev 2010-09-25 21:24:02 UTC
Reopened bug until the package.mask is gone (i.e. until bug 338732 is fixed).

Comment 30 rick vernam 2010-09-26 01:22:10 UTC
unmasked, built fine...
Thanks!
Comment 31 Thomas Capricelli 2010-09-28 01:19:19 UTC
build and install fine here. It even starts and i can't see any problem with installed applications.
Comment 32 Xavier Vachon 2010-09-28 17:47:36 UTC
(In reply to comment #31)
> build and install fine here. It even starts and i can't see any problem with
> installed applications.
> 

Confirming, I have been able to compile koffice 2.2.2 properly.
Comment 33 Andreas Sturmlechner gentoo-dev 2010-09-29 20:04:07 UTC
Successful build for me to. :)

Portage 2.2_rc88 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1, glibc-2.11.2-r0, 2.6.36-rc5 x86_64)
CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -w"
Comment 34 barrie backhurst 2010-09-30 10:14:37 UTC
(In reply to comment #29)
> Reopened bug until the package.mask is gone (i.e. until bug 338732 is fixed).
> 

Given that the bug applies only to ppc and ppc64, would it not be more appropriate to put the masking entry in /usr/portage/profiles/arch/powerpc/package.mask
rather the generic
/usr/portage/profiles/package.mask

Apologies if I do not fully understand the masking process, but that is how I see it?
Comment 35 Andreas K. Hüttel archtester gentoo-dev 2010-10-07 15:57:22 UTC
If you have built 2.2.2 successfully and are running it, could you please report here your kde, qt, and gcc versions?! TIA Andreas
Comment 36 Thomas Capricelli 2010-10-07 16:03:29 UTC
kde 4.5.1, qt 4.6.3 and gcc 4.5.1
I've updated to kde 4.5.2 today and it still works.
Comment 37 rick vernam 2010-10-07 16:09:20 UTC
KDE 4.4.5, Qt 4.6.2, GCC (Gentoo 4.4.3-r3 p1.4) 4.4.3
Thanks, Andreas
Comment 38 Xavier Vachon 2010-10-07 16:12:13 UTC
(In reply to comment #35)
> If you have built 2.2.2 successfully and are running it, could you please
> report here your kde, qt, and gcc versions?! TIA Andreas
> 

KDE 4.5.2, QT 4.6.3, GCC 4.4.4-r2
Comment 39 Andreas Sturmlechner gentoo-dev 2010-10-11 22:24:34 UTC
(In reply to comment #33)
> Successful build for me to. :)
> 
> Portage 2.2_rc88 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1,
> glibc-2.11.2-r0, 2.6.36-rc5 x86_64)
> CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -floop-interchange
> -floop-strip-mine -floop-block -w"
> 

Updated from Qt-4.6.3 to Qt-4.7 and rebuilt successfully some of the koffice-*-2.2.2 packages that had bugzilla build-fail reports about 2.1.2.
Comment 40 Andreas K. Hüttel archtester gentoo-dev 2010-10-15 22:29:50 UTC
Package mask removed.