LINUX.ORG.RU

История изменений

Исправление bryak, (текущая версия) :

cat /etc/portage/make.conf |grep -i use

# NOTE: This stage was built with the bindist Use flag enabled
USE="X pulseaudio"

out:


>>>  '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/build.log'

 * Messages for package media-video/mpv-0.32.0-r1:

 * ERROR: media-video/mpv-0.32.0-r1::gentoo failed (compile phase):
 *   build failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 4267:  Called waf-utils_src_compile
 *   environment, line 5281:  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.32.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mpv-0.32.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'
 * S: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'

кусок лога:

16:07:26 runner ['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-z,noexecstack', '-pthread', 'osdep/main-fn-unix.c.21.o', 'audio/aframe.c.20.o', 'audio/audio_buffer.c.20.o', 'au>
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: video/out/vulkan/context_xlib.c.20.o: in function `xlib_init':
context_xlib.c:(.text+0x134): undefined reference to `vkCreateXlibSurfaceKHR'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0/build'
Build failed
 -> task in 'mpv' failed with exit status 1:
        {task 140080620248272: cprogram main-fn-unix.c.21.o,aframe.c.20.o,audio_buffer.c.20.o,chmap.c.20.o,chmap_sel.c.20.o,ad_lavc.c.20.o,ad_spdif.c.20.o,af_format.c.20.o,af_lavcac3enc.c.20.o,af_scaletempo.c>
['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-z,noexecstack', '-pthread', 'osdep/main-fn-unix.c.21.o', 'audio/aframe.c.20.o', 'audio/audio_buffer.c.20.o', 'audio/chmap.c.20.o>
 ^[[31;01m*^[[0m ERROR: media-video/mpv-0.32.0-r1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   build failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line  125:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 4267:  Called waf-utils_src_compile
 ^[[31;01m*^[[0m   environment, line 5281:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}" || die "build failed"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=media-video/mpv-0.32.0-r1::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=media-video/mpv-0.32.0-r1::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'

Это стейбл, ага. В прод, срочно в прод!

Исправление bryak, :

cat /etc/portage/make.conf |grep -i use

# NOTE: This stage was built with the bindist Use flag enabled
USE="X pulseaudio"

out:


>>>  '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/build.log'

 * Messages for package media-video/mpv-0.32.0-r1:

 * ERROR: media-video/mpv-0.32.0-r1::gentoo failed (compile phase):
 *   build failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 4267:  Called waf-utils_src_compile
 *   environment, line 5281:  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.32.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mpv-0.32.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'
 * S: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'

кусок лога:

16:07:26 runner ['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-z,noexecstack', '-pthread', 'osdep/main-fn-unix.c.21.o', 'audio/aframe.c.20.o', 'audio/audio_buffer.c.20.o', 'au>
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: video/out/vulkan/context_xlib.c.20.o: in function `xlib_init':
context_xlib.c:(.text+0x134): undefined reference to `vkCreateXlibSurfaceKHR'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0/build'
Build failed
 -> task in 'mpv' failed with exit status 1:
        {task 140080620248272: cprogram main-fn-unix.c.21.o,aframe.c.20.o,audio_buffer.c.20.o,chmap.c.20.o,chmap_sel.c.20.o,ad_lavc.c.20.o,ad_spdif.c.20.o,af_format.c.20.o,af_lavcac3enc.c.20.o,af_scaletempo.c>
['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-Wl,-O1', '-Wl,--as-needed', '-Wl,-z,noexecstack', '-pthread', 'osdep/main-fn-unix.c.21.o', 'audio/aframe.c.20.o', 'audio/audio_buffer.c.20.o', 'audio/chmap.c.20.o>
 ^[[31;01m*^[[0m ERROR: media-video/mpv-0.32.0-r1::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   build failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line  125:  Called src_compile
 ^[[31;01m*^[[0m   environment, line 4267:  Called waf-utils_src_compile
 ^[[31;01m*^[[0m   environment, line 5281:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}" || die "build failed"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=media-video/mpv-0.32.0-r1::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=media-video/mpv-0.32.0-r1::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'

Исходная версия bryak, :

cat /etc/portage/make.conf |grep -i use

# NOTE: This stage was built with the bindist Use flag enabled
USE="X pulseaudio"

out:


>>>  '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/build.log'

 * Messages for package media-video/mpv-0.32.0-r1:

 * ERROR: media-video/mpv-0.32.0-r1::gentoo failed (compile phase):
 *   build failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_compile
 *   environment, line 4267:  Called waf-utils_src_compile
 *   environment, line 5281:  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.32.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mpv-0.32.0-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.32.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'
 * S: '/var/tmp/portage/media-video/mpv-0.32.0-r1/work/mpv-0.32.0'