unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
@ 2024-08-31 15:46 Dariqq
  2024-09-01 12:15 ` Dariqq
  2024-09-03 14:24 ` André Batista
  0 siblings, 2 replies; 13+ messages in thread
From: Dariqq @ 2024-08-31 15:46 UTC (permalink / raw)
  To: 72917

Hi,

Upgraded my old i686 machine to after core updates merge 
(b8327cb31199fb9f4ebed6c53a59601d41def5a1) and now earlier versions of 
ffmpeg fail to build.


phase `patch-source-shebangs' succeeded after 0.6 seconds
starting phase `bypass-openal-check'
phase `bypass-openal-check' succeeded after 0.0 seconds
starting phase `configure'
ERROR: openal not found



I can't find the "alGetError ||" string in the configure script which is 
used to bypass the check on ffmepg@6 in the earlier versions (#72838).




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

* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
  2024-08-31 15:46 bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Dariqq
@ 2024-09-01 12:15 ` Dariqq
  2024-09-03 14:44   ` André Batista
  2024-09-03 14:24 ` André Batista
  1 sibling, 1 reply; 13+ messages in thread
From: Dariqq @ 2024-09-01 12:15 UTC (permalink / raw)
  To: 72917

I was able to reconfigure the system on core updates by adding the 
following snippet into openals phases

#$@(if (target-x86-32?)
  #~((add-before 'configure 'unprotect
      (lambda* _
        (substitute* "CMakeLists.txt"
          (("if\\(HAVE_GCC_PROTECTED_VISIBILITY\\)") "if(0)")))))
  #~())

which disables the protection causing problems. I don't know what the 
implications of this change are.




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

* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
  2024-08-31 15:46 bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Dariqq
  2024-09-01 12:15 ` Dariqq
@ 2024-09-03 14:24 ` André Batista
  2024-09-03 14:30   ` bug#72917: [PATCH] gnu: ffmpeg-{5, 4, 3}: Fix build on i686 with binutils 2.41 André Batista
  2024-09-03 17:39   ` bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Dariqq
  1 sibling, 2 replies; 13+ messages in thread
From: André Batista @ 2024-09-03 14:24 UTC (permalink / raw)
  To: Dariqq; +Cc: ludo, 72917

Hi Dariqq,

sáb 31 ago 2024 às 15:46:01 (1725129961), dariqq@posteo.net enviou:
> Hi,
> 
> Upgraded my old i686 machine to after core updates merge
> (b8327cb31199fb9f4ebed6c53a59601d41def5a1) and now earlier versions of
> ffmpeg fail to build.
> 
> phase `patch-source-shebangs' succeeded after 0.6 seconds
> starting phase `bypass-openal-check'
> phase `bypass-openal-check' succeeded after 0.0 seconds
> starting phase `configure'
> ERROR: openal not found
> 
> I can't find the "alGetError ||" string in the configure script which is
> used to bypass the check on ffmepg@6 in the earlier versions (#72838).
> 

I'm sorry for that, I should've checked that this string would match on
earlier versions of ffmpeg. Looking back, replacing the 'die' clause
would make more sense. However, since changing it now would trigger
many rebuilds, I'll send a patch which changes the match only for the
broken earlier versions.

Thanks for reporting and feel free to CC me if/when you see that a patch
of mine has been incomplete or otherwise has caused issues.




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

* bug#72917: [PATCH] gnu: ffmpeg-{5, 4, 3}: Fix build on i686 with binutils 2.41.
  2024-09-03 14:24 ` André Batista
@ 2024-09-03 14:30   ` André Batista
  2024-09-04 17:10     ` Ludovic Courtès
  2024-09-05  7:25     ` bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Ludovic Courtès
  2024-09-03 17:39   ` bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Dariqq
  1 sibling, 2 replies; 13+ messages in thread
From: André Batista @ 2024-09-03 14:30 UTC (permalink / raw)
  To: 72917; +Cc: André Batista, dariqq, ludo

Fixes <https://issues.guix.gnu.org/72917>.

* gnu/packages/video.scm (ffmpeg-5): Replace 'bypass-openal-check
string substitution with one that matches on this and earlier
versions of ffmpeg.
(ffmpeg-4): Inherit package arguments from ffmpeg-5.

Reported-by: Dariqq <dariqq@posteo.net>

Change-Id: Ie5b51a174be45b511757dece369563975e498bac
---
 gnu/packages/video.scm | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ac9fabeb38..8b4da65836 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1845,6 +1845,9 @@ (define-public ffmpeg
                       ;; https://lists.gnu.org/archive/html/guix-devel/2024-08/msg00159.html
                       (lambda _
                         (substitute* "configure"
+                          ;; This string only matches on ffmpeg v6 and above.
+                          ;; Replace it with the one defined at ffmpeg-5 which
+                          ;; matches on all ffmpeg versions. See #71917.
                           (("alGetError \\|\\|")
                            "alGetError \|\| true \|\|")))))
                  #~())
@@ -1889,7 +1892,18 @@ (define-public ffmpeg-5
                                   version ".tar.xz"))
               (sha256
                (base32
-                "0qwhyhil805hns7yksdxagnrcc90h60al7lz1rc65kd1j2w3nf2l"))))))
+                "0qwhyhil805hns7yksdxagnrcc90h60al7lz1rc65kd1j2w3nf2l"))))
+    (arguments
+     (if (target-x86-32?)
+         (substitute-keyword-arguments (package-arguments ffmpeg)
+           ((#:phases phases)
+            #~(modify-phases #$phases
+                (replace 'bypass-openal-check
+                  (lambda _
+                    (substitute* "configure"
+                      (("die \"ERROR: openal not found\"")
+                       "true")))))))
+         (package-arguments ffmpeg)))))
 
 (define-public ffmpeg-4
   (package
@@ -1907,7 +1921,7 @@ (define-public ffmpeg-4
     (inputs (modify-inputs (package-inputs ffmpeg)
               (replace "sdl2" sdl2-2.0)))
     (arguments
-     (substitute-keyword-arguments (package-arguments ffmpeg)
+     (substitute-keyword-arguments (package-arguments ffmpeg-5)
        ((#:configure-flags flags ''())
         #~(cons "--enable-avresample" #$flags))))))
 

base-commit: 778dd796bff808f1f8520533bab239ecbe83cd87
-- 
2.45.2




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

* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
  2024-09-01 12:15 ` Dariqq
@ 2024-09-03 14:44   ` André Batista
  0 siblings, 0 replies; 13+ messages in thread
From: André Batista @ 2024-09-03 14:44 UTC (permalink / raw)
  To: Dariqq; +Cc: 72917

dom 01 set 2024 às 12:15:01 (1725203701), dariqq@posteo.net enviou:
> I was able to reconfigure the system on core updates by adding the following
> snippet into openals phases
> 
> #$@(if (target-x86-32?)
>  #~((add-before 'configure 'unprotect
>      (lambda* _
>        (substitute* "CMakeLists.txt"
>          (("if\\(HAVE_GCC_PROTECTED_VISIBILITY\\)") "if(0)")))))
>  #~())
> 
> which disables the protection causing problems. I don't know what the
> implications of this change are.

The problem with this solution is twofold: first we would loose this
safety check for all packages that depend on openal and even for devs on
guix working with this library; second, since there are many packages
which use it as an input, this would trigger lots os rebuilds.

I think the reasons why this was implemented were described here:

<https://maskray.me/blog/2021-01-09-copy-relocations-canonical-plt-entries-and-protected>

Cheers!




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

* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
  2024-09-03 14:24 ` André Batista
  2024-09-03 14:30   ` bug#72917: [PATCH] gnu: ffmpeg-{5, 4, 3}: Fix build on i686 with binutils 2.41 André Batista
@ 2024-09-03 17:39   ` Dariqq
  1 sibling, 0 replies; 13+ messages in thread
From: Dariqq @ 2024-09-03 17:39 UTC (permalink / raw)
  To: André Batista; +Cc: ludo, 72917

Hi André,

On 03.09.24 16:24, André Batista wrote:

> 
> I'm sorry for that, I should've checked that this string would match on
> earlier versions of ffmpeg. Looking back, replacing the 'die' clause
> would make more sense. However, since changing it now would trigger
> many rebuilds, I'll send a patch which changes the match only for the
> broken earlier versions.
> 

Thanks, your patch looks a lot more sensible than my bruteforce way.  I 
have successfully rebuild my system with your patch applied.

What would be the best way to get it to master? QA seems to think the 
issue contains no patch.

> Thanks for reporting and feel free to CC me if/when you see that a patch
> of mine has been incomplete or otherwise has caused issues.

Have a nice day,
Dariqq




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

* bug#72917: [PATCH] gnu: ffmpeg-{5, 4, 3}: Fix build on i686 with binutils 2.41.
  2024-09-03 14:30   ` bug#72917: [PATCH] gnu: ffmpeg-{5, 4, 3}: Fix build on i686 with binutils 2.41 André Batista
@ 2024-09-04 17:10     ` Ludovic Courtès
  2024-09-05  7:25     ` bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Ludovic Courtès
  1 sibling, 0 replies; 13+ messages in thread
From: Ludovic Courtès @ 2024-09-04 17:10 UTC (permalink / raw)
  To: André Batista; +Cc: dariqq, 72917-done

Hi André,

André Batista <nandre@riseup.net> skribis:

> Fixes <https://issues.guix.gnu.org/72917>.
>
> * gnu/packages/video.scm (ffmpeg-5): Replace 'bypass-openal-check
> string substitution with one that matches on this and earlier
> versions of ffmpeg.
> (ffmpeg-4): Inherit package arguments from ffmpeg-5.
>
> Reported-by: Dariqq <dariqq@posteo.net>
>
> Change-Id: Ie5b51a174be45b511757dece369563975e498bac

Applied, thanks!  And thank you Dariqq for reporting the issue and
testing the patch.

Ludo’.




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

* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
  2024-09-03 14:30   ` bug#72917: [PATCH] gnu: ffmpeg-{5, 4, 3}: Fix build on i686 with binutils 2.41 André Batista
  2024-09-04 17:10     ` Ludovic Courtès
@ 2024-09-05  7:25     ` Ludovic Courtès
  2024-09-05 19:43       ` Dariqq
  2024-09-05 23:47       ` André Batista
  1 sibling, 2 replies; 13+ messages in thread
From: Ludovic Courtès @ 2024-09-05  7:25 UTC (permalink / raw)
  To: André Batista; +Cc: dariqq, 72917

Hello,

André Batista <nandre@riseup.net> skribis:

> Fixes <https://issues.guix.gnu.org/72917>.
>
> * gnu/packages/video.scm (ffmpeg-5): Replace 'bypass-openal-check
> string substitution with one that matches on this and earlier
> versions of ffmpeg.
> (ffmpeg-4): Inherit package arguments from ffmpeg-5.
>
> Reported-by: Dariqq <dariqq@posteo.net>
>
> Change-Id: Ie5b51a174be45b511757dece369563975e498bac

As it turns out, while all 3 variants built fine for i686 on a machine
of mine, there are test failures at ci.guix:

From <https://ci.guix.gnu.org/build/5613329/details>:

--8<---------------cut here---------------start------------->8---
--- ./tests/ref/fate/filter-lavd-scalenorm	2023-11-09 23:38:51.000000000 +0000
+++ tests/data/fate/filter-lavd-scalenorm	2024-09-04 17:57:08.701821746 +0000
@@ -1,15 +0,0 @@
-#tb 0: 1/5
-#media_type 0: video
-#codec_id 0: rawvideo
-#dimensions 0: 128x96
-#sar 0: 1/1
-0,          0,          0,        1,    18432, 0xac484db5
-0,          1,          1,        1,    18432, 0x94734db6
-0,          2,          2,        1,    18432, 0x3fac4db3
-0,          3,          3,        1,    18432, 0x37a94dcd
-0,          4,          4,        1,    18432, 0x2b3e4dbb
-0,          5,          5,        1,    18432, 0xd23a67bf
-0,          6,          6,        1,    18432, 0x898368e1
-0,          7,          7,        1,    18432, 0x79466438
-0,          8,          8,        1,    18432, 0x458c5d95
-0,          9,          9,        1,    18432, 0x9d9a56ee
Test filter-lavd-scalenorm failed. Look at tests/data/fate/filter-lavd-scalenorm.err for details.
make: *** [tests/Makefile:304: fate-filter-lavd-scalenorm] Error 1
make: *** Waiting for unfinished jobs....
TEST    filter-refcmp-psnr-rgb

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("fate" "-j" "24") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `check' failed after 8.7 seconds
command "make" "fate" "-j" "24" failed with status 2
build process 18 exited with status 256
builder for `/gnu/store/7wsa154li4w974z2p6qnaaw97ng9m8hq-ffmpeg-5.1.4.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

And from <https://ci.guix.gnu.org/build/5613330/details>:

--8<---------------cut here---------------start------------->8---
--- ./tests/ref/lavf/fits	1970-01-01 00:00:01.000000000 +0000
+++ tests/data/fate/lavf-fits	2024-09-04 17:57:17.900035764 +0000
@@ -1,9 +1,9 @@
 ed9fd697d0d782df6201f6a2db184552 *./tests/data/lavf/graylavf.fits
 5328000 ./tests/data/lavf/graylavf.fits
-./tests/data/lavf/graylavf.fits CRC=0xbacf446c
+./tests/data/lavf/graylavf.fits CRC=0xeb450e41
 48e6caf6a59e32f9a8a39979c9183a7f *./tests/data/lavf/gray16belavf.fits
 10368000 ./tests/data/lavf/gray16belavf.fits
-./tests/data/lavf/gray16belavf.fits CRC=0xae2b58d4
+./tests/data/lavf/gray16belavf.fits CRC=0xcc6d0df7
 be2f7112fd193c9a909304c81e662769 *./tests/data/lavf/gbrplavf.fits
 15408000 ./tests/data/lavf/gbrplavf.fits
 ./tests/data/lavf/gbrplavf.fits CRC=0x04ed3828
TEST    filter-pixdesc-yuv422p
TEST    filter-pixdesc-yuv444p
Test lavf-fits failed. Look at tests/data/fate/lavf-fits.err for details.
make: *** [tests/Makefile:226: fate-lavf-fits] Error 1
make: *** Waiting for unfinished jobs....

Test suite failed, dumping logs.
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("fate" "-j" "24") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `check' failed after 17.3 seconds
command "make" "fate" "-j" "24" failed with status 2
build process 18 exited with status 256
builder for `/gnu/store/90fv07zbjc92dscaj42c2yzrqpl1qlza-ffmpeg-3.4.13.drv' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

Are you seeing this?  Does the Internet have something to say about
these?

Thanks,
Ludo’.




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

* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
  2024-09-05  7:25     ` bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Ludovic Courtès
@ 2024-09-05 19:43       ` Dariqq
  2024-09-05 23:47       ` André Batista
  1 sibling, 0 replies; 13+ messages in thread
From: Dariqq @ 2024-09-05 19:43 UTC (permalink / raw)
  To: Ludovic Courtès, André Batista; +Cc: 72917

Hi,

On 05.09.24 09:25, Ludovic Courtès wrote:
> Hello,

> 
> As it turns out, while all 3 variants built fine for i686 on a machine
> of mine, there are test failures at ci.guix:
> 
>  From <https://ci.guix.gnu.org/build/5613329/details>:
> 
> --8<---------------cut here---------------start------------->8---
> --- ./tests/ref/fate/filter-lavd-scalenorm	2023-11-09 23:38:51.000000000 +0000
> +++ tests/data/fate/filter-lavd-scalenorm	2024-09-04 17:57:08.701821746 +0000
> @@ -1,15 +0,0 @@
> -#tb 0: 1/5
> -#media_type 0: video
> -#codec_id 0: rawvideo
> -#dimensions 0: 128x96
> -#sar 0: 1/1
> -0,          0,          0,        1,    18432, 0xac484db5
> -0,          1,          1,        1,    18432, 0x94734db6
> -0,          2,          2,        1,    18432, 0x3fac4db3
> -0,          3,          3,        1,    18432, 0x37a94dcd
> -0,          4,          4,        1,    18432, 0x2b3e4dbb
> -0,          5,          5,        1,    18432, 0xd23a67bf
> -0,          6,          6,        1,    18432, 0x898368e1
> -0,          7,          7,        1,    18432, 0x79466438
> -0,          8,          8,        1,    18432, 0x458c5d95
> -0,          9,          9,        1,    18432, 0x9d9a56ee
> Test filter-lavd-scalenorm failed. Look at tests/data/fate/filter-lavd-scalenorm.err for details.
> make: *** [tests/Makefile:304: fate-filter-lavd-scalenorm] Error 1
> make: *** Waiting for unfinished jobs....
> TEST    filter-refcmp-psnr-rgb
> 
> Test suite failed, dumping logs.
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("fate" "-j" "24") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `check' failed after 8.7 seconds
> command "make" "fate" "-j" "24" failed with status 2
> build process 18 exited with status 256
> builder for `/gnu/store/7wsa154li4w974z2p6qnaaw97ng9m8hq-ffmpeg-5.1.4.drv' failed with exit code 1
> --8<---------------cut here---------------end--------------->8---
> 
> And from <https://ci.guix.gnu.org/build/5613330/details>:
> 
> --8<---------------cut here---------------start------------->8---
> --- ./tests/ref/lavf/fits	1970-01-01 00:00:01.000000000 +0000
> +++ tests/data/fate/lavf-fits	2024-09-04 17:57:17.900035764 +0000
> @@ -1,9 +1,9 @@
>   ed9fd697d0d782df6201f6a2db184552 *./tests/data/lavf/graylavf.fits
>   5328000 ./tests/data/lavf/graylavf.fits
> -./tests/data/lavf/graylavf.fits CRC=0xbacf446c
> +./tests/data/lavf/graylavf.fits CRC=0xeb450e41
>   48e6caf6a59e32f9a8a39979c9183a7f *./tests/data/lavf/gray16belavf.fits
>   10368000 ./tests/data/lavf/gray16belavf.fits
> -./tests/data/lavf/gray16belavf.fits CRC=0xae2b58d4
> +./tests/data/lavf/gray16belavf.fits CRC=0xcc6d0df7
>   be2f7112fd193c9a909304c81e662769 *./tests/data/lavf/gbrplavf.fits
>   15408000 ./tests/data/lavf/gbrplavf.fits
>   ./tests/data/lavf/gbrplavf.fits CRC=0x04ed3828
> TEST    filter-pixdesc-yuv422p
> TEST    filter-pixdesc-yuv444p
> Test lavf-fits failed. Look at tests/data/fate/lavf-fits.err for details.
> make: *** [tests/Makefile:226: fate-lavf-fits] Error 1
> make: *** Waiting for unfinished jobs....
> 
> Test suite failed, dumping logs.
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("fate" "-j" "24") exit-status: 2 term-signal: #f stop-signal: #f>
> phase `check' failed after 17.3 seconds
> command "make" "fate" "-j" "24" failed with status 2
> build process 18 exited with status 256
> builder for `/gnu/store/90fv07zbjc92dscaj42c2yzrqpl1qlza-ffmpeg-3.4.13.drv' failed with exit code 1
> --8<---------------cut here---------------end--------------->8---
> 
> Are you seeing this?  Does the Internet have something to say about
> these?
> 

ffmpeg@5 builds without issues for me. For ffmpeg@3 the tests always 
fail at the lavf-fits tests same as the ci system.

For ffmpeg@4 which has by far the most dependants (including things like 
webkitgtk etc) i have no test issues.

> Thanks,
> Ludo’.

I hope this helps,
Dariqq




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

* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
  2024-09-05  7:25     ` bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Ludovic Courtès
  2024-09-05 19:43       ` Dariqq
@ 2024-09-05 23:47       ` André Batista
  2024-09-11 20:10         ` André Batista
  1 sibling, 1 reply; 13+ messages in thread
From: André Batista @ 2024-09-05 23:47 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: dariqq, 72917

Hi,

qui 05 set 2024 às 09:25:36 (1725539136), ludo@gnu.org enviou:
> Hello,
> 
> As it turns out, while all 3 variants built fine for i686 on a machine
> of mine, there are test failures at ci.guix:
> 
> From <https://ci.guix.gnu.org/build/5613329/details>:
> 
> --8<---------------cut here---------------start------------->8---
> --- ./tests/ref/fate/filter-lavd-scalenorm	2023-11-09 23:38:51.000000000 +0000
> +++ tests/data/fate/filter-lavd-scalenorm	2024-09-04 17:57:08.701821746 +0000
> @@ -1,15 +0,0 @@
> -#tb 0: 1/5
> -#media_type 0: video
> -#codec_id 0: rawvideo
> -#dimensions 0: 128x96
> -#sar 0: 1/1
> -0,          0,          0,        1,    18432, 0xac484db5
> -0,          1,          1,        1,    18432, 0x94734db6
> -0,          2,          2,        1,    18432, 0x3fac4db3
> -0,          3,          3,        1,    18432, 0x37a94dcd
> -0,          4,          4,        1,    18432, 0x2b3e4dbb
> -0,          5,          5,        1,    18432, 0xd23a67bf
> -0,          6,          6,        1,    18432, 0x898368e1
> -0,          7,          7,        1,    18432, 0x79466438
> -0,          8,          8,        1,    18432, 0x458c5d95
> -0,          9,          9,        1,    18432, 0x9d9a56ee
> Test filter-lavd-scalenorm failed. Look at tests/data/fate/filter-lavd-scalenorm.err for details.
> make: *** [tests/Makefile:304: fate-filter-lavd-scalenorm] Error 1
> make: *** Waiting for unfinished jobs....
> TEST    filter-refcmp-psnr-rgb
> 
> Test suite failed, dumping logs.
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("fate" "-j" "24") exit-status: 2 term-signal: #f stop-signal: #f> 
> phase `check' failed after 8.7 seconds
> command "make" "fate" "-j" "24" failed with status 2
> build process 18 exited with status 256
> builder for `/gnu/store/7wsa154li4w974z2p6qnaaw97ng9m8hq-ffmpeg-5.1.4.drv' failed with exit code 1
> --8<---------------cut here---------------end--------------->8---
> 
> And from <https://ci.guix.gnu.org/build/5613330/details>:
> 
> --8<---------------cut here---------------start------------->8---
> --- ./tests/ref/lavf/fits	1970-01-01 00:00:01.000000000 +0000
> +++ tests/data/fate/lavf-fits	2024-09-04 17:57:17.900035764 +0000
> @@ -1,9 +1,9 @@
>  ed9fd697d0d782df6201f6a2db184552 *./tests/data/lavf/graylavf.fits
>  5328000 ./tests/data/lavf/graylavf.fits
> -./tests/data/lavf/graylavf.fits CRC=0xbacf446c
> +./tests/data/lavf/graylavf.fits CRC=0xeb450e41
>  48e6caf6a59e32f9a8a39979c9183a7f *./tests/data/lavf/gray16belavf.fits
>  10368000 ./tests/data/lavf/gray16belavf.fits
> -./tests/data/lavf/gray16belavf.fits CRC=0xae2b58d4
> +./tests/data/lavf/gray16belavf.fits CRC=0xcc6d0df7
>  be2f7112fd193c9a909304c81e662769 *./tests/data/lavf/gbrplavf.fits
>  15408000 ./tests/data/lavf/gbrplavf.fits
>  ./tests/data/lavf/gbrplavf.fits CRC=0x04ed3828
> TEST    filter-pixdesc-yuv422p
> TEST    filter-pixdesc-yuv444p
> Test lavf-fits failed. Look at tests/data/fate/lavf-fits.err for details.
> make: *** [tests/Makefile:226: fate-lavf-fits] Error 1
> make: *** Waiting for unfinished jobs....
> 
> Are you seeing this?  Does the Internet have something to say about
> these?

No I did not see this here, all tests passed. I've tried searching
ffmpeg bug tracker and commit logs but nothing useful came up.

Is it possible to see that 'tests/data/fate/lavf-fits.err' file on
CI somehow? I don't actually expect it to be of much help though.

I also see errors on ffmpeg-3, as Dariqq mentioned, but looking at
the build history on CI it had also appeared on
<https://ci.guix.gnu.org/build/5382581/log/raw> which was before
the core-updates merge, so it seems unrelated.




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

* bug#72917: ffmpeg@{3,4,5} build failures on i686-linux
  2024-09-05 23:47       ` André Batista
@ 2024-09-11 20:10         ` André Batista
  2024-09-11 21:14           ` bug#67308: bug#72917: ffmpeg-3 build failures is duplicate of bug#67308 André Batista
  0 siblings, 1 reply; 13+ messages in thread
From: André Batista @ 2024-09-11 20:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: dariqq, 72917

Hi,

qui 05 set 2024 às 20:47:39 (1725580059), nandre@riseup.net enviou:
> 
> qui 05 set 2024 às 09:25:36 (1725539136), ludo@gnu.org enviou:
> > 
> > As it turns out, while all 3 variants built fine for i686 on a machine
> > of mine, there are test failures at ci.guix:
> > 
> > From <https://ci.guix.gnu.org/build/5613329/details>:
> > 
> > [...]
> > 
> > And from <https://ci.guix.gnu.org/build/5613330/details>:
> > 
> > --8<---------------cut here---------------start------------->8---
> > --- ./tests/ref/lavf/fits	1970-01-01 00:00:01.000000000 +0000
> > +++ tests/data/fate/lavf-fits	2024-09-04 17:57:17.900035764 +0000
> > @@ -1,9 +1,9 @@
> >  ed9fd697d0d782df6201f6a2db184552 *./tests/data/lavf/graylavf.fits
> >  5328000 ./tests/data/lavf/graylavf.fits
> > -./tests/data/lavf/graylavf.fits CRC=0xbacf446c
> > +./tests/data/lavf/graylavf.fits CRC=0xeb450e41
> >  48e6caf6a59e32f9a8a39979c9183a7f *./tests/data/lavf/gray16belavf.fits
> >  10368000 ./tests/data/lavf/gray16belavf.fits
> > -./tests/data/lavf/gray16belavf.fits CRC=0xae2b58d4
> > +./tests/data/lavf/gray16belavf.fits CRC=0xcc6d0df7
> >  be2f7112fd193c9a909304c81e662769 *./tests/data/lavf/gbrplavf.fits
> >  15408000 ./tests/data/lavf/gbrplavf.fits
> >  ./tests/data/lavf/gbrplavf.fits CRC=0x04ed3828
> > TEST    filter-pixdesc-yuv422p
> > TEST    filter-pixdesc-yuv444p
> > Test lavf-fits failed. Look at tests/data/fate/lavf-fits.err for details.
> > make: *** [tests/Makefile:226: fate-lavf-fits] Error 1
> > make: *** Waiting for unfinished jobs....
> > 
> > Are you seeing this?  Does the Internet have something to say about
> > these?
> 
> No I did not see this here, all tests passed. I've tried searching
> ffmpeg bug tracker and commit logs but nothing useful came up.
> 
> Is it possible to see that 'tests/data/fate/lavf-fits.err' file on
> CI somehow? I don't actually expect it to be of much help though.
> 
> I also see errors on ffmpeg-3, as Dariqq mentioned, but looking at
> the build history on CI it had also appeared on
> <https://ci.guix.gnu.org/build/5382581/log/raw> which was before
> the core-updates merge, so it seems unrelated.
> 

Sorry, I think my previous message was a bit confusing. What I meant to
say was that ffmpeg-5 had build fine here, but ffmpeg-3 didn't and I did
hit the same error as above shown on CI.

Since then, CI has successfully built ffmpeg-5[1]. So I'm guessing its
test failure was transient, even though this latest success originated
from a commit[2] which was afterwards reverted[3].

However, ffmpeg-3 is still failing[4] with that same lavf.fits error,
even on that same commit. I've dabbed here increasing the verbosity to
debug level, but I still don't have any clue as to what is triggering
this failure.

I'll report this upstream and see if ffmpeg devs can help us out here.
Otherwise, as a last resource, we could disable that test and live with
a slightly broken ffmpeg-3.

1. <https://ci.guix.gnu.org/build/5617581/details>

2. <https://git.savannah.gnu.org/cgit/guix.git/commit/?id=36e30a33e8c67d15ccfae6e4a4289c193f0759ad>

3. <https://git.savannah.gnu.org/cgit/guix.git/commit/?id=c4a2b99f7d06ef5676d4148410a3b734c286f7cb>

4. <https://ci.guix.gnu.org/build/5617551/details>




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

* bug#67308: bug#72917: ffmpeg-3 build failures is duplicate of bug#67308
  2024-09-11 20:10         ` André Batista
@ 2024-09-11 21:14           ` André Batista
  2024-09-12 21:16             ` bug#67308: ffmpeg-3 build failures on i686 André Batista
  0 siblings, 1 reply; 13+ messages in thread
From: André Batista @ 2024-09-11 21:14 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: dariqq, 67308, 72917

qua 11 set 2024 às 17:10:49 (1726085449), nandre@riseup.net enviou:
> 
> qui 05 set 2024 às 20:47:39 (1725580059), nandre@riseup.net enviou:
> > 
> > qui 05 set 2024 às 09:25:36 (1725539136), ludo@gnu.org enviou:
> > > 
> > > [...]
> > > 
> > > And from <https://ci.guix.gnu.org/build/5613330/details>:
> > > 
> > > --8<---------------cut here---------------start------------->8---
> > > --- ./tests/ref/lavf/fits	1970-01-01 00:00:01.000000000 +0000
> > > +++ tests/data/fate/lavf-fits	2024-09-04 17:57:17.900035764 +0000
> > > @@ -1,9 +1,9 @@
> > >  ed9fd697d0d782df6201f6a2db184552 *./tests/data/lavf/graylavf.fits
> > >  5328000 ./tests/data/lavf/graylavf.fits
> > > -./tests/data/lavf/graylavf.fits CRC=0xbacf446c
> > > +./tests/data/lavf/graylavf.fits CRC=0xeb450e41
> > >  48e6caf6a59e32f9a8a39979c9183a7f *./tests/data/lavf/gray16belavf.fits
> > >  10368000 ./tests/data/lavf/gray16belavf.fits
> > > -./tests/data/lavf/gray16belavf.fits CRC=0xae2b58d4
> > > +./tests/data/lavf/gray16belavf.fits CRC=0xcc6d0df7
> > >  be2f7112fd193c9a909304c81e662769 *./tests/data/lavf/gbrplavf.fits
> > >  15408000 ./tests/data/lavf/gbrplavf.fits
> > >  ./tests/data/lavf/gbrplavf.fits CRC=0x04ed3828
> > > TEST    filter-pixdesc-yuv422p
> > > TEST    filter-pixdesc-yuv444p
> > > Test lavf-fits failed. Look at tests/data/fate/lavf-fits.err for details.
> > > make: *** [tests/Makefile:226: fate-lavf-fits] Error 1
> > > make: *** Waiting for unfinished jobs....
> > > 
> > 
> > I also see errors on ffmpeg-3, as Dariqq mentioned, but looking at
> > the build history on CI it had also appeared on
> > <https://ci.guix.gnu.org/build/5382581/log/raw> which was before
> > the core-updates merge, so it seems unrelated.
> > 
> 
> [...]
> 
> However, ffmpeg-3 is still failing[4] with that same lavf.fits error,
> even on that same commit. I've dabbed here increasing the verbosity to
> debug level, but I still don't have any clue as to what is triggering
> this failure.
> 

This ffmpeg-3 error was already reported at #67308[1]. So I suggest we
discuss it there, if anyone makes any progress.

+CC 67308 for reference.

<https://issues.guix.gnu.org/67308>




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

* bug#67308: ffmpeg-3 build failures on i686
  2024-09-11 21:14           ` bug#67308: bug#72917: ffmpeg-3 build failures is duplicate of bug#67308 André Batista
@ 2024-09-12 21:16             ` André Batista
  0 siblings, 0 replies; 13+ messages in thread
From: André Batista @ 2024-09-12 21:16 UTC (permalink / raw)
  To: 67308

I've created a trac ticket upstream:

<https://trac.ffmpeg.org/ticket/11189>

Cheers!




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

end of thread, other threads:[~2024-09-12 21:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-31 15:46 bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Dariqq
2024-09-01 12:15 ` Dariqq
2024-09-03 14:44   ` André Batista
2024-09-03 14:24 ` André Batista
2024-09-03 14:30   ` bug#72917: [PATCH] gnu: ffmpeg-{5, 4, 3}: Fix build on i686 with binutils 2.41 André Batista
2024-09-04 17:10     ` Ludovic Courtès
2024-09-05  7:25     ` bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Ludovic Courtès
2024-09-05 19:43       ` Dariqq
2024-09-05 23:47       ` André Batista
2024-09-11 20:10         ` André Batista
2024-09-11 21:14           ` bug#67308: bug#72917: ffmpeg-3 build failures is duplicate of bug#67308 André Batista
2024-09-12 21:16             ` bug#67308: ffmpeg-3 build failures on i686 André Batista
2024-09-03 17:39   ` bug#72917: ffmpeg@{3,4,5} build failures on i686-linux Dariqq

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).