uncrustify support does not work (version too old?)

Bug #612121 reported by Malte Helmert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
universalindentgui (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: universalindentgui

When I switch to Uncrustify, enable the live indent preview and toggle any option, I get the following error:

===============================================
Indenter returned with exit code: 1
Indent console output was:
(STDOUT):
(STDERR):/tmp/UniversalIndentGUI-N4Pl7Q/uncrustify.cfg:34 Unknown symbol 'align_var_def_attribute' Parsing: indentinput.cpp as language CPP

Callstring was: uncrustify -f indentinput.cpp -c "/tmp/UniversalIndentGUI-N4Pl7Q/uncrustify.cfg" -o indentoutput.cpp
===============================================

Further investigation reveals that 'align_var_def_attribute' was an option added in uncrustify 0.53 (May 2009), but Lucid ships with uncrustify 0.52. So the version of universalindentgui in Lucid (1.1.0-1) is apparently incompatible with its version of uncrustify. I don't know what minimal uncrustify version number would be required.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: universalindentgui 1.1.0-1
ProcVersionSignature: Ubuntu 2.6.32-24.38-generic-pae 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic-pae i686
Architecture: i386
Date: Sat Jul 31 21:33:33 2010
ProcEnviron:
 LC_TIME=de_DE.UTF-8
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
 LC_PAPER=de_DE.UTF-8
SourcePackage: universalindentgui

Revision history for this message
Malte Helmert (helmert) wrote :
Revision history for this message
Malte Helmert (helmert) wrote :

Workaround: installing a current version of uncrustify (0.56) locally in a place on a PATH where it will be found before the system uncrustify solves the issue for me.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in universalindentgui (Ubuntu):
status: New → Confirmed
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.