[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."



tag 666573 - sid
thanks

On Sat, Mar 31, 2012 at 09:20:47PM +0200, Lucas Nussbaum wrote:
> 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/sourc
> e/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."

Interesting. I thought the glib actually uploaded to unstable disabled that check?

See

   * Don't enforce single include for glib/gversionmacros.h since this header
     is included from glib/gtypes.h which is widely used.

in -3.

Before that there even was

   * Upload to unstable.
   * Revert upstream commit for now which makes single includes mandatory as
     the list of affected packages is still a bit too long.

in -2.

-> no bug here.

Anyway ee http://bugs.debian.org/665574. Which means this is actually "fixed" already in sid since one day
("fixed" because 3.5.x in Debians build config is not even affected..) ;-)

-> no action needed here.

Regards,

Rene



Reply to: