Your message dated Tue, 08 Aug 2023 15:20:57 +0000
with message-id <e1qtow1-0038yr...@fasolo.debian.org>
and subject line Bug#1041454: fixed in meson 1.2.1-1
has caused the Debian Bug report #1041454,
regarding meson: glib2.0 FTBFS on mips64el: "native build" but then "Can not
run test applications in this cross environment"
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 ow...@bugs.debian.org
immediately.)
--
1041454: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041454
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: meson
Version: 1.2.0-1
Severity: serious
Tags: ftbfs
Justification: causing FTBFS regression in another package
X-Debbugs-Cc: glib...@packages.debian.org
Control: affects -1 + src:glib2.0
glib2.0's meson.build has several calls to 'cc.run(...)' guarded by
a check for 'cc_can_run = meson.can_run_host_binaries()'.
On mips64el, Meson seems confused about whether this is a native or
cross build. At first, it correctly reports that this is a native build:
<https://buildd.debian.org/status/fetch.php?pkg=glib2.0&arch=mips64el&ver=2.76.4-2&stamp=1689773327&raw=0>
> The Meson build system
> Version: 1.2.0
> Source dir: /<<PKGBUILDDIR>>
> Build dir: /<<PKGBUILDDIR>>/debian/build/deb
> Build type: native build
> Project name: glib
> Project version: 2.76.4
but then later, cc.run() fails:
> ../../../meson.build:1127:14: ERROR: Can not run test applications in this
> cross environment.
(Line 1127 is the first call to cc.run().)
With a minimal reproducer:
project('foo', 'c')
if meson.can_run_host_binaries()
meson.get_compiler('c').run('whatever')
endif
I can run `meson setup _build` successfully on amd64, or on the mips64el
porterbox eller in a trixie_mips64el-dchroot session with meson 1.1.1-2,
but not on eller in a sid_mips64el-dchroot session with meson 1.2.0-1.
I attach meson-log.txt from the minimal reproducer failing in
sid_mips64el-dchroot. It correctly reports
> Is cross compiler: False.
and
> Build machine cpu family: mips64
> Build machine cpu: mips64
> Host machine cpu family: mips64
> Host machine cpu: mips64
> Target machine cpu family: mips64
> Target machine cpu: mips64
as I would expect.
Thanks,
smcv
Build started at 2023-07-19T19:02:54.288530
Main binary: /usr/bin/python3
Build Options:
Python system: Linux
The Meson build system
Version: 1.2.0
Source dir: /home/smcv
Build dir: /home/smcv/_build
Build type: native build
Project name: foo
Project version: undefined
-----------
Detecting compiler via: `cc --version` -> 0
stdout:
cc (Debian 13.1.0-7) 13.1.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: cc -E -dM -
-----
-----------
Detecting linker via: `cc -Wl,--version` -> 0
stdout:
GNU ld (GNU Binutils for Debian) 2.40.90.20230714
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 13.1.0
/usr/bin/ld -plugin
/usr/libexec/gcc/mips64el-linux-gnuabi64/13/liblto_plugin.so
-plugin-opt=/usr/libexec/gcc/mips64el-linux-gnuabi64/13/lto-wrapper
-plugin-opt=-fresolution=/tmp/cc9MBOmq.res -plugin-opt=-pass-through=-lgcc
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc
-plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id
--eh-frame-hdr -EL -mips64r2 --as-needed -dynamic-linker /lib64/ld.so.1
-melf64ltsmip -pie
/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../mips64el-linux-gnuabi64/Scrt1.o
/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../mips64el-linux-gnuabi64/crti.o
/usr/lib/gcc/mips64el-linux-gnuabi64/13/crtbeginS.o
-L/usr/lib/gcc/mips64el-linux-gnuabi64/13
-L/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../mips64el-linux-gnuabi64
-L/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../../lib
-L/lib/mips64el-linux-gnuabi64 -L/lib/../lib -L/usr/lib/mips64el-linux-gnuabi64
-L/usr/lib/../lib -L/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../.. --version
-lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state
--as-needed -lgcc_s --pop-state
/usr/lib/gcc/mips64el-linux-gnuabi64/13/crtendS.o
/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../mips64el-linux-gnuabi64/crtn.o
-----------
Sanity testing C compiler: ccache cc
Is cross compiler: False.
Sanity check compiler command line: ccache cc sanitycheckc.c -o
sanitycheckc.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /home/smcv/_build/meson-private/sanitycheckc.exe
C compiler for the host machine: ccache cc (gcc 13.1.0 "cc (Debian 13.1.0-7)
13.1.0")
C linker for the host machine: cc ld.bfd 2.40.90.20230714
-----------
Detecting linker via: `gcc-ar --version` -> 0
stdout:
GNU ar (GNU Binutils for Debian) 2.40.90.20230714
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
-----------
-----------
Detecting compiler via: `cc --version` -> 0
stdout:
cc (Debian 13.1.0-7) 13.1.0
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------
Running command: cc -E -dM -
-----
-----------
Detecting linker via: `cc -Wl,--version` -> 0
stdout:
GNU ld (GNU Binutils for Debian) 2.40.90.20230714
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
-----------
stderr:
collect2 version 13.1.0
/usr/bin/ld -plugin
/usr/libexec/gcc/mips64el-linux-gnuabi64/13/liblto_plugin.so
-plugin-opt=/usr/libexec/gcc/mips64el-linux-gnuabi64/13/lto-wrapper
-plugin-opt=-fresolution=/tmp/cctkRtUj.res -plugin-opt=-pass-through=-lgcc
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc
-plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id
--eh-frame-hdr -EL -mips64r2 --as-needed -dynamic-linker /lib64/ld.so.1
-melf64ltsmip -pie
/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../mips64el-linux-gnuabi64/Scrt1.o
/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../mips64el-linux-gnuabi64/crti.o
/usr/lib/gcc/mips64el-linux-gnuabi64/13/crtbeginS.o
-L/usr/lib/gcc/mips64el-linux-gnuabi64/13
-L/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../mips64el-linux-gnuabi64
-L/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../../lib
-L/lib/mips64el-linux-gnuabi64 -L/lib/../lib -L/usr/lib/mips64el-linux-gnuabi64
-L/usr/lib/../lib -L/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../.. --version
-lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state
--as-needed -lgcc_s --pop-state
/usr/lib/gcc/mips64el-linux-gnuabi64/13/crtendS.o
/usr/lib/gcc/mips64el-linux-gnuabi64/13/../../../mips64el-linux-gnuabi64/crtn.o
-----------
Sanity testing C compiler: ccache cc
Is cross compiler: False.
Sanity check compiler command line: ccache cc sanitycheckc.c -o
sanitycheckc.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /home/smcv/_build/meson-private/sanitycheckc.exe
C compiler for the build machine: ccache cc (gcc 13.1.0 "cc (Debian 13.1.0-7)
13.1.0")
C linker for the build machine: cc ld.bfd 2.40.90.20230714
-----------
Detecting linker via: `gcc-ar --version` -> 0
stdout:
GNU ar (GNU Binutils for Debian) 2.40.90.20230714
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
-----------
Build machine cpu family: mips64
Build machine cpu: mips64
Host machine cpu family: mips64
Host machine cpu: mips64
Target machine cpu family: mips64
Target machine cpu: mips64
meson.build:3:28: ERROR: Can not run test applications in this cross
environment.
--- End Message ---
--- Begin Message ---
Source: meson
Source-Version: 1.2.1-1
Done: Jussi Pakkanen <jpakk...@gmail.com>
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 1041...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jussi Pakkanen <jpakk...@gmail.com> (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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 08 Aug 2023 02:05:26 +0300
Source: meson
Architecture: source
Version: 1.2.1-1
Distribution: unstable
Urgency: medium
Maintainer: Jussi Pakkanen <jpakk...@gmail.com>
Changed-By: Jussi Pakkanen <jpakk...@gmail.com>
Closes: 1041454 1041653
Changes:
meson (1.2.1-1) unstable; urgency=medium
.
* New upstream release. Closes: #1041454.
* Remove dep on gtk-sharp. Closes: #1041653.
Checksums-Sha1:
d976c9ce7bbafebe62f722ce59708c242fe5df32 3420 meson_1.2.1-1.dsc
087da0ecbc065bb40361ba683b55c20cb42a948a 2182126 meson_1.2.1.orig.tar.gz
16d4e95f69a1032531e3de280df1443f76844d7a 15648 meson_1.2.1-1.debian.tar.xz
16fb4588b6336e395effe1aa326b934b04d18e87 33746 meson_1.2.1-1_source.buildinfo
Checksums-Sha256:
7ee4b2f04ab5ee9de438d8168a88e3062a9552a1b6ba51473d7ef891f46023bd 3420
meson_1.2.1-1.dsc
b1db3a153087549497ee52b1c938d2134e0338214fe14f7efd16fecd57b639f5 2182126
meson_1.2.1.orig.tar.gz
6304edb442d47bfee8c9ef62db49d3408a79e080c5541058fa4c1902609b2531 15648
meson_1.2.1-1.debian.tar.xz
36c3f913dfb37875ce10e05ba816d1ccc55f2d1da4037d7289f60753859f02c3 33746
meson_1.2.1-1_source.buildinfo
Files:
249e242bdefe207ba23b534bf16519dc 3420 devel optional meson_1.2.1-1.dsc
e3cc846536189aacd7d01858a45ca9af 2182126 devel optional meson_1.2.1.orig.tar.gz
16d9256d4587c5d6233c277d3ad87a52 15648 devel optional
meson_1.2.1-1.debian.tar.xz
3b8ef0f72585b678df75ff3d1d187649 33746 devel optional
meson_1.2.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEEGeLW2bRtjapiiPh3wk5jG6ux/nAFAmTSVw4THGpwYWtrYW5l
QGdtYWlsLmNvbQAKCRDCTmMbq7H+cCfrD/9u3s8BcNxuce5HxwMSN4ZHlHw+A0ov
n/RaetXPlU91AGsn1AhvauDzSTgsFHYkxYsuPwjFUntO/yoAbsUJ7S29c29/TvzC
GjKreiUaZJX+C7SErrPRe5WHD81RjG109VjbDR5mgYudnY9UZOKYinksTW7Mc7mf
VuhzQ2XCAK8Wub7bCwFkXTOrdg6uB9/YK2limBefB4mfHovVMDHApLeZLnZwxWpa
91D6n3NLrEpRXhb/lx5quOYbnj6nYklt+QZCsXDxeQamP+Uct5TX8vDqmpLSJwAj
0/WPCgMs4cVTH1Nlz9pbRAzEG9kD70M6uywPG2yzTMuCedPKRZ2FO8J1lEFNCA/I
ktIXwpuAHauqo/Ey5r/6/aUDjjVJS0/JL8w/Amxnrns8W9El8D0gLl1SA4hCQcWr
GvJdNcwrpv1iDUAZkKuHIqxLro4aao3x6glXreix4m1djpGqDVmcVCpuBemg1gR8
14TrPvQYGMQbXtVELZ0XFP2+NUt9UONy+6jjtjA0ky4QQefPDJvjoCrhAIds1x3y
iN6lKc+1rFFVV5gpC7Xh9z1Jr3xylD2ujnjQVpT6HDDWgnbIFS+KGr2oPvTfT8E8
8Q0cwkiOqNKmOduKyRnA/A0UqokvyHjaH9t0hR+VkfASCNxG37kz+c0FzfAS0hhs
wTSDAkHWDG/Smw==
=BoJ2
-----END PGP SIGNATURE-----
--- End Message ---