all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Recent libx264 updates broke mpv via ffmpeg-git
       [not found] ` <20180221173115.70FFB2052F@vcs0.savannah.gnu.org>
@ 2018-02-22 20:52   ` Mark H Weaver
  2018-02-22 21:13     ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Mark H Weaver @ 2018-02-22 20:52 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

Hi Efraim and Danny,

efraim@flashner.co.il (Efraim Flashner) writes:

> efraim pushed a commit to branch master
> in repository guix.
>
> commit a33727db1bf0eaf4a0024da45610bd8e3e727a8e
> Author: Efraim Flashner <efraim@flashner.co.il>
> Date:   Tue Feb 20 23:34:07 2018 +0200
>
>     gnu: libx264: Update to 20180219-2245.

dannym@scratchpost.org (Danny Milosavljevic) writes:

> dannym pushed a commit to branch master
> in repository guix.
>
> commit a0343008dc7edae60446177f2e10ca57c10112dc
> Author: Danny Milosavljevic <dannym@scratchpost.org>
> Date:   Wed Feb 21 20:25:00 2018 +0100
>
>     gnu: libx264: Use nasm.

One of these two commits seem to have broken the 'ffmpeg-git' build,
needed by 'mpv', on my x86_64 GuixSD system.  Here's an excerpt of the
failed log:

--8<---------------cut here---------------start------------->8---
CC      libavcodec/libvpx.o
CC      libavcodec/libvpxdec.o
CC      libavcodec/libvpxenc.o
CC      libavcodec/libx264.o
libavcodec/libx264.c: In function ‘X264_frame’:
libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
     if (x264_bit_depth > 8)
         ^
libavcodec/libx264.c:282:9: note: each undeclared identifier is reported only once for each function it appears in
libavcodec/libx264.c: In function ‘X264_init_static’:
libavcodec/libx264.c:876:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
     if (x264_bit_depth == 8)
         ^
make: *** [ffbuild/common.mak:60: libavcodec/libx264.o] Error 1
make: *** Waiting for unfinished jobs....
phase `build' failed after 340.6 seconds
note: keeping build directory `/tmp/guix-build-ffmpeg-git-3.4-1.3f8874406.drv-0'
builder for `/gnu/store/wka754abrdiwi481qgiprhwh67q2n3ih-ffmpeg-git-3.4-1.3f8874406.drv' failed with exit code 1
cannot build derivation `/gnu/store/9ddbwwzzdl30fx26sv4jsnmg3ddklqap-mpv-0.28.2.drv': 1 dependencies couldn't be built
guix package: error: build failed: build of `/gnu/store/9ddbwwzzdl30fx26sv4jsnmg3ddklqap-mpv-0.28.2.drv' failed
--8<---------------cut here---------------end--------------->8---

Could you take a look?

       Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Recent libx264 updates broke mpv via ffmpeg-git
  2018-02-22 20:52   ` Recent libx264 updates broke mpv via ffmpeg-git Mark H Weaver
@ 2018-02-22 21:13     ` Leo Famulari
  2018-02-22 21:29       ` Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2018-02-22 21:13 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1711 bytes --]

On Thu, Feb 22, 2018 at 03:52:13PM -0500, Mark H Weaver wrote:
> One of these two commits seem to have broken the 'ffmpeg-git' build,
> needed by 'mpv', on my x86_64 GuixSD system.  Here's an excerpt of the
> failed log:
> 
> --8<---------------cut here---------------start------------->8---
> CC      libavcodec/libvpx.o
> CC      libavcodec/libvpxdec.o
> CC      libavcodec/libvpxenc.o
> CC      libavcodec/libx264.o
> libavcodec/libx264.c: In function ‘X264_frame’:
> libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
>      if (x264_bit_depth > 8)
>          ^
> libavcodec/libx264.c:282:9: note: each undeclared identifier is reported only once for each function it appears in
> libavcodec/libx264.c: In function ‘X264_init_static’:
> libavcodec/libx264.c:876:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
>      if (x264_bit_depth == 8)
>          ^
> make: *** [ffbuild/common.mak:60: libavcodec/libx264.o] Error 1
> make: *** Waiting for unfinished jobs....
> phase `build' failed after 340.6 seconds
> note: keeping build directory `/tmp/guix-build-ffmpeg-git-3.4-1.3f8874406.drv-0'
> builder for `/gnu/store/wka754abrdiwi481qgiprhwh67q2n3ih-ffmpeg-git-3.4-1.3f8874406.drv' failed with exit code 1
> cannot build derivation `/gnu/store/9ddbwwzzdl30fx26sv4jsnmg3ddklqap-mpv-0.28.2.drv': 1 dependencies couldn't be built
> guix package: error: build failed: build of `/gnu/store/9ddbwwzzdl30fx26sv4jsnmg3ddklqap-mpv-0.28.2.drv' failed
> --8<---------------cut here---------------end--------------->8---

I can't reproduce this since commit bb2a95580e1db (gnu: libx264: Change
to stable branch).

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Recent libx264 updates broke mpv via ffmpeg-git
  2018-02-22 21:13     ` Leo Famulari
@ 2018-02-22 21:29       ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2018-02-22 21:29 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2179 bytes --]

On Thu, Feb 22, 2018 at 04:13:50PM -0500, Leo Famulari wrote:
> On Thu, Feb 22, 2018 at 03:52:13PM -0500, Mark H Weaver wrote:
> > One of these two commits seem to have broken the 'ffmpeg-git' build,
> > needed by 'mpv', on my x86_64 GuixSD system.  Here's an excerpt of the
> > failed log:
> > 
> > --8<---------------cut here---------------start------------->8---
> > CC      libavcodec/libvpx.o
> > CC      libavcodec/libvpxdec.o
> > CC      libavcodec/libvpxenc.o
> > CC      libavcodec/libx264.o
> > libavcodec/libx264.c: In function ‘X264_frame’:
> > libavcodec/libx264.c:282:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
> >      if (x264_bit_depth > 8)
> >          ^
> > libavcodec/libx264.c:282:9: note: each undeclared identifier is reported only once for each function it appears in
> > libavcodec/libx264.c: In function ‘X264_init_static’:
> > libavcodec/libx264.c:876:9: error: ‘x264_bit_depth’ undeclared (first use in this function)
> >      if (x264_bit_depth == 8)
> >          ^
> > make: *** [ffbuild/common.mak:60: libavcodec/libx264.o] Error 1
> > make: *** Waiting for unfinished jobs....
> > phase `build' failed after 340.6 seconds
> > note: keeping build directory `/tmp/guix-build-ffmpeg-git-3.4-1.3f8874406.drv-0'
> > builder for `/gnu/store/wka754abrdiwi481qgiprhwh67q2n3ih-ffmpeg-git-3.4-1.3f8874406.drv' failed with exit code 1
> > cannot build derivation `/gnu/store/9ddbwwzzdl30fx26sv4jsnmg3ddklqap-mpv-0.28.2.drv': 1 dependencies couldn't be built
> > guix package: error: build failed: build of `/gnu/store/9ddbwwzzdl30fx26sv4jsnmg3ddklqap-mpv-0.28.2.drv' failed
> > --8<---------------cut here---------------end--------------->8---
> 
> I can't reproduce this since commit bb2a95580e1db (gnu: libx264: Change
> to stable branch).

I tested with the stable branch reverted and my commit reverted, with
just the yasm->nasm change and I ffmpeg-git built fine.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-22 21:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20180221173114.27034.308@vcs0.savannah.gnu.org>
     [not found] ` <20180221173115.70FFB2052F@vcs0.savannah.gnu.org>
2018-02-22 20:52   ` Recent libx264 updates broke mpv via ffmpeg-git Mark H Weaver
2018-02-22 21:13     ` Leo Famulari
2018-02-22 21:29       ` Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.