Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512672 - dev-cpp/tbb-4.2.20140122: fails with CXX=${CHOST}-g++-4.8.2
Summary: dev-cpp/tbb-4.2.20140122: fails with CXX=${CHOST}-g++-4.8.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-07 17:04 UTC by Michał Górny
Modified: 2014-06-08 08:14 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-06-07 17:04:07 UTC
if [[ $(tc-getCXX) == *g++ ]]; then
        comp="gcc"
    elif [[ $(tc-getCXX) == *ic*c ]]; then
        comp="icc"
    else
        die "compiler $(tc-getCXX) not supported by build system"
    fi

This check fails if ${CXX} contains versioned compiler executable. Adding extra '*' at the end helps.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-06-08 08:14:38 UTC
+  08 Jun 2014; Justin Lecher <jlec@gentoo.org> tbb-4.1.20121003-r1.ebuild,
+  tbb-4.2.20131118.ebuild, tbb-4.2.20140122.ebuild, metadata.xml:
+  Add compatibility with versioned gcc, #512672
+