Bug#529033: deb-package fails to build

Sebastian Ramacher s.ramacher at gmx.at
Sun May 17 11:40:16 UTC 2009


Package: boson
Version: 0.13-6
Severity: important

The boson deb-package fails to build. It seems to be a problem with
cmake and Qt. Altough libqt3-mt-dev is installed cmake picks the
Qt4 libs.

apt-src build boson produces the following output:

I: Building in /tmp/boson-0.13 ..
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package boson
dpkg-buildpackage: source version 0.13-6
dpkg-buildpackage: source changed by Gonéri Le Bouder <goneri at rulezlan.org>
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -rf debian/build-area
for i in debian/*.sgml; do \
		rm -f `echo $i| sed 's/sgml/6/'` ;\
	done
dh_clean build-stamp \
	configure-stamp \
	debian/boson.substvars \
	debian/boson.manpages \
	debian/stamp-cmake-build \
	CMakeFiles \
	CMakeCache.txt
QUILT_PATCHES=debian/patches quilt pop -a -R || test $? = 2
No patch removed
rm -rf .pc
 debian/rules build
QUILT_PATCHES=debian/patches quilt push -a || test $? = 2
Applying patch fix_glGetString_with_amd64.diff
patching file bogl/bogl.cpp

Applying patch boson_0_13_upstream_fixes.diff
patching file bobmfconverter/libgfx/gfx/script.h
patching file bobmfconverter/libgfx/gfx/vec2.h
patching file bobmfconverter/libgfx/gfx/vec3.h
patching file bobmfconverter/libgfx/gfx/vec4.h
patching file bobmfconverter/libgfx/quat.cxx
patching file bobmfconverter/libgfx/raster-jpeg.cxx
patching file bobmfconverter/libgfx/script.cxx
patching file bobmfconverter/mixkit/mixmops.cxx
patching file bobmfconverter/mixkit/mixmops.h
patching file bobmfconverter/mixkit/mixmsg.cxx
patching file bobmfconverter/mixkit/mixvops.h
patching file bobmfconverter/mixkit/MxAsp.cxx
patching file bobmfconverter/mixkit/MxBlock.h
patching file bobmfconverter/mixkit/MxCmdParser.cxx
patching file bobmfconverter/mixkit/MxCmdParser.h
patching file bobmfconverter/mixkit/MxDualModel.cxx
patching file bobmfconverter/mixkit/MxDynBlock.h
patching file bobmfconverter/mixkit/MxEdgeFilter.cxx
patching file bobmfconverter/mixkit/MxEdgeFilter.h
patching file bobmfconverter/mixkit/MxFaceTree.cxx
patching file bobmfconverter/mixkit/MxFeatureFilter.cxx
patching file bobmfconverter/mixkit/MxFitFrame-2.cxx
patching file bobmfconverter/mixkit/MxHeap.cxx
patching file bobmfconverter/mixkit/MxHeap.h
patching file bobmfconverter/mixkit/MxPropSlim.cxx
patching file bobmfconverter/mixkit/MxQMetric.cxx
patching file bobmfconverter/mixkit/MxQSlim.cxx
patching file bobmfconverter/mixkit/MxSMF.cxx
patching file bobmfconverter/mixkit/MxSMF.h
patching file bobmfconverter/mixkit/MxStdModel.cxx
patching file bobmfconverter/mixkit/MxStdSlim.h
patching file bobmfconverter/processors/textureoptimizer.cpp
patching file boson/bosonglwidget.cpp
patching file boson/bosonglwidget.h
patching file boson/gameview/minimap/bosonglcompleteminimap.cpp
patching file boson/info/boinfo_freebsd.cpp
patching file boson/programs/main.cpp
patching file cmake/modules/boson/FindBosonPythonLibs.cmake

Applying patch fix_gcc-4.2.diff
patching file bogl/gl/bogl_2_0_decl_p.h
patching file bogl/gl/extensions/arb_shader_objects_decl_p.h

Applying patch fix_UTS_RELEASE_location.diff
patching file boson/info/boinfo_linux.cpp

Applying patch avoid_libpython-detection-error.diff
patching file boson/gameengine/script/CMakeLists.txt

Applying patch bounit_desktop_fix.diff
patching file boson/data/boson-bounit.desktop

Applying patch fix_gcc-4.3.diff
patching file ufo/include/ufo/util/urectangle.hpp
patching file ufo/src/uabstractcontext.cpp
patching file ufo/src/uabstractdisplay.cpp
patching file ufo/src/uabstracttoolkit.cpp
patching file ufo/src/ubuttongroup.cpp
patching file ufo/src/ucontextgroup.cpp
patching file ufo/src/ukeystroke.cpp
patching file ufo/src/umenumanager.cpp
patching file ufo/src/uobject.cpp
patching file ufo/src/ufo_debug.cpp
patching file ufo/src/gl/ugl_driver.cpp
patching file ufo/src/ux/uxdisplay.cpp
patching file ufo/src/widgets/uwidget.cpp
patching file boson/programs/mainnoguimain.cpp

Applying patch fix_python2.5type_issue.diff
patching file boson/gameengine/script/pythonscript.cpp
patching file boson/gameengine/script/pythonscript.h

Applying patch fix_desktop_files.diff
patching file boson/data/boson-boinfo.desktop
patching file boson/data/boson-boson.desktop
patching file boson/data/boson-bounit.desktop

Now at patch fix_desktop_files.diff
dh_testdir
mkdir -p debian/build-area
cd debian/build-area && cmake --debug-output \
                -D CMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
                -D CMAKE_CXX_FLAGS_RELWITHDEBINFO="-Wall -g -O2 " \
                -D CMAKE_C_FLAGS_RELWITHDEBINFO="-Wall -g -O2 " \
                -DCMAKE_INSTALL_PREFIX=/usr /tmp/boson-0.13
Running with debug output on.
-- The C compiler identification is GNU
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeDetermineCCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- The CXX compiler identification is GNU
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeDetermineCXXCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Check for working C compiler: /usr/bin/gcc
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Check for working C compiler: /usr/bin/gcc -- works
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Detecting C compiler ABI info
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Detecting C compiler ABI info - done
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Check for working CXX compiler: /usr/bin/c++
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Check for working CXX compiler: /usr/bin/c++ -- works
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Detecting CXX compiler ABI info
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Detecting CXX compiler ABI info - done
   Called from: [2]	/usr/share/cmake-2.6/Modules/CMakeTestCXXCompiler.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:27 (include):
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /tmp/boson-0.13/cmake/modules/boson/BosonMisc.cmake

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2]	/tmp/boson-0.13/cmake/modules/boson/BosonMisc.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
CMake Warning (dev) at CMakeLists.txt:28 (include):
  Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
  and POP.  Run "cmake --help-policy CMP0011" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  The included script

    /tmp/boson-0.13/cmake/modules/boson/BosonMacros.cmake

  affects policy settings.  CMake is implying the NO_POLICY_SCOPE option for
  compatibility, so the effects are applied to the including context.
This warning is for project developers.  Use -Wno-dev to suppress it.

   Called from: [2]	/tmp/boson-0.13/cmake/modules/boson/BosonMacros.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for gethostbyname
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for gethostbyname - found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for connect
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for connect - found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for remove
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for remove - found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for shmat
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for shmat - found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for IceConnectionNumber in ICE
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for IceConnectionNumber in ICE - found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Found X11: /usr/lib/libX11.so
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindX11.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for include files CMAKE_HAVE_PTHREAD_H
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindThreads.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindThreads.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for pthread_create in pthreads
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindThreads.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for pthread_create in pthreads - not found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindThreads.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for pthread_create in pthread
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindThreads.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Looking for pthread_create in pthread - found
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindThreads.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Found Threads: TRUE
   Called from: [3]	/usr/share/cmake-2.6/Modules/FindThreads.cmake
                [2]	/usr/share/cmake-2.6/Modules/FindQt3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- kde3prefix: /usr
   Called from: [3]	/tmp/boson-0.13/cmake/modules/boson/FindKDE3.cmake
                [2]	/tmp/boson-0.13/cmake/modules/boson/FindBosonKDE3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Found KDE3 include dir: /usr/include/kde
   Called from: [3]	/tmp/boson-0.13/cmake/modules/boson/FindKDE3.cmake
                [2]	/tmp/boson-0.13/cmake/modules/boson/FindBosonKDE3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Found KDE3 library dir: /usr/lib
   Called from: [3]	/tmp/boson-0.13/cmake/modules/boson/FindKDE3.cmake
                [2]	/tmp/boson-0.13/cmake/modules/boson/FindBosonKDE3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Found KDE3 dcopidl preprocessor: /usr/bin/dcopidl
   Called from: [3]	/tmp/boson-0.13/cmake/modules/boson/FindKDE3.cmake
                [2]	/tmp/boson-0.13/cmake/modules/boson/FindBosonKDE3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Found KDE3 dcopidl2cpp preprocessor: /usr/bin/dcopidl2cpp
   Called from: [3]	/tmp/boson-0.13/cmake/modules/boson/FindKDE3.cmake
                [2]	/tmp/boson-0.13/cmake/modules/boson/FindBosonKDE3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Found KDE3 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
   Called from: [3]	/tmp/boson-0.13/cmake/modules/boson/FindKDE3.cmake
                [2]	/tmp/boson-0.13/cmake/modules/boson/FindBosonKDE3.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
-- Found Perl: /usr/bin/perl
   Called from: [2]	/usr/share/cmake-2.6/Modules/FindPerl.cmake
                [1]	/tmp/boson-0.13/CMakeLists.txt
CMake Error at cmake/modules/boson/CheckQt3Executables.cmake:19 (MESSAGE):
  moc seems not to be from Qt 3.x

    version reported: Qt Meta Object Compiler version 61 (Qt 4.5.1)
    executable: /usr/share/qt4/bin/moc
Call Stack (most recent call first):
  CMakeLists.txt:91 (check_qt3_executables)


   Called from: [1]	/tmp/boson-0.13/CMakeLists.txt
-- Configuring incomplete, errors occurred!
make: *** [configure-stamp] Error 1
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
E: Building failed


I've run apt-get build-dep boson && apt-src install boson before building.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (650, 'unstable'), (601, 'testing'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages boson depends on:
ii  boson-data             0.13-3            Datas for Boson, a real-time strat
ii  kdelibs4c2a            4:3.5.10.dfsg.1-2 core libraries and binaries for al
ii  libc6                  2.9-12            GNU C Library: Shared libraries
ii  libgcc1                1:4.4.0-4         GCC support library
ii  libice6                2:1.0.5-1         X11 Inter-Client Exchange library
ii  libopenal1             1:1.7.411-1       Software implementation of the Ope
ii  libqt3-mt              3:3.3.8b-5        Qt GUI Library (Threaded runtime v
ii  libsm6                 2:1.1.0-2         X11 Session Management library
ii  libstdc++6             4.4.0-4           The GNU Standard C++ Library v3
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxmu6                2:1.0.4-1         X11 miscellaneous utility library
ii  libxrandr2             2:1.3.0-2         X11 RandR extension library
ii  python2.5              2.5.4-1           An interactive high-level object-o

Versions of packages boson recommends:
pn  boson-music                   <none>     (no description available)

boson suggests no packages.

-- no debconf information





More information about the Pkg-games-devel mailing list