#1048099 ruby-rubocop-ast: Fails to build source after successful build

#1048099#5
Date:
2023-08-13 19:21:24 UTC
From:
To:
Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
The full build log is available from:
http://qa-logs.debian.net/2023/08/13/ruby-rubocop-ast_1.24.0-2_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#1048099#12
Date:
2026-03-01 17:35:01 UTC
From:
To:
Hello,

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

Thanks,
Simon Quigley
tsimonq2@debian.org

#1048099#17
Date:
2026-03-02 00:22:58 UTC
From:
To:
tags 1048099 patch
severity 1048099 normal
reopen 1048099
thanks

Simon Quigley wrote:

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.

#1048099#26
Date:
2026-05-23 18:32:59 UTC
From:
To:
Hello,

Bug #1048099 in ruby-rubocop-ast reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/ruby-team/ruby-rubocop-ast/-/commit/9f033e4d6936384c2e9f234790f904018bcf87af
------------------------------------------------------------------------
d/clean: Fix FTBFS (Closes: #1048099)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1048099

#1048099#33
Date:
2026-05-23 18:49:27 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ruby-rubocop-ast, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1048099@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vivek K J <vivekkj@disroot.org> (supplier of updated ruby-rubocop-ast package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 23 May 2026 23:55:51 +0530
Source: ruby-rubocop-ast
Architecture: source
Version: 1.49.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Changed-By: Vivek K J <vivekkj@disroot.org>
Closes: 1048099
Changes:
 ruby-rubocop-ast (1.49.1-3) unstable; urgency=medium
 .
   * Team upload
   * d/clean: Fix FTBFS after successful build (Closes: #1048099)
Checksums-Sha1:
 2fbf57fd0f3e6009ea0f0d1d4822e1495711c3b0 2226 ruby-rubocop-ast_1.49.1-3.dsc
 5fc2883b3b5a84c74fd3e36dc5fb370df72fd1a8 4216 ruby-rubocop-ast_1.49.1-3.debian.tar.xz
 04a480f39c19150d125cead20dbdee5c6dba7a72 6944 ruby-rubocop-ast_1.49.1-3_amd64.buildinfo
Checksums-Sha256:
 8a9f13190bdc07cf97437a69fea247fe446fe1f702b459e6a85475e0bdaeb51c 2226 ruby-rubocop-ast_1.49.1-3.dsc
 79500cee2e98d0ee9ce44cd3e8ece579436ea4821d24ac9c4cab0141db63e3a1 4216 ruby-rubocop-ast_1.49.1-3.debian.tar.xz
 1cbe7ffd17f739d8fcf581f25656da9e2bda7067884dc7797a5b6d521663c9f5 6944 ruby-rubocop-ast_1.49.1-3_amd64.buildinfo
Files:
 c10bbd1fac6bcf797047c4ae0e00e77a 2226 ruby optional ruby-rubocop-ast_1.49.1-3.dsc
 9fc63f946bbb7af919fbb2be2cca3b19 4216 ruby optional ruby-rubocop-ast_1.49.1-3.debian.tar.xz
 3a3740af2f5a4f6c1185848f04098d81 6944 ruby optional ruby-rubocop-ast_1.49.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE0BeSY+ICDkBxV0Bzpf9Ls+pTxd8FAmoR8ugUHHZpdmVra2pA
ZGlzcm9vdC5vcmcACgkQpf9Ls+pTxd8K8A//ZG5jNVTzsQcQ1cCaROPW4k714uLJ
InXE7RB4Teyd4DNBNFU/bkxjwR+lNvSPoRNfwGH4ZQEhliJvr9HwAaQ/6TMprWPu
6sf9mGJgV1uLMJQi8ANyYUWfPOYlC155+V9e90MRTc2gB86Asd125oaGGSaCpmJ/
8qi2amg3m4F3lxKfxzNAGAKAX73Cb5C4J5KKxfrdhcLHPwHwky2Bfa7zaraFw0Mm
CmerGlPmXf4t+bdwiUjktZJ3aBukibt0HFnuOFxKivPHlE5a/1N79e4FZtZQyDYv
1dH+Sk4Rp2AV92LZvciSVe5FfUZypXym3+6EQcX6hFf7ie0e8TpCcR7sEcu2RWAW
u/K5+p+ujPhmgNE9csKo4ToShtrvmrYYQzkBqm4zb5IujGVnGiR2pfCtXiseo5Tf
bj986NeIhnaHPt4p4OGJ27YHDD6dpVE5iyTUXedhdWkLXL1BK2FbpaUuphopYEGN
wob20A3ImoK5wkZ613KysvUWA8YaByY7cSB9SAXfFSGkE8Ifp9iA14FGQCiIftSl
dcXqej4I2kQrOM4Xc3qUfZUCoOIMj+bPdZ6lYMXOPFFpOLmd0BvLzJdeKJH8ScIv
w/MGnzjtlpu9LLepra8T1JP3a1nMdtt9zXVlkFtA3Wlih2T8K3duOVh0jvXgt5nM
kYAhg6QCpC9cAfs=
=w2f1
-----END PGP SIGNATURE-----