GNU bug report logs - #39738
ffmpeg-4.2.2 fails to build on native i686-linux

Previous Next

Package: guix;

Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>

Date: Sat, 22 Feb 2020 15:48:02 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

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 39738 in the body.
You can then email your comments to 39738 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 bug-guix <at> gnu.org:
bug#39738; Package guix. (Sat, 22 Feb 2020 15:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 22 Feb 2020 15:48:02 GMT) Full text and rfc822 format available.

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

From: Jan Nieuwenhuizen <janneke <at> gnu.org>
To: bug-guix <at> gnu.org
Subject: ffmpeg-4.2.2 fails to build on native i686-linux
Date: Sat, 22 Feb 2020 16:47:14 +0100
[Message part 1 (text/plain, inline)]
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

[lbnqlz4ppj0bgckksn7r25p385qawy-ffmpeg-4.2.2.drv.bz2 (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Jan Nieuwenhuizen <janneke <at> gnu.org> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.com

Information forwarded to bug-guix <at> gnu.org:
bug#39738; Package guix. (Fri, 06 Mar 2020 15:31:03 GMT) Full text and rfc822 format available.

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

From: ndre <nandre <at> riseup.net>
To: 39738 <at> debbugs.gnu.org
Subject: Re: ffmpeg-4.2.2 fails to build on native i686-linux
Date: Fri, 6 Mar 2020 09:04:42 -0300
[Message part 1 (text/plain, inline)]
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.

[nihy0hya21wm4dpqv7iq2z8q80qq92-ffmpeg-4.2.2.drv.bz2 (application/octet-stream, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#39738; Package guix. (Sun, 08 Mar 2020 20:50:01 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jan Nieuwenhuizen <janneke <at> gnu.org>
Cc: 39738 <at> debbugs.gnu.org
Subject: Re: bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
Date: Sun, 08 Mar 2020 21:49:06 +0100
Hi,

Jan Nieuwenhuizen <janneke <at> 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’.




Information forwarded to bug-guix <at> gnu.org:
bug#39738; Package guix. (Sun, 08 Aug 2021 03:54:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Jan Nieuwenhuizen <janneke <at> gnu.org>
Cc: 39738 <at> debbugs.gnu.org
Subject: Re: bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
Date: Sat, 07 Aug 2021 23:53:07 -0400
Hi,

Jan Nieuwenhuizen <janneke <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#39738; Package guix. (Tue, 18 Oct 2022 16:20:06 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 39738 <at> debbugs.gnu.org, Jan Nieuwenhuizen <janneke <at> gnu.org>
Subject: Re: bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
Date: Tue, 18 Oct 2022 17:50:38 +0200
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 <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#39738; Package guix. (Tue, 17 Oct 2023 07:47:03 GMT) Full text and rfc822 format available.

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

From: Simon Tournier <zimon.toutoune <at> gmail.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 39738 <at> debbugs.gnu.org, Jan Nieuwenhuizen <janneke <at> gnu.org>
Subject: Re: bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
Date: Tue, 17 Oct 2023 00:31:35 +0200
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 <at> gmail.com> wrote:
> On Sat, 07 Aug 2021 at 23:53, Maxim Cournoyer <maxim.cournoyer <at> 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




Information forwarded to bug-guix <at> gnu.org:
bug#39738; Package guix. (Tue, 17 Oct 2023 14:33:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Simon Tournier <zimon.toutoune <at> gmail.com>
Cc: 39738 <at> debbugs.gnu.org, Jan Nieuwenhuizen <janneke <at> gnu.org>
Subject: Re: bug#39738: ffmpeg-4.2.2 fails to build on native i686-linux
Date: Tue, 17 Oct 2023 10:31:33 -0400
Hi Simon,

Simon Tournier <zimon.toutoune <at> 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




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Wed, 09 Apr 2025 16:00:02 GMT) Full text and rfc822 format available.

Notification sent to Jan Nieuwenhuizen <janneke <at> gnu.org>:
bug acknowledged by developer. (Wed, 09 Apr 2025 16:00:02 GMT) Full text and rfc822 format available.

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

From: Andreas Enge <andreas <at> enge.fr>
To: 39738-done <at> debbugs.gnu.org
Subject: Close
Date: Wed, 9 Apr 2025 17:59:29 +0200
Closing.

Andreas





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 May 2025 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 53 days ago.

Previous Next


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