Bug#1044602: haskell-pcap: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 17:56:59 BST 2023


Source: haskell-pcap
Version: 0.4.5.2-15
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at 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 haskell-pcap
> dpkg-buildpackage: info: source version 0.4.5.2-15
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Ilias Tsitsimpis <iliastsi at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> test -x debian/rules
> dh_clean 
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'clean_recipe'
> Running debian/hlibrary.setup clean
> Non-zero exit code 1.
> dist/build: getDirectoryContents:openDirStream: does not exist (No such file or directory)
>  at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 109.
> 	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "clean") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 133
> 	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "clean") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 489
> 	Debian::Debhelper::Buildsystem::Haskell::Recipes::clean_recipe() called at -e line 1
> make: *** [/usr/share/cdbs/1/class/hlibrary.mk:137: clean] Error 25
> dpkg-buildpackage: error: debian/rules clean 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/haskell-pcap_0.4.5.2-15_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.



More information about the Pkg-haskell-maintainers mailing list