Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9363

mpv-0.34.1.20220130 fails to build

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • None
    • emerge mpv in next

      usr/include/spa-0.2/spa/pod/builder.h:571:38: warning: declaration of ‘f’ shadows a previous local [-Wshadow]
        571 |                 struct spa_pod_frame f;
            |                                      ^
      /usr/include/spa-0.2/spa/pod/builder.h:565:31: note: shadowed declaration is here
        565 |         struct spa_pod_frame *f = builder->state.frame;
            |                               ^
      ../audio/out/ao_pipewire.c: In function ‘uninit’:
      ../audio/out/ao_pipewire.c:233:5: error: implicit declaration of function ‘pw_deinit’; did you mean ‘pw_init’? [-Werror=implicit-function-declaration]
        233 |     pw_deinit();
            |     ^~~~~~~~~
            |     pw_init
      cc1: some warnings being treated as errorsWaf: Leaving directory `/var/tmp/portage/media-video/mpv-0.34.1.20220130/work/mpv-0.34.1.20220130/build'
      Build failed
       -> task in 'objects' failed with exit status 1: 
          {task 139632098431824: c ao_pipewire.c -> ao_pipewire.c.29.o}
      ['x86_64-pc-linux-gnu-gcc', '-march=skylake', '-O2', '-pipe', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Wall', '-std=c11', '-O2', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-Wvla', '-Wno-format-truncation', '-Wimplicit-fallthrough', '-fno-math-errno', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-DNO_BUILD_TIMESTAMPS', '-pthread', '-I.', '-I..', '-I/usr/lib64/libffi-3.3_rc0/include', '-I/usr/include/libxml2', '-I/usr/include/freetype2', '-I/usr/include/uuid', '-I/usr/include/pipewire-0.3', '-I/usr/include/spa-0.2', '-I/usr/include/uchardet', '-I/usr/include/SDL2', '-I/usr/include/dvdcss', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include', '-I/usr/include/fribidi', '-D_REENTRANT', '-D_REENTRANT', '-D_REENTRANT', '../audio/out/ao_pipewire.c', '-c', '-o/var/tmp/portage/media-video/mpv-0.34.1.20220130/work/mpv-0.34.1.20220130/build/audio/out/ao_pipewire.c.29.o']
       * ERROR: media-video/mpv-0.34.1.20220130::media-kit failed (compile phase):
       *   build failed
       * 
       * Call stack:
       *     ebuild.sh, line   93:  Called src_compile
       *   environment, line 4304:  Called waf-utils_src_compile
       *   environment, line 5275:  Called die
       * The specific snippet of code:
       *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}" || die "build failed"
       * 
       * If you need support, post the output of `emerge --info '=media-video/mpv-0.34.1.20220130::media-kit'`,
       * the complete build log and the output of `emerge -pqv '=media-video/mpv-0.34.1.20220130::media-kit'`.
       * The complete build log is located at '/var/tmp/portage/media-video/mpv-0.34.1.20220130/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.34.1.20220130/temp/environment'.
       * Working directory: '/var/tmp/portage/media-video/mpv-0.34.1.20220130/work/mpv-0.34.1.20220130'
       * S: '/var/tmp/portage/media-video/mpv-0.34.1.20220130/work/mpv-0.34.1.20220130'>>> Failed to emerge media-video/mpv-0.34.1.20220130, Log file:>>>  '/var/tmp/portage/media-video/mpv-0.34.1.20220130/temp/build.log' * Messages for package media-video/mpv-0.34.1.20220130: * ERROR: media-video/mpv-0.34.1.20220130::media-kit failed (compile phase):
       *   build failed
       * 
       * Call stack:
       *     ebuild.sh, line   93:  Called src_compile
       *   environment, line 4304:  Called waf-utils_src_compile
       *   environment, line 5275:  Called die
       * The specific snippet of code:
       *       "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}" || die "build failed"
       * 
       * If you need support, post the output of `emerge --info '=media-video/mpv-0.34.1.20220130::media-kit'`,
       * the complete build log and the output of `emerge -pqv '=media-video/mpv-0.34.1.20220130::media-kit'`.
       * The complete build log is located at '/var/tmp/portage/media-video/mpv-0.34.1.20220130/temp/build.log'.
       * The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.34.1.20220130/temp/environment'.
       * Working directory: '/var/tmp/portage/media-video/mpv-0.34.1.20220130/work/mpv-0.34.1.20220130'
       * S: '/var/tmp/portage/media-video/mpv-0.34.1.20220130/work/mpv-0.34.1.20220130' 

            Unassigned Unassigned
            pross pross
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: