Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 522686 - sys-block/thin-provisioning-tools-0.4.0: emake failed, ld returned 1 exit status
Summary: sys-block/thin-provisioning-tools-0.4.0: emake failed, ld returned 1 exit status
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-13 04:57 UTC by Tom Li
Modified: 2014-09-13 08:20 UTC (History)
0 users

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


Attachments
emerge --info (file_522686.txt,6.78 KB, text/plain)
2014-09-13 04:57 UTC, Tom Li
Details
build.log (build.log,12.54 KB, text/plain)
2014-09-13 04:58 UTC, Tom Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Li 2014-09-13 04:57:56 UTC
Created attachment 384648 [details]
emerge --info

$ emerge -1 sys-block/thin-provisioning-tools

    [CXX] thin-provisioning/thin_restore.cc
    [DEP] persistent-data/space-maps/disk.cc
    [CXX] thin-provisioning/thin_rmap.cc
    [CXX] thin-provisioning/xml_format.cc
    [DEP] thin-provisioning/thin_repair.cc
    [DEP] thin-provisioning/restore_emitter.cc
    [DEP] thin-provisioning/thin_restore.cc
    [DEP] thin-provisioning/xml_format.cc
    [DEP] thin-provisioning/thin_pool.cc
    [DEP] thin-provisioning/thin_delta.cc
    [DEP] thin-provisioning/thin_rmap.cc
    [LD]  bin/pdata_tools
thin-provisioning/human_readable_format.o: In function `begin_superblock':
/mnt/vm/compile/portage/sys-block/thin-provisioning-tools-0.4.0/work/thin-provisioning-tools-0.4.0/thin-provisioning/human_readable_format.cc:47: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& boost::operator<< <char, std::char_traits<char>, unsigned long>(std::basic_ostream<char, std::char_traits<char> >&, boost::optional<unsigned long> const&)'
collect2: error: ld returned 1 exit status
Makefile:139: recipe for target 'bin/pdata_tools' failed
make: *** [bin/pdata_tools] Error 1
 * ERROR: sys-block/thin-provisioning-tools-0.4.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-block/thin-provisioning-tools-0.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-block/thin-provisioning-tools-0.4.0::gentoo'`.
 * The complete build log is located at '/mnt/vm/compile/portage/sys-block/thin-provisioning-tools-0.4.0/temp/build.log'.
 * The ebuild environment file is located at '/mnt/vm/compile/portage/sys-block/thin-provisioning-tools-0.4.0/temp/environment'.
 * Working directory: '/mnt/vm/compile/portage/sys-block/thin-provisioning-tools-0.4.0/work/thin-provisioning-tools-0.4.0'
 * S: '/mnt/vm/compile/portage/sys-block/thin-provisioning-tools-0.4.0/work/thin-provisioning-tools-0.4.0'
Comment 1 Tom Li 2014-09-13 04:58:52 UTC
Created attachment 384650 [details]
build.log
Comment 2 Tom Li 2014-09-13 05:03:50 UTC
It seems the experimental dev-libs/boost-1.56 is the cause of this problem.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2014-09-13 08:20:55 UTC
(In reply to Tom Li from comment #2)
> It seems the experimental dev-libs/boost-1.56 is the cause of this problem.

thin-provisioning-tools-0.4.1 is now in Portage that has this fix:

https://github.com/jthornber/thin-provisioning-tools/commit/41354f10f5940c72917eb4205ce5adad26f7a369

i might be mistaken, but it kind of looks like a fix to your problem