🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #3610

Bug#1154462: mesa: FTBFS: ../src/gallium/drivers/d3d12/d3d12_video_enc.cpp:778:120: error: invalid conversion from ‘const D3D1...

#3610
From: Santiago Vila
Date: Thu, 19 Nov 2026 12:50
50 lines
5662 bytes
Package: src:mesa
Version: 26.2.6-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202611/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:mesa, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
      |                                                                                                                         const D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC2*
In file included from ../src/gallium/drivers/d3d12/d3d12_video_enc.cpp:37:
../src/gallium/drivers/d3d12/d3d12_video_enc_hevc.h:55:117: note: initializing argument 4 of ‘void d3d12_video_encoder_update_current_frame_pic_params_info_hevc(d3d12_video_encoder*, pipe_video_buffer*, pipe_picture_desc*, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC2*, bool&)’
   55 |                                                               D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC2 *pHEVCPicData,
      |                                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../src/gallium/drivers/d3d12/d3d12_video_enc.cpp:778:120: error: invalid conversion from ‘const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA*’ to ‘D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA*’ [-fpermissive]
  778 |          d3d12_video_encoder_update_current_frame_pic_params_info_av1(pD3D12Enc, srcTexture, picture, currentPicParams.pAV1PicData, bUsedAsReference);
      |                                                                                                       ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
      |                                                                                                                        |
      |                                                                                                                        const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA*
In file included from ../src/gallium/drivers/d3d12/d3d12_video_enc.cpp:40:
../src/gallium/drivers/d3d12/d3d12_video_enc_av1.h:43:114: note: initializing argument 4 of ‘void d3d12_video_encoder_update_current_frame_pic_params_info_av1(d3d12_video_encoder*, pipe_video_buffer*, pipe_picture_desc*, D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA*, bool&)’
   43 |                                                              D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA* pAV1PicData,
      |                                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
[3178/5528] c++ -Isrc/gallium/drivers/d3d12/libd3d12.a.p -Is [too-long-redacted] d12_video_encoder_bitstream.cpp
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd build && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:302: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <O19Kp-cTak-13@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1154462: mesa: FTBFS: ../src/gallium/drivers/d3d12/d3d12_video_enc.cpp:778:120: error: invalid conversion from ‘const D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA*’ to ‘D3D12_VIDEO_ENCODER_AV1_PICTURE_CONTROL_CODEC_DATA*’ [-fpermissive]
Date: Thu, 19 Nov 2026 13:50:01 +0100
Message-ID: <O19Kp-cTak-13@gated-at.bofh.it>
X-Original-To: Debian BTS <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Thu Nov 19 12:45:16 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.462
Reply-To: Santiago Vila <sanvila@debian.org>, 1154462@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sanvila@debian.org, debian-x@lists.debian.org
X-Debian-Pr-Message: report 1154462
X-Debian-Pr-Package: src:mesa
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: mesa
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/838843
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 50
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 19 Nov 2026 12:43:15 +0000
X-Original-Message-ID: <E1xU1Tv-002ld4-27@paradis.debian.org>