Your message dated Thu, 07 May 2020 13:33:48 +0000
with message-id <[email protected]>
and subject line Bug#959708: fixed in meson 0.54.1-2
has caused the Debian Bug report #959708,
regarding meson ignores --libdir when --cross-file is given
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.)


-- 
959708: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959708
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: meson
Version: 0.54.1-1
Severity: important
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
Control: affects -1 + src:deltachat-core

When one passes --libdir and --cross-file to meson, meson thinks it
knows better than the user and overrides the libdir with plain "lib".
Setting a libdir from the crossfile does not work either. It gets
ignores in the same way.

An example failing log can be seen at:
http://crossqa.debian.net/build/deltachat-core_0.45.0+ds-1_armhf_20200504062822.log

I'm attaching a patch that reverts the uptsream hack that causes the
breakage. I think that reverting the breakage and solving it properly
with more time is in order. Doing so reopens
https://github.com/mesonbuild/meson/issues/2535, but that can be worked
around by adding a libdir to the crossfile (which seems like a good idea
in any case).

Helmut
--- meson-0.54.1.orig/mesonbuild/coredata.py
+++ meson-0.54.1/mesonbuild/coredata.py
@@ -441,13 +441,6 @@
             raise MesonException('Cannot find specified {} file: {}'.format(ftype, f))
         return real
 
-    def libdir_cross_fixup(self):
-        # By default set libdir to "lib" when cross compiling since
-        # getting the "system default" is always wrong on multiarch
-        # platforms as it gets a value like lib/x86_64-linux-gnu.
-        if self.cross_files:
-            self.builtins['libdir'].value = 'lib'
-
     def sanitize_prefix(self, prefix):
         prefix = os.path.expanduser(prefix)
         if not os.path.isabs(prefix):
@@ -507,7 +500,6 @@
         for for_machine in iter(MachineChoice):
             for key, opt in builtin_options_per_machine.items():
                 self.add_builtin_option(self.builtins_per_machine[for_machine], key, opt, subproject)
-        self.libdir_cross_fixup()
 
     def add_builtin_option(self, opts_map, key, opt, subproject):
         if subproject:

--- End Message ---
--- Begin Message ---
Source: meson
Source-Version: 0.54.1-2
Done: Jussi Pakkanen <[email protected]>

We believe that the bug you reported is fixed in the latest version of
meson, 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.
Jussi Pakkanen <[email protected]> (supplier of updated meson 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: Wed, 06 May 2020 23:25:28 +0300
Source: meson
Architecture: source
Version: 0.54.1-2
Distribution: unstable
Urgency: medium
Maintainer: Jussi Pakkanen <[email protected]>
Changed-By: Jussi Pakkanen <[email protected]>
Closes: 959708
Changes:
 meson (0.54.1-2) unstable; urgency=medium
 .
   * Add libdir regression fix. Closes: #959708.
Checksums-Sha1:
 de1de19889b857d9d25d71d397542ef09b2f9a6f 3433 meson_0.54.1-2.dsc
 9faa8aa4f9c9052e3e62e3988a6eaeaa8892c94d 14048 meson_0.54.1-2.debian.tar.xz
 4d0d2bd92fca8729f1d7b816617d2a3841dddc63 7233 meson_0.54.1-2_source.buildinfo
Checksums-Sha256:
 9858a749c9174bab641f3eacc71f0b1d586766964c2dd8d24ff73ece1c72d510 3433 
meson_0.54.1-2.dsc
 ec1b4495d700576bb9b242a11ebb8f2448a7940451e2078e53b24c9e70b1825b 14048 
meson_0.54.1-2.debian.tar.xz
 296d29c1dc319de51efea707765d103d479ba2327c5684fe980a6f766e31cdda 7233 
meson_0.54.1-2_source.buildinfo
Files:
 90ac1555eb27ac46c2cf7a05a1e1b03d 3433 devel optional meson_0.54.1-2.dsc
 218d776a3b1645c5d16ab11b0a7ceeb9 14048 devel optional 
meson_0.54.1-2.debian.tar.xz
 229da6bb23862ec7324bdcf8d4ead1df 7233 devel optional 
meson_0.54.1-2_source.buildinfo

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

iQIzBAEBCAAdFiEEPbRrVe+lnUDmIyFI0U7xXa/hE0cFAl60CngACgkQ0U7xXa/h
E0dDTg/+OxSuMIROIX94l3OCvPjJOVENrlQ2nOZel6VwShtulaMM6oNAfoJnKsrD
37SyUFOygPOVjewK3Jv9BxDisIbsZQJ5Bxy5pl7A7Qn/SltUlDYYZzTElz1vcZm0
GAuuXd+4MZrclpGWEgmuKRlQlUslUfB7Ykm3COKhEEPvOgJKrUmoo5U7iIaYX9UZ
PkO65h19einYavVMf1BIQVGmU5IzIlTfT9nPa++xG4cJsZh4kvgn1TUHQpPCPjf3
ELjAHpSC54RQmrWufhJKrjyatJceIiZaOiTSUul1bIx74BUerXWltxkVJ6JGUD/V
jzkjQ1JR0bQqavDKenhmAZDQOm8XBcVLRPCFdH4bmo61aoRHxy7OhtgzOkaOjzdI
Tpj6z2etW6NoktD4HpkPTNLdGuypqL6gv65eIKqYeJ9K54CUi8QIvGaIJ3yPpvBB
1T1+6X0e3/hXufa/FRA3c9jUwbFT4+GA6cyR+fhAXO6AXcu1jVV2/a8nNMbu7I3c
DkCeT5oIAs9a9kJZc4SfNzlCY4V7mBbfrh80LQUFzi0l168RteaOzvH65grwN7ed
iMQ0F+JS9ryK9gAHeXHtduisNYzUNpV9IILGh28BbkayhdKpdMCx4J7OLSZulkR9
ZL2E+RM5kiEngsRg0pjugaGuNH4To6shglZGtKqSpyd6P4YA+sc=
=d+6f
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to