← Back to team overview

desktop-packages team mailing list archive

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

 

** Changed in: compiz
       Status: In Progress => Fix Committed

-- 
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 pkg-config and xorg-gtest

Status in Compiz:
  Fix Committed
Status in Xorg-gtest:
  Confirmed
Status in compiz package in Ubuntu:
  In Progress
Status in xorg-gtest package in Ubuntu:
  In Progress
Status in compiz source package in Xenial:
  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/compiz/+bug/1521366/+subscriptions


References