Bug 2171464 - cryfs: FTBFS in Fedora rawhide/f38
Summary: cryfs: FTBFS in Fedora rawhide/f38
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cryfs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Onuralp SEZER
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F38FTBFS
TreeView+ depends on / blocked
 
Reported: 2023-02-20 11:46 UTC by Fedora Release Engineering
Modified: 2023-02-24 19:49 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-02-24 19:49:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fedora Release Engineering 2023-02-20 11:46:07 UTC
cryfs failed to build from source in Fedora rawhide/f38

https://koji.fedoraproject.org/koji/taskinfo?taskID=96319189


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Please fix cryfs at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
cryfs will be orphaned. Before branching of Fedora 39,
cryfs will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Jonathan Wakely 2023-02-20 22:31:08 UTC
The build tells you exactly what's wrong and how to fix it:

In file included from /builddir/build/BUILD/cryfs-0.11.2/src/cpp-utils/thread/LeftRight.cpp:1:
/builddir/build/BUILD/cryfs-0.11.2/src/cpp-utils/thread/LeftRight.h: In member function 'auto cpputils::LeftRight<T>::read(F&&) const':
/builddir/build/BUILD/cryfs-0.11.2/src/cpp-utils/thread/LeftRight.h:54:24: error: 'logic_error' is not a member of 'std'
   54 |             throw std::logic_error("Issued LeftRight::read() after the destructor started running");
      |                        ^~~~~~~~~~~
/builddir/build/BUILD/cryfs-0.11.2/src/cpp-utils/thread/LeftRight.h:7:1: note: 'std::logic_error' is defined in header '<stdexcept>'; did you forget to '#include <stdexcept>'?

Comment 2 Adam Williamson 2023-02-24 19:49:45 UTC
Fixed in https://koji.fedoraproject.org/koji/buildinfo?buildID=2159532 , patch sent upstream as https://github.com/cryfs/cryfs/pull/448 .


Note You need to log in before you can comment on or make changes to this bug.