Bug#579698: source-highlight: FTBFS: expect no output from diff

2010-05-03 Thread Adam D. Barratt
tag 579698 + patch
thanks

On Thu, April 29, 2010 23:30, Cyril Brulebois wrote:

 your package FTBFS everywhere for the +b1 binNMU round:
[...]
 | diff ./wrong_exp.err wrong_exp.err_out
 | 2c2
 |  wrong_exp.lang:2: Caused by: Unmatched ( or \(
 | ---
 |  wrong_exp.lang:2: Caused by: Unmatched marking parenthesis ( or \(.
 The error occured while parsing the regular expression fragment:
 'notclosed)HERE'.
 | make[2]: *** [check_wrong] Error 1

The attached patch makes the package build for me with boost 1.42.

Regards,

Adamdiff -adNru source-highlight-3.1.3/tests/wrong_dyn_backref2.err source-highlight-3.1.3.test/tests/wrong_dyn_backref2.err
--- source-highlight-3.1.3/tests/wrong_dyn_backref2.err	2009-12-07 13:14:54.0 +
+++ source-highlight-3.1.3.test/tests/wrong_dyn_backref2.err	2010-05-01 15:42:17.0 +0100
@@ -1,2 +1,2 @@
 wrong_dyn_backref2.lang:7: 1 subexpressions requested, but only 0 found
-wrong_dyn_backref2.lang:7: Caused by: Invalid regular expression
+wrong_dyn_backref2.lang:7: Caused by: Invalid regular expression.
diff -adNru source-highlight-3.1.3/tests/wrong_dyn_backref.err source-highlight-3.1.3.test/tests/wrong_dyn_backref.err
--- source-highlight-3.1.3/tests/wrong_dyn_backref.err	2009-12-07 13:14:54.0 +
+++ source-highlight-3.1.3.test/tests/wrong_dyn_backref.err	2010-05-01 15:42:17.0 +0100
@@ -1,2 +1,2 @@
 wrong_dyn_backref.lang:2: 3 subexpressions requested, but only 2 found
-wrong_dyn_backref.lang:2: Caused by: Invalid regular expression
+wrong_dyn_backref.lang:2: Caused by: Invalid regular expression.
diff -adNru source-highlight-3.1.3/tests/wrong_exp.err source-highlight-3.1.3.test/tests/wrong_exp.err
--- source-highlight-3.1.3/tests/wrong_exp.err	2009-12-07 13:14:54.0 +
+++ source-highlight-3.1.3.test/tests/wrong_exp.err	2010-05-01 15:42:17.0 +0100
@@ -1,2 +1,2 @@
 wrong_exp.lang:2: problem in this expression: keyword (notclosed
-wrong_exp.lang:2: Caused by: Unmatched ( or \(
+wrong_exp.lang:2: Caused by: Unmatched marking parenthesis ( or \(.  The error occured while parsing the regular expression fragment: 'notclosed)HERE'.
diff -adNru source-highlight-3.1.3/tests/wrong_namedgroups.err source-highlight-3.1.3.test/tests/wrong_namedgroups.err
--- source-highlight-3.1.3/tests/wrong_namedgroups.err	2009-12-07 13:14:54.0 +
+++ source-highlight-3.1.3.test/tests/wrong_namedgroups.err	2010-05-01 15:42:17.0 +0100
@@ -1,2 +1,2 @@
 wrong_namedgroups.lang:4: number of marked subexpressions does not match number of elements
-wrong_namedgroups.lang:4: Caused by: Invalid regular expression
+wrong_namedgroups.lang:4: Caused by: Invalid regular expression.
diff -adNru source-highlight-3.1.3/tests/wrong_namedgroups_subexps2.err source-highlight-3.1.3.test/tests/wrong_namedgroups_subexps2.err
--- source-highlight-3.1.3/tests/wrong_namedgroups_subexps2.err	2009-12-07 13:14:54.0 +
+++ source-highlight-3.1.3.test/tests/wrong_namedgroups_subexps2.err	2010-05-01 15:42:17.0 +0100
@@ -1,2 +1,2 @@
 wrong_namedgroups_subexps2.lang:3: subexpressions of subexpressions are not allowed
-wrong_namedgroups_subexps2.lang:3: Caused by: Invalid regular expression
+wrong_namedgroups_subexps2.lang:3: Caused by: Invalid regular expression.
diff -adNru source-highlight-3.1.3/tests/wrong_namedgroups_subexps.err source-highlight-3.1.3.test/tests/wrong_namedgroups_subexps.err
--- source-highlight-3.1.3/tests/wrong_namedgroups_subexps.err	2009-12-07 13:14:54.0 +
+++ source-highlight-3.1.3.test/tests/wrong_namedgroups_subexps.err	2010-05-01 15:42:17.0 +0100
@@ -1,2 +1,2 @@
 wrong_namedgroups_subexps.lang:3: parts outside marked subexpressions are not allowed
-wrong_namedgroups_subexps.lang:3: Caused by: Invalid regular expression
+wrong_namedgroups_subexps.lang:3: Caused by: Invalid regular expression.

Bug#579698: source-highlight: FTBFS: expect no output from diff

2010-04-29 Thread Cyril Brulebois
Source: source-highlight
Version: 3.1.3-1
Severity: serious
Justification: FTBFS

Hi,

your package FTBFS everywhere for the +b1 binNMU round:
| make[3]: Entering directory 
`/build/buildd-source-highlight_3.1.3-1+b1-amd64-pR1ET8/source-highlight-3.1.3/tests'
| ../src/source-highlight --check-outlang ./wrong_outlang_include.outlang 2 
wrong_outlang_include.err_out || true; 
| checking ./wrong_outlang_include.outlang... sed -itesttmp -f ./erasedir.sed 
wrong_outlang_include.err_out  rm -f *testtmp
| make[3]: Leaving directory 
`/build/buildd-source-highlight_3.1.3-1+b1-amd64-pR1ET8/source-highlight-3.1.3/tests'
| expect no output from diff
| diff ./wrong_exp.err wrong_exp.err_out
| 2c2
|  wrong_exp.lang:2: Caused by: Unmatched ( or \(
| ---
|  wrong_exp.lang:2: Caused by: Unmatched marking parenthesis ( or \(.  The 
error occured while parsing the regular expression fragment: 
'notclosed)HERE'.
| make[2]: *** [check_wrong] Error 1

Full build logs:
  https://buildd.debian.org/status/package.php?p=source-highlight

Mraw,
KiBi.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org