← Back to team overview

desktop-packages team mailing list archive

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

 

Public bug reported:

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),

** Affects: xorg-gtest (Ubuntu)
     Importance: High
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: In Progress

** Changed in: xorg-gtest (Ubuntu)
    Milestone: None => ubuntu-16.04

-- 
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


Follow ups