Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890847 - sys-fs/cryfs-0.10.3-r1: error: ‘logic_error’ is not a member of ‘std’
Summary: sys-fs/cryfs-0.10.3-r1: error: ‘logic_error’ is not a member of ‘std’
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nick
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-01-14 22:05 UTC by HougeLangley
Modified: 2023-01-23 02:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build_log (cryfs-0.10.3-r1-build-log.log,39.05 KB, text/x-log)
2023-01-14 22:05 UTC, HougeLangley
Details
emerge --info (emerge --info.txt,7.65 KB, text/plain)
2023-01-14 22:05 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2023-01-14 22:05:32 UTC
Created attachment 848481 [details]
build_log

[31mFAILED: [0msrc/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LeftRight.cpp.o 
/usr/sbin/x86_64-pc-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_STACKTRACE_ADDR2LINE_LOCATION=/usr/sbin/addr2line -DBOOST_STACKTRACE_USE_ADDR2LINE -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_THREAD_VERSION=4 -I/var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/src -isystem /var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/vendor/spdlog  -march=skylake -O2 -pipe -DNDEBUG -Wall -Wextra -Wold-style-cast -Wcast-align -Wno-maybe-uninitialized -std=gnu++14 -MD -MT src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LeftRight.cpp.o -MF src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LeftRight.cpp.o.d -o src/cpp-utils/CMakeFiles/cpp-utils.dir/thread/LeftRight.cpp.o -c /var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/src/cpp-utils/thread/LeftRight.cpp
In file included from /var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/src/cpp-utils/thread/LeftRight.cpp:1:
/var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/src/cpp-utils/thread/LeftRight.h: In member function ‘auto cpputils::LeftRight<T>::read(F&&) const’:
/var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/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");
      |                        ^~~~~~~~~~~
/var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/src/cpp-utils/thread/LeftRight.h:7:1: note: ‘std::logic_error’ is defined in header ‘<stdexcept>’; did you forget to ‘#include <stdexcept>’?
    6 | #include <array>
  +++ |+#include <stdexcept>
    7 | 
/var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/src/cpp-utils/thread/LeftRight.h: In member function ‘auto cpputils::LeftRight<T>::write(F&&)’:
/var/tmp/portage/sys-fs/cryfs-0.10.3-r1/work/src/cpp-utils/thread/LeftRight.h:67:24: error: ‘logic_error’ is not a member of ‘std’
   67 |             throw std::logic_error("Issued LeftRight::read() after the destructor started running");
      |                        ^~~~~~~~~~~
Comment 1 HougeLangley 2023-01-14 22:05:45 UTC
Created attachment 848483 [details]
emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-01-23 02:40:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e71067dbade539090be50e3ddfc9fac889efc34e

commit e71067dbade539090be50e3ddfc9fac889efc34e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-23 02:14:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-23 02:32:51 +0000

    sys-fs/cryfs: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/890847
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/cryfs/cryfs-0.10.3-r1.ebuild         |  1 +
 sys-fs/cryfs/files/cryfs-0.10.3-gcc13.patch | 11 +++++++++++
 2 files changed, 12 insertions(+)