desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #151345
[Bug 1521366] Re: Compiz fails to build tests with recent g++ and xorg-gtest
** Bug watch added: freedesktop.org Bugzilla #93191
https://bugs.freedesktop.org/show_bug.cgi?id=93191
** Also affects: xorg-gtest via
https://bugs.freedesktop.org/show_bug.cgi?id=93191
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-gtest in Ubuntu.
https://bugs.launchpad.net/bugs/1521366
Title:
Compiz fails to build tests with recent g++ and xorg-gtest
Status in Xorg-gtest:
Unknown
Status in xorg-gtest package in Ubuntu:
In Progress
Status in xorg-gtest source package in Xenial:
In Progress
Bug description:
When compiling with g++ 5 xorg-gtest fails because of the CPPflags
defined in xorg-gtest.pc
Compiz FTB in /usr/src/xorg-gtest/src/environment.cpp: In constructor 'xorg::testing::Environment::Private::Private()':
<command-line>:0:17: error: expected primary-expression before '/' token
/usr/src/xorg-gtest/src/environment.cpp:48:28: note: in expansion of macro 'DUMMY_CONF_PATH'
Private() : path_to_conf(DUMMY_CONF_PATH),
^
<command-line>:0:18: error: 'usr' was not declared in this scope
/usr/src/xorg-gtest/src/environment.cpp:48:28: note: in expansion of macro 'DUMMY_CONF_PATH'
Private() : path_to_conf(DUMMY_CONF_PATH),
^
<command-line>:0:22: error: 'share' was not declared in this scope
/usr/src/xorg-gtest/src/environment.cpp:48:28: note: in expansion of macro 'DUMMY_CONF_PATH'
Private() : path_to_conf(DUMMY_CONF_PATH),
^
<command-line>:0:32: error: expected primary-expression before '/' token
/usr/src/xorg-gtest/src/environment.cpp:48:28: note: in expansion of macro 'DUMMY_CONF_PATH'
Private() : path_to_conf(DUMMY_CONF_PATH),
^
<command-line>:0:33: error: 'gtest' was not declared in this scope
/usr/src/xorg-gtest/src/environment.cpp:48:28: note: in expansion of macro 'DUMMY_CONF_PATH'
Private() : path_to_conf(DUMMY_CONF_PATH),
^
<command-line>:0:39: error: 'dummy' was not declared in this scope
/usr/src/xorg-gtest/src/environment.cpp:48:28: note: in expansion of macro 'DUMMY_CONF_PATH'
Private() : path_to_conf(DUMMY_CONF_PATH),
^
<command-line>:0:13: error: expected primary-expression before '/' token
/usr/src/xorg-gtest/src/defines.h:4:30: note: in expansion of macro 'LOGFILE_DIR'
#define DEFAULT_XORG_LOGFILE LOGFILE_DIR "/Xorg.GTest.log"
^
/usr/src/xorg-gtest/src/environment.cpp:49:32: note: in expansion of macro 'DEFAULT_XORG_LOGFILE'
path_to_log_file(DEFAULT_XORG_LOGFILE),
^
<command-line>:0:14: error: 'tmp' was not declared in this scope
/usr/src/xorg-gtest/src/defines.h:4:30: note: in expansion of macro 'LOGFILE_DIR'
#define DEFAULT_XORG_LOGFILE LOGFILE_DIR "/Xorg.GTest.log"
^
/usr/src/xorg-gtest/src/environment.cpp:49:32: note: in expansion of macro 'DEFAULT_XORG_LOGFILE'
path_to_log_file(DEFAULT_XORG_LOGFILE),
To manage notifications about this bug go to:
https://bugs.launchpad.net/xorg-gtest/+bug/1521366/+subscriptions
References