#1141353 deepin-screen-recorder: FTBFS: src/record_process.cpp:627:63: error: macro ‘PIDS_VAL’ passed 4 arguments, but takes just 3

#1141353#5
Date:
2026-07-03 09:02:57 UTC
From:
To:
Source: deepin-screen-recorder
Version: 5.8.0.46-3
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

Dear maintainer,

deepin-screen-recorder FTBFS with procps 4.0.6:


x86_64-linux-gnu-g++ -c -pipe -g -Wno-error=deprecated-declarations -Wno-deprecated-declarations -g -O2 -ffile-prefix-map=/build/reproducible-path/deepin-screen-recorder-5.8.0.46=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -DVERSION=5.8.0.46 -DDSR_LANG_PATH=\"/usr/share/deepin-screen-recorder/translations\" -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_MESSAGELOGCONTEXT -DQT_DBUS_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/libdframeworkdbus-2.0 -I/usr/include/dtk5/DWidget -I/usr/include/dtk5/DGui -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/5.15.19 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport/5.15.19/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.19 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets/5.15.19/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.19 -I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.15.19/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtMultimediaWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtX11Extras -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/dtk5/DCore -I/usr/include/x86_64-linux-gnu/qt5/QtDBus -I/usr/include/x86_64-linux-gnu/qt5/QtXml -I/usr/include/dtk5/DLog -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.19 -I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.15.19/QtCore -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o record_button.o src/record_button.cpp
src/record_process.cpp:627:63: error: macro ‘PIDS_VAL’ passed 4 arguments, but takes just 3
  627 |         const int ppid = PIDS_VAL(rel_ppid, s_int, stack, info);
      |                                                               ^
In file included from src/record_process.cpp:30:
/usr/include/libproc2/pids.h:247:9: note: macro ‘PIDS_VAL’ defined here
  247 | #define PIDS_VAL( relative_enum, type, stack ) \
      |         ^~~~~~~~
src/record_process.cpp:630:67: error: macro ‘PIDS_VAL’ passed 4 arguments, but takes just 3
  630 |             const int tgid = PIDS_VAL(rel_tgid, s_int, stack, info);
      |                                                                   ^
/usr/include/libproc2/pids.h:247:9: note: macro ‘PIDS_VAL’ defined here
  247 | #define PIDS_VAL( relative_enum, type, stack ) \
      |         ^~~~~~~~

See
https://buildd.debian.org/status/fetch.php?pkg=deepin-screen-recorder&arch=amd64&ver=5.8.0.46-3%2Bb3&stamp=1782907180&raw=0
for more details.

Cheers

#1141353#10
Date:
2026-07-12 09:53:41 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for deepin-screen-recorder (versioned as 5.8.0.46-3.1)
and uploaded it to DELAYED/2. Please feel free to tell me if I should
cancel it.

cu
Adrian

#1141353#19
Date:
2026-07-14 10:19:01 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
deepin-screen-recorder, 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 1141353@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 deepin-screen-recorder 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: Sun, 12 Jul 2026 12:34:30 +0300
Source: deepin-screen-recorder
Architecture: source
Version: 5.8.0.46-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deepin Packaging Team <pkg-deepin-devel@lists.alioth.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1141353
Changes:
 deepin-screen-recorder (5.8.0.46-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS with procps 4.0.6. (Closes: #1141353)
Checksums-Sha1:
 06314dbcfaac6794a078f1b8503e865369bcd7d0 2430 deepin-screen-recorder_5.8.0.46-3.1.dsc
 e630d604f14ff6c12e2071b8231aaa7a1c17bfa6 6012 deepin-screen-recorder_5.8.0.46-3.1.debian.tar.xz
Checksums-Sha256:
 027ef7184f688a57d1e6da022da8395d8d264d8bba65a95be79769db05214c51 2430 deepin-screen-recorder_5.8.0.46-3.1.dsc
 2c2d888948fe6e3259008c9bc00e9d4d7c5377bae400f9d492ff2b12fb0275c3 6012 deepin-screen-recorder_5.8.0.46-3.1.debian.tar.xz
Files:
 ed968b9207df6aa8de7e20f8e6ff0c9c 2430 utils optional deepin-screen-recorder_5.8.0.46-3.1.dsc
 9dff6eebd95e27bbf911e316aa39a3ff 6012 utils optional deepin-screen-recorder_5.8.0.46-3.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmpTY/wACgkQiNJCh6LY
mLF9qw//UBtqsrg7qqysnEIOFCgafOzBB3kO0w6TKP7FGsiR6r+BLwnLQGcVNmzQ
pyHPmBv9FzZ9/u1LHpXM0yIBAUcV3i1eh0PHW7cziTdIvdJC1Wzic8Hrcg6YOFHT
9frmWMs5EMML9gqySH+r0IWY/FYQJuIv6zdjfDxgcGhLWurbzHYftw5iH+zP/U7j
E17hK6zd40vOUMHpBireF+KHZGkxJODVw+PTx2EopHbobrTXGBJLMkBM87MRbXt7
qgTn8Ox7Rx+hlXStM8dFl3689G4Wv31yh0K85gHXOSeH8q0zmovXJd4GFKY+HILa
1ry5Z0FKoX26sXKiuhu8XrCYCCWeu5pd+OrsDH/odvzbSiMYns93rGdjHP1z3CzB
7djOON4WexyrchJ7OtEUe4MeT3IMOTVD+cCbtGoOId76y8tu3gFuJl64DcCW0I1L
I9uT2RVO5aKaD8N9NXQ2VB5rfXdu0YoGsjHScIRvVAerGxBRzjQ67vPXuXmDfdDn
k5rjUIROeieKoaRraZII7qyvA8KylJOGZU93cgTMG3h4lqRzM09mJdI4QVpboKT9
gIM2FNklG+gas4E5ewHqM4Fxv97cOy+8rADVRD/2uJkpi1aX4LBcKdZKqeAQIq96
zGI/1GBCJqotClDqLmbyGH44BdBWWt7KSbMtcDSJdw7R7nXtL7w=
=g/x5
-----END PGP SIGNATURE-----