Your message dated Sat, 05 Aug 2023 14:43:14 +0000
with message-id <[email protected]>
and subject line Bug#969958: fixed in haskell-haskell-gi-base 0.26.4-2
has caused the Debian Bug report #969958,
regarding haskell-haskell-gi-base: please make the build reproducible 
(non-deterministic enumeration values)
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.)


-- 
969958: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969958
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: haskell-haskell-gi-base
Version: 0.23.0-1
Severity: wishlist
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0] I noticed that
haskell-haskell-gi-base could not be built reproducibly.

I believe this occurs because the value of gtypeError in
Data/GI/Base/GType.hsc appears to be non-deterministic.

It is actually easier to see in the generated documentation, but it is
reflected in the code/binaries itself, and then in the varying
interface hashes and even the varying "Provides" of the binary package
itself:

│ │ │ │ -Provides: libghc-haskell-gi-base-dev-0.24.2-9bec6
│ │ │ │ +Provides: libghc-haskell-gi-base-dev-0.24.2-19256

Again, this is just a downstream effect of the root cause; simply fixing
or removing this is fixing the wrong thing.

This may even be demonstrating a larger problem in the package as you
might not be able to link (??) against the package as it will always
have a different interface hash. Alas, I'm not a GHC person.

Poking around, the following comment in GType.hsc appears to be highly
relevant:

   32 {-| [Note: compile-time vs run-time GTypes]
   33
   34 Notice that there are two types of GType's: the fundamental ones,
   35 which are created with G_TYPE_MAKE_FUNDAMENTAL(n) and always have the
   36 same runtime representation, and the ones that are registered in the
   37 GObject type system at runtime, and whose `CGType` may change for each
   38 program run (and generally does).
   39
   40 For the first type it is safe to use hsc to read the numerical values
   41 of the CGType at compile type, but for the second type it is essential
   42 to call the corresponding _get_type() function at runtime, and not use
   43 the value of the corresponding "constant" at compile time via hsc.
   44 -}

Hopefully this should be straightforward for something steeped in GLib lore
to understand and fix.

 [0] https://reproducible-builds.org/


Regards,

--
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-

--- End Message ---
--- Begin Message ---
Source: haskell-haskell-gi-base
Source-Version: 0.26.4-2
Done: Scott Talbert <[email protected]>

We believe that the bug you reported is fixed in the latest version of
haskell-haskell-gi-base, 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.
Scott Talbert <[email protected]> (supplier of updated haskell-haskell-gi-base 
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: Sat, 05 Aug 2023 09:45:58 -0400
Source: haskell-haskell-gi-base
Architecture: source
Version: 0.26.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Haskell Group 
<[email protected]>
Changed-By: Scott Talbert <[email protected]>
Closes: 969958
Changes:
 haskell-haskell-gi-base (0.26.4-2) unstable; urgency=medium
 .
   * Team upload.
   * Correct definition of gTypeError / fix reproducibility (Closes: #969958)
Checksums-Sha1:
 71297b6bf587963265a804675b20d1ba5643ff3a 2466 
haskell-haskell-gi-base_0.26.4-2.dsc
 69c37ef4606f6b72945ba71acd7b2fb3a04d5461 2372 
haskell-haskell-gi-base_0.26.4-2.debian.tar.xz
 cf585a145014383b48783edbd0cd26d590528257 9796 
haskell-haskell-gi-base_0.26.4-2_amd64.buildinfo
Checksums-Sha256:
 f3249a8f305b50c7b5d257cc429f45a5a0f57004328178f053a5abf002eb002d 2466 
haskell-haskell-gi-base_0.26.4-2.dsc
 7e2145d4c0adaeb2bb96bba1fc2376e836c57198413bcc599e76781f7759a99e 2372 
haskell-haskell-gi-base_0.26.4-2.debian.tar.xz
 dbb23f15237dd7e3fa2dc9bc5e2a577bb02826555a00551013e5f7f8f54a5aad 9796 
haskell-haskell-gi-base_0.26.4-2_amd64.buildinfo
Files:
 2943b7049afe9f7dc61ae4e7e411ea06 2466 haskell optional 
haskell-haskell-gi-base_0.26.4-2.dsc
 f58fb85be1ffdad6da4ab3bfff2d17a3 2372 haskell optional 
haskell-haskell-gi-base_0.26.4-2.debian.tar.xz
 244b0877f0daca499b8232fb0ea38a92 9796 haskell optional 
haskell-haskell-gi-base_0.26.4-2_amd64.buildinfo

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

iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmTOVZoPHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3iiKZgP/07lJCmMo25GkjXGVmx4B6c37BowBeF0B65U
bcQk8WGQ+66Oupi51Jby3KOm5Yu9M5TQmbDEhYElhzo9Lumiu5GZ1TH196LUfP5o
EUCoTYfCQayL03atUa5Xcdp1Ukd6uXQfQWJ0HMdaB1Y7KFEMkvFq53BXi9CbdEJn
jMkwR5vPcK70ubs7E7qVlqyTLwpPPyRxh2tkLrR6XNVFd2sq1mWc37uBzcEBQ9vR
bwAWYUnp8XDiENkUt2dJ4K9gjRNeRvt3upO0kV5luCJE3k648CcuCex92MRSXOB6
Fp7m5KZ+XrjaWWpDOv1i4pTEIzNW30Gwojq+gPTVfiAi67OOxTil/WMKrebaTvo9
KWOHUVnWZ6Fvl63SaUlszmwg9xHyMGR+8qPLTHfNwZgWgwE44QVRTgxhtMKMjUVO
1an/ioh7YBspp/eMPuNOtkhtPKD8pzor71OnNcjZPoLDon+Hqz+6DtCol7Erj71M
BUxT9GyBuyvtuvJJYfZbmtrIOo6XtlFfmXA/qEvshIEmmWKTU3a4+VgxiXO06DIO
T5aD82uk5MR1C9Box5boo2XRpjcz4gBuXDgFlhIlGSVCysiUBWSvRLFuiScGS0HA
TW+XHvlQpoVPFWKE28ft+b4MDZBdpDR7/2NYm5jKGTi3/CEloNVryrnE4bEAS3Xa
sTMjvM7/
=SRDx
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-haskell-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-haskell-maintainers

Reply via email to