Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935121 - [guru] media-gfx/mayo-0.8.0 fails to compile: property_enumeration.cpp:46:25: error: find_if is not a member of std
Summary: [guru] media-gfx/mayo-0.8.0 fails to compile: property_enumeration.cpp:46:25:...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ivan Lloro
URL:
Whiteboard:
Keywords:
: 935120 935325 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-06-29 06:18 UTC by Agostino Sarubbo
Modified: 2024-07-04 11:19 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,118.02 KB, text/plain)
2024-06-29 06:18 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-06-29 06:18:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-gfx/mayo-0.8.0 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-06-29 06:18:44 UTC
Created attachment 896596 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-07-01 13:50:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=637de524e596ef828659b3ee9538dde20695a3ad

commit 637de524e596ef828659b3ee9538dde20695a3ad
Author:     Ivan Lloro <ivan.lloro.boada@gmail.com>
AuthorDate: 2024-06-29 12:01:41 +0000
Commit:     Ivan Lloro <ivan.lloro.boada@gmail.com>
CommitDate: 2024-06-29 12:02:10 +0000

    media-gfx/mayo: Dependency OpenCascade fixed to version 7.7.0
    
    Closes: https://bugs.gentoo.org/935120
    Closes: https://bugs.gentoo.org/935121
    Signed-off-by: Ivan Lloro <ivan.lloro.boada@gmail.com>

 media-gfx/mayo/mayo-0.8.0.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Comment 3 Ivan Lloro 2024-07-02 09:40:06 UTC
*** Bug 935120 has been marked as a duplicate of this bug. ***
Comment 4 Ivan Lloro 2024-07-02 09:40:48 UTC
*** Bug 935325 has been marked as a duplicate of this bug. ***
Comment 5 Ivan Lloro 2024-07-02 14:52:41 UTC
Bug reopened due to duplicate #935325.

The actual compilation error has been reproduced with GCC 14 (it was not due to OpenCascade 7.7.2-r1 as previously assumed). In my system, it fails to compile with GCC 12 and 14, but GCC 13 works as expected. The actual reason is unknown as, according to https://github.com/fougue/mayo/wiki/Build-instructions-for-Linux, any C++ 17 compiler (GCC >= 9 or LLVM/Clang >= 6) should work.

In any case, ebuild has been updated to provide a warning in case GCC 13 is not used.
Comment 6 Agostino Sarubbo gentoo-dev 2024-07-02 15:04:05 UTC
(In reply to Ivan Lloro from comment #5)
> Bug reopened due to duplicate #935325.
> 
> The actual compilation error has been reproduced with GCC 14 (it was not due
> to OpenCascade 7.7.2-r1 as previously assumed). In my system, it fails to
> compile with GCC 12 and 14, but GCC 13 works as expected. The actual reason
> is unknown as, according to
> https://github.com/fougue/mayo/wiki/Build-instructions-for-Linux, any C++ 17
> compiler (GCC >= 9 or LLVM/Clang >= 6) should work.
> 
> In any case, ebuild has been updated to provide a warning in case GCC 13 is
> not used.

if it fails for you with gcc14 too, I don't thing WORKSFORME is appropriate.

When gcc-14 will be stable, and then people with depclean gcc-13, they will be forced to have it in order to compile mayo.

Did you try to report the issue upstream?
Comment 7 Takuya Wakazono 2024-07-03 11:01:46 UTC
fyi: upstream has already fixed this in https://github.com/fougue/mayo/commit/c4fdeb206235e9c37f34b18f5463d1e0702b2c14
Comment 8 Larry the Git Cow gentoo-dev 2024-07-04 11:19:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8391289fa180bac84fc7217ddbe20ef10cb9a8e2

commit 8391289fa180bac84fc7217ddbe20ef10cb9a8e2
Author:     David Roman <davidroman96@gmail.com>
AuthorDate: 2024-07-04 11:13:00 +0000
Commit:     David Roman <davidroman96@gmail.com>
CommitDate: 2024-07-04 11:13:00 +0000

    media-gfx/mayo: fix gcc14 build
    
    Closes: https://bugs.gentoo.org/935121
    Signed-off-by: David Roman <davidroman96@gmail.com>

 media-gfx/mayo/files/mayo-0.8.0-gcc14.patch | 43 +++++++++++++++++++++++++++++
 media-gfx/mayo/mayo-0.8.0.ebuild            | 14 +---------
 2 files changed, 44 insertions(+), 13 deletions(-)

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=814f22bd9f106c56a68c48b4cf7a1546923b6c0a

commit 814f22bd9f106c56a68c48b4cf7a1546923b6c0a
Author:     Ivan Lloro <ivan.lloro.boada@gmail.com>
AuthorDate: 2024-07-02 15:00:21 +0000
Commit:     Ivan Lloro <ivan.lloro.boada@gmail.com>
CommitDate: 2024-07-02 15:00:23 +0000

    */*: Add warning only GCC 13 compiles (so far).
    
    Closes: https://bugs.gentoo.org/935121
    Signed-off-by: Ivan Lloro <ivan.lloro.boada@gmail.com>

 media-gfx/mayo/mayo-0.8.0.ebuild | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)