Bug#1044403: epoptes: Fails to build source after successful build

2024-01-17 Thread Vagrant Cascadian
Control: tags 1044403 pending

On 2023-08-13, Lucas Nussbaum wrote:
> This package fails to build a source package after a successful build
> (dpkg-buildpackage ; dpkg-buildpackage -S).
...
> More information about this class of issues, included common problems and
> solutions, is available at
> https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild
...
>>  dpkg-source -b .
>> dpkg-source: info: using source format '3.0 (quilt)'
>> dpkg-source: info: building epoptes using existing 
>> ./epoptes_23.01.orig.tar.gz
>> dpkg-source: warning: file epoptes-23.01/epoptes.egg-info/SOURCES.txt has no 
>> final newline (either original or modified version)
>> dpkg-source: info: local changes detected, the modified files are:
>>  epoptes-23.01/epoptes.egg-info/PKG-INFO
>>  epoptes-23.01/epoptes.egg-info/SOURCES.txt
>>  epoptes-23.01/epoptes.egg-info/dependency_links.txt
>>  epoptes-23.01/epoptes.egg-info/top_level.txt
>>  epoptes-23.01/po/epoptes.pot
>> dpkg-source: error: aborting due to unexpected upstream changes, see 
>> /tmp/epoptes_23.01-1.diff.KKkbyp
>> 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 /<> && runuser -u user42 -- dpkg-buildpackage 
>> --sanitize-env -us -uc -rfakeroot -S' failed to run.

Pushed a fix to git:

  
https://github.com/epoptes/epoptes/commit/57e25218637dd9d2264fd876c50dacdd10778e51

live well,
  vagrant


signature.asc
Description: PGP signature


Bug#1044403: epoptes: Fails to build source after successful build

2023-08-13 Thread Lucas Nussbaum
Source: epoptes
Version: 23.01-1
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 /<> && runuser -u user42 -- dpkg-buildpackage --sanitize-env 
> -us -uc -rfakeroot -S
> -
> 
> dpkg-buildpackage: info: source package epoptes
> dpkg-buildpackage: info: source version 23.01-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Vagrant Cascadian 
> 
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean --with python3 --buildsystem=pybuild
>dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:275: python3 setup.py clean 
> /usr/lib/python3/dist-packages/setuptools/dist.py:509: InformationOnly: 
> Normalizing '23.01-1' to '23.1.post1'
>   self.metadata.version = self._normalize_version(
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.11' does not exist -- can't clean it
> twisted.plugins.epoptesd
> WARNING: the following files are not recognized by DistUtilsExtra.auto:
>   data/epoptes.desktop.in
>   po/README.md
>   po/epoptes.pot
>   twisted/plugins/epoptesd.py
>dh_autoreconf_clean -O--buildsystem=pybuild
>dh_clean -O--buildsystem=pybuild
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building epoptes using existing ./epoptes_23.01.orig.tar.gz
> dpkg-source: warning: file epoptes-23.01/epoptes.egg-info/SOURCES.txt has no 
> final newline (either original or modified version)
> dpkg-source: info: local changes detected, the modified files are:
>  epoptes-23.01/epoptes.egg-info/PKG-INFO
>  epoptes-23.01/epoptes.egg-info/SOURCES.txt
>  epoptes-23.01/epoptes.egg-info/dependency_links.txt
>  epoptes-23.01/epoptes.egg-info/top_level.txt
>  epoptes-23.01/po/epoptes.pot
> dpkg-source: error: aborting due to unexpected upstream changes, see 
> /tmp/epoptes_23.01-1.diff.KKkbyp
> 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 /<> && 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/epoptes_23.01-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.