tags 1048099 patch
severity 1048099 normal
reopen 1048099
thanks

Simon Quigley wrote:

> This bug is fixed in 1.49.0-1. If you can still reproduce the failure, please 
> provide a build log.

It's not fixed and it still fails in the same way it was reported in 2023:

Package: ruby-rubocop-ast
Version: 1.49.0-1
[...]
dpkg-source: info: local changes detected, the modified files are:
 ruby-rubocop-ast-1.49.0/lib/rubocop/ast/node_pattern/parser.output
 ruby-rubocop-ast-1.49.0/lib/rubocop/ast/node_pattern/parser.racc.rb
 ruby-rubocop-ast-1.49.0/spec/examples.txt
dpkg-source: error: aborting due to unexpected upstream changes, see 
/tmp/ruby-rubocop-ast_1.49.0-1.diff.0kURtw

Full build log here:

https://people.debian.org/~sanvila/build-logs/ftbfs-source-after-build/


Note that dpkg-source does not report everything which is wrong:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126665

so after an attempt to fix the issue it is usually a good idea to
retest again to be sure. However, I believe this does not apply here
as I could not find any attempt at fixing the issue in salsa.

Anyway, the attached patch works for me.

Thanks.
commit f15767d6be4b9ac6396cc71489d1aa146c2028fc
Author: Santiago Vila <[email protected]>
Date:   Sun Mar 1 23:30:00 2026 +0100

    Fix clean target. Closes: #1048099.

diff --git a/debian/clean b/debian/clean
index 21c5272..07e8da5 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,2 +1,5 @@
-lib/rubocop/ast/node_pattern/parser.racc.rc
 lib/rubocop/ast/node_pattern/lexer.rex.rb
+lib/rubocop/ast/node_pattern/parser.output
+lib/rubocop/ast/node_pattern/parser.racc.rb
+lib/rubocop/ast/node_pattern/parser.racc.rc
+spec/examples.txt

Reply via email to