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
Created attachment 896596 [details] build.log build log and emerge --info
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(-)
*** Bug 935120 has been marked as a duplicate of this bug. ***
*** Bug 935325 has been marked as a duplicate of this bug. ***
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.
(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?
fyi: upstream has already fixed this in https://github.com/fougue/mayo/commit/c4fdeb206235e9c37f34b18f5463d1e0702b2c14
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(-)