Summary: | app-office/libreoffice-3.6.0.4 - In file included from .../work/libreoffice-core-3.6.0.4/avmedia/source/framework/mediacontrol.cxx:33:0: .../solver/unxlngx6.pro/inc/avmedia/mediaplayer.hxx:32:29: fatal error: sfx2/ctrlitem.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Flo Gravo <even.more.spam.for.me> |
Component: | Current packages | Assignee: | Gentoo Office Team <office> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexandref75, anarchy, arfrever.fta, didier, dirk, gottlieb, jfostiguy, juanpaul, manschwetus, massimobalestra, paczesiowa, pcmoore, sleeperseven, Tanktalus, tetromino, thanasis |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | Fixed-in: 3.6.2 | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info fix-includes.patch verbose build log (compressed) ACCEPT_KEYWORDS="amd64" system: emerge --info + verbose -j1 build.log (compressed) patch attempt nuber two patch number two, modified so it applies to 3.6.0.4 build.log buildfix.patch |
Description
Flo Gravo
2012-08-09 15:12:12 UTC
Created attachment 320802 [details]
build.log
Created attachment 320834 [details]
emerge --info
Identical build error here; my emerge --info is attached.
Created attachment 320848 [details, diff]
fix-includes.patch
Please try to apply this patch and tell me if it works (it should).
It helps, but another problem appears: In file included from /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/sfx2/inc/sfx2/module.hxx:35:0, from /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/sfx2/inc/sfx2/viewfrm.hxx:35, from /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/avmedia/source/framework/mediacontrol.cxx:39: /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/sfx2/inc/sfx2/imgdef.hxx:31:30: fatal error: svtools/imgdef.hxx: No such file or directory. Compilation failed make[2]: *** [/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/CxxObject/avmedia/source/framework/mediacontrol.o] Error 1 rm /var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/workdir/unxlngx6.pro/ExternalHeaders/Library/libm.so make[2]: Exit from directory `/var/tmp/portage/app-office/libreoffice-3.6.0.4/work/libreoffice-core-3.6.0.4/tail_build' Well I discussed with the gbuild guys and the include patch from me should not be needed, as it already states sfx bit lower in the deps, which actually manadates those includes to be there... And given that it crashes further away again with include issue I think they are right. So any ideas what edgy and experimental could cause this? (stable system as of now is capable of building current master branch) Created attachment 320906 [details]
verbose build log (compressed)
I'm attaching a verbose build log that shows all the arguments that are being passed to g++. Maybe this will be helpful in debugging the problem.
*** Bug 430942 has been marked as a duplicate of this bug. *** (In reply to comment #5) > So any ideas what edgy and experimental could cause this? (stable system as > of now is capable of building current master branch) I am now seeing the same build failure on a stable system, where ACCEPT_KEYWORDS="amd64", with the exception of only the following packages which are ~amd64: libreoffice, libreoffice-l10n, boost, boost-build, libcdr, clucene, and libcmis Created attachment 321150 [details]
ACCEPT_KEYWORDS="amd64" system: emerge --info + verbose -j1 build.log (compressed)
Created attachment 321232 [details, diff]
patch attempt nuber two
Please try this one. It should sort it out.
Created attachment 321272 [details, diff] patch number two, modified so it applies to 3.6.0.4 (In reply to comment #10) > Created attachment 321232 [details, diff] [details, diff] > patch attempt nuber two > > Please try this one. It should sort it out. That patch fails to apply. I've modified the patch so it applies to 3.6.0.4, but unfortunately, even with the modified patch the build still fails with the same error in mediacontrol.cxx. (In reply to comment #11) > That patch fails to apply. I've modified the patch so it applies to 3.6.0.4, > but unfortunately, even with the modified patch the build still fails with > the same error in mediacontrol.cxx. Whoops, totaly sorry about that, I am on master and there was addition of gstreamer-1.0 api recently, which changed things. Anyway try to add the call to all the Library_... in the folder and see if that builds (In reply to comment #12) > (In reply to comment #11) > > > That patch fails to apply. I've modified the patch so it applies to 3.6.0.4, > > but unfortunately, even with the modified patch the build still fails with > > the same error in mediacontrol.cxx. > > Whoops, totaly sorry about that, I am on master and there was addition of > gstreamer-1.0 api recently, which changed things. > > Anyway try to add the call to all the Library_... in the folder and see if > that builds I added the call to all Library_*.mk under avmedia/ but I still get the same error message. It's also the case for 3.6.9999. I found this on the libreoffice mailing list: http://www.mail-archive.com/libreoffice@lists.freedesktop.org/msg32919.html but I'm not sure if it can help in resolving the problem. An issue with clucene is possible? Libreoffice 3.6.0.4 still doesn't compile here. Any news on a possible fix? As workaround you can disable gstreamer useflag. I have problem that I am not able to reproduce this, which makes it hard to figure wtf is happening. Even without the gstreamer USE flag compiling libreoffice does not finish successfully. (In reply to comment #16) > Even without the gstreamer USE flag compiling libreoffice does not finish > successfully. Same crash or different? Same as in the first description: [..]/solver/unxlngi6.pro/inc/avmedia/mediaplayer.hxx:32:29: fatal error: sfx2/ctrlitem.hxx: No such file or directory (In reply to comment #18) > Same as in the first description: > [..]/solver/unxlngi6.pro/inc/avmedia/mediaplayer.hxx:32:29: fatal error: > sfx2/ctrlitem.hxx: No such file or directory Okey, that is damn weird, without gstreamer it should not even enter avmedia folder, would you mind pasting full log? app-office/libreoffice-3.6.0.4 [3.5.5.2] USE="branding cups dbus graphite gtk opengl svg vba xmlsec (-aqua) -binfilter -binfilterdebug -eds -gnome -gstreamer -java -jemalloc -kde -mysql -odk -postgres -test -webdav (-nlpsolver%) (-nsplugin%) (-pdfimport%)" LIBREOFFICE_EXTENSIONS="presenter-console%* presenter-minimizer%* -nlpsolver% -pdfimport% -scripting-beanshell% -scripting-javascript% -wiki-publisher%" gcc: 4.7.1 binutils: 2.22-r1 clucene: 2.3.3.4-r3 Created attachment 322016 [details]
build.log
As per discussion on ml i added --disable-mergelibs instead of --enable-mergelibs, please try sync your cvs and verify your ebuild has the change and try to emerge it once more, it should work. Created attachment 322066 [details]
buildfix.patch
Matus nicely provided a build patch to make the mergedlibs work, so anyone willing to test this?
Rename the --disable-mergelibs back to --enable-mergelibs and apply this patch. I will try it myself in few hours...
For those wondering mergedlibs make build faster a lot. Closing as fixed as the patch and the removal of the mergelibs works. So in 3.6.1 and 3.6.0 the mergelib will be didsabled and starting with 3.6.2 it will be back again. Sorry it took bit long. Why not apply the patch for 3.6.1 and enable mergelibs if it shortens the build time considerably? Thanks, it works! Now the bug 430670 appears :) |