这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #1045719
vim: Fails to build source after successful build

version graph

Package: src:vim; Maintainer for src:vim is Debian Vim Maintainers <team+vim@tracker.debian.org>;

Reported by: Lucas Nussbaum <lucas@debian.org>

Date: Sun, 13 Aug 2023 19:58:35 UTC

Severity: minor

Tags: ftbfs, sid, trixie

Found in version vim/2:9.0.1672-1

Fixed in version vim/2:9.0.1894-1

Done: James McCoy <jamessan@debian.org>

Bug is archived. No further changes may be made.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Vim Maintainers <team+vim@tracker.debian.org>:
Bug#1045719; Package src:vim. (Sun, 13 Aug 2023 19:58:37 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Vim Maintainers <team+vim@tracker.debian.org>. (Sun, 13 Aug 2023 19:58:37 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@debian.org>
To: submit@bugs.debian.org
Subject: vim: Fails to build source after successful build
Date: Sun, 13 Aug 2023 21:21:32 +0200
Source: vim
Version: 2:9.0.1672-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@lists.debian.org
Usertags: qa-doublebuild

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:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> ----------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package vim
> dpkg-buildpackage: info: source version 2:9.0.1672-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by James McCoy <jamessan@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> [ ! -f src/auto/config.cache ] || make distclean
> [ ! -f debian/configure.dist ] || mv debian/configure.dist src/auto/configure
> find src/testdir -name '*.pyc' -delete
> for v in vim-tiny vim-gtk3 vim-motif vim-nox vim-basic; do \
>   if [ "${v}" = vim-basic ]; then \
>     [ ! -L src/"${v}"/po ] || /usr/bin/make -C src/"${v}"/po clean; \
>   fi; \
>   rm -rf src/"${v}"; \
> done
> rm -f debian/vim-runtime.postrm debian/vim-runtime.preinst
> rm -f debian/tiny/vimrc.tiny
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building vim using existing ./vim_9.0.1672.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to src/libvterm/.libs/libvterm.so:
> dpkg-source: error:   new version is symlink to libvterm.so.0.0.0
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to src/libvterm/.libs/libvterm.la:
> dpkg-source: error:   new version is symlink to ../libvterm.la
> dpkg-source: error:   old version is nonexistent
> dpkg-source: error: cannot represent change to src/libvterm/.libs/libvterm.so.0:
> dpkg-source: error:   new version is symlink to libvterm.so.0.0.0
> dpkg-source: error:   old version is nonexistent
> dpkg-source: warning: ignoring deletion of file runtime/doc/tags, use --include-removal to override
> dpkg-source: error: cannot represent change to src/libvterm/.libs/libvterm.a: binary file contents changed
> dpkg-source: error: add src/libvterm/.libs/libvterm.a in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/.libs/libvterm.so.0.0.0: binary file contents changed
> dpkg-source: error: add src/libvterm/.libs/libvterm.so.0.0.0 in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'src/libvterm/.libs/libvterm.so.0.0.0' will not be represented in diff
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/encoding.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/encoding.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/keyboard.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/keyboard.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/mouse.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/mouse.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/parser.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/parser.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/pen.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/pen.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/screen.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/screen.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/state.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/state.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/unicode.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/unicode.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/.libs/vterm.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/.libs/vterm.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/encoding.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/encoding.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/keyboard.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/keyboard.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/mouse.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/mouse.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/parser.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/parser.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/pen.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/pen.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/screen.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/screen.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/state.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/state.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/unicode.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/unicode.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/src/vterm.o: binary file contents changed
> dpkg-source: error: add src/libvterm/src/vterm.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/t/.libs/harness.o: binary file contents changed
> dpkg-source: error: add src/libvterm/t/.libs/harness.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src/libvterm/t/harness: binary file contents changed
> dpkg-source: error: add src/libvterm/t/harness in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'src/libvterm/t/harness' will not be represented in diff
> dpkg-source: error: cannot represent change to src/libvterm/t/harness.o: binary file contents changed
> dpkg-source: error: add src/libvterm/t/harness.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/vim_9.0.1672-1_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.



Message sent on to Lucas Nussbaum <lucas@debian.org>:
Bug#1045719. (Mon, 28 Aug 2023 01:42:03 GMT) (full text, mbox, link).


Message #8 received at 1045719-submitter@bugs.debian.org (full text, mbox, reply):

From: James McCoy <noreply@salsa.debian.org>
To: 1045719-submitter@bugs.debian.org
Subject: Bug#1045719 marked as pending in vim
Date: Mon, 28 Aug 2023 01:39:12 +0000
Control: tag -1 pending

Hello,

Bug #1045719 in vim 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/vim-team/vim/-/commit/34f0aee38d553e8c23c07b1acd9d7d896eee63a5

------------------------------------------------------------------------
Fix the check for when to run "make distclean"

Since all the variants build in their own shadow directory, config.cache will only be found in one of the shadow directories.  The basic variant is the only one that can be relied on.

This will properly clean up the build generated files, making the package build cleanly twice in a row.

Closes: #1045719
Signed-off-by: James McCoy <jamessan@debian.org>
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1045719



Added tag(s) pending. Request was from James McCoy <noreply@salsa.debian.org> to 1045719-submitter@bugs.debian.org. (Mon, 28 Aug 2023 01:42:03 GMT) (full text, mbox, link).


Reply sent to James McCoy <jamessan@debian.org>:
You have taken responsibility. (Mon, 11 Sep 2023 15:00:03 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@debian.org>:
Bug acknowledged by developer. (Mon, 11 Sep 2023 15:00:03 GMT) (full text, mbox, link).


Message #15 received at 1045719-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1045719-close@bugs.debian.org
Subject: Bug#1045719: fixed in vim 2:9.0.1894-1
Date: Mon, 11 Sep 2023 14:58:13 +0000
Source: vim
Source-Version: 2:9.0.1894-1
Done: James McCoy <jamessan@debian.org>

We believe that the bug you reported is fixed in the latest version of
vim, 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 1045719@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <jamessan@debian.org> (supplier of updated vim 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 11 Sep 2023 09:22:50 -0400
Source: vim
Architecture: source
Version: 2:9.0.1894-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Vim Maintainers <team+vim@tracker.debian.org>
Changed-By: James McCoy <jamessan@debian.org>
Closes: 1045719 1050637
Changes:
 vim (2:9.0.1894-1) unstable; urgency=medium
 .
   * The "Farewell, Bram" upload
   * Merge upstream patch v9.0.1894
     + Vulnerability fixes
       - 9.0.1664: Divide by zero when scrolling with 'smoothscroll' set,
         CVE-2023-3896
       - 9.0.1840: Use after free in do_ecmd, CVE-2023-4733
       - 9.0.1846: Crash when fullcommand() is called with an invalid argument,
         CVE-2023-4734
       - 9.0.1847: Out of bounds write in do_addsub(), CVE-2023-4735
       - 9.0.1848: Buffer overflow in vim_regsub_both(), CVE-2023-4738
       - 9.0.1857: Heap use after free in is_qf_win(), CVE-2023-4750
       - 9.0.1858: Heap use after free in ins_compl_get_exp(), CVE-2023-4752
       - 9.0.1873: Heap buffer overflow in vim_regsub_both(), CVE-2023-4781
     + 9.0.1682: Use little-endian byte order for sodium encrypted files.  This
       allows re-enabling the crypt tests on big-endian platforms.
     + 9.0.1683: Use Lua 5.1 compatible numeric escapes to fix if_lua tests
       with Lua 5.1.
     + 9.0.1739: Ensure all libvterm files are cleaned during "make clean"
     + Ship an "editorconfig" plugin as an optional package.
   * Adjust copyright years and license text for Bram's passing
   * Fix the check for when to run "make distclean" (Closes: #1045719)
   * Build against Lua 5.1 instead of Lua 5.2 (Closes: #1050637)
   * Re-enable Test_uncrypt_xchacha20 tests on big-endian systems
   * Skip flaky test Test_crash1
Checksums-Sha1:
 e782c5ea24c179dc2fac9a5847877d19bfd6e783 3035 vim_9.0.1894-1.dsc
 105bfc1c0e17ba548ca3d5af3c2afb1ed819fc7b 11314248 vim_9.0.1894.orig.tar.xz
 078e24905038ac22ad49badda16552df17b0c39a 186904 vim_9.0.1894-1.debian.tar.xz
Checksums-Sha256:
 1fa84c9bff32ef9ef7dc4a86c6fbbed15b9a4fbfd07425fdd4ba2b219f8363b1 3035 vim_9.0.1894-1.dsc
 85d93eda736c968afaf5d3b65f909fa65a087392f4c0a761c5e87f64a7c3f543 11314248 vim_9.0.1894.orig.tar.xz
 eb4c05aaf17e09360a972823e79962952094f08eac9e74fa0ed35044b0be6a99 186904 vim_9.0.1894-1.debian.tar.xz
Files:
 5e47284647ab0b2a3707b35f8a3175c9 3035 editors optional vim_9.0.1894-1.dsc
 2981fe481cb07bd0d0695fe1f809e735 11314248 editors optional vim_9.0.1894.orig.tar.xz
 77d4dc75a89adbc9e46c5b5afc05157c 186904 editors optional vim_9.0.1894-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAmT/HhZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIACgkQ3+aRrjMb
o9tVgxAAqB2ItIHkc25nxVHDxIWKtsBE2K0LgEMrClArEFV/+YNs0lQarZcf6CaF
XrxYpSY6TX/F3NKvEWIUt3S6HW4T8tPBYq8QJsZyEUClfVqvD80OTaItyNz4kqBY
PteOJg7PwrIUlan+2cZMLTEHaOOrPHhh042RpMdOtTV1q8ya9EGAOvIL/6HBoaeo
/YlSym+Bh45E3GXecRzg1Af9TYrrZI754nQ4hGL7sCEG8+dymJuv0khOBw8DTR2l
6h3otbyPiPWPN1jONhdkKOirqmet3UQx3Nfn+iixxtnP+XiwMTj70smK8najD+ch
Qyn1fjvHrEah/nSQoqEZ+KYiz99h7lvyrS5oxQejn2j3458UJZa60eoXd4y0lWSn
9fU3s3iYyloquqPQ8IujBpOQO7WOI9wUVhMLBYeUipebAHK+kCvIIYKM7P8KClCE
Einbli0uA+BqiT0YV3vSRUddJoJrvN0mWVHB+SVg4WLISJQ7Hl3nWCuT+tjRIm6q
4gfZ+wzO1vh68uqHby058BPgUb6PR/J8c+2k+Tir0ykW6HNx9TmiI3bvZ/oAR/YP
HMDf8yoLCmzRDBbvOTVpEC5OXnrvv8OVZfG17uVD5fV8qP6BYeOUqu8uJx6g5+dc
EYUHJ+O2EPtPXM9kxAXIYzOkaQqw9hzaqeoqkMfOt9uoL2y839Y=
=mi2H
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 12 Oct 2023 07:25:39 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Nov 19 10:22:20 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.