Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881999 - media-libs/libplacebo-5.299.1 fails to emerge
Summary: media-libs/libplacebo-5.299.1 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-19 12:05 UTC by Neil
Modified: 2022-11-19 14:04 UTC (History)
0 users

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


Attachments
build.log (build.log,12.10 KB, text/x-log)
2022-11-19 12:07 UTC, Neil
Details
emerge --info (emerge_info_media-libs_placebo,20.18 KB, text/plain)
2022-11-19 12:07 UTC, Neil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neil 2022-11-19 12:05:50 UTC
Currently media-libs/libplacebo-5.299.1 fails to emerge on my system, its pulled in as a dependency requirement by media-video/mpv-0.35.0

Reproducible: Always

Steps to Reproduce:
1. eix-sync
2. emerge -uDN mpv

Actual Results:  
[3/55] env PYTHONPATH=/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/jinja/src:/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/markupsafe/src:/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/glad /var/tmp/portage/media-libs/libplacebo-5.229.1/temp/python3.9/bin/python3 -m glad --out-path=src/opengl/include/glad/../../ --reproducible --merge --api=gl:core,gles2,egl --extensions=GL_AMD_pinned_memory,GL_ARB_buffer_storage,GL_ARB_compute_shader,GL_ARB_framebuffer_object,GL_ARB_get_program_binary,GL_ARB_invalidate_subdata,GL_ARB_pixel_buffer_object,GL_ARB_shader_image_load_store,GL_ARB_shader_storage_buffer_object,GL_ARB_sync,GL_ARB_texture_float,GL_ARB_texture_gather,GL_ARB_texture_rg,GL_ARB_timer_query,GL_ARB_uniform_buffer_object,GL_ARB_vertex_array_object,GL_EXT_EGL_image_storage,GL_EXT_color_buffer_float,GL_EXT_color_buffer_half_float,GL_EXT_texture3D,GL_EXT_texture_format_BGRA8888,GL_EXT_texture_integer,GL_EXT_texture_norm16,GL_EXT_texture_rg,GL_EXT_unpack_subimage,GL_KHR_debug,GL_OES_EGL_image,GL_OES_EGL_image_external,EGL_EXT_image_dma_buf_import,EGL_EXT_image_dma_buf_import_modifiers,EGL_EXT_platform_base,EGL_KHR_debug,EGL_KHR_image_base,EGL_MESA_image_dma_buf_export,EGL_MESA_platform_surfaceless c --header-only --mx --loader
FAILED: src/opengl/include/glad/gl.h 
env PYTHONPATH=/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/jinja/src:/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/markupsafe/src:/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/glad /var/tmp/portage/media-libs/libplacebo-5.229.1/temp/python3.9/bin/python3 -m glad --out-path=src/opengl/include/glad/../../ --reproducible --merge --api=gl:core,gles2,egl --extensions=GL_AMD_pinned_memory,GL_ARB_buffer_storage,GL_ARB_compute_shader,GL_ARB_framebuffer_object,GL_ARB_get_program_binary,GL_ARB_invalidate_subdata,GL_ARB_pixel_buffer_object,GL_ARB_shader_image_load_store,GL_ARB_shader_storage_buffer_object,GL_ARB_sync,GL_ARB_texture_float,GL_ARB_texture_gather,GL_ARB_texture_rg,GL_ARB_timer_query,GL_ARB_uniform_buffer_object,GL_ARB_vertex_array_object,GL_EXT_EGL_image_storage,GL_EXT_color_buffer_float,GL_EXT_color_buffer_half_float,GL_EXT_texture3D,GL_EXT_texture_format_BGRA8888,GL_EXT_texture_integer,GL_EXT_texture_norm16,GL_EXT_texture_rg,GL_EXT_unpack_subimage,GL_KHR_debug,GL_OES_EGL_image,GL_OES_EGL_image_external,EGL_EXT_image_dma_buf_import,EGL_EXT_image_dma_buf_import_modifiers,EGL_EXT_platform_base,EGL_KHR_debug,EGL_KHR_image_base,EGL_MESA_image_dma_buf_export,EGL_MESA_platform_surfaceless c --header-only --mx --loader
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/glad/glad/__main__.py", line 194, in <module>
    main()
  File "/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/glad/glad/__main__.py", line 128, in main
    generators = find_generators()
  File "/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/glad/glad/plugin.py", line 42, in find_generators
    for entry_point in entry_points(group=entry_point):
  File "/var/tmp/portage/media-libs/libplacebo-5.229.1/work/libplacebo-v5.229.1/3rdparty/glad/glad/plugin.py", line 11, in entry_points
    return _entry_points()[group]
KeyError: 'glad.generator'
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -j 8 -v
 * ERROR: media-libs/libplacebo-5.229.1::gentoo failed (compile phase):
 *   compile failed
 * 
 * Call stack:
 *     ebuild.sh, line  122:  Called src_compile
 *   environment, line 2913:  Called meson-multilib_src_compile
 *   environment, line 1717:  Called multilib-minimal_src_compile
 *   environment, line 1927:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2194:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1887:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1885:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  621:  Called multilib-minimal_abi_src_compile
 *   environment, line 1921:  Called multilib_src_compile
 *   environment, line 2414:  Called meson_src_compile
 *   environment, line 1776:  Called die
 * The specific snippet of code:
 *       "$@" || die "compile failed"

Expected Results:  
Should emerge.



❱ emerge -pqv '=media-libs/libplacebo-5.229.1::gentoo'
[ebuild  N    ] media-libs/libplacebo-5.229.1  USE="-glslang -lcms -llvm-libunwind opengl shaderc -test -unwind vulkan"
Comment 1 Neil 2022-11-19 12:07:39 UTC
Created attachment 833633 [details]
build.log
Comment 2 Neil 2022-11-19 12:07:58 UTC
Created attachment 833635 [details]
emerge --info
Comment 3 Ionen Wolkens gentoo-dev 2022-11-19 12:23:16 UTC
Seems to only happen if meson uses python:3.9? (works fine with 3.10 and 3.11)

Not sure what's up with this yet, will need to check closer -- but I do suggest you migrate your system to 3.10 per profile defaults either way.
Comment 4 Larry the Git Cow gentoo-dev 2022-11-19 12:31:50 UTC
The bug has been closed via the following commit(s):

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

commit f73af760b3ed88e80caf4162efa3f0aa2b33cdf2
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-19 12:27:07 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-19 12:31:15 +0000

    media-libs/libplacebo: downgrade glad to 2.0.1
    
    Matches what libplacebo upstream uses rather than latest.
    
    2.0.2 has no changes beside some python regressions, no
    need for a revbump given either is fine if it built.
    
    Closes: https://bugs.gentoo.org/881999
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-libs/libplacebo/Manifest                  | 2 +-
 media-libs/libplacebo/libplacebo-5.229.1.ebuild | 2 +-
 media-libs/libplacebo/libplacebo-9999.ebuild    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Comment 5 Neil 2022-11-19 14:04:28 UTC
Thanks for the quick resolution around emerges fine now :-)