← Back to team overview

desktop-packages team mailing list archive

[Bug 1521366] Re: Compiz fails to build tests with recent g++ and xorg-gtest

 

The attachment "xorg-gtest_0.7.1-0ubuntu2.debdiff" seems to be a
debdiff.  The ubuntu-sponsors team has been subscribed to the bug report
so that they can review and hopefully sponsor the debdiff.  If the
attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
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 package in Ubuntu:
  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/ubuntu/+source/xorg-gtest/+bug/1521366/+subscriptions


References