Your message dated Wed, 22 Jan 2025 08:55:34 +0000
with message-id <[email protected]>
and subject line Bug#1085518: fixed in haskell-xml-conduit-writer 0.1.1.5-1
has caused the Debian Bug report #1085518,
regarding haskell-xml-conduit-writer:FTBFS:build failure (The variable when is 
not in scope)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1085518: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085518
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: haskell-xml-conduit-writer
Version:  0.1.1.4-1
Severity: serious
Tags: FTBFS, patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]

Dear haskell-xml-conduit-writer Maintainer,
The package haskell-xml-conduit-writer build failed on a lot of
architectures.The crucial buildd log below:
```

Preprocessing library for xml-conduit-writer-0.1.1.4..
Building library for xml-conduit-writer-0.1.1.4..
[1 of 1] Compiling Text.XML.Writer  ( src/Text/XML/Writer.hs,
dist-ghc/build/Text/XML/Writer.o, dist-ghc/build/Text/XML/Writer.dyn_o
)

src/Text/XML/Writer.hs:226:5: error: [GHC-88464]
    Variable not in scope:
      when
        :: Bool
           -> XML -> WriterT (DL.DList Node) Data.Functor.Identity.Identity a0
    |
226 |     when (not $ null headerContent) $ do
    |     ^^^^
-e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
 at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 877.
        Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup build
--builddir=dist-ghc returned exit"...) called at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 616
        Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup
build --builddir=dist-ghc") called at
/usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 479
        Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build",
"--builddir=dist-ghc") called at
/usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line
656
        Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe()
called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned
exit status 2

```
The full buildd log is here:
https://buildd.debian.org/status/fetch.php?pkg=haskell-xml-conduit-writer&arch=riscv64&ver=0.1.1.4-1%2Bb4&stamp=1728666470&raw=0

My solution to this issue:
  The error is caused by the variable when not being in scope, so importing
'Control.Monad (when)' can fix the issue.  I have tested this solution
locally,and it works well.The debpatch is in the attachment.Please let me
know weather this solution can be accepted.

Gui-Yue
Best Regards

Attachment: haskell-xml-conduit-writer_fix_build_failure.patch
Description: Binary data


--- End Message ---
--- Begin Message ---
Source: haskell-xml-conduit-writer
Source-Version: 0.1.1.5-1
Done: Picca Frédéric-Emmanuel <[email protected]>

We believe that the bug you reported is fixed in the latest version of
haskell-xml-conduit-writer, which is due to be installed in the Debian FTP 
archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Picca Frédéric-Emmanuel <[email protected]> (supplier of updated 
haskell-xml-conduit-writer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 22 Jan 2025 08:58:37 +0100
Source: haskell-xml-conduit-writer
Architecture: source
Version: 0.1.1.5-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group 
<[email protected]>
Changed-By: Picca Frédéric-Emmanuel <[email protected]>
Closes: 1083259 1085518
Changes:
 haskell-xml-conduit-writer (0.1.1.5-1) unstable; urgency=medium
 .
   [ Ilias Tsitsimpis ]
   * Declare compliance with Debian policy 4.7.0
 .
   [ Picca Frédéric-Emmanuel ]
   * New upstream release
   * Bug fix: "haskell-xml-conduit-writer:FTBFS:build failure (The variable
     when is not in scope)", thanks to Yue Gui (Closes: #1085518).
   * Bug fix: "Removal notice: obsolete", thanks to Ilias Tsitsimpis
     (Closes: #1083259). (I am still using it so rescue it).
Checksums-Sha1:
 8fa37e772b9cb484d8591970f58fd654c0ef93ca 2752 
haskell-xml-conduit-writer_0.1.1.5-1.dsc
 30acaaf204dcfba8e6c1a0f49441a605c966e455 4499 
haskell-xml-conduit-writer_0.1.1.5.orig.tar.gz
 b188eb914d35d0f4a5f69936314180a0edbf9753 2768 
haskell-xml-conduit-writer_0.1.1.5-1.debian.tar.xz
 178f46ea9086ba876ba7fd95b5091a6ac76c9421 12221 
haskell-xml-conduit-writer_0.1.1.5-1_amd64.buildinfo
Checksums-Sha256:
 1c85bd8dbff8055b8eacad548b40260c189682aa9ae8b0761ebb0b30b772e2e1 2752 
haskell-xml-conduit-writer_0.1.1.5-1.dsc
 c10527f535e5d3e1fe89bb42a8ad28afb601045e45363a2caa30db398d2a42d5 4499 
haskell-xml-conduit-writer_0.1.1.5.orig.tar.gz
 f57972f20a0e1e4bf7e56fd966a14f951764aca18e6f1076fabb9abd80f4c364 2768 
haskell-xml-conduit-writer_0.1.1.5-1.debian.tar.xz
 669402efad01e0d7db1fccea8469924e76fb1ca49b1c9c3610aa930850ae6990 12221 
haskell-xml-conduit-writer_0.1.1.5-1_amd64.buildinfo
Files:
 0f826e58a02dc3d268aadc939e33a628 2752 haskell optional 
haskell-xml-conduit-writer_0.1.1.5-1.dsc
 fe325d26361dd8ca6aaf2da5b3616121 4499 haskell optional 
haskell-xml-conduit-writer_0.1.1.5.orig.tar.gz
 f79e3f4ec3902ed9414954b930c13ed2 2768 haskell optional 
haskell-xml-conduit-writer_0.1.1.5-1.debian.tar.xz
 e4429887857ad2de8c7a5b6786f32853 12221 haskell optional 
haskell-xml-conduit-writer_0.1.1.5-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE2bRTt5m4gw2UXmoKW/VOXhK5ALsFAmeQp4wRHHBpY2NhQGRl
Ymlhbi5vcmcACgkQW/VOXhK5ALvOnQ/+IxUmmlO0jbEIP9dJ1yhqKOOUCsAtkLU7
7ICNQ/qtd3GsvlcR+ZbM//cit3Bny0lbBdh89pld2UbfGGp9Dg+H3tD9gm8icYbu
uA9UythXmS0xqsQ/VYQIZjFx9nC5mTqRnEE4yuNMqfU0ChgnfhOelN2gXlpTUnpo
bvm1fZmxmp4isQLah047FWcCuFDoW5IixgHTxpZFOh6VpKEZbkZZ6Pzt9Jr55U0a
aHzeGHr3S0pUvdTnJ200GH0CeE7N36IvdajMx57NV/IP5WUwl74VY4cTyeILv1AW
+6NlIqG5ZN+xwsRPwUZg0O3LjM/GTID+C7Tg7Q2tubB3loio8t0WI9F5rlZg/Upj
4zfuncg9P19UkDBfyXIhrZ8vTCz+fU337SKeQQbMwIM9NowWmaJOhIY0dHyJDG0B
4bn7xcfDwL2fUzOL+9s+Pgl+siG/QUynBP+/AgBBbMaWuS4zfEwVRnWTXY/nctEe
932j8nHETsGCzWHlEF4OeYX5OOPbxNNj91AlMOgYN2cwp6NWhHHviMqwIOUjqi1B
M8M2P8rLhw4G0sf8XtJk0YAVBsXc1pLClGjgNsFnq/jjsNZggantaS3KhMce8ywO
hV7pdqUF19IKzpFHQ8cZi2hopM27Kkj0LT+j+r6UE91whEF5YkJq2HOwRwksxv1t
LXFOHcWwAI0=
=v0vD
-----END PGP SIGNATURE-----

Attachment: pgpGu_319gI_F.pgp
Description: PGP signature


--- End Message ---

Reply via email to