Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 420367

Summary: app-office/libreoffice-3.5.4.2-r1 fails to emerge in lingucomponent module - libcmis problem?
Product: Gentoo Linux Reporter: Adrian Bassett <Adrian.Bassett>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adrian Bassett 2012-06-09 08:59:20 UTC
app-office/libreoffice-3.5.4.2-r1 fails to emerge in lingucomponent module:

 cppcanvas deliver
Module 'cppcanvas' delivered successfully. 0 files copied, 0 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-core-3.5.4.2/ucb/source/ucp/cmis
ERROR: error 65280 occurred while making /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-core-3.5.4.2/lingucomponent/source/languageguessing

 it seems you are using a threaded build, which means that the
 actual compile error is probably hidden far above, and could be
 inside any of these other modules:
     lingucomponent
 please re-run build inside each one to isolate the problem.
-----------------------------------------------------------------------

Following the diagnostic build instructions leads to:

Entering /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-core-3.5.4.2/ucb/source/ucp/cmis

Compiling: ucb/source/ucp/cmis/cmis_provider.cxx
In file included from /usr/include/libcmis-0.2/libcmis/object-type.hxx:37:0,
                 from /usr/include/libcmis-0.2/libcmis/session.hxx:34,
                 from /usr/include/libcmis-0.2/libcmis/session-factory.hxx:36,
                 from /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-core-3.5.4.2/ucb/source/ucp/cmis/cmis_content.hxx:39,
                 from /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-core-3.5.4.2/ucb/source/ucp/cmis/cmis_provider.cxx:33:
/usr/include/libcmis-0.2/libcmis/property-type.hxx:32:25: fatal error: libxml/tree.h: No such file or directory
compilation terminated.
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/cmis_provider.obj'

-----------------------------------------------------------------------

So /usr/include/libcmis-0.2/libcmis/property-type.hxx is looking for libxml/tree.h but not finding it at, presumably, /usr/include/libxml2/libxml/tree.h.

# emerge -pv libreoffice libxml2 libcmis
[ebuild   R   ] dev-libs/libxml2-2.8.0-r1  USE="icu ipv6 lzma python readline -debug -doc -examples -static-libs -test" 
[ebuild   R   ] dev-cpp/libcmis-0.2.2  USE="-static-libs -test" 
[ebuild     U ] app-office/libreoffice-3.5.4.2-r1 [3.5.4.2] USE="cups dbus eds gnome graphite gstreamer gtk java jemalloc mysql nsplugin odk opengl pdfimport svg vba webdav xmlsec (-aqua) -binfilter -binfilterdebug -branding -kde -nlpsolver -postgres -test

I have tried re-emerging libxml2 and libcmis but no improvement.


Reproducible: Always
Comment 1 Adrian Bassett 2012-06-09 09:27:35 UTC
(In reply to comment #0)
> app-office/libreoffice-3.5.4.2-r1 fails to emerge in lingucomponent module:
> 
>  cppcanvas deliver
> Module 'cppcanvas' delivered successfully. 0 files copied, 0 files unchanged
> 
> -----------------------------------------------------------------------
>         Oh dear - something failed during the build - sorry !
>   For more help with debugging build errors, please see the section in:
>             http://wiki.documentfoundation.org/Development
> 
>   internal build errors:
> 
> ERROR: error 65280 occurred while making
> /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-
> core-3.5.4.2/ucb/source/ucp/cmis
> ERROR: error 65280 occurred while making
> /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-
> core-3.5.4.2/lingucomponent/source/languageguessing
> 
>  it seems you are using a threaded build, which means that the
>  actual compile error is probably hidden far above, and could be
>  inside any of these other modules:
>      lingucomponent
>  please re-run build inside each one to isolate the problem.
> -----------------------------------------------------------------------
> 
> Following the diagnostic build instructions leads to:
> 
> Entering
> /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-
> core-3.5.4.2/ucb/source/ucp/cmis
> 
> Compiling: ucb/source/ucp/cmis/cmis_provider.cxx
> In file included from /usr/include/libcmis-0.2/libcmis/object-type.hxx:37:0,
>                  from /usr/include/libcmis-0.2/libcmis/session.hxx:34,
>                  from
> /usr/include/libcmis-0.2/libcmis/session-factory.hxx:36,
>                  from
> /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-
> core-3.5.4.2/ucb/source/ucp/cmis/cmis_content.hxx:39,
>                  from
> /var/tmp/portage/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-
> core-3.5.4.2/ucb/source/ucp/cmis/cmis_provider.cxx:33:
> /usr/include/libcmis-0.2/libcmis/property-type.hxx:32:25: fatal error:
> libxml/tree.h: No such file or directory
> compilation terminated.
> dmake:  Error code 1, while making
> '../../../unxlngx6.pro/slo/cmis_provider.obj'
> 
> -----------------------------------------------------------------------
> 
> So /usr/include/libcmis-0.2/libcmis/property-type.hxx is looking for
> libxml/tree.h but not finding it at, presumably,
> /usr/include/libxml2/libxml/tree.h.
> 
> # emerge -pv libreoffice libxml2 libcmis
> [ebuild   R   ] dev-libs/libxml2-2.8.0-r1  USE="icu ipv6 lzma python
> readline -debug -doc -examples -static-libs -test" 
> [ebuild   R   ] dev-cpp/libcmis-0.2.2  USE="-static-libs -test" 
> [ebuild     U ] app-office/libreoffice-3.5.4.2-r1 [3.5.4.2] USE="cups dbus
> eds gnome graphite gstreamer gtk java jemalloc mysql nsplugin odk opengl
> pdfimport svg vba webdav xmlsec (-aqua) -binfilter -binfilterdebug -branding
> -kde -nlpsolver -postgres -test
> 
> I have tried re-emerging libxml2 and libcmis but no improvement.
> 
> 
> Reproducible: Always

Probably my mistake as newer libreoffice-3.5.4.2-r1 ebuild now depends on 
<dev-cpp/libcmis-0.2.  Will try re-emerging.  Marking as RESOLVED for now.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-06-09 10:10:22 UTC

*** This bug has been marked as a duplicate of bug 419825 ***