Your message dated Thu, 25 Sep 2025 21:04:55 +0000 with message-id <E1v1t95-00EC3S-1i@fasolo.debian.org> and subject line Bug#1115167: fixed in libpisp 1.2.1-3 has caused the Debian Bug report #1115167, regarding libpisp: FTBFS: ../src/helpers/media_device.cpp:251:14: error: ignoring return value of ‘int lockf(int, int, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 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.) -- 1115167: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115167 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libpisp: FTBFS: ../src/helpers/media_device.cpp:251:14: error: ignoring return value of ‘int lockf(int, int, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result]
- From: Aurelien Jarno <aurel32@debian.org>
- Date: Sat, 13 Sep 2025 23:20:00 +0200
- Message-id: <[🔎] 175779840066.2692025.7393931094788937631.reportbug@ohm.local>
Source: libpisp Version: 1.2.1-2 Severity: important Tags: ftbfs forky sid Justification: fails to build from source User: debian-glibc@lists.debian.org Usertags: glibc-2.42 Dear maintainer, During a rebuild of all packages in unstable with glibc 2.42 from experimental, your package failed to build. Below you will find how the build ends. If required, the full build log is available here: https://people.debian.org/~aurel32/glibc-2.42/ The build failure is due to a missing check of the result of the call to lockf(), so there is no guarantee that the file is correctly locked, basically making this call useless. About the archive rebuild: The build was made on virtual machines from AWS, using sbuild, a reduced chroot with only build-essential packages and glibc 2.42 from experimental. Regards Aurelien -------------------------------------------------------------------------------- [...] [21/25] c++ -Isrc/libpisp.so.1.2.1.p -Isrc -I../src -Isrc/libpisp -I../src/libpisp -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -DPISP_LOGGING_ENABLE=1 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -Wno-address-of-packed-member -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 -pthread -DBOOST_LOG_DYN_LINK=1 -DBOOST_LOG_SETUP_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_USE_DLL=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/libpisp.so.1.2.1.p/helpers_backend_device.cpp.o -MF src/libpisp.so.1.2.1.p/helpers_backend_device.cpp.o.d -o src/libpisp.so.1.2.1.p/helpers_backend_device.cpp.o -c ../src/helpers/backend_device.cpp [22/25] c++ -Isrc/libpisp.so.1.2.1.p -Isrc -I../src -Isrc/libpisp -I../src/libpisp -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -DPISP_LOGGING_ENABLE=1 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -Wno-address-of-packed-member -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 -pthread -DBOOST_LOG_DYN_LINK=1 -DBOOST_LOG_SETUP_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_USE_DLL=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/libpisp.so.1.2.1.p/helpers_media_device.cpp.o -MF src/libpisp.so.1.2.1.p/helpers_media_device.cpp.o.d -o src/libpisp.so.1.2.1.p/helpers_media_device.cpp.o -c ../src/helpers/media_device.cpp FAILED: src/libpisp.so.1.2.1.p/helpers_media_device.cpp.o c++ -Isrc/libpisp.so.1.2.1.p -Isrc -I../src -Isrc/libpisp -I../src/libpisp -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -DPISP_LOGGING_ENABLE=1 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -Wno-address-of-packed-member -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 -pthread -DBOOST_LOG_DYN_LINK=1 -DBOOST_LOG_SETUP_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_USE_DLL=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/libpisp.so.1.2.1.p/helpers_media_device.cpp.o -MF src/libpisp.so.1.2.1.p/helpers_media_device.cpp.o.d -o src/libpisp.so.1.2.1.p/helpers_media_device.cpp.o -c ../src/helpers/media_device.cpp ../src/helpers/media_device.cpp: In member function ‘std::map<std::__cxx11::basic_string<char>, libpisp::helpers::DeviceFd>::iterator libpisp::helpers::MediaDevice::unlock(const std::string&)’: ../src/helpers/media_device.cpp:251:14: error: ignoring return value of ‘int lockf(int, int, __off64_t)’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] 251 | lockf(it->second.Get(), F_ULOCK, 0); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors [23/25] c++ -Isrc/libpisp.so.1.2.1.p -Isrc -I../src -Isrc/libpisp -I../src/libpisp -I/usr/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -DPISP_LOGGING_ENABLE=1 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -Wno-address-of-packed-member -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 -pthread -DBOOST_LOG_DYN_LINK=1 -DBOOST_LOG_SETUP_DYN_LINK=1 -DBOOST_THREAD_BUILD_DLL=1 -DBOOST_THREAD_USE_DLL=1 -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ src/libpisp.so.1.2.1.p/helpers_v4l2_device.cpp.o -MF src/libpisp.so.1.2.1.p/helpers_v4l2_device.cpp.o.d -o src/libpisp.so.1.2.1.p/helpers_v4l2_device.cpp.o -c ../src/helpers/v4l2_device.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 returned exit status 2 --------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
- To: 1115167-close@bugs.debian.org
- Subject: Bug#1115167: fixed in libpisp 1.2.1-3
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Thu, 25 Sep 2025 21:04:55 +0000
- Message-id: <E1v1t95-00EC3S-1i@fasolo.debian.org>
- Reply-to: Dylan Aïssi <daissi@debian.org>
Source: libpisp Source-Version: 1.2.1-3 Done: Dylan Aïssi <daissi@debian.org> We believe that the bug you reported is fixed in the latest version of libpisp, 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 1115167@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Dylan Aïssi <daissi@debian.org> (supplier of updated libpisp 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, 25 Sep 2025 22:34:57 +0200 Source: libpisp Architecture: source Version: 1.2.1-3 Distribution: unstable Urgency: medium Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org> Changed-By: Dylan Aïssi <daissi@debian.org> Closes: 1115167 Changes: libpisp (1.2.1-3) unstable; urgency=medium . * Cherry-pick upstream patch fixing FTBFS (Closes: #1115167) Checksums-Sha1: 0f58237ed18ac5b959085acaa73fcfb0911fa398 2103 libpisp_1.2.1-3.dsc ec8aa7998b06df1b342c70019632aa9ed4125779 6980 libpisp_1.2.1-3.debian.tar.xz a1a436ed7da94603b8cb4756a9b12fdba3c336aa 8388 libpisp_1.2.1-3_amd64.buildinfo Checksums-Sha256: 350661f8ae013d527beeb6d517f6e941be3e2b1615f2c245e9b20f37d459e7b3 2103 libpisp_1.2.1-3.dsc b8aa6d0cdbb1d7a249ca3ae2e1c7e379e96c8903de79a3728eef866e9fa81819 6980 libpisp_1.2.1-3.debian.tar.xz 0757df7d56d852c921a289197ae3e3ff006713f898f0a4a24dbc4d762a344b0b 8388 libpisp_1.2.1-3_amd64.buildinfo Files: b2e7a5d5095d07c4432433f455faf42f 2103 libs optional libpisp_1.2.1-3.dsc 383e2f8fa44186a4bd532bec1dfc95b5 6980 libs optional libpisp_1.2.1-3.debian.tar.xz 08a896cf4837046ecc9040c237082ea4 8388 libs optional libpisp_1.2.1-3_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmjwHvQbeL0FugTpdYS7xYT4FD1QFAmjVp/MACgkQYS7xYT4F D1SGkBAAgf5uSeu6hWeVxxVvCtS3G6N4powkBXs1jEmVUuCYy8BNX8NeKZchpl2R ibh3N43/bS7Kgm3ef0YSKPH6gaC2Cl3UxKT2qMiQUMBYGvQoudlVdGX2V+osdvxq xDlTKp65pDuZp6FRhhGr/AyvrImOKSpUzpFY6o99BmQ7tiMUozi/7rHOx1tG5TQc WsE5iPYpRtkFNsUFVVsEhFfh+h42fNkCjsi4G86DLsRzOQUwxDnwgLAbmvjlIhMN RWpFdx0dDCMhSa0xJb68OiyPCq64bttx3fWsnENDPt4j3HADnTfIPFLbT11YRGQd aNiuXM0iU3VZmrugzHEQuj5EfQA62i4+VlrewAL2OUV7MJfB2YMjfw3BUAYBaRXe 9FktvUtelduAVOAX2XPS9ttKUiwnHR/jIWwpyUoY6tYx18+96n+SeNnOcQNnj5kf W4Erqmcp1zTELM2vjZunnwLn3otr2s2PmjbCrJI5SLlVmyzUsPSHIbN7mqR4gOU2 qgZ1hKlNNoW+/UBmhWc9HoY6blwxoBSZWqURcmf1RWOxCAvMDUBpgzBP5lOtIliq 4b35OxnQO8+OidYiyAiS4FWjthjoRwJzMeJyeH8A3rpKz7cotgLO2P7UpXHzNt3d Jda7osO5677WV8fZlxr8YFm0L4f1OA758V35diaTI2Y8JytiebI= =qxeR -----END PGP SIGNATURE-----Attachment: pgp4USjDG43df.pgp
Description: PGP signature
--- End Message ---