[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1049207: midisnoop: Fails to build source after successful build



Source: midisnoop
Version: 0.1.2+git20141108.bc30f600187e-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 midisnoop
> dpkg-buildpackage: info: source version 0.1.2+git20141108.bc30f600187e-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
>  dpkg-source --before-build .
>  fakeroot debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /<<PKGBUILDDIR>>/src/src.pro MAJOR_VERSION=0 MINOR_VERSION=1 REVISION=3 BUILDDIR=/<<PKGBUILDDIR>>/x86_64-linux-gnu MAKEDIR=/<<PKGBUILDDIR>>/make PREFIX=/usr DATAROOTDIR=/usr/share EXECPREFIX=/usr BINDIR=/usr/bin DATADIR=/usr/share ) && make -f Makefile distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
> rm -f ../make/qrc_resources.cpp
> rm -f ../make/moc_predefs.h
> rm -f ../make/moc_aboutview.cpp ../make/moc_application.cpp ../make/moc_closeeventfilter.cpp ../make/moc_configureview.cpp ../make/moc_controller.cpp ../make/moc_designerview.cpp ../make/moc_dialogview.cpp ../make/moc_engine.cpp ../make/moc_errorview.cpp ../make/moc_mainview.cpp ../make/moc_messagetabledelegate.cpp ../make/moc_messageview.cpp ../make/moc_view.cpp
> rm -f ../make/aboutview.o ../make/application.o ../make/closeeventfilter.o ../make/configureview.o ../make/controller.o ../make/designerview.o ../make/dialogview.o ../make/engine.o ../make/error.o ../make/errorview.o ../make/main.o ../make/mainview.o ../make/messagetabledelegate.o ../make/messageview.o ../make/util.o ../make/view.o ../make/qrc_resources.o ../make/moc_aboutview.o ../make/moc_application.o ../make/moc_closeeventfilter.o ../make/moc_configureview.o ../make/moc_controller.o ../make/moc_designerview.o ../make/moc_dialogview.o ../make/moc_engine.o ../make/moc_errorview.o ../make/moc_mainview.o ../make/moc_messagetabledelegate.o ../make/moc_messageview.o ../make/moc_view.o
> rm -f *~ core *.core
> rm -f ../x86_64-linux-gnu/bin/midisnoop 
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> rm -f Makefile
> rm -f .qmake.stash
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building midisnoop using existing ./midisnoop_0.1.2+git20141108.bc30f600187e.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: error: cannot represent change to install/__pycache__/__init__.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add install/__pycache__/__init__.cpython-311.pyc in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to install/__pycache__/util.cpython-311.pyc: binary file contents changed
> dpkg-source: error: add install/__pycache__/util.cpython-311.pyc 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/midisnoop_0.1.2+git20141108.bc30f600187e-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.


Reply to: