Bug#1044818: haskell-gi-gdk: Fails to build source after successful build

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


Source: haskell-gi-gdk
Version: 3.0.26-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-gdk
> dpkg-buildpackage: info: source version 3.0.26-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-gdk using existing ./haskell-gi-gdk_3.0.26.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-gdk-3.0.26/GI/Gdk.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Callbacks.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Config.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Constants.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Enums.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Enums.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Flags.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Flags.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Functions.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Interfaces.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Interfaces/DevicePad.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Interfaces/DevicePad.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/AppLaunchContext.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/AppLaunchContext.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Cursor.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Cursor.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Device.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Device.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DeviceManager.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DeviceManager.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DeviceTool.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DeviceTool.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Display.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Display.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DisplayManager.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DisplayManager.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DragContext.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DragContext.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DrawingContext.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/DrawingContext.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/FrameClock.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/FrameClock.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/GLContext.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/GLContext.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Keymap.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Keymap.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Monitor.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Monitor.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Screen.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Screen.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Seat.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Seat.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Visual.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Visual.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Window.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Objects/Window.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Atom.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Atom.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Color.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Color.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventAny.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventAny.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventButton.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventButton.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventConfigure.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventConfigure.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventCrossing.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventCrossing.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventDND.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventDND.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventExpose.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventExpose.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventFocus.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventFocus.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventGrabBroken.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventGrabBroken.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventKey.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventKey.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventMotion.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventMotion.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventOwnerChange.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventOwnerChange.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventPadAxis.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventPadAxis.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventPadButton.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventPadButton.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventPadGroupMode.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventPadGroupMode.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventProperty.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventProperty.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventProximity.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventProximity.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventScroll.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventScroll.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventSelection.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventSelection.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventSequence.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventSequence.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventSetting.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventSetting.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventTouch.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventTouch.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventTouchpadPinch.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventTouchpadPinch.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventTouchpadSwipe.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventTouchpadSwipe.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventVisibility.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventVisibility.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventWindowState.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/EventWindowState.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/FrameTimings.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/FrameTimings.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Geometry.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Geometry.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/KeymapKey.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/KeymapKey.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Point.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Point.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/RGBA.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/RGBA.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Rectangle.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/Rectangle.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/TimeCoord.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/TimeCoord.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/WindowAttr.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/WindowAttr.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/WindowRedirect.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Structs/WindowRedirect.hs-boot
>  haskell-gi-gdk-3.0.26/GI/Gdk/Unions.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Unions/Event.hs
>  haskell-gi-gdk-3.0.26/GI/Gdk/Unions/Event.hs-boot
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/haskell-gi-gdk_3.0.26-1.diff.0BwRZp
> 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-gdk_3.0.26-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