unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
@ 2020-02-22 15:47 Jan Nieuwenhuizen
  2020-03-06 12:04 ` ndre
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jan Nieuwenhuizen @ 2020-02-22 15:47 UTC (permalink / raw)
  To: 39738

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

Hi,

When building ffmpeg-4.2.2 (current master, 8d1b22b27fba3d1e4310f02a5897d231b42ca117)
natively on 32bit hardware, the build fails because of two failing tests
(full log attached)

--8<---------------cut here---------------start------------->8---
--- ./tests/ref/fate/filter-pixdesc-grayf32be	2019-12-31 21:35:25.000000000 +0000
+++ tests/data/fate/filter-pixdesc-grayf32be	2020-02-22 15:15:50.209912771 +0000
@@ -1 +1 @@
-pixdesc-grayf32be   9b23c74e8e8ffae5d7c7e82bbf5929da
+pixdesc-grayf32be   01816b882016239d0cf84241818926a4
--- ./tests/ref/fate/filter-pixdesc-grayf32le	2019-12-31 21:35:25.000000000 +0000
+++ tests/data/fate/filter-pixdesc-grayf32le	2020-02-22 15:15:50.253914049 +0000
@@ -1 +1 @@
-pixdesc-grayf32le   291f074a24c44799a1f437d1c55556f1
+pixdesc-grayf32le   1b234318d06d5a76e980c376ad8764e5
Test filter-pixdesc-grayf32be failed. Look at tests/data/fate/filter-pixdesc-grayf32be.err for details.
make: *** [tests/Makefile:238: fate-filter-pixdesc-grayf32be] Error 1
make: *** Waiting for unfinished jobs....
Test filter-pixdesc-grayf32le failed. Look at tests/data/fate/filter-pixdesc-grayf32le.err for details.
make: *** [tests/Makefile:238: fate-filter-pixdesc-grayf32le] Error 1

Test suite failed, dumping logs.
command "make" "fate" "-j" "2" failed with status 2
--8<---------------cut here---------------end--------------->8---

How to attempt fixing this?

Building it on 64 bit hardware (much faster!) works for me, i.e. this

    guix build --system=i686-linux ffmpeg

works for me and can be used as a substitute...

Together with qemu-minimal-2.10 depending on ffmpeg
(https://bugs.gnu.org/39737) and no available substitutes this made for
a pretty rough "guix system reconfigure"-experience today.

I worked around this by adding a ffmpeg package that ignored the check
phase (#:tests? #f); I am wondering if we could we enable (something
like) that from the command line?  WDYT?

Apart from this hiccup I had a smooth upgrade from guix 0.14,
impressive!

Greetings,
janneke


[-- Attachment #2: lbnqlz4ppj0bgckksn7r25p385qawy-ffmpeg-4.2.2.drv.bz2 --]
[-- Type: application/octet-stream, Size: 66001 bytes --]

[-- Attachment #3: Type: text/plain, Size: 152 bytes --]


-- 
Jan Nieuwenhuizen <janneke@gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

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

* bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
  2020-02-22 15:47 bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux Jan Nieuwenhuizen
@ 2020-03-06 12:04 ` ndre
  2020-03-08 20:49 ` Ludovic Courtès
  2021-08-08  3:53 ` Maxim Cournoyer
  2 siblings, 0 replies; 7+ messages in thread
From: ndre @ 2020-03-06 12:04 UTC (permalink / raw)
  To: 39738


[-- Attachment #1.1: Type: text/plain, Size: 917 bytes --]

I'm also hitting this bug, though the failing tests are
different. Here, audiodsp fails. Current commit is
aac148a87b9a79b9992b8b1a9d76c217175d4a88.

Test checkasm-audiodsp failed. Look at tests/data/fate/checkasm-audiodsp.err for details.
make: *** [tests/Makefile:237: fate-checkasm-audiodsp] Error 1
make: *** Waiting for unfinished jobs....
TEST    checkasm-bswapdsp

Test suite failed, dumping logs.
command "make" "fate" "-j" "2" failed with status 2

----------------------------------------------------

tests/data/fate/checkasm-audiodsp.err:

checkasm: using random seed 854121083
MMX:
 - audiodsp.audiodsp [OK]
MMXEXT:
 - audiodsp.audiodsp [OK]
SSE:
 - audiodsp.audiodsp [OK]
SSE2:
 - audiodsp.audiodsp [OK]
SSSE3:
   audiodsp.vector_clip_int32_ssse3 (audiodsp.c:111)
 - audiodsp.audiodsp [FAILED]
checkasm: 1 of 6 tests have failed

---------------------------------------------------

Full log attached.


[-- Attachment #1.2: nihy0hya21wm4dpqv7iq2z8q80qq92-ffmpeg-4.2.2.drv.bz2 --]
[-- Type: application/octet-stream, Size: 62892 bytes --]

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

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

* bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
  2020-02-22 15:47 bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux Jan Nieuwenhuizen
  2020-03-06 12:04 ` ndre
@ 2020-03-08 20:49 ` Ludovic Courtès
  2021-08-08  3:53 ` Maxim Cournoyer
  2 siblings, 0 replies; 7+ messages in thread
From: Ludovic Courtès @ 2020-03-08 20:49 UTC (permalink / raw)
  To: Jan Nieuwenhuizen; +Cc: 39738

Hi,

Jan Nieuwenhuizen <janneke@gnu.org> skribis:

> When building ffmpeg-4.2.2 (current master, 8d1b22b27fba3d1e4310f02a5897d231b42ca117)
> natively on 32bit hardware, the build fails because of two failing tests
> (full log attached)
>
> --- ./tests/ref/fate/filter-pixdesc-grayf32be	2019-12-31 21:35:25.000000000 +0000
> +++ tests/data/fate/filter-pixdesc-grayf32be	2020-02-22 15:15:50.209912771 +0000
> @@ -1 +1 @@
> -pixdesc-grayf32be   9b23c74e8e8ffae5d7c7e82bbf5929da
> +pixdesc-grayf32be   01816b882016239d0cf84241818926a4
> --- ./tests/ref/fate/filter-pixdesc-grayf32le	2019-12-31 21:35:25.000000000 +0000
> +++ tests/data/fate/filter-pixdesc-grayf32le	2020-02-22 15:15:50.253914049 +0000
> @@ -1 +1 @@
> -pixdesc-grayf32le   291f074a24c44799a1f437d1c55556f1
> +pixdesc-grayf32le   1b234318d06d5a76e980c376ad8764e5

Bah, it’s an all-too-common kind of failure.  :-/

> I worked around this by adding a ffmpeg package that ignored the check
> phase (#:tests? #f); I am wondering if we could we enable (something
> like) that from the command line?  WDYT?

We could add a package transformation option that adds #:tests? #f.
WDYT?

Though it’d be nice to not have test failures in the first place.  :-)

> Apart from this hiccup I had a smooth upgrade from guix 0.14,
> impressive!

From 0.14, woow.

Ludo’.

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

* bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
  2020-02-22 15:47 bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux Jan Nieuwenhuizen
  2020-03-06 12:04 ` ndre
  2020-03-08 20:49 ` Ludovic Courtès
@ 2021-08-08  3:53 ` Maxim Cournoyer
  2022-10-18 15:50   ` zimoun
  2 siblings, 1 reply; 7+ messages in thread
From: Maxim Cournoyer @ 2021-08-08  3:53 UTC (permalink / raw)
  To: Jan Nieuwenhuizen; +Cc: 39738

Hi,

Jan Nieuwenhuizen <janneke@gnu.org> writes:

> Hi,
>
> When building ffmpeg-4.2.2 (current master, 8d1b22b27fba3d1e4310f02a5897d231b42ca117)
> natively on 32bit hardware, the build fails because of two failing tests
> (full log attached)
>
> --- ./tests/ref/fate/filter-pixdesc-grayf32be	2019-12-31 21:35:25.000000000 +0000
> +++ tests/data/fate/filter-pixdesc-grayf32be	2020-02-22 15:15:50.209912771 +0000
> @@ -1 +1 @@
> -pixdesc-grayf32be   9b23c74e8e8ffae5d7c7e82bbf5929da
> +pixdesc-grayf32be   01816b882016239d0cf84241818926a4
> --- ./tests/ref/fate/filter-pixdesc-grayf32le	2019-12-31 21:35:25.000000000 +0000
> +++ tests/data/fate/filter-pixdesc-grayf32le	2020-02-22 15:15:50.253914049 +0000
> @@ -1 +1 @@
> -pixdesc-grayf32le   291f074a24c44799a1f437d1c55556f1
> +pixdesc-grayf32le   1b234318d06d5a76e980c376ad8764e5
> Test filter-pixdesc-grayf32be failed. Look at tests/data/fate/filter-pixdesc-grayf32be.err for details.
> make: *** [tests/Makefile:238: fate-filter-pixdesc-grayf32be] Error 1
> make: *** Waiting for unfinished jobs....
> Test filter-pixdesc-grayf32le failed. Look at tests/data/fate/filter-pixdesc-grayf32le.err for details.
> make: *** [tests/Makefile:238: fate-filter-pixdesc-grayf32le] Error 1
>
> Test suite failed, dumping logs.
> command "make" "fate" "-j" "2" failed with status 2
>
> How to attempt fixing this?
>
> Building it on 64 bit hardware (much faster!) works for me, i.e. this
>
>     guix build --system=i686-linux ffmpeg
>
> works for me and can be used as a substitute...

I don't have real 32 bits hardware to test on, but could you please test
ffmpeg 4.4 on such hardware if you have a chance and see if the issues
still exist?

Thanks,

Maxim




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

* bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
  2021-08-08  3:53 ` Maxim Cournoyer
@ 2022-10-18 15:50   ` zimoun
  2023-10-16 22:31     ` Simon Tournier
  0 siblings, 1 reply; 7+ messages in thread
From: zimoun @ 2022-10-18 15:50 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 39738, Jan Nieuwenhuizen

Hi,

It is about the old bug#39738 [1].

1: <http://issues.guix.gnu.org/issue/39738>

On Sat, 07 Aug 2021 at 23:53, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:

>> Building it on 64 bit hardware (much faster!) works for me, i.e. this
>>
>>     guix build --system=i686-linux ffmpeg
>>
>> works for me and can be used as a substitute...
>
> I don't have real 32 bits hardware to test on, but could you please test
> ffmpeg 4.4 on such hardware if you have a chance and see if the issues
> still exist?

Friendly ping. :-)

Is ffmpeg still an issue an real 32 bits hardware?

Cheers,
simon




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

* bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
  2022-10-18 15:50   ` zimoun
@ 2023-10-16 22:31     ` Simon Tournier
  2023-10-17 14:31       ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Simon Tournier @ 2023-10-16 22:31 UTC (permalink / raw)
  To: Maxim Cournoyer; +Cc: 39738, Jan Nieuwenhuizen

Hi,

It is about the old bug#39738 [1].

1: <http://issues.guix.gnu.org/issue/39738>


On Tue, 18 Oct 2022 at 17:50, zimoun <zimon.toutoune@gmail.com> wrote:
> On Sat, 07 Aug 2021 at 23:53, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:
>
>>> Building it on 64 bit hardware (much faster!) works for me, i.e. this
>>>
>>>     guix build --system=i686-linux ffmpeg
>>>
>>> works for me and can be used as a substitute...
>>
>> I don't have real 32 bits hardware to test on, but could you please test
>> ffmpeg 4.4 on such hardware if you have a chance and see if the issues
>> still exist?
>
> Friendly ping. :-)
>
> Is ffmpeg still an issue an real 32 bits hardware?

I do not have real 32 bits hardware to test on, but

    guix build --system=i686-linux ffmpeg

works for me with Guix 6113e05.  It outputs:

/gnu/store/wprpm76xy3b0312579dgv0akzy6k9llh-ffmpeg-6.0-debug
/gnu/store/y2mvpk6bna381ldskfmh6rzy1j34xnms-ffmpeg-6.0

Moreover, CI reports the failures for:

  v3.4.11 https://ci.guix.gnu.org/build/1836841/details

and passes for:

  v2.1.3 https://ci.guix.gnu.org/build/2041193/details
  v2.8.20 https://ci.guix.gnu.org/build/1836825/details
  v4.4.2 https://ci.guix.gnu.org/build/1836824/details
  v5.1.3 https://ci.guix.gnu.org/build/1836833/details
  v6.0   https://ci.guix.gnu.org/build/1836842/details

Therefore, I am in favor to close it.

WDYT?

Cheers,
simon




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

* bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
  2023-10-16 22:31     ` Simon Tournier
@ 2023-10-17 14:31       ` Maxim Cournoyer
  0 siblings, 0 replies; 7+ messages in thread
From: Maxim Cournoyer @ 2023-10-17 14:31 UTC (permalink / raw)
  To: Simon Tournier; +Cc: 39738, Jan Nieuwenhuizen

Hi Simon,

Simon Tournier <zimon.toutoune@gmail.com> writes:

[...]

>> Is ffmpeg still an issue an real 32 bits hardware?
>
> I do not have real 32 bits hardware to test on, but
>
>     guix build --system=i686-linux ffmpeg
>
> works for me with Guix 6113e05.  It outputs:
>
> /gnu/store/wprpm76xy3b0312579dgv0akzy6k9llh-ffmpeg-6.0-debug
> /gnu/store/y2mvpk6bna381ldskfmh6rzy1j34xnms-ffmpeg-6.0
>
> Moreover, CI reports the failures for:
>
>   v3.4.11 https://ci.guix.gnu.org/build/1836841/details
>
> and passes for:
>
>   v2.1.3 https://ci.guix.gnu.org/build/2041193/details
>   v2.8.20 https://ci.guix.gnu.org/build/1836825/details
>   v4.4.2 https://ci.guix.gnu.org/build/1836824/details
>   v5.1.3 https://ci.guix.gnu.org/build/1836833/details
>   v6.0   https://ci.guix.gnu.org/build/1836842/details
>
> Therefore, I am in favor to close it.
>
> WDYT?

Sounds reasonable, thanks for the verifications!

-- 
Thanks,
Maxim




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

end of thread, other threads:[~2023-10-17 14:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-22 15:47 bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux Jan Nieuwenhuizen
2020-03-06 12:04 ` ndre
2020-03-08 20:49 ` Ludovic Courtès
2021-08-08  3:53 ` Maxim Cournoyer
2022-10-18 15:50   ` zimoun
2023-10-16 22:31     ` Simon Tournier
2023-10-17 14:31       ` Maxim Cournoyer

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).