reopen 1045203
tags 1045203 patch
severity 1045203 normal
thanks

Hello. This was recently closed with this changelog entry:

  * Use d/clean to remove unnecessary files created during build (Closes:
    #1045203)

but I still get this error when trying to build source after successful build:


Package: ruby-jbuilder
Version: 2.14.1-2
[...]
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building ruby-jbuilder using existing 
../ruby-jbuilder_2.14.1.orig.tar.gz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: local changes detected, the modified files are:
 test/tmp/app/controllers/admin/posts_controller.rb
 test/tmp/app/helpers/admin/posts_helper.rb
 test/tmp/app/views/admin/posts/_form.html.erb
 test/tmp/app/views/admin/posts/_post.html.erb
 test/tmp/app/views/admin/posts/_post.json.jbuilder
 test/tmp/app/views/admin/posts/edit.html.erb
 test/tmp/app/views/admin/posts/index.html.erb
 test/tmp/app/views/admin/posts/index.json.jbuilder
 test/tmp/app/views/admin/posts/new.html.erb
 test/tmp/app/views/admin/posts/show.html.erb
 test/tmp/app/views/admin/posts/show.json.jbuilder
dpkg-source: error: aborting due to unexpected upstream changes, see 
/tmp/ruby-jbuilder_2.14.1-2.diff.S4Boq4

For some reason (race condition?), the error I get is different each
time, so you may still get a different result as well.

In either case, I propose that you simply remove the test/tmp
directory entirely, as in the attached patch.

Thanks.
commit 79ecfd997ec33690634325937ba469d5588f795d
Author: Santiago Vila <[email protected]>
Date:   Sat May 30 10:30:00 2026 +0200

    Fix clean target. Closes: #1045203.

diff --git a/debian/clean b/debian/clean
index c9ad1c8..a69692e 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,4 +1,2 @@
 log/test.log
-test/tmp/app/views/posts/_post.json.jbuilder
-test/tmp/app/views/posts/index.json.jbuilder
-test/tmp/app/views/posts/show.json.jbuilder
+test/tmp/
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to