Your message dated Thu, 18 Oct 2018 21:50:10 +0000
with message-id <[email protected]>
and subject line Bug#908334: fixed in glib2.0 2.58.1-3
has caused the Debian Bug report #908334,
regarding glib2.0 FTCBFS: fatal error: testmarshal.h: No such file or directory
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.)


-- 
908334: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908334
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: glib2.0
Version: 2.58.0-1
Severity: important
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

Since version 2.58.0-1, glib2.0 fails to cross build from source,
because it fails to find testmarshal.h in tests/gobject. The rules for
generating it are conditional to !CROSS_COMPILING, because they run
glib-genmarshall. That's a good reason, but it causes the build of the
accumulator executable to fail. I guess cross compilation should either
skip that executable or it should use the build system's
glib-genmarshal. In the interest of reproducible builds, my patch opts
for the latter. When applying it, you must also add "libglib2.0-dev-bin
<cross>" to Build-Depends.

An alternative solution could be not building libglib2.0-tests during
cross compilation. That package contains the accumulator binary, so
skipping it avoids the problem. I don't see an easy way to skip building
installed tests though.

Another alternative to the self-dependency could be a native build pass
for generating glib-genmarshal. Other packages such as icu use that
approach already.

Please let me know if you have a strong opinion on the approach.

Severity set to important, because this bug regresses architecture
bootstrap.

Helmut
--- glib2.0-2.58.0.orig/tests/gobject/Makefile.am
+++ glib2.0-2.58.0/tests/gobject/Makefile.am
@@ -51,19 +51,23 @@
 installed_test_programs += timeloop-closure
 endif
 
-# The marshal test requires running a binary, which means we cannot
-# build it when cross-compiling
-if !CROSS_COMPILING
+# The marshal test requires running a binary, use the native system copy for
+# cross compilation.
+if CROSS_COMPILING
+glib_genmarshal=glib-genmarshal
+else
 glib_genmarshal=$(top_builddir)/gobject/glib-genmarshal
+glib_genmarshal_dep=$(glib_genmarshal)
+endif
 
 testmarshal.h: stamp-testmarshal.h
 	@true
-stamp-testmarshal.h: testmarshal.list $(glib_genmarshal)
+stamp-testmarshal.h: testmarshal.list $(glib_genmarshal_dep)
 	$(AM_V_GEN) $(glib_genmarshal) --prefix=test_marshal $(srcdir)/testmarshal.list --header >> xgen-gmh \
 	&& (cmp -s xgen-gmh testmarshal.h 2>/dev/null || cp xgen-gmh testmarshal.h) \
 	&& rm -f xgen-gmh xgen-gmh~ \
 	&& echo timestamp > $@
-testmarshal.c: testmarshal.h testmarshal.list $(glib_genmarshal)
+testmarshal.c: testmarshal.h testmarshal.list $(glib_genmarshal_dep)
 	$(AM_V_GEN) (echo "#include \"testmarshal.h\""; $(glib_genmarshal) --prefix=test_marshal $(srcdir)/testmarshal.list --body) >> xgen-gmc \
 	&& cp xgen-gmc testmarshal.c \
 	&& rm -f xgen-gmc xgen-gmc~
@@ -71,4 +75,3 @@
 BUILT_SOURCES += testmarshal.h testmarshal.c
 CLEANFILES += stamp-testmarshal.h testmarshal.h testmarshal.c
 EXTRA_DIST += testcommon.h testmarshal.list
-endif # !CROSS_COMPILING
\ No newline at end of file

--- End Message ---
--- Begin Message ---
Source: glib2.0
Source-Version: 2.58.1-3

We believe that the bug you reported is fixed in the latest version of
glib2.0, 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.
Simon McVittie <[email protected]> (supplier of updated glib2.0 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: SHA256

Format: 1.8
Date: Thu, 18 Oct 2018 18:32:21 +0100
Source: glib2.0
Binary: libglib2.0-0 libglib2.0-tests libglib2.0-udeb libglib2.0-bin 
libglib2.0-dev libglib2.0-dev-bin libglib2.0-data libglib2.0-doc libgio-fam
Architecture: source
Version: 2.58.1-3
Distribution: experimental
Urgency: medium
Maintainer: Debian GNOME Maintainers 
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Description:
 libgio-fam - GLib Input, Output and Streaming Library (fam module)
 libglib2.0-0 - GLib library of C routines
 libglib2.0-bin - Programs for the GLib library
 libglib2.0-data - Common files for GLib library
 libglib2.0-dev - Development files for the GLib library
 libglib2.0-dev-bin - Development utilities for the GLib library
 libglib2.0-doc - Documentation files for the GLib library
 libglib2.0-tests - GLib library of C routines - installed tests
 libglib2.0-udeb - GLib library of C routines - minimal runtime (udeb)
Closes: 775854 908334
Changes:
 glib2.0 (2.58.1-3) experimental; urgency=medium
 .
   * Team upload
   * Upload to experimental to check that everything is OK with the
     switch to Meson
   * Switch build system to Meson as recommended by upstream
     - Stop removing .la files: Meson doesn't build those
     - d/p/debian/61_glib-compile-binaries-path.patch: Change the same
       path if we build with Meson
     - d/patches: Apply patches proposed for backport from master to
       glib-2-58 in upstream MR 392. These fix various build issues,
       mostly around Meson. Some of these patch Windows-specific code,
       but they are likely to be in 2.58.2 and upstream asked for wider
       testing, so I'm applying them anyway, to test the complete set.
     - d/p/Spelling-*.patch:
       MR 392 also applies patches from upstream git master to fix various
       spelling mistakes detected by Lintian
   * Always generate testmarshal.h, even when cross-compiling
     (Closes: #908334)
   * Fix static linking and make sure it won't regress, prompted by
     comparing the Autotools and Meson builds:
     - Add missing -dev dependencies on libffi-dev, libmount-dev,
       libselinux1-dev
     - d/p/Autotools-Move-libmount-from-Libs.private-to-Requires.pri.patch:
       Add patch from upstream git master to fix static linking with libgio
     - d/tests/build: Exercise all libraries
     - d/tests/build-static: Exercise static linking
   * d/rules: Fix some permissions (equivalent of #1539 upstream)
   * Add Lintian override for a spelling-error-in-binary false positive
   * Add some Lintian overrides for hardening-no-fortify-functions.
     These objects mostly don't use libc directly.
   * Remove /usr/bin/gio-launch-desktop symlink.
     It's an implementation detail of libgio, and isn't intended to be
     run directly. Removing it from PATH silences a Lintian warning about
     it not having a man page.
   * Don't delete compiled GSettings schemas during purge if the dpkg
     reference count is greater than 1. This avoids deleting and regenerating
     it unnecessarily if another architecture's libglib2.0-0 is still
     installed. (Closes: #775854)
   * d/tests/installed-tests: Replace deprecated $ADTTMP with $AUTOPKGTEST_TMP
   * d/tests/control: Mark build tests as superficial (see #904979)
Checksums-Sha1:
 421e7a457344a624b9b2ff0c1a07143e928b3431 3280 glib2.0_2.58.1-3.dsc
 f4f6cfc062e823bcadc16e27044429dab78480d4 116036 glib2.0_2.58.1-3.debian.tar.xz
 646f3821ecfe66e9b1bff7d26938b8f4fb139670 8295 glib2.0_2.58.1-3_source.buildinfo
Checksums-Sha256:
 28d9537e96a9b84125c1d0b28b227a1cb60fad2357534dcdcd01b899b78f8498 3280 
glib2.0_2.58.1-3.dsc
 1acfa5c34d41458f13f92190daa2da636b70bac9509a7a4bd790adb9e28faebe 116036 
glib2.0_2.58.1-3.debian.tar.xz
 8becd06b8295d1cc22f7dac97ba5e19fca3e4a35de80da49ddd171bafb859e58 8295 
glib2.0_2.58.1-3_source.buildinfo
Files:
 a2d3fd703c82c0015d976a18d4c5890c 3280 libs optional glib2.0_2.58.1-3.dsc
 fd7f49ae3f63f67aef9d43d61cb7e9d9 116036 libs optional 
glib2.0_2.58.1-3.debian.tar.xz
 f83825dba9af39d2841d88964cde0760 8295 libs optional 
glib2.0_2.58.1-3_source.buildinfo

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

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAlvI/T4ACgkQ4FrhR4+B
TE/pbw//RmAdRB7+GpZ78zHY05MrAmesdFXHx2dczXEALI5H0bNOtmF3RID9VL2Y
6zVI/oWH3BWvEw5UfPKjIxT8gMq717YBEq+jjE2n9Jr81HrWcSPSNByTrffIO4zt
KUDlpq1iGMLx9JBSvAavYyUN0Id97sLtDdmRpvdrcTrwanqa7FL29xOKaUv4LouA
+p36OMh/JvBH4u4D4X9rxlMXBaHReRwAbvd2O8aJkWvZ4PAwkr+tanq86KEj1md0
jQfdBP9rER5x2hkeBEVv5+89qNNsfGWN1S85AiwwthMR1w62ePtrDlZa+uq00VdD
FYtS9mdrKY2kHItXV2brXpsIwkmqeko3Ffct1tgmQlVt1+5ksTUDqsIfRZUUwiQE
aOnCG1twqchV2t9WXwASJsNgXnm7pLHbgE7rX9NB/oNTJU9OlB9SzKC+zWijR8zU
byzukzJUkRqA+sixQ8RLMcFyn9jDpipgfSuz3DzA745wmJB5zXcq38pX7IXKaf1L
GH6WeY7YGsNB4UvVw6UWfSiEz4zfln8MD/CAAHbFjkgYI4sG+QU1ZbW4oopGRejE
4AnPVb7V7Wg57WwLF7BGn6oze7ju2m6zY20HrbGjYRYx6+hsX7lakHdXvwPk8a0h
QlHs5Ok8fWEpwIcp+9ivSJC/ER+OMCBytuwQEejH/JBy8wBEfrM=
=ep9a
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to