Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 588236 - games-action/openclonk - GCC version check fails with clang
Summary: games-action/openclonk - GCC version check fails with clang
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-09-21
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH, PMASKED
Depends on:
Blocks: 588226
  Show dependency tree
 
Reported: 2016-07-07 13:26 UTC by Michael Palimaka (kensington)
Modified: 2020-09-21 05:56 UTC (History)
2 users (show)

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


Attachments
patch (openyahtzee.patch,1.61 KB, patch)
2016-07-11 18:38 UTC, Austin English (RETIRED)
Details | Diff
patch (openclonk-7.0-r1.diff,2.15 KB, patch)
2016-07-25 17:30 UTC, Austin English (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Palimaka (kensington) gentoo-dev 2016-07-07 13:26:55 UTC
Due to a change in toolchain-funcs.eclass, gcc-version now queries the active compiler instead of the active GCC. This causes a failure with CC="clang" as clang reports itself as GCC 4.2.

Please see the tracker bug for more information.
Comment 1 Austin English (RETIRED) gentoo-dev 2016-07-11 18:38:09 UTC
Created attachment 440380 [details, diff]
patch

Here's a patch for this. Changelog:

* version bump to 1.9.3
* drop no longer needed patch
* add tc-is-gcc check, warn for other compilers
* fix clang build, needs -std=c++11 in cxxflags
Comment 2 Austin English (RETIRED) gentoo-dev 2016-07-11 18:38:41 UTC
Comment on attachment 440380 [details, diff]
patch

Wrong bug, ignore.
Comment 3 Austin English (RETIRED) gentoo-dev 2016-07-25 17:30:16 UTC
Created attachment 441534 [details, diff]
patch

This fixes toolchain detection, as well as bumps to EAPI 6 and removes games.eclass.

If there's no objection by games@, I'll commit in two weeks.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-09-21 05:56:38 UTC
removed.