Codecheck is not run on Arch Linux

Bug #691914 reported by Hans Joachim Desserud
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Medium
Unassigned

Bug Description

When compiling Widelands on Arch Linux, the codechecks are not run. Every other step of the process seem to work (it compiles fine and runs afterwards).
After the compilation is finished, I expect the codechecks to run, but instead errors like this appear for each of the source files:
[ 31%] Checking ai/defaultai.cc with CodeCheck
  File "/opt/widelands/cmake/codecheck/CodeCheck.py", line 134
    raise RuntimeError, "strip_macros can't be true when strip_strings_and_comments isn't!"
                      ^
SyntaxError: invalid syntax

The checks run as expected on Ubuntu, and I am pretty sure it used to work on Arch as well in the past. Since the syntax error is in a python script, I wonder if it could be related to Arch defaulting to python3? (see also bug 665172)

Widelands r5784 on Arch Linux (all newest updates).

Tags: buildsystem
tags: added: buildsystem
SirVer (sirver)
Changed in widelands:
status: New → Confirmed
assignee: nobody → SirVer (sirver)
SirVer (sirver)
Changed in widelands:
importance: Undecided → Medium
Revision history for this message
SirVer (sirver) wrote :

Fix commited in r6052

Changed in widelands:
assignee: SirVer (sirver) → nobody
milestone: none → build17-rc1
status: Confirmed → Fix Committed
Revision history for this message
SirVer (sirver) wrote :

Released in build17-rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.