Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949540 - games-emulation/melonds: use ccache to build
Summary: games-emulation/melonds: use ccache to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-09 18:23 UTC by Samuel Bauer
Modified: 2025-02-11 12:23 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 Samuel Bauer 2025-02-09 18:23:40 UTC
ccache enabled by default during configure time.
as portage keep compile directory temporary ccache is not needed at all, it is advised to compile without this feature.

currently known affected versions are 1.0_rc 9999, as I can't compile stable 0.9.5_p20241113 idk, but I guess it uses ccache too

Reproducible: Always




Turn ccache off via -DUSE_CACHE=OFF added to mycmakeargs.
Comment 1 Maciej Barć gentoo-dev 2025-02-10 13:18:24 UTC
even though ebuild says:

> * QA Notice: One or more CMake variables were not used by the project:
> *   USE_CACHE

this option exists in sources:

> cmake_dependent_option(USE_CCACHE "Use CCache to speed up repeated builds." ON CCACHE OFF)
Comment 2 Larry the Git Cow gentoo-dev 2025-02-10 15:42:17 UTC
The bug has been closed via the following commit(s):

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

commit a906525d9c84cc815687907915f89d1f2527568d
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-02-10 13:14:28 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2025-02-10 15:42:14 +0000

    games-emulation/melonds: turn off ccache detection
    
    Closes: https://bugs.gentoo.org/949540
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 games-emulation/melonds/melonds-1.0_rc.ebuild | 2 ++
 1 file changed, 2 insertions(+)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-11 12:10:52 UTC
The quoted line is CCACHE, not CACHE?
Comment 4 Maciej Barć gentoo-dev 2025-02-11 12:15:37 UTC
(In reply to Sam James from comment #3)
> The quoted line is CCACHE, not CACHE?

Well this explains everything now, along with https://bugs.gentoo.org/949604
Comment 5 Larry the Git Cow gentoo-dev 2025-02-11 12:23:23 UTC
The bug has been referenced in the following commit(s):

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

commit 5cc5962a12bf876a49f16ddb6c477dce111ae634
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2025-02-11 12:18:06 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2025-02-11 12:23:20 +0000

    games-emulation/melonds: fix cmake flag spelling
    
    Bug: https://bugs.gentoo.org/949540
    Closes: https://bugs.gentoo.org/949604
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 games-emulation/melonds/melonds-0.9.5_p20241113.ebuild | 2 ++
 games-emulation/melonds/melonds-1.0_rc.ebuild          | 2 +-
 games-emulation/melonds/melonds-9999.ebuild            | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)