← Back to team overview

desktop-packages team mailing list archive

[Bug 1004592] Re: Compiz fails to build ~ looks like finding python ver. doesn't work properly (Archlinux)

 

** Changed in: compiz
    Milestone: 0.9.11.0 => 0.9.12.2

** Changed in: compiz
   Importance: High => Medium

** Changed in: compiz (Ubuntu)
   Importance: High => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1004592

Title:
  Compiz fails to build ~ looks like finding python ver. doesn't work
  properly (Archlinux)

Status in Compiz:
  Triaged
Status in compiz package in Ubuntu:
  Triaged

Bug description:
  I can't build compiz on Arch, right now. it looks like you guys have
  changed around how compiz uses python. i used to just specify in
  CMakelists.txt to use python2 instead of python (3) ... anyway, it
  currently doesn't pick up on python, and then fails a few lines later.

  (relevant) output;

  -- checking for modules 'x11;libxml-2.0;libxslt;protobuf'
  --   found x11, version 1.4.99.901
  --   found libxml-2.0, version 2.7.8
  --   found libxslt, version 1.1.26
  --   found protobuf, version 2.4.1
    File "<string>", line 1
      import sys; print str (sys.version_info.major) + '.' + str (sys.version_info.minor)
                          ^
  SyntaxError: invalid syntax
  CMake Error at compizconfig/compizconfig-python/CMakeLists.txt:24 (string):
    string sub-command REPLACE requires at least four arguments.

  
  -- Adding test test_profile
  -- Adding test test_setting
  -- Adding test test_plugin
  -- Adding test test_backend
    File "<string>", line 1
      import sys; print str (sys.version_info.major) + '.' + str (sys.version_info.minor)
                          ^
  SyntaxError: invalid syntax
  CMake Error at compizconfig/ccsm/CMakeLists.txt:24 (string):
    string sub-command REPLACE requires at least four arguments.

  
  -- checking for module 'glib-2.0'
  --   found glib-2.0, version 2.32.3
  -- checking for module 'gconf-2.0'

  So being as line 20 fails due to a syntax error, when it is supposed
  to pass on those arguments to be used in line 24, it obviously fails
  because nothing is passed.

  I think this build error actually cropped up a day or two ago, but i
  had thought it was a Clang-bug, as i was going to see if compiz would
  compile with it (ie: i saw Sam's branch - ' the whole thing goes
  clang). when it failed i didn't investigate, and hadn't tried to
  compile compiz until today after seeing the latest revisions and
  decided to upgrade (using GCC, as i normally would).

  cheerz

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1004592/+subscriptions