Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938522 - media-libs/embree-3.13.5 fails to compile: bezier_curve.h:138:56: error: const struct embree::QuadraticBezierCurve<V> has no member named u [-Wtemplate-body]
Summary: media-libs/embree-3.13.5 fails to compile: bezier_curve.h:138:56: error: cons...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-26 11:17 UTC by Agostino Sarubbo
Modified: 2024-09-04 09:32 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,243.02 KB, text/plain)
2024-08-26 11:17 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-08-26 11:17:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/embree-3.13.5 fails to compile.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-26 11:17:29 UTC
Created attachment 901264 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-26 11:17:31 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_collider.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/bvh/bvh_intersector1_bvh4.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/common/scene_curves.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/common/scene_grid_mesh.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/common/scene_instance.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/common/scene_line_segments.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/common/scene_points.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/common/scene_quad_mesh.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/common/scene_triangle_mesh.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/common/scene_user_geometry.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_4i.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_4i_mb.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_4v.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_8i.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_8i_mb.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/geometry/curve_intersector_virtual_8v.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/geometry/instance_intersector.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_avx.dir/__/geometry/primitive8.cpp.avx.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/bvh/bvh_intersector1_bvh4.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/bvh/bvh_intersector_hybrid4_bvh4.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/bvh/bvh_intersector_stream_bvh4.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/bvh/bvh_intersector_stream_filters.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/common/scene_subdiv_mesh.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_4i.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_4i_mb.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_4v.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_8i.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_8i_mb.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/geometry/curve_intersector_virtual_8v.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/geometry/grid_soa.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/geometry/instance_intersector.cpp.sse42.cpp.o 
FAILED: kernels/CMakeFiles/embree_sse42.dir/__/subdiv/subdivpatch1base_eval.cpp.sse42.cpp.o 
/var/tmp/portage/media-libs/embree-3.13.5/work/embree-3.13.5/kernels/geometry/../common/../subdiv/bezier_curve.h:138:56: error: ‘const struct embree::QuadraticBezierCurve<V>’ has no member named ‘u’ [-Wtemplate-body]
Comment 3 Paul Zander 2024-08-26 11:33:51 UTC
Pulled via dev-games/godot-3.5.3-r1. It seems.
Comment 4 Ionen Wolkens gentoo-dev 2024-08-27 11:40:02 UTC
(In reply to Paul Zander from comment #3)
> Pulled via dev-games/godot-3.5.3-r1. It seems.
If ever want to get rid of embree:3, USE=raycast could be masked or removed, it's not super important to keep on godot:3 (is also off by default) and godot-4.3 migrated to embree:4.
Comment 5 Larry the Git Cow gentoo-dev 2024-08-29 05:16:10 UTC
The bug has been referenced in the following commit(s):

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

commit 9340b600665afa885f4588818ea6b5dd18402c9f
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-08-29 03:33:15 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-08-29 05:15:42 +0000

    dev-games/godot: drop 3.5.3-r1, 4.2.2-r1
    
    Upon consideration, we'll no longer be slotting godot (bug
    #938658 was a trigger, but been consider undoing this for
    a long time either way).
    
    Not *essential* to remove these now given they will not
    conflict with SLOT=0, but would rather cleanup at same
    time to avoid confusion. As a bonus, it drops consumers
    of embree:3 wrt bug #938522 and a lot of patches.
    
    Considered keeping the 3.x (even unslotted) given it's still
    supported, but release cycle is slow and it issues with new
    python/gcc add to the maintenance burden. Been a while since
    godot4 been released, so hopefully most users migrated.
    
    Bug: https://bugs.gentoo.org/938522
    Bug: https://bugs.gentoo.org/938658
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-games/godot/Manifest                        |   2 -
 dev-games/godot/files/godot-3.5-musl.patch      |   9 -
 dev-games/godot/files/godot-3.5-scons.patch     |  74 --------
 dev-games/godot/files/godot-3.5.3-gcc13.patch   |   9 -
 dev-games/godot/files/godot-4.0_rc2-musl.patch  |  21 ---
 dev-games/godot/files/godot-4.0_rc3-scons.patch |  15 --
 dev-games/godot/godot-3.5.3-r1.ebuild           | 218 ----------------------
 dev-games/godot/godot-4.2.2-r1.ebuild           | 238 ------------------------
 dev-games/godot/metadata.xml                    |   2 -
 9 files changed, 588 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2024-09-04 09:32:25 UTC
The bug has been closed via the following commit(s):

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

commit e446f623bcf383e75bbbc12ee10a88a32f9400b5
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-08-26 13:59:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-04 09:31:57 +0000

    media-libs/embree: add 3.14.5-r1, 4.3.1-r1 fix 938522
    
    Fixed upstream in 4.3.3
    
    Bug: https://bugs.gentoo.org/937275
    Closes: https://bugs.gentoo.org/938522
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38296
    Signed-off-by: Sam James <sam@gentoo.org>

 ...mbree-3.13.5.ebuild => embree-3.13.5-r1.ebuild} |  1 +
 ...{embree-4.3.1.ebuild => embree-4.3.1-r1.ebuild} |  1 +
 .../files/embree-4.3.2-fix-output-operator.patch   | 43 ++++++++++++++++++++++
 3 files changed, 45 insertions(+)