#1131944 mangohud: FTBFS: ../src/gpu_fdinfo.cpp:287:27: error: aggregate 'std::stringstream ss' has incomplete type and cannot be defined

Package:
src:mangohud
Source:
src:mangohud
Submitter:
Santiago Vila
Date:
2026-05-24 13:21:02 UTC
Severity:
normal
Tags:
#1131944#5
Date:
2026-03-26 11:51:10 UTC
From:
To:
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/202603/

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:mangohud, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[29/105] c++ -Isubprojects/implot-0.16/libimplot.a.p -Isubprojects/implot-0.16 -I../subprojects/implot-0.16 -Isubprojects/imgui-1.89.9 -I../subprojects/imgui-1.89.9 -I../subprojects/imgui-1.89.9/backends -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c++17 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC '-DIMGUI_API=__attribute__((visibility("default")))' -MD -MQ subprojects/implot-0.16/libimplot.a.p/implot_items.cpp.o -MF subprojects/implot-0.16/libimplot.a.p/implot_items.cpp.o.d -o subprojects/implot-0.16/libimplot.a.p/implot_items.cpp.o -c ../subprojects/implot-0.16/implot_items.cpp
[30/105] c++ -Isrc/libMangoHud.a.p -Isrc -I../src -I../inclu [too-long-redacted] .cpp.o -c ../src/gpu_fdinfo.cpp
FAILED: [code=1] src/libMangoHud.a.p/gpu_fdinfo.cpp.o
c++ -Isrc/libMangoHud.a.p -Isrc -I../src -I../include -Isubp [too-long-redacted] .cpp.o -c ../src/gpu_fdinfo.cpp
../src/gpu_fdinfo.cpp: In member function ‘void GPU_fdinfo::get_current_hwmon_readings()’:
../src/gpu_fdinfo.cpp:287:27: error: aggregate ‘std::stringstream ss’ has incomplete type and cannot be defined
  287 |         std::stringstream ss;
      |                           ^~
[31/105] c++ -Isrc/libMangoHud.a.p -Isrc -I../src -I../inclu [too-long-redacted] idia.cpp.o -c ../src/nvidia.cpp
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1131944#10
Date:
2026-05-09 12:01:37 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for mangohud (versioned as 0.8.2-1.1) and uploaded
it to DELAYED/15. Please feel free to tell me if I should cancel it.

cu
Adrian

#1131944#19
Date:
2026-05-11 14:13:39 UTC
From:
To:
Hello Adrian,

I prepared a new upstream version with this fix included and just
waiting for a sponsor. So please cancel this and maybe you can look
into sponsoring my changes?
Everything is on Salsa
https://salsa.debian.org/games-team/mangohud

#1131944#24
Date:
2026-05-24 13:19:41 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mangohud, 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 1131944@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 mangohud 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)
Format: 1.8
Date: Sat, 09 May 2026 11:58:17 +0300
Source: mangohud
Architecture: source
Version: 0.8.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1131944
Changes:
 mangohud (0.8.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Backport upstream FTBFS fix. (Closes: #1131944)
Checksums-Sha1:
 cfc261aded287a5a3102a434c36cb80160c2643c 2605 mangohud_0.8.2-1.1.dsc
 b46285a9a5ffec5f7cb1ef4c58c35cdb5b011e81 12032 mangohud_0.8.2-1.1.debian.tar.xz
Checksums-Sha256:
 d556a71c8491806da522c6406a8135e66ec20fd66b72483fc7b2d4be87decff9 2605 mangohud_0.8.2-1.1.dsc
 796f35c64cf0467853e49e847260dd4df2f37dcdfc719fc65b34fe787175fe63 12032 mangohud_0.8.2-1.1.debian.tar.xz
Files:
 d557ef4386b7398f1fbd2f71de13ac88 2605 games optional mangohud_0.8.2-1.1.dsc
 938820536382859b69a4c785a0bdb7fd 12032 games optional mangohud_0.8.2-1.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmn/IgwACgkQiNJCh6LY
mLFiIRAAgB3otGNLiPDUgAgSTUUlqk0ubuIp6QrIQNn4uB1oWVAPA2irxhv3/fV6
6IScj8o/lSyjq1e0M+wD5mPAyyOwyqfHFDu8KVBjxLzcN2Xkyl/JsNux7jbxRn8t
kzcwhbM5UYk6r1j6cCkLJevAJ+lf4n3ZOFXhbxAjZ4zugqyQdVdWcMVbjR9ahx84
YVJeA4TFDa9KHYd5BFghk2hXZv61GTdNZo77nCp7HXuQrTb1WD0C26rAEPn7ikHX
w1KpZaajY38p2q2kf+6F+aLNRGnKFAUT4ukhMeBd4R8W1CpXrSGaFHnpRFGQn8Xv
dC05RcyeSenFqLXc9xyMc4p2+WXAyrta+S580tYXrKZ/GWj74tdalD+L+AkVbN3K
Jno/wJL/2G3ySk8RR6VCgHx1SjJBLxBthjJFczoVQACmT8DtRsmv7TQe/VyIYJ1g
ukaTstBa5UyCjNGOUvTqnu/Iilsqp4yqIW8HqvnfNd+D0uPH5Acm31N1rO1z2qY6
1F0vO5yodpW0Emw/8V3n4qPjmmmKzKQKjup5vn4b12RMc0crFJoVopYJhsIbSnWA
QQZkoO2eyGmnYm/K0H5NAIydRLPsy978c6YEwixfE769/BtVhqERNtBST/mPfA0d
gl9Oe+kNOvfjT6BEPHKFpbhZk+gi0jUej9LuaZN6wdtvaolTTRc=
=f0Zp
-----END PGP SIGNATURE-----