Source: ranger
Version: 1.9.3-5
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian...@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 ranger
> dpkg-buildpackage: info: source version 1.9.3-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Mo Zhou <lu...@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean -Smakefile --with python3
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_clean
>       make -j8 clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> /bin/sh: 1: python: not found
> find ranger -regex .\*\.py[co]\$ -delete
> find ranger -depth -name __pycache__ -type d -exec rm -r -- {} \;
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -rf build_scripts
> rm -rf .pytest_cache
> rm -rf .pc
> rm -f install_log.txt
> find tests -regex ".*\.py[co]" -delete
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean -O-Smakefile
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: verifying ./ranger_1.9.3.orig.tar.gz.asc
> gpgv: Signature made Tue Dec 31 15:45:50 2019 UTC
> gpgv:                using EDDSA key 357AC7FED456B78FF03C0A91F8345CA51F2ADDC1
> gpgv: Can't check signature: No public key
> dpkg-source: warning: cannot verify upstream tarball signature for 
> ./ranger_1.9.3.orig.tar.gz: no acceptable signature found
> dpkg-source: info: building ranger using existing ./ranger_1.9.3.orig.tar.gz
> dpkg-source: info: building ranger using existing 
> ./ranger_1.9.3.orig.tar.gz.asc
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: executable mode 0755 of 
> 'build/lib/ranger/data/scope.sh' will not be represented in diff
> dpkg-source: warning: newly created empty file 
> 'build/lib/ranger/gui/__init__.py' will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'build/scripts-3.11/ranger' 
> will not be represented in diff
> dpkg-source: warning: executable mode 0755 of 'build/scripts-3.11/rifle' will 
> not be represented in diff
> dpkg-source: warning: file ranger-1.9.3/ranger_fm.egg-info/SOURCES.txt has no 
> final newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
>  ranger-1.9.3/build/lib/ranger/__init__.py
>  ranger-1.9.3/build/lib/ranger/api/__init__.py
>  ranger-1.9.3/build/lib/ranger/api/commands.py
>  ranger-1.9.3/build/lib/ranger/colorschemes/__init__.py
>  ranger-1.9.3/build/lib/ranger/colorschemes/default.py
>  ranger-1.9.3/build/lib/ranger/colorschemes/jungle.py
>  ranger-1.9.3/build/lib/ranger/colorschemes/snow.py
>  ranger-1.9.3/build/lib/ranger/colorschemes/solarized.py
>  ranger-1.9.3/build/lib/ranger/config/__init__.py
>  ranger-1.9.3/build/lib/ranger/config/commands.py
>  ranger-1.9.3/build/lib/ranger/config/commands_sample.py
>  ranger-1.9.3/build/lib/ranger/config/rc.conf
>  ranger-1.9.3/build/lib/ranger/config/rifle.conf
>  ranger-1.9.3/build/lib/ranger/container/__init__.py
>  ranger-1.9.3/build/lib/ranger/container/bookmarks.py
>  ranger-1.9.3/build/lib/ranger/container/directory.py
>  ranger-1.9.3/build/lib/ranger/container/file.py
>  ranger-1.9.3/build/lib/ranger/container/fsobject.py
>  ranger-1.9.3/build/lib/ranger/container/history.py
>  ranger-1.9.3/build/lib/ranger/container/settings.py
>  ranger-1.9.3/build/lib/ranger/container/tags.py
>  ranger-1.9.3/build/lib/ranger/core/__init__.py
>  ranger-1.9.3/build/lib/ranger/core/actions.py
>  ranger-1.9.3/build/lib/ranger/core/filter_stack.py
>  ranger-1.9.3/build/lib/ranger/core/fm.py
>  ranger-1.9.3/build/lib/ranger/core/linemode.py
>  ranger-1.9.3/build/lib/ranger/core/loader.py
>  ranger-1.9.3/build/lib/ranger/core/main.py
>  ranger-1.9.3/build/lib/ranger/core/metadata.py
>  ranger-1.9.3/build/lib/ranger/core/runner.py
>  ranger-1.9.3/build/lib/ranger/core/shared.py
>  ranger-1.9.3/build/lib/ranger/core/tab.py
>  ranger-1.9.3/build/lib/ranger/data/mime.types
>  ranger-1.9.3/build/lib/ranger/data/scope.sh
>  ranger-1.9.3/build/lib/ranger/ext/__init__.py
>  ranger-1.9.3/build/lib/ranger/ext/accumulator.py
>  ranger-1.9.3/build/lib/ranger/ext/cached_function.py
>  ranger-1.9.3/build/lib/ranger/ext/curses_interrupt_handler.py
>  ranger-1.9.3/build/lib/ranger/ext/direction.py
>  ranger-1.9.3/build/lib/ranger/ext/get_executables.py
>  ranger-1.9.3/build/lib/ranger/ext/hash.py
>  ranger-1.9.3/build/lib/ranger/ext/human_readable.py
>  ranger-1.9.3/build/lib/ranger/ext/img_display.py
>  ranger-1.9.3/build/lib/ranger/ext/iter_tools.py
>  ranger-1.9.3/build/lib/ranger/ext/keybinding_parser.py
>  ranger-1.9.3/build/lib/ranger/ext/lazy_property.py
>  ranger-1.9.3/build/lib/ranger/ext/logutils.py
>  ranger-1.9.3/build/lib/ranger/ext/mount_path.py
>  ranger-1.9.3/build/lib/ranger/ext/next_available_filename.py
>  ranger-1.9.3/build/lib/ranger/ext/openstruct.py
>  ranger-1.9.3/build/lib/ranger/ext/popen_forked.py
>  ranger-1.9.3/build/lib/ranger/ext/relative_symlink.py
>  ranger-1.9.3/build/lib/ranger/ext/rifle.py
>  ranger-1.9.3/build/lib/ranger/ext/safe_path.py
>  ranger-1.9.3/build/lib/ranger/ext/shell_escape.py
>  ranger-1.9.3/build/lib/ranger/ext/shutil_generatorized.py
>  ranger-1.9.3/build/lib/ranger/ext/signals.py
>  ranger-1.9.3/build/lib/ranger/ext/spawn.py
>  ranger-1.9.3/build/lib/ranger/ext/vcs/__init__.py
>  ranger-1.9.3/build/lib/ranger/ext/vcs/bzr.py
>  ranger-1.9.3/build/lib/ranger/ext/vcs/git.py
>  ranger-1.9.3/build/lib/ranger/ext/vcs/hg.py
>  ranger-1.9.3/build/lib/ranger/ext/vcs/svn.py
>  ranger-1.9.3/build/lib/ranger/ext/vcs/vcs.py
>  ranger-1.9.3/build/lib/ranger/ext/widestring.py
>  ranger-1.9.3/build/lib/ranger/gui/ansi.py
>  ranger-1.9.3/build/lib/ranger/gui/bar.py
>  ranger-1.9.3/build/lib/ranger/gui/color.py
>  ranger-1.9.3/build/lib/ranger/gui/colorscheme.py
>  ranger-1.9.3/build/lib/ranger/gui/context.py
>  ranger-1.9.3/build/lib/ranger/gui/curses_shortcuts.py
>  ranger-1.9.3/build/lib/ranger/gui/displayable.py
>  ranger-1.9.3/build/lib/ranger/gui/mouse_event.py
>  ranger-1.9.3/build/lib/ranger/gui/ui.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/__init__.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/browsercolumn.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/console.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/pager.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/statusbar.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/taskview.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/titlebar.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/view_base.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/view_miller.py
>  ranger-1.9.3/build/lib/ranger/gui/widgets/view_multipane.py
>  ranger-1.9.3/build/scripts-3.11/ranger
>  ranger-1.9.3/build/scripts-3.11/rifle
>  ranger-1.9.3/ranger_fm.egg-info/PKG-INFO
>  ranger-1.9.3/ranger_fm.egg-info/SOURCES.txt
>  ranger-1.9.3/ranger_fm.egg-info/dependency_links.txt
>  ranger-1.9.3/ranger_fm.egg-info/top_level.txt
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/ranger_1.9.3-5.diff.0wnKgr
> dpkg-source: info: Hint: make sure the version in debian/changelog matches 
> the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source 
> --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> 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/ranger_1.9.3-5_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.

Reply via email to