Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-video/ffmpeg emake failed [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 13

PostPosted: Sat Apr 06, 2024 8:10 am    Post subject: media-video/ffmpeg emake failed [SOLVED] Reply with quote

Got this after trying to update:

Code:
src/libavcodec/vulkan_decode.h:31:5: error: unknown type name ‘VkVideoDecodeAV1ProfileInfoMESA’
   31 |     VkVideoDecodeAV1ProfileInfoMESA av1_profile;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:38:5: error: unknown type name ‘StdVideoAV1MESATile’
   38 |     StdVideoAV1MESATile            tiles[MAX_TILES];
      |     ^~~~~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:39:5: error: unknown type name ‘StdVideoAV1MESATileList’
   39 |     StdVideoAV1MESATileList        tile_list;
      |     ^~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:43:5: error: unknown type name ‘VkVideoDecodeAV1DpbSlotInfoMESA’
   43 |     VkVideoDecodeAV1DpbSlotInfoMESA    vkav1_ref;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:44:5: error: unknown type name ‘StdVideoAV1MESAFrameHeader’
   44 |     StdVideoAV1MESAFrameHeader         av1_frame_header;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:45:5: error: unknown type name ‘VkVideoDecodeAV1PictureInfoMESA’
   45 |     VkVideoDecodeAV1PictureInfoMESA    av1_pic_info;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:49:5: error: unknown type name ‘VkVideoDecodeAV1DpbSlotInfoMESA’
   49 |     VkVideoDecodeAV1DpbSlotInfoMESA     vkav1_refs[AV1_NUM_REF_FRAMES];
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:58:29: error: unknown type name ‘VkVideoDecodeAV1DpbSlotInfoMESA’; did you mean ‘VkVideoDecodeAV1DpbSlotInfoKHR’?
   58 |                             VkVideoDecodeAV1DpbSlotInfoMESA *vkav1_ref, /* Goes in ^ */
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             VkVideoDecodeAV1DpbSlotInfoKHR
src/libavcodec/vulkan_av1.c: In function ‘vk_av1_create_params’:
src/libavcodec/vulkan_av1.c:113:5: error: unknown type name ‘StdVideoAV1MESASequenceHeader’; did you mean ‘StdVideoAV1SequenceHeader’?
  113 |     StdVideoAV1MESASequenceHeader av1_sequence_header;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     StdVideoAV1SequenceHeader
src/libavcodec/vulkan_av1.c:114:5: error: unknown type name ‘VkVideoDecodeAV1SessionParametersAddInfoMESA’; did you mean ‘VkVideoDecodeH265SessionParametersAddInfoKHR’?
  114 |     VkVideoDecodeAV1SessionParametersAddInfoMESA av1_params_info;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     VkVideoDecodeH265SessionParametersAddInfoKHR
src/libavcodec/vulkan_av1.c:115:5: error: unknown type name ‘VkVideoDecodeAV1SessionParametersCreateInfoMESA’; did you mean ‘VkVideoDecodeAV1SessionParametersCreateInfoKHR’?
  115 |     VkVideoDecodeAV1SessionParametersCreateInfoMESA av1_params;
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     VkVideoDecodeAV1SessionParametersCreateInfoKHR
src/libavcodec/vulkan_av1.c:120:28: error: ‘StdVideoAV1MESASequenceHeader’ undeclared (first use in this function); did you mean ‘StdVideoAV1SequenceHeader’?
  120 |     av1_sequence_header = (StdVideoAV1MESASequenceHeader) {
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            StdVideoAV1SequenceHeader
src/libavcodec/vulkan_av1.c:120:28: note: each undeclared identifier is reported only once for each function it appears in
src/libavcodec/vulkan_av1.c:120:58: error: expected ‘;’ before ‘{’ token
  120 |     av1_sequence_header = (StdVideoAV1MESASequenceHeader) {
      |                                                          ^~
      |                                                          ;
src/libavcodec/vulkan_av1.c:171:24: error: ‘VkVideoDecodeAV1SessionParametersAddInfoMESA’ undeclared (first use in this function); did you mean ‘VkVideoDecodeH265SessionParametersAddInfoKHR’?
  171 |     av1_params_info = (VkVideoDecodeAV1SessionParametersAddInfoMESA) {
      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                        VkVideoDecodeH265SessionParametersAddInfoKHR
src/libavcodec/vulkan_av1.c:171:69: error: expected ‘;’ before ‘{’ token
  171 |     av1_params_info = (VkVideoDecodeAV1SessionParametersAddInfoMESA) {
      |                                                                     ^~
      |                                                                     ;
src/libavcodec/vulkan_av1.c:175:19: error: ‘VkVideoDecodeAV1SessionParametersCreateInfoMESA’ undeclared (first use in this function); did you mean ‘VkVideoDecodeAV1SessionParametersCreateInfoKHR’?
  175 |     av1_params = (VkVideoDecodeAV1SessionParametersCreateInfoMESA) {
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   VkVideoDecodeAV1SessionParametersCreateInfoKHR
src/libavcodec/vulkan_av1.c:175:67: error: expected ‘;’ before ‘{’ token
  175 |     av1_params = (VkVideoDecodeAV1SessionParametersCreateInfoMESA) {
      |                                                                   ^~
      |                                                                   ;
src/libavcodec/vulkan_av1.c:114:50: warning: variable ‘av1_params_info’ set but not used [-Wunused-but-set-variable]
  114 |     VkVideoDecodeAV1SessionParametersAddInfoMESA av1_params_info;
      |                                                  ^~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:113:35: warning: variable ‘av1_sequence_header’ set but not used [-Wunused-but-set-variable]
  113 |     StdVideoAV1MESASequenceHeader av1_sequence_header;
      |                                   ^~~~~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:111:33: warning: unused variable ‘seq’ [-Wunused-variable]
  111 |     const AV1RawSequenceHeader *seq = s->raw_seq;
      |                                 ^~~
src/libavcodec/vulkan_av1.c: In function ‘vk_av1_start_frame’:
src/libavcodec/vulkan_av1.c:237:15: error: implicit declaration of function ‘vk_av1_fill_pict’ [-Werror=implicit-function-declaration]
  237 |         err = vk_av1_fill_pict(avctx, &ap->ref_src[i], &vp->ref_slots[i],
      |               ^~~~~~~~~~~~~~~~
src/libavcodec/vulkan_av1.c:252:18: error: request for member ‘nb_tiles’ in something not a structure or union
  252 |     ap->tile_list.nb_tiles = 0;
      |                  ^
src/libavcodec/vulkan_av1.c:253:18: error: request for member ‘tile_list’ in something not a structure or union
  253 |     ap->tile_list.tile_list = ap->tiles;
      |                  ^
src/libavcodec/vulkan_av1.c:255:25: error: ‘VkVideoDecodeAV1PictureInfoMESA’ undeclared (first use in this function); did you mean ‘VkVideoDecodeAV1PictureInfoKHR’?
  255 |     ap->av1_pic_info = (VkVideoDecodeAV1PictureInfoMESA) {
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                         VkVideoDecodeAV1PictureInfoKHR
src/libavcodec/vulkan_av1.c:255:57: error: expected ‘;’ before ‘{’ token
  255 |     ap->av1_pic_info = (VkVideoDecodeAV1PictureInfoMESA) {
      |                                                         ^~
      |                                                         ;
src/libavcodec/vulkan_av1.c:278:29: error: ‘StdVideoAV1MESAFrameHeader’ undeclared (first use in this function); did you mean ‘StdVideoAV1SequenceHeader’?
  278 |     ap->av1_frame_header = (StdVideoAV1MESAFrameHeader) {
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             StdVideoAV1SequenceHeader
src/libavcodec/vulkan_av1.c:278:56: error: expected ‘;’ before ‘{’ token
  278 |     ap->av1_frame_header = (StdVideoAV1MESAFrameHeader) {
      |                                                        ^~
      |                                                        ;
src/libavcodec/vulkan_av1.c:402:29: error: request for member ‘tiling’ in something not a structure or union
  402 |         ap->av1_frame_header.tiling.width_in_sbs_minus_1[i] = frame_header->width_in_sbs_minus_1[i];
      |                             ^
src/libavcodec/vulkan_av1.c:403:29: error: request for member ‘tiling’ in something not a structure or union
  403 |         ap->av1_frame_header.tiling.height_in_sbs_minus_1[i] = frame_header->height_in_sbs_minus_1[i];
      |                             ^
src/libavcodec/vulkan_av1.c:404:29: error: request for member ‘tiling’ in something not a structure or union
  404 |         ap->av1_frame_header.tiling.tile_start_col_sb[i] = frame_header->tile_start_col_sb[i];
      |                             ^
src/libavcodec/vulkan_av1.c:405:29: error: request for member ‘tiling’ in something not a structure or union
  405 |         ap->av1_frame_header.tiling.tile_start_row_sb[i] = frame_header->tile_start_row_sb[i];
      |                             ^
src/libavcodec/vulkan_av1.c:409:29: error: request for member ‘segmentation’ in something not a structure or union
  409 |         ap->av1_frame_header.segmentation.feature_enabled_bits[i] = 0;
      |                             ^
src/libavcodec/vulkan_av1.c:411:33: error: request for member ‘segmentation’ in something not a structure or union
  411 |             ap->av1_frame_header.segmentation.feature_enabled_bits[i] |= (frame_header->feature_enabled[i][j] << j);
      |                                 ^
src/libavcodec/vulkan_av1.c:412:33: error: request for member ‘segmentation’ in something not a structure or union
  412 |             ap->av1_frame_header.segmentation.feature_data[i][j] = frame_header->feature_value[i][j];
      |                                 ^
src/libavcodec/vulkan_av1.c:415:29: error: request for member ‘loop_filter’ in something not a structure or union
  415 |         ap->av1_frame_header.loop_filter.ref_deltas[i] = frame_header->loop_filter_ref_deltas[i];
      |                             ^
src/libavcodec/vulkan_av1.c:417:29: error: request for member ‘cdef’ in something not a structure or union
  417 |         ap->av1_frame_header.cdef.y_pri_strength[i] = frame_header->cdef_y_pri_strength[i];
      |                             ^
src/libavcodec/vulkan_av1.c:418:29: error: request for member ‘cdef’ in something not a structure or union
  418 |         ap->av1_frame_header.cdef.y_sec_strength[i] = frame_header->cdef_y_sec_strength[i];
      |                             ^
src/libavcodec/vulkan_av1.c:419:29: error: request for member ‘cdef’ in something not a structure or union
  419 |         ap->av1_frame_header.cdef.uv_pri_strength[i] = frame_header->cdef_uv_pri_strength[i];
      |                             ^
src/libavcodec/vulkan_av1.c:420:29: error: request for member ‘cdef’ in something not a structure or union
  420 |         ap->av1_frame_header.cdef.uv_sec_strength[i] = frame_header->cdef_uv_sec_strength[i];
      |                             ^
src/libavcodec/vulkan_av1.c:422:29: error: request for member ‘ref_order_hint’ in something not a structure or union
  422 |         ap->av1_frame_header.ref_order_hint[i] = frame_header->ref_order_hint[i];
      |                             ^
src/libavcodec/vulkan_av1.c:423:29: error: request for member ‘global_motion’ in something not a structure or union
  423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {
      |                             ^
src/libavcodec/vulkan_av1.c:423:50: error: ‘StdVideoAV1MESAGlobalMotion’ undeclared (first use in this function); did you mean ‘StdVideoAV1GlobalMotion’?
  423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                  StdVideoAV1GlobalMotion
src/libavcodec/vulkan_av1.c:423:78: error: expected ‘;’ before ‘{’ token
  423 |         ap->av1_frame_header.global_motion[i] = (StdVideoAV1MESAGlobalMotion) {
      |                                                                              ^~
      |                                                                              ;
src/libavcodec/vulkan_av1.c:437:29: error: request for member ‘ref_frame_idx’ in something not a structure or union
  437 |         ap->av1_frame_header.ref_frame_idx[i] = frame_header->ref_frame_idx[i];
      |                             ^
src/libavcodec/vulkan_av1.c:438:29: error: request for member ‘delta_frame_id_minus1’ in something not a structure or union
  438 |         ap->av1_frame_header.delta_frame_id_minus1[i] = frame_header->delta_frame_id_minus1[i];
      |                             ^
src/libavcodec/vulkan_av1.c:441:21: error: request for member ‘skip_mode_frame_idx’ in something not a structure or union
  441 |     ap->av1_pic_info.skip_mode_frame_idx[0] = s->cur_frame.skip_mode_frame_idx[0];
      |                     ^
src/libavcodec/vulkan_av1.c:442:21: error: request for member ‘skip_mode_frame_idx’ in something not a structure or union
  442 |     ap->av1_pic_info.skip_mode_frame_idx[1] = s->cur_frame.skip_mode_frame_idx[1];
      |                     ^
src/libavcodec/vulkan_av1.c:446:33: error: request for member ‘film_grain’ in something not a structure or union
  446 |             ap->av1_frame_header.film_grain.point_y_value[i] = film_grain->point_y_value[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:447:33: error: request for member ‘film_grain’ in something not a structure or union
  447 |             ap->av1_frame_header.film_grain.point_y_scaling[i] = film_grain->point_y_scaling[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:451:33: error: request for member ‘film_grain’ in something not a structure or union
  451 |             ap->av1_frame_header.film_grain.point_cb_value[i] = film_grain->point_cb_value[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:452:33: error: request for member ‘film_grain’ in something not a structure or union
  452 |             ap->av1_frame_header.film_grain.point_cb_scaling[i] = film_grain->point_cb_scaling[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:453:33: error: request for member ‘film_grain’ in something not a structure or union
  453 |             ap->av1_frame_header.film_grain.point_cr_value[i] = film_grain->point_cr_value[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:454:33: error: request for member ‘film_grain’ in something not a structure or union
  454 |             ap->av1_frame_header.film_grain.point_cr_scaling[i] = film_grain->point_cr_scaling[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:458:33: error: request for member ‘film_grain’ in something not a structure or union
  458 |             ap->av1_frame_header.film_grain.ar_coeffs_y_plus_128[i] = film_grain->ar_coeffs_y_plus_128[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:459:33: error: request for member ‘film_grain’ in something not a structure or union
  459 |             ap->av1_frame_header.film_grain.ar_coeffs_cb_plus_128[i] = film_grain->ar_coeffs_cb_plus_128[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:460:33: error: request for member ‘film_grain’ in something not a structure or union
  460 |             ap->av1_frame_header.film_grain.ar_coeffs_cr_plus_128[i] = film_grain->ar_coeffs_cr_plus_128[i];
      |                                 ^
src/libavcodec/vulkan_av1.c:463:29: error: request for member ‘film_grain’ in something not a structure or union
  463 |         ap->av1_frame_header.film_grain.ar_coeffs_cb_plus_128[24] = film_grain->ar_coeffs_cb_plus_128[24];
      |                             ^
src/libavcodec/vulkan_av1.c:464:29: error: request for member ‘film_grain’ in something not a structure or union
  464 |         ap->av1_frame_header.film_grain.ar_coeffs_cr_plus_128[24] = film_grain->ar_coeffs_cr_plus_128[24];
      |                             ^
src/libavcodec/vulkan_av1.c: In function ‘vk_av1_decode_slice’:
src/libavcodec/vulkan_av1.c:483:32: error: request for member ‘nb_tiles’ in something not a structure or union
  483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {
      |                                ^
src/libavcodec/vulkan_av1.c:483:46: error: ‘StdVideoAV1MESATile’ undeclared (first use in this function); did you mean ‘StdVideoAV1Profile’?
  483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {
      |                                              ^~~~~~~~~~~~~~~~~~~
      |                                              StdVideoAV1Profile
src/libavcodec/vulkan_av1.c:483:66: error: expected ‘;’ before ‘{’ token
  483 |         ap->tiles[ap->tile_list.nb_tiles] = (StdVideoAV1MESATile) {
      |                                                                  ^~
      |                                                                  ;
src/libavcodec/vulkan_av1.c:495:52: error: request for member ‘nb_tiles’ in something not a structure or union
  495 |                                      &ap->tile_list.nb_tiles,
      |                                                    ^
src/libavcodec/vulkan_av1.c:500:32: error: request for member ‘nb_tiles’ in something not a structure or union
  500 |         ap->tiles[ap->tile_list.nb_tiles - 1].offset = ap->tile_offsets[ap->tile_list.nb_tiles - 1];
      |                                ^
src/libavcodec/vulkan_av1.c:500:86: error: request for member ‘nb_tiles’ in something not a structure or union
  500 |         ap->tiles[ap->tile_list.nb_tiles - 1].offset = ap->tile_offsets[ap->tile_list.nb_tiles - 1];
      |                                                                                      ^
src/libavcodec/vulkan_av1.c: In function ‘vk_av1_end_frame’:
src/libavcodec/vulkan_av1.c:516:23: error: request for member ‘nb_tiles’ in something not a structure or union
  516 |     if (!ap->tile_list.nb_tiles)
      |                       ^
src/libavcodec/vulkan_av1.c:534:42: error: request for member ‘nb_tiles’ in something not a structure or union
  534 |            vp->slices_size, ap->tile_list.nb_tiles);
      |                                          ^
cc1: some warnings being treated as errors
make: *** [/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: media-video/ffmpeg-6.1.1-r5::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/ffmpeg-6.1.1-r5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-6.1.1-r5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1'

>>> Failed to emerge media-video/ffmpeg-6.1.1-r5, Log file:

>>>  '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/temp/build.log'

 * Messages for package media-video/ffmpeg-6.1.1-r5:

 * ERROR: media-video/ffmpeg-6.1.1-r5::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/ffmpeg-6.1.1-r5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-6.1.1-r5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1-abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-video/ffmpeg-6.1.1-r5/work/ffmpeg-6.1.1'


The output of emerge --info is this:

Code:
emerge --info '=media-video/ffmpeg-6.1.1-r5::gentoo'
Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/17.1/desktop/gnome/systemd/merged-usr, gcc-13, glibc-2.39-r2, 6.7.7-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.7.7-gentoo-dist-x86_64-AMD_Ryzen_7_2700X_Eight-Core_Processor-with-glibc2.39
KiB Mem:    16294484 total,  11998092 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Fri, 05 Apr 2024 21:30:00 +0000
Head commit of repository gentoo: 6a13f96f4b3b9bfcfa44d4fab878dacec8a5ac58
sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.0::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          255.4::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.3::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.3::gentoo
sys-kernel/linux-headers:  6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.mephi.ru/gentoo-distfiles/     ftp://mirror.mephi.ru/gentoo-distfiles/     rsync://mirror.mephi.ru/gentoo-distfiles/     https://mirror.yandex.ru/gentoo-distfiles/     http://mirror.yandex.ru/gentoo-distfiles/     ftp://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus deprecated dri dts dvd dvdr eds encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline screencast sdl seccomp sound spell ssl startup-notification svg sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vorbis vpx vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="wacom libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-video/ffmpeg-6.1.1-r5::gentoo was built with the following:
USE="X alsa bzip2 dav1d encode gnutls gpl iconv lcms mp3 network opengl opus pic postproc pulseaudio sdl svg threads truetype vorbis vulkan x264 xvid zlib -amf -amr -amrenc (-appkit) -bluray -bs2b -cdio -chromaprint -chromium -codec2 -cpudetection -cuda -debug -doc -fdk -flite -fontconfig -frei0r -fribidi -gcrypt -glslang -gme -gmp -gsm -hardcoded-tables -iec61883 -ieee1394 -jack -jpeg2k -jpegxl -kvazaar -ladspa -libaom -libaribb24 -libass -libcaca -libdrm -libilbc -libplacebo -librtmp -libsoxr -libtesseract -libv4l -libxml2 -lv2 -lzma (-mipsdspr1) (-mipsdspr2) (-mipsfpu) -modplug -nvenc -openal -opencl -openh264 -openssl -oss -qsv -rav1e -rubberband -samba -shaderc -snappy -sndio -soc -speex -srt -ssh -static-libs -svt-av1 -test -theora -twolame -v4l -vaapi -vdpau -verify-sig -vidstab -vmaf -vpx -webp -x265 -zeromq -zimg -zvbi" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop" FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher"
FEATURES="binpkg-multi-instance ebuild-locks network-sandbox sfperms binpkg-docompress pkgdir-index-trusted sandbox unmerge-logs protect-owned unmerge-orphans assume-digests multilib-strict qa-unresolved-soname-deps usersandbox parallel-fetch xattr userfetch merge-sync unknown-features-warn binpkg-logs usersync distlocks ipc-sandbox userpriv binpkg-dostrip buildpkg-live pid-sandbox fixlafiles merge-wait strict config-protect-if-modified preserve-libs news"


My make.conf looks like that:

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j4"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8

GENTOO_MIRRORS="http://mirror.mephi.ru/gentoo-distfiles/ \
    ftp://mirror.mephi.ru/gentoo-distfiles/ \
    rsync://mirror.mephi.ru/gentoo-distfiles/ \
    https://mirror.yandex.ru/gentoo-distfiles/ \
    http://mirror.yandex.ru/gentoo-distfiles/ \
    ftp://mirror.yandex.ru/gentoo-distfiles/"

ACCEPT_LICENSE="*"
ACCEPT_KEYWORDS="~amd64"
GRUB_PLATFORMS="efi-64"
USE="bluetooth deprecated vpx screencast"
INPUT_DEVICES="wacom libinput"


I don't really know either what all that means or how to fix it... Can anyone please help?


Last edited by VectorPrimeSM on Sat Apr 06, 2024 9:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 216
Location: Somewhere in the 77

PostPosted: Sat Apr 06, 2024 9:33 am    Post subject: Reply with quote

Hello,

I’m not the best to help, but I might have detected that you are not using the stable release of Gentoo ?

Code:
6.7.7-gentoo-dist x86_64

Code:
ACCEPT_KEYWORDS="amd64 ~amd64"


I see also the usage of the USE flag "deprecated" but I can’t find what it does. What it does ?

Could you please also run that command and give us the link back :

Code:
wgetpaste /var/tmp/portage/media-video/ffmpeg-6.1.1-r5/temp/build.log


Regards,
GASPARD DE RENEFORT Kévin
_________________
wiki/User:Kgdrenefort/captain_logs My system info
G. does not have problems, only learning opportunities. - NeddyS.
If your installation isn't valuable to you, feel free to continue to ignore the instructions. - figue.
Back to top
View user's profile Send private message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 13

PostPosted: Sat Apr 06, 2024 9:59 am    Post subject: Reply with quote

Hello!

Firstly, thank you so much for answering. Now, for the things you've said:

1. I don't believe I'm using unstable... At least, that is not my intention; I've been running my system under the belief that it WAS stable. Maybe I've done something stupid (and I probably did).

2. I have no idea what "deprecated" actually does (speaking of stupid). If I recall correctly, some package refused to update without that USE flag enabled a long time ago, so I just enabled it without actually doing any research (or I just don't remember; as I've said, it happened a long time ago).

3. When running wgetpaste I get this error:

Code:
Apparently nothing was received. Perhaps the connection failed. Enable --verbose or
--debug to get the output from wget that can help diagnose it correctly.


I'll try to figure it out...
Back to top
View user's profile Send private message
kgdrenefort
Apprentice
Apprentice


Joined: 19 Sep 2023
Posts: 216
Location: Somewhere in the 77

PostPosted: Sat Apr 06, 2024 10:06 am    Post subject: Reply with quote

For the point 3, maybe try:

Code:
wgetpaste -s 0x0 yourfile

(by default it use bpa.st, that is more limited about size of upload than 0x0 if I remember correctly…)

I have to leave my computer, will get back to you later :).

Regards,
GASPARD DE RENEFORT Kévin
_________________
wiki/User:Kgdrenefort/captain_logs My system info
G. does not have problems, only learning opportunities. - NeddyS.
If your installation isn't valuable to you, feel free to continue to ignore the instructions. - figue.
Back to top
View user's profile Send private message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 13

PostPosted: Sat Apr 06, 2024 10:10 am    Post subject: Reply with quote

It worked!

Here's the wgetpaste link:
http://0x0.st/XiBr.log

Thank you so much for your help! Hope, we'll figure this out...

Also, I probably should have said, that I'd added "vpx screencast" USE flags to make.conf just before updating. I use GNOME, so I wanted to get built-in GNOME screen recorder to work (https://wiki.gentoo.org/wiki/GNOME/Guide#GNOME_built-in_screen_recorder_is_not_working). These USE flags might have something to do with the error, but I'm not really sure about that...
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4574
Location: Germany

PostPosted: Sat Apr 06, 2024 12:18 pm    Post subject: Reply with quote

Hi,
sounds like it is broken with new dev-util/vulkan-headers-1.3.280.0

It is already reported, see Bug 928593
Back to top
View user's profile Send private message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 13

PostPosted: Sat Apr 06, 2024 12:53 pm    Post subject: Reply with quote

Thanks, I didn't know that.

Quote:
Hi,
sounds like it is broken with new dev-util/vulkan-headers-1.3.280.0

It is already reported, see Bug 928593


So, do we just wait for the bug to be fixed then?
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4574
Location: Germany

PostPosted: Sat Apr 06, 2024 1:01 pm    Post subject: Reply with quote

Yes, or as a temporary workaround you can try
Code:
emerge -av1 =dev-util/vulkan-headers-1.3.275 media-video/ffmpeg
Back to top
View user's profile Send private message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 13

PostPosted: Sat Apr 06, 2024 2:10 pm    Post subject: Reply with quote

Thanks everyone for help! I really appreciate it.

I'll wait for the bug to be fixed and then try to upgrade again. If everything is going to work out, I'll mark this one as solved.

Have a lovely day!
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21724

PostPosted: Sat Apr 06, 2024 3:23 pm    Post subject: Reply with quote

VectorPrimeSM wrote:
1. I don't believe I'm using unstable... At least, that is not my intention; I've been running my system under the belief that it WAS stable. Maybe I've done something stupid (and I probably did).
That was not your intent, but it is what you have done. ACCEPT_KEYWORDS="~amd64" allows you to install packages in testing, also called unstable. You can get back to stable, but it is not easy, so unless you have a need to switch, you may be better off remaining on unstable.
VectorPrimeSM wrote:
2. I have no idea what "deprecated" actually does (speaking of stupid). If I recall correctly, some package refused to update without that USE flag enabled a long time ago, so I just enabled it without actually doing any research (or I just don't remember; as I've said, it happened a long time ago).
There are a few packages that recognize USE=deprecated. equery h can show them. Based on the name and description, I expect it enables optional and deprecated functionality in the affected packages. Personally, I would disable that flag and see what happens. Deprecated features often get removed later, so if it were my system, I would want to know now what (if anything) will break when the deprecated features are permanently removed, so that I could make contingency plans now, while I have the ability to re-enable the deprecated features. The alternative is to keep using those deprecated features unknowingly, and one day find they are gone and I need to immediately find an alternative.
Back to top
View user's profile Send private message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 13

PostPosted: Sat Apr 06, 2024 4:33 pm    Post subject: Reply with quote

Can confirm: "deprecated" has nothing to do with this error.
Removing it gave me 2 additional packages to updates, which were related to bluetooth (bluetooth works btw).

The update stopped again on ffmpeg with the same issue.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4574
Location: Germany

PostPosted: Sat Apr 06, 2024 9:20 pm    Post subject: Reply with quote

VectorPrimeSM wrote:
The update stopped again on ffmpeg with the same issue.
With which installed dev-util/vulkan-headers version?
stable, or the brand new testing version?
Back to top
View user's profile Send private message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 13

PostPosted: Sat Apr 06, 2024 9:34 pm    Post subject: Reply with quote

Equery outputs this:

Code:
equery --quiet list dev-util/vulkan-headers
dev-util/vulkan-headers-1.3.280.0


As per information from gentoo.org (https://packages.gentoo.org/packages/dev-util/vulkan-headers) it's testing version.
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4574
Location: Germany

PostPosted: Sat Apr 06, 2024 9:40 pm    Post subject: Reply with quote

Yes, then this tip (with the stable version)
Josef.95 wrote:
Yes, or as a temporary workaround you can try
Code:
emerge -av1 =dev-util/vulkan-headers-1.3.275 media-video/ffmpeg
should work.
Back to top
View user's profile Send private message
VectorPrimeSM
n00b
n00b


Joined: 13 Jan 2024
Posts: 13

PostPosted: Sat Apr 06, 2024 9:50 pm    Post subject: Reply with quote

Thanks everyone -- ffmpeg updated successfully after vulkan downgrade.

I'm marking this one as solved. Let's hope that bug in testing vulkan version is going to be fixed soon.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum