Compiz fails to build ~ looks like finding python ver. doesn't work properly (Archlinux)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compiz |
Fix Released
|
Medium
|
Unassigned | ||
compiz (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
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-
-- 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_
SyntaxError: invalid syntax
CMake Error at compizconfig/
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_
SyntaxError: invalid syntax
CMake Error at compizconfig/
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
Related branches
- Dmitry Shachnev: Approve
-
Diff: 560 lines (+88/-132)18 files modifiedcompizconfig/ccsm/CMakeLists.txt (+7/-11)
compizconfig/ccsm/ccsm (+1/-1)
compizconfig/ccsm/setup.cfg (+2/-0)
compizconfig/ccsm/setup.py (+10/-10)
compizconfig/cmake/exec_setup_py_with_destdir.cmake (+2/-1)
compizconfig/compizconfig-python/CMakeLists.txt (+9/-30)
compizconfig/compizconfig-python/compizconfig-python.pc.in (+0/-13)
compizconfig/compizconfig-python/setup.py (+2/-3)
compizconfig/compizconfig-python/src/compizconfig.pyx (+4/-3)
compizconfig/compizconfig-python/tests/test_backend.py (+9/-9)
compizconfig/compizconfig-python/tests/test_plugin.py (+10/-10)
compizconfig/compizconfig-python/tests/test_setting.py (+14/-14)
debian/compizconfig-settings-manager.install (+1/-2)
debian/control (+14/-14)
debian/python-compizconfig.install (+0/-3)
debian/python-compizconfig.lintian-overrides (+0/-1)
debian/python3-compizconfig.install (+2/-0)
debian/rules (+1/-7)
Changed in compiz: | |
milestone: | 0.9.8.0 → 0.9.8.1 |
Changed in compiz: | |
milestone: | 0.9.8.2 → 0.9.8.4 |
Changed in compiz: | |
milestone: | 0.9.8.4 → 0.9.9.0 |
Changed in compiz: | |
milestone: | 0.9.9.0 → 0.9.9.2 |
Changed in compiz: | |
milestone: | 0.9.9.2 → 0.9.10.0 |
Changed in compiz: | |
milestone: | 0.9.10.0 → 0.9.10.2 |
Changed in compiz: | |
milestone: | 0.9.10.2 → 0.9.11.0 |
Changed in compiz (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in compiz: | |
status: | Confirmed → Triaged |
Changed in compiz: | |
milestone: | 0.9.11.0 → 0.9.12.2 |
importance: | High → Medium |
Changed in compiz (Ubuntu): | |
importance: | High → Medium |
Changed in compiz: | |
status: | Triaged → Fix Committed |
Changed in compiz: | |
status: | Fix Committed → Fix Released |
Nevermind, you can disregard this.
I just had to change some stuff in my build scripts, compiz is compiling fine now. :)
sorry for the noise