← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2124965] [NEW] libpisp ftbfs in questing archive rebuild

 

Public bug reported:

The package fails to build in the recent archive rebuild
https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libpisp-1.2.1-2ubuntu3 -Wdate-time -D_FORTIFY_SOURCE=3 -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
ninja: build stopped: subcommand failed.

** Affects: libpisp (Ubuntu)
     Importance: Undecided
     Assignee: Nick Rosbrook (enr0n)
         Status: New


** Tags: dcr-incoming ftbfs

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to libpisp in Ubuntu.
https://bugs.launchpad.net/bugs/2124965

Title:
  libpisp ftbfs in questing archive rebuild

Status in libpisp package in Ubuntu:
  New

Bug description:
  The package fails to build in the recent archive rebuild
  https://people.canonical.com/~ginggs/ftbfs-report/test-rebuild-20250910-questing-questing.html

  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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/libpisp-1.2.1-2ubuntu3 -Wdate-time -D_FORTIFY_SOURCE=3 -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
  ninja: build stopped: subcommand failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libpisp/+bug/2124965/+subscriptions



Follow ups