GNU bug report logs - #54451
[PATCH] gnu: dav1d: Update to 1.0.0.

Previous Next

Package: guix-patches;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Fri, 18 Mar 2022 15:55:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54451 in the body.
You can then email your comments to 54451 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#54451; Package guix-patches. (Fri, 18 Mar 2022 15:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Leo Famulari <leo <at> famulari.name>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 18 Mar 2022 15:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: dav1d: Update to 1.0.0.
Date: Fri, 18 Mar 2022 11:54:19 -0400
* gnu/packages/video.scm (dav1d): Update to 1.0.0.
---
 gnu/packages/video.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index dc05c0a222..464a8aea2f 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -4948,7 +4948,7 @@ (define-public shotcut
 (define-public dav1d
   (package
     (name "dav1d")
-    (version "0.9.2")
+    (version "1.0.0")
     (source
       (origin
         (method git-fetch)
@@ -4957,7 +4957,7 @@ (define-public dav1d
                (commit version)))
         (file-name (git-file-name name version))
         (sha256
-         (base32 "0bkps488h9s15ylvkm4fmfywgrpbw570glawpnv6khpq9n223dzl"))))
+         (base32 "0jkvb5as7danpalzlwd0w1dc9i2vijvmf39z0j6fwqvialsgnnj5"))))
     (build-system meson-build-system)
     (native-inputs (list nasm))
     (home-page "https://code.videolan.org/videolan/dav1d")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#54451; Package guix-patches. (Fri, 18 Mar 2022 17:24:02 GMT) Full text and rfc822 format available.

Message #8 received at 54451 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: 54451 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: dav1d: Update to 1.0.0.
Date: Fri, 18 Mar 2022 13:23:40 -0400
I tried building VLC with this update, because VLC and dav1d are both
projects of VideoLAN, so it's a good test.

Unfortunately, it seems that VLC is not yet ready for dav1d 1.0.0.
Compilation fails with many errors like this:

------
codec/dav1d.c:306:65: error: ‘Dav1dSettings’ has no member named ‘n_tile_threads’; did you mean ‘n_threads’?
  306 |             dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads);
      |                                                                 ^~~~~~~~~~~~~~
../include/vlc_messages.h:79:23: note: in definition of macro ‘msg_Generic’
   79 |             __func__, __VA_ARGS__)
      |                       ^~~~~~~~~~~
codec/dav1d.c:305:5: note: in expansion of macro ‘msg_Dbg’
  305 |     msg_Dbg(p_this, "Using dav1d version %s with %d/%d frame/tile threads",
      |     ^~~~~~~
codec/dav1d.c:310:45: error: ‘Dav1dSettings’ has no member named ‘n_frame_threads’
  310 |     dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1);
      |                                             ^
make[4]: *** [Makefile:21741: codec/libdav1d_plugin_la-dav1d.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
demux/flac.c: In function ‘GetPacketizedBlock’:
demux/flac.c:230:17: warning: unused variable ‘i_ret’ [-Wunused-variable]
  230 |             int i_ret = FLAC_ParseSyncInfo( p_block->p_buffer, streaminfo, NULL, &headerinfo );
      |                 ^~~~~
make[4]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
make[3]: *** [Makefile:28011: all-recursive] Error 1
make[3]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
make[2]: *** [Makefile:12804: all] Error 2
make[2]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
make[1]: *** [Makefile:1563: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16'
make: *** [Makefile:1450: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `build' failed after 52.2 seconds
command "make" "-j" "4" failed with status 2
builder for `/gnu/store/zs6a6l91hlw5apphqddijavx532kc4ln-vlc-3.0.16.drv' failed with exit code 1
build of /gnu/store/zs6a6l91hlw5apphqddijavx532kc4ln-vlc-3.0.16.drv failed
------




Information forwarded to guix-patches <at> gnu.org:
bug#54451; Package guix-patches. (Thu, 09 Feb 2023 13:21:01 GMT) Full text and rfc822 format available.

Message #11 received at 54451 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: 54451 <at> debbugs.gnu.org
Subject: Re: bug#54451: [PATCH] gnu: dav1d: Update to 1.0.0.
Date: Thu, 09 Feb 2023 08:19:57 -0500
Hi Leo,

Leo Famulari <leo <at> famulari.name> writes:

> I tried building VLC with this update, because VLC and dav1d are both
> projects of VideoLAN, so it's a good test.
>
> Unfortunately, it seems that VLC is not yet ready for dav1d 1.0.0.
> Compilation fails with many errors like this:
>
> ------
> codec/dav1d.c:306:65: error: ‘Dav1dSettings’ has no member named ‘n_tile_threads’; did you mean ‘n_threads’?
>   306 |             dav1d_version(), p_sys->s.n_frame_threads, p_sys->s.n_tile_threads);
>       |                                                                 ^~~~~~~~~~~~~~
> ../include/vlc_messages.h:79:23: note: in definition of macro ‘msg_Generic’
>    79 |             __func__, __VA_ARGS__)
>       |                       ^~~~~~~~~~~
> codec/dav1d.c:305:5: note: in expansion of macro ‘msg_Dbg’
>   305 |     msg_Dbg(p_this, "Using dav1d version %s with %d/%d frame/tile threads",
>       |     ^~~~~~~
> codec/dav1d.c:310:45: error: ‘Dav1dSettings’ has no member named ‘n_frame_threads’
>   310 |     dec->i_extra_picture_buffers = (p_sys->s.n_frame_threads - 1);
>       |                                             ^
> make[4]: *** [Makefile:21741: codec/libdav1d_plugin_la-dav1d.lo] Error 1
> make[4]: *** Waiting for unfinished jobs....
> demux/flac.c: In function ‘GetPacketizedBlock’:
> demux/flac.c:230:17: warning: unused variable ‘i_ret’ [-Wunused-variable]
>   230 |             int i_ret = FLAC_ParseSyncInfo( p_block->p_buffer, streaminfo, NULL, &headerinfo );
>       |                 ^~~~~
> make[4]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
> make[3]: *** [Makefile:28011: all-recursive] Error 1
> make[3]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
> make[2]: *** [Makefile:12804: all] Error 2
> make[2]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16/modules'
> make[1]: *** [Makefile:1563: all-recursive] Error 1
> make[1]: Leaving directory '/tmp/guix-build-vlc-3.0.16.drv-0/vlc-3.0.16'
> make: *** [Makefile:1450: all] Error 2
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f> 
> phase `build' failed after 52.2 seconds
> command "make" "-j" "4" failed with status 2
> builder for `/gnu/store/zs6a6l91hlw5apphqddijavx532kc4ln-vlc-3.0.16.drv' failed with exit code 1
> build of /gnu/store/zs6a6l91hlw5apphqddijavx532kc4ln-vlc-3.0.16.drv failed

46 weeks later, perhaps a VLC update could fix this?  :-)

-- 
Thanks,
Maxim




Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sun, 12 Feb 2023 11:53:01 GMT) Full text and rfc822 format available.

Notification sent to Leo Famulari <leo <at> famulari.name>:
bug acknowledged by developer. (Sun, 12 Feb 2023 11:53:02 GMT) Full text and rfc822 format available.

Message #16 received at 54451-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 54451-done <at> debbugs.gnu.org
Subject: Re: bug#54451: [PATCH] gnu: dav1d: Update to 1.0.0.
Date: Sun, 12 Feb 2023 12:51:52 +0100
On Thu, Feb 09, 2023 at 08:19:57AM -0500, Maxim Cournoyer wrote:
> 46 weeks later, perhaps a VLC update could fix this?  :-)

Yes, thanks for the reminder!

Compatibility between dav1d 1.0.0 and VLC was added in VLC 3.0.18. Also
tested in mpv.

Pushed as 126608f7a9649bc7761331a15940dd65ff773e0c




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 13 Mar 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 39 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.