Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640238 - sys-block/thin-provisioning-tools-0.4.1 - ./persistent-data/space_map.h:125:9: error: 'virtual persistent_data::space_map_detail::damage::~damage()' is private within this context
Summary: sys-block/thin-provisioning-tools-0.4.1 - ./persistent-data/space_map.h:125:9...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-08 10:03 UTC by Nico Baggus
Modified: 2018-01-07 18:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2017-12-08 10:03:58 UTC
emerge -e failed 

 *   >=sys-block/thin-provisioning-tools-0.3.0 pulled in by:
 *     (sys-fs/lvm2-2.02.145-r2:0/0::gentoo, installed)

Build fails with:

./persistent-data/space_map.h:125:9: error: 'virtual persistent_data::space_map_detail::damage::~damage()' is private within this context
./persistent-data/space_map.h:122:12: note: declared private here
    virtual ~damage() {}
            ^
In file included from ./persistent-data/block.h:152:0,
                 from ./caching/metadata.h:6,
                 from caching/cache_check.cc:18:
./persistent-data/block.tcc: In instantiation of 'persistent_data::block_manager<BlockSize>::write_ref::~write_ref() [with unsigned int BlockSize = 4096u]':
/usr/lib/gcc/i686-pc-linux-gnu/6.4.0/include/g++-v6/bits/stl_pair.h:194:12:   required from here
./persistent-data/block.tcc:182:68: warning: throw will always call terminate() [-Wterminate]
     throw std::runtime_error("write_ref ref_count going below zero");
                                                                    ^
./persistent-data/block.tcc:182:68: note: in C++11 destructors default to noexcept
make: *** [Makefile:126: caching/cache_check.o] Error 1
 * ERROR: sys-block/thin-provisioning-tools-0.4.1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-block/thin-provisioning-tools-0.4.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-block/thin-provisioning-tools-0.4.1::gentoo'`.


gcc 6.4.0 appearantly doesn't accept this anymore.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-12-09 09:56:01 UTC
0.7.0 is being stabilised in bug #619126
Comment 2 Nico Baggus 2018-01-07 18:53:50 UTC
0.7.0 now stable