Bug#1044230: haskell-gi-glib: Fails to build source after successful build

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


Source: haskell-gi-glib
Version: 2.0.27-1
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-gi-glib
> dpkg-buildpackage: info: source version 2.0.27-1
> 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
> cleaning...
> Running rm -rf dist dist-ghc dist-ghcjs dist-hugs
> Running rm -f debian/hlibrary.setup
> Running rm -f Setup.hi Setup.ho Setup.o
> Running rm -f
> rm -f configure-ghc-stamp
> rm -f build-ghc-stamp build-hugs-stamp build-haddock-stamp
> rm -f check-ghc-stamp
> rm -f debian/tmp
> rm -rf debian/tmp-inst-ghc debian/tmp-inst-ghcjs
> rm -rf debian/tmp-db
> rm -f debian/hlibrary.Makefile
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building haskell-gi-glib using existing ./haskell-gi-glib_2.0.27.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: info: local changes detected, the modified files are:
>  haskell-gi-glib-2.0.27/GI/GLib.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Callbacks.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Config.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Constants.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Enums.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Enums.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Flags.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Flags.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Functions.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/AsyncQueue.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/AsyncQueue.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/BookmarkFile.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/BookmarkFile.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/ByteArray.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/ByteArray.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Bytes.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Bytes.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Checksum.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Checksum.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Cond.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Cond.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Data.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Data.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Date.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Date.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/DateTime.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/DateTime.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/DebugKey.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/DebugKey.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Dir.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Dir.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/HashTableIter.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/HashTableIter.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Hmac.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Hmac.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Hook.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Hook.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/HookList.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/HookList.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/IOChannel.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/IOChannel.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/IOFuncs.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/IOFuncs.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/KeyFile.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/KeyFile.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/LogField.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/LogField.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MainContext.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MainContext.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MainLoop.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MainLoop.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MappedFile.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MappedFile.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MarkupParseContext.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MarkupParseContext.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MarkupParser.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MarkupParser.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MatchInfo.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MatchInfo.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MemVTable.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/MemVTable.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Node.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Node.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Once.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Once.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/OptionContext.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/OptionContext.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/OptionEntry.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/OptionEntry.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/OptionGroup.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/OptionGroup.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/PathBuf.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/PathBuf.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/PatternSpec.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/PatternSpec.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/PollFD.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/PollFD.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/PtrArray.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/PtrArray.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Queue.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Queue.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/RWLock.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/RWLock.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Rand.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Rand.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/RecMutex.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/RecMutex.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Regex.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Regex.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Scanner.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Scanner.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/ScannerConfig.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/ScannerConfig.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Sequence.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Sequence.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/SequenceIter.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/SequenceIter.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Source.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Source.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/SourceCallbackFuncs.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/SourceCallbackFuncs.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/SourceFuncs.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/SourceFuncs.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/StatBuf.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/StatBuf.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/String.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/String.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/StringChunk.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/StringChunk.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/StrvBuilder.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/StrvBuilder.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestCase.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestCase.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestConfig.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestConfig.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestLogBuffer.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestLogBuffer.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestLogMsg.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestLogMsg.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestSuite.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TestSuite.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Thread.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Thread.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/ThreadPool.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/ThreadPool.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TimeVal.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TimeVal.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TimeZone.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TimeZone.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Timer.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Timer.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TrashStack.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TrashStack.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Tree.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Tree.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TreeNode.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/TreeNode.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Uri.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/Uri.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/UriParamsIter.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/UriParamsIter.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/VariantBuilder.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/VariantBuilder.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/VariantDict.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/VariantDict.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/VariantType.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Structs/VariantType.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Unions.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Unions/DoubleIEEE754.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Unions/DoubleIEEE754.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Unions/FloatIEEE754.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Unions/FloatIEEE754.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Unions/Mutex.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Unions/Mutex.hs-boot
>  haskell-gi-glib-2.0.27/GI/GLib/Unions/TokenValue.hs
>  haskell-gi-glib-2.0.27/GI/GLib/Unions/TokenValue.hs-boot
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/haskell-gi-glib_2.0.27-1.diff.7ejYGa
> 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/haskell-gi-glib_2.0.27-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.



More information about the Pkg-haskell-maintainers mailing list