Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911679 - www-client/firefox-116.0 build failure with sys-devel/binutils-2.41 (media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr')
Summary: www-client/firefox-116.0 build failure with sys-devel/binutils-2.41 (media/ff...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: binutils-2.41
  Show dependency tree
 
Reported: 2023-08-03 17:50 UTC by Kostadin Shishmanov
Modified: 2023-10-28 21:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log compressed with xz (build.log.xz,386.74 KB, application/x-xz)
2023-08-03 17:50 UTC, Kostadin Shishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kostadin Shishmanov 2023-08-03 17:50:00 UTC
Created attachment 866965 [details]
build log compressed with xz

18:35.27 /mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/media/ffvpx/libavcodec/x86/mathops.h: Assembler messages:
18:35.27 /mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
18:35.27 /mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
18:35.27 /mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
18:35.27 /mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
18:35.27 /mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
18:35.27 /mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/media/ffvpx/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
18:35.27 gmake[4]: *** [/mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/config/rules.mk:582: atsc_a53.o] Error 1
18:35.27 gmake[4]: Leaving directory '/mnt/tmp/portage/www-client/firefox-116.0/work/firefox_build/instrumented/media/ffvpx/libavcodec'
18:35.27 gmake[3]: *** [/mnt/tmp/portage/www-client/firefox-116.0/work/firefox-116.0/config/recurse.mk:72: media/ffvpx/libavcodec/target-objects] Error 2
18:35.27 gmake[3]: *** Waiting for unfinished jobs....
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-03 18:40:09 UTC
I think qtwebengine needs the same, maybe chromium too (not checked chromium).

Just needs the patch from bug 911582 applied to it, with paths tweaked.
Comment 2 Larry the Git Cow gentoo-dev 2023-08-07 12:58:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2894cd2fc6544f75d04738044f4634cb04e3ce4

commit c2894cd2fc6544f75d04738044f4634cb04e3ce4
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-08-07 12:56:35 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-08-07 12:58:03 +0000

    www-client/firefox: update patch set for 116.0
    
     - include latest upstream elf-hack patches,
     - patch gcc + binutils-2.41 ffmpeg issue.
    
    Closes: https://bugs.gentoo.org/911679
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest             | 2 +-
 www-client/firefox/firefox-116.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 3 Joonas Niilola gentoo-dev 2023-08-08 06:39:36 UTC
Will include in 115esr next time I touch it.
Comment 4 Larry the Git Cow gentoo-dev 2023-08-12 08:38:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b604cc757dd71c174c83f08aca00a26b738522dd

commit b604cc757dd71c174c83f08aca00a26b738522dd
Author:     Myckel Habets <gentoo-bugs@habets-dobben.nl>
AuthorDate: 2023-08-07 11:48:02 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-08-12 08:36:57 +0000

    www-client/seamonkey: bug fixes on 2.53.17
    
    Adds dependencies for clang and llvm using the llvm.eclass.
    
    Fix for ffmpeg build failure on ~ARCH.
    
    Closes: https://bugs.gentoo.org/911830
    Bug: https://bugs.gentoo.org/911679
    Bug: https://bugs.gentoo.org/911582
    Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl>
    Closes: https://github.com/gentoo/gentoo/pull/32210
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/seamonkey/Manifest                 |  2 +-
 www-client/seamonkey/metadata.xml             |  3 ++
 www-client/seamonkey/seamonkey-2.53.17.ebuild | 41 ++++++++++++++++++++++-----
 3 files changed, 38 insertions(+), 8 deletions(-)