[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#666573: libreoffice: FTBFS: gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."



Source: libreoffice
Version: 1:3.4.6-2
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20120331 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> x86_64-linux-gnu-g++  -fmessage-length=0 -c -O2 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0   -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -gdwarf-2 -I. -I../../../unxlngx6.pro/inc/ucpgvfs -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngx6.pro/inc -I. -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solver/340/unxlngx6.pro/inc/stl -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solver/340/unxlngx6.pro/inc/external -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solver/340/unxlngx6.pro/inc -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solenv/unxlngx6/inc -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solenv/inc -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/res -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solenv/inc/Xp31 -I/usr/lib/jvm/java-6-openjdk-amd64/include -I/usr/lib/jvm/java-6-openjdk-amd64/include/linux -I/usr/lib/jvm/java-6-openjdk-amd64/include/native_threads/include  -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solver/340/unxlngx6.pro/inc/offuh -I. -I../../../res -I. -pipe  -fvisibility-inlines-hidden -std=c++0x -Wno-deprecated-declarations -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor -Woverloaded-virtual   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DHAVE_GCC_VISIBILITY_FEATURE -DX86_64 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.6 -DSUPD=340 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   -DSHAREDLIB -D_DLL_   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../../unxlngx6.pro/slo/gvfs_directory.o /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs/gvfs_directory.cxx 
> In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
>                  from /usr/include/glib-2.0/glib/gatomic.h:29,
>                  from /usr/include/glib-2.0/glib/gthread.h:34,
>                  from /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs/gvfs_content.hxx:38,
>                  from /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs/gvfs_directory.hxx:34,
>                  from /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs/gvfs_directory.cxx:41:
> /usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
> dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/gvfs_directory.obj'
> Retrying /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs
> 
> Compiling: ucb/source/ucp/gvfs/gvfs_directory.cxx
> x86_64-linux-gnu-g++  -fmessage-length=0 -c -O2 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0   -pthread -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -gdwarf-2 -I. -I../../../unxlngx6.pro/inc/ucpgvfs -I../inc -I../../../inc/pch -I../../../inc -I../../../unx/inc -I../../../unxlngx6.pro/inc -I. -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solver/340/unxlngx6.pro/inc/stl -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solver/340/unxlngx6.pro/inc/external -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solver/340/unxlngx6.pro/inc -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solenv/unxlngx6/inc -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solenv/inc -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/res -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solenv/inc/Xp31 -I/usr/lib/jvm/java-6-openjdk-amd64/include -I/usr/lib/jvm/java-6-openjdk-amd64/include/linux -I/usr/lib/jvm/java-6-openjdk-amd64/include/native_threads/include  -I/«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/solver/340/unxlngx6.pro/inc/offuh -I. -I../../../res -I. -pipe  -fvisibility-inlines-hidden -std=c++0x -Wno-deprecated-declarations -g -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor -Woverloaded-virtual   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DHAVE_GCC_VISIBILITY_FEATURE -DX86_64 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.6 -DSUPD=340 -DPRODUCT -DNDEBUG -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   -DSHAREDLIB -D_DLL_   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../../unxlngx6.pro/slo/gvfs_directory.o /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs/gvfs_directory.cxx 
> In file included from /usr/include/glib-2.0/glib/gtypes.h:36:0,
>                  from /usr/include/glib-2.0/glib/gatomic.h:29,
>                  from /usr/include/glib-2.0/glib/gthread.h:34,
>                  from /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs/gvfs_content.hxx:38,
>                  from /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs/gvfs_directory.hxx:34,
>                  from /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs/gvfs_directory.cxx:41:
> /usr/include/glib-2.0/glib/gversionmacros.h:28:2: error: #error "Only <glib.h> can be included directly."
> dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/gvfs_directory.obj'
> 
> -----------------------------------------------------------------------
>         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 /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/source/ucp/gvfs
> 
>  it seems that the error is inside 'ucb', please re-run build
>  inside this module to isolate the error and/or test your fix:
> -----------------------------------------------------------------------
> 
> rm -Rf /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2/ucb/unxlngx6.pro # optional module 'clean'
> /bin/bash
> cd /«PKGBUILDDIR»/libreoffice-build/build/libreoffice-3.4.6.2
> source ./LinuxX86-64Env.Set.sh
> cd ucb
> build
> 
> when the problem is isolated and fixed exit and re-run 'make' from the top-level
> make[1]: *** [stamp/build] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/31/libreoffice_3.4.6-2_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.



Reply to: