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

Bug#1021182: marked as done (xserver-xorg-video-vmware: FTBFS against GCC-12)



Your message dated Sat, 29 Oct 2022 17:09:42 +0000
with message-id <E1oopL4-00FTni-Eu@fasolo.debian.org>
and subject line Bug#1021182: fixed in xserver-xorg-video-vmware 1:13.3.0-3.1
has caused the Debian Bug report #1021182,
regarding xserver-xorg-video-vmware: FTBFS against GCC-12
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.)


-- 
1021182: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021182
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xserver-xorg-video-vmware
Version: 1:13.3.0-3build1
Severity: serious
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: nathan.teodosio@canonical.com

Dear Maintainer,

I'm forwarding the upstream patch to fix FTBFS against GCC-12.

It was already committed to Ubuntu via LP: #1991117[1].

[1]: https://launchpad.net/bugs/1991117
Author: Rudi Heitbaum <rudi@heitbaum.com>
From: Nathan Pratta Teodosio <nathan.teodosio@canonical.com>
Origin: https://gitlab.freedesktop.org/xorg/driver/xf86-video-vmware/-/commit/77b8183b
Date: Sun, 8 May 2022 03:00:10 +0000
Subject: [PATCH] vmwgfx: fix missing array notation
Applied-Upstream: commit: 77b8183b

 Fixes error identified by gcc-12.1.0 compiler

make
  CC       libvmwgfx_la-vmwgfx_tex_video.lo
vmwgfx_tex_video.c: In function 'stop_video':
vmwgfx_tex_video.c:240:20: error: the comparison will always evaluate as 'true' for the address of 'yuv' will never be NULL [-Werror=address]
  240 |                if (priv->yuv[i]) {
      |                    ^~~~
---
 vmwgfx/vmwgfx_tex_video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vmwgfx/vmwgfx_tex_video.c b/vmwgfx/vmwgfx_tex_video.c
index acc2b56..480a5f1 100644
--- a/vmwgfx/vmwgfx_tex_video.c
+++ b/vmwgfx/vmwgfx_tex_video.c
@@ -237,7 +237,7 @@ stop_video(ScrnInfoPtr pScrn, pointer data, Bool shutdown)
 
        for (i=0; i<3; ++i) {
 	   for (j=0; j<2; ++j) {
-	       if (priv->yuv[i]) {
+	       if (priv->yuv[j][i]) {
 		   xa_surface_destroy(priv->yuv[j][i]);
 		   priv->yuv[j][i] = NULL;
 	       }

--- End Message ---
--- Begin Message ---
Source: xserver-xorg-video-vmware
Source-Version: 1:13.3.0-3.1
Done: Adrian Bunk <bunk@debian.org>

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

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated xserver-xorg-video-vmware 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: Sat, 15 Oct 2022 15:13:05 +0300
Source: xserver-xorg-video-vmware
Architecture: source
Version: 1:13.3.0-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1021182
Changes:
 xserver-xorg-video-vmware (1:13.3.0-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add upstream fix for array bug discovered by gcc 12.
     (Closes: #1021182)
Checksums-Sha1:
 552442a1e9fb0d187feae59999da6dc87bbbbbb3 2517 xserver-xorg-video-vmware_13.3.0-3.1.dsc
 a0ead749774e2f9b9116223dfe8f3c6fae527ba0 13211 xserver-xorg-video-vmware_13.3.0-3.1.diff.gz
Checksums-Sha256:
 1715a198689b4ab9104c64210176a7e9920b209ec22321b73824d11b42bb5152 2517 xserver-xorg-video-vmware_13.3.0-3.1.dsc
 004813db7c8dab7d97addae65a7a20401bf6afe397f394def9d41d79c47eac85 13211 xserver-xorg-video-vmware_13.3.0-3.1.diff.gz
Files:
 1c09088fc5b08ae0397c75bb8e69dba1 2517 x11 optional xserver-xorg-video-vmware_13.3.0-3.1.dsc
 9c3e2e884b69f4f5e787e5e5b727790d 13211 x11 optional xserver-xorg-video-vmware_13.3.0-3.1.diff.gz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmNKpFsACgkQiNJCh6LY
mLEKWxAApQSnn6nhk5F8P/uzhzPW8nEPyR6fuNemhr8lv/iV3OWwrWIX7lwccUqF
udaheBt4yln112RzZiVeIIu7A76Vr+DJymJ7/MT5KteUdJb0O8yRUmKeqOsIbLUI
LCF3cpnYNpoLWzjUk5Q531SR1XkoUTsYSpsiAI0KQo/7Qh9kLT9NYq/H90YNBZ5N
XOiOviF1sbajRJASMpvZwe42QYDdpkZWQOE0GFUII9zr8uzHXp+W+2/8DrYJh5K2
TiSxDDT8fUYEMkch1AE+ZLHKTAhSiEtFz6IDYkbjAF3wB4Up0RdEFG2E4CXduvP/
B32owHL+J0pctv841Puzg/sMUdkULLPGNNIv25TGoztMF9THjSMe9kzHHbH0/Un7
/dDHxsbCAjwWuzoLY9HGtOmx9tASgBH6rqoHxruBKktz6egdAbPUxMLg1XvOcmcR
tgY6lXmtogIACLZgbjdjHc5xDY6ftQUXUjabvpKxDcQ97bJe9OJL0lUPTRALA9Tk
6+kE3Mlzk/BWDd0iGngoWmmubNEunD0XMO9Q8pWjMm32Z+CGf6CnH3mrDrFFTxvr
JXzbX8vvDZK/dCykesvCvJxSUDKTesKMvWF33Ax8+Agt0R+5QJi4XhUVdA3prcTu
p6/lr8CX0bw/099s7UkXLMu5f2DHS8NWeVqCGJ/KM0ocGnh/vu0=
=sww9
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: