[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#972736: marked as done (FTBFS Mesa 20.2.x fails to build on x32 (debian\rules issue))



Your message dated Thu, 10 Dec 2020 13:04:31 +0000
with message-id <E1knLcV-000Hvn-S4@fasolo.debian.org>
and subject line Bug#972736: fixed in mesa 20.3.0-2
has caused the Debian Bug report #972736,
regarding FTBFS Mesa 20.2.x fails to build on x32 (debian\rules issue)
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 owner@bugs.debian.org
immediately.)


-- 
972736: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=972736
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: mesa
Version: 20.2.1-1

In debian\rules, there is the following at lines 74-79:

ifneq (,$(filter $(DEB_HOST_ARCH), amd64 i386 x32)) GALLIUM_DRIVERS += ,svga,zink # svga needs xa state tracker confflags_GALLIUM += -Dgallium-xa=true VULKAN_DRIVERS += ,intel endif

When this is parsed on x32, the value of VULKAN_DRIVERS is blank. This puts a , at the start of the variable, which breaks the build using meson.

This works on other platforms as earlier the AMD driver is added (see lines 54-56).

From the buildd logs, the CFLAGS passed are:
CFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall" FCFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" FFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" GCJFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong" LDFLAGS="-Wl,-z,relro" OBJCFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security" OBJCXXFLAGS="-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security"  dh_auto_configure -- \
	-Ddri-drivers="r200,r100 ,nouveau ,i915, i965 ,swrast" -Ddri-drivers-path=/usr/lib/x86_64-linux-gnux32/dri -Ddri-search-path='/usr/lib/x86_64-linux-gnux32/dri:\$${ORIGIN}/dri:/usr/lib/dri' -Dvulkan-drivers=",intel" -Dglvnd=true -Dshared-glapi=true -Dgallium-xvmc=false -Dgallium-omx=disabled -Db_ndebug=true -Dbuild-tests=true -Dglx-direct=true -Dgbm=true -Ddri3=true -Dplatforms="drm,surfaceless,x11 ,wayland" -Dgallium-xa=true -Dllvm=false -Dgallium-extra-hud=true -Dgallium-vdpau=true -Dlmsensors=true -Dgallium-va=true -Dgallium-drivers="r600,r300 ,nouveau,virgl ,svga,zink ,iris" -Dgles1=false -Dgles2=true -Dosmesa=classic  -Dvulkan-device-select-layer=true -Dvulkan-overlay-layer=true
	cd build && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnux32 "-Ddri-drivers=r200,r100 ,nouveau ,i915, i965 ,swrast" -Ddri-drivers-path=/usr/lib/x86_64-linux-gnux32/dri -Ddri-search-path=/usr/lib/x86_64-linux-gnux32/dri:\\\$\${ORIGIN}/dri:/usr/lib/dri -Dvulkan-drivers=,intel -Dglvnd=true -Dshared-glapi=true -Dgallium-xvmc=false -Dgallium-omx=disabled -Db_ndebug=true -Dbuild-tests=true -Dglx-direct=true -Dgbm=true -Ddri3=true "-Dplatforms=drm,surfaceless,x11 ,wayland" -Dgallium-xa=true -Dllvm=false -Dgallium-extra-hud=true -Dgallium-vdpau=true -Dlmsensors=true -Dgallium-va=true "-Dgallium-drivers=r600,r300 ,nouveau,virgl ,svga,zink ,iris" -Dgles1=false -Dgles2=true -Dosmesa=classic -Dvulkan-device-select-layer=true -Dvulkan-overlay-layer=true
Notably from that:
     -Dvulkan-drivers=",intel"

Suggest that lines 74-79 need to be modified to check if the VULKAN_DRIVERS variable already has some value set or not, or treat x32 as a special case, before adding ",intel" or "intel" to the VULKAN_DRIVERS variable as appropriate.

Note: I don't have an x32 build env. I just saw the failed buildd logs via the debian Mesa tracker.

--
Stuart Young (aka Cefiar)

--- End Message ---
--- Begin Message ---
Source: mesa
Source-Version: 20.3.0-2
Done: Timo Aaltonen <tjaalton@debian.org>

We believe that the bug you reported is fixed in the latest version of
mesa, 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 972736@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated mesa 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Thu, 10 Dec 2020 14:21:30 +0200
Source: mesa
Architecture: source
Version: 20.3.0-2
Distribution: experimental
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Closes: 972736
Changes:
 mesa (20.3.0-2) experimental; urgency=medium
 .
   * rules: Fix the name of the broadcom vulkan driver.
   * control, rules: Drop llvm support from kfreebsd, as llvm isn't built
     there.
   * rules: Enable gallium swrast (softpipe) and OSMesa everywhere, as
     they're not actually tied to llvm being available.
   * rules: Move common settings for !hurd to the top.
   * rules: Use a better method to build the arrays of drivers, thanks
     Witold Baryluk! (Closes: #972736)
   * rules: Clarify the status of wayland support on non-linux ports.
Checksums-Sha1:
 23b5f566333995c20b7bf559b02be406821050ce 5321 mesa_20.3.0-2.dsc
 ba3ab5d451aa87201495de8a9eac40830fb93023 107793 mesa_20.3.0-2.diff.gz
 3d3a75620bc16693e516097fbf22a528cdf27caf 9757 mesa_20.3.0-2_source.buildinfo
Checksums-Sha256:
 c4fbbc5b2ceda8a000426ea68fb5fcd5e17ce5d188307cbff1ca4c76229e6a85 5321 mesa_20.3.0-2.dsc
 c3df5fee6ea0aaf77a8dfb6501e8dd1f5325b3d4a09634bd6e96edd78267a0dc 107793 mesa_20.3.0-2.diff.gz
 9bf5d3204315cc0069997bbbf776c6bc888dfe420dfd77544b5845b20959ab36 9757 mesa_20.3.0-2_source.buildinfo
Files:
 afc9c355c4cbd40ed421f7adf4627bee 5321 graphics optional mesa_20.3.0-2.dsc
 1cb16b1630a087f64d538abca4f6b1fc 107793 graphics optional mesa_20.3.0-2.diff.gz
 5aa7c27cc0594e61a3438006c736e805 9757 graphics optional mesa_20.3.0-2_source.buildinfo

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

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAl/SGF0ACgkQy3AxZaiJ
hNxL4Q//Si/8LWZKv3vQFozib8Kq3RJ2T4DWPP98gOlfWbF8rNRnq+5qoF7a2OMU
M/hsGcNu/SLs1SMhJz4I94+UnIncv7L2IEpyRML/uANd2lNmTS/jdJ0huAOWE8aL
KA+FRPQ6zvMpskXmC7BU54AfslZSRtUkqtPYilrqnzAHqjD7uaGov3Bk9fKlQxVq
BVkVJneK2e2NSjxySd2O5rKh8MlNWA+LadLRiNTVZQkCgqllzkMyQ4QkGSEQLCC9
iyOSPseHh3q9mjG+0rn5uVNiLU+CaWzUuoXqlKytakp7zZndF4VAzXZ68wFzuiIy
W60/FqTlUzVT31/CmL7lI4CKNBWCsWKZvcr3q7RM5UHONEu0Nj/JwhUbbxw8swXm
76HBHHGGXOGJZQfh7EYv/SRlgKqbNIVB3QVdyzW6ukuiNkLHTIZlhrZsJb+Dseqt
lBNuIQVrq2hm+Qz6QXrx89gDCDzY5kmR1qx6elw/Q6ZO+NFaTE/7GjPuxOjkBUCW
egMbJOiJz9Hw4v8GhNC7opSEPO+uH2u9obaQwzo0xE3UHLDiI2HfnVcd3hosKYcl
oxfi0UjaI7QG49gjCYj5kwQ4XmcNqKMefaHg6Ildyg91ZGrHCU4VNb4EVgxv7kES
MuyOqj4/MHC6NH9hUDFdPui/qzcEOHp/ImaOTPwaAfkM0ViEVks=
=9XmL
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: