FS#24142 - [gcc] does not build anymore since gcc update

Attached to Project: Arch Linux
Opened by Felix Rohrbach (fxrh) - Saturday, 07 May 2011, 12:09 GMT
Last edited by Allan McRae (Allan) - Saturday, 14 May 2011, 10:57 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Since a gcc update (4.6.0-3 -> 4.6.0-4), gluon doesn't build anymore, the stable releasen (0.71.0) as well as the git version. I'm using x86_64, but I don't know if this also happens with i686. If I downgrade to gcc-4.6.0-3, it works.
Error message:
In file included from /var/abs/local/gluon/src/gluon-0.71.0/core/gluonobject.h:22:0,
from /var/abs/local/gluon/src/gluon-0.71.0/core/messagehandler.cpp:24:
/var/abs/local/gluon/src/gluon-0.71.0/core/gluonobjectfactory.h: In constructor 'GluonObjectRegistration<T>::GluonObjectRegistration()':
/var/abs/local/gluon/src/gluon-0.71.0/core/gluonobjectfactory.h:172:76: error: expected primary-expression before '>' token
/var/abs/local/gluon/src/gluon-0.71.0/core/gluonobjectfactory.h:172:78: error: expected primary-expression before ')' token

gluonobjectfactory.h: https://projects.kde.org/projects/playground/games/gluon/repository/revisions/0.71.0-alpha2/entry/core/gluonobjectfactory.h

Additional info:
CMake Output:
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Found OpenGL: /usr/lib/libGL.so
-- Found OpenGL: /usr/include
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.3 (using /usr/bin/qmake)
-- Found OpenAL: /usr/lib/libopenal.so (Required is at least version "1.8")
-- Found SndFile: /usr/lib/libsndfile.so
-- Found Alure: /usr/lib/libalure.so (Required is at least version "1.1")
-- Found Qt-Version 4.7.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenSSL: /usr/lib/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
-- Found Automoc4: /usr/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found Phonon: /usr/include
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.6 include dir: /usr/include
-- Found KDE 4.6 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found KDevPlatform: /usr/lib/cmake/kdevplatform/KDevPlatformConfig.cmake
-- Found SharedMimeInfo: /usr/bin/update-mime-database (found version "0.90", required is "0.18")
-- checking for module 'libattica'
-- found libattica, version 0.2.0
-- Found LibAttica: /usr/lib/libattica.so
--
-- ========== Gluon Build Information ==========
-- Build Version: 0.71.0 (Electron)
-- Install Prefix: /usr
-- Install the *.cmake files into CMake root (INSTALL_CMAKE_FILES): ON
-- Install the game examples for Gluon Player (INSTALL_EXAMPLES): ON
-- Enable KDE Development Platform support (WITH_KDE): ON
-- Build Gluon Audio Library (BUILD_GLUON_AUDIO): ON
-- Build Gluon Input Library (BUILD_GLUON_INPUT): ON
-- Build Gluon Graphics Library (BUILD_GLUON_GRAPHICS): ON
-- Build Gluon Engine Library (BUILD_GLUON_ENGINE): ON
-- Build Components dependant on Gluon Audio (BUILD_AUDIO_COMPONENTS): ON
-- Build Assets dependant on Gluon Audio (BUILD_AUDIO_ASSETS): ON
-- Build Components dependant on Gluon Graphics (BUILD_GRAPHICS_COMPONENTS): ON
-- Build Assets dependant on Gluon Graphics (BUILD_GRAPHICS_ASSETS): ON
-- Build Components dependant on Gluon Input (BUILD_INPUT_COMPONENTS): ON
-- Build Assets dependant on Gluon Input (BUILD_INPUT_ASSETS): ON
-- Build Components related to physics (BUILD_PHYSICS_COMPONENTS): OFF
-- Build Assets related to physics (BUILD_PHYSICS_ASSETS): OFF
-- Build other Components (BUILD_OTHER_COMPONENTS): ON
-- Build other Assets (BUILD_OTHER_ASSETS): ON
-- Build Gluon Player Library and Qt Application (BUILD_GLUON_PLAYER): ON
-- Build Gluon Player Plasmoid (BUILD_PLASMOID): ON
-- Build Gluon Creator Application (BUILD_GLUON_CREATOR): ON
-- Build Version Control System support for the Gluon Creator (BULD_GLUON_CREATOR_VCS): OFF
--
-- To change any of these options, override them using -D{OPTION_NAME} on the commandline.
-- To build and install Gluon, run "make" and "make install"
--
-- Configuring done
-- Generating done
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 14 May 2011, 10:57 GMT
Reason for closing:  Fixed
Additional comments about closing:  gcc-4.6.0-5 in [testing]
Comment by Felix Rohrbach (fxrh) - Saturday, 07 May 2011, 16:23 GMT
Maybe it would be better to assign this to the gcc packager, as it seems to break gluon while the gcc version stays the same. Sorry if I put it into the wrong category.
Comment by Laszlo Papp (djszapi) - Saturday, 07 May 2011, 17:32 GMT
I can verify it. KDEV* and quite many applications do not compile either. As I have been told, you have a test build machine for a reason, please use it !
Comment by Olivier JG (olijg) - Tuesday, 10 May 2011, 08:08 GMT Comment by Miquel Sabaté (mssola) - Saturday, 14 May 2011, 10:51 GMT
KDEV* does compile now by upgrading from 4.6.0-4 to 4.6.0-5. So I guess that this regression is fixed in 4.6.0-5.

Loading...