Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929244 - www-client/firefox-115.9.1 fails to configure on ppc64le: mozbuild.configure.options.InvalidOptionError: --disable-elf-hack is not available in this configuration
Summary: www-client/firefox-115.9.1 fails to configure on ppc64le: mozbuild.configure....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 927661
  Show dependency tree
 
Reported: 2024-04-12 21:07 UTC by matoro
Modified: 2024-04-15 06:47 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (file_929244.txt,20.51 KB, text/plain)
2024-04-12 21:07 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-04-12 21:07:03 UTC
0:04.43 Traceback (most recent call last):
 0:04.43   File "/var/tmp/portage/www-client/firefox-115.9.1/work/firefox-115.9.1/configure.py", line 343, in <module>
 0:04.43     sys.exit(main(sys.argv))
 0:04.43              ^^^^^^^^^^^^^^
 0:04.43   File "/var/tmp/portage/www-client/firefox-115.9.1/work/firefox-115.9.1/configure.py", line 126, in main
 0:04.43     sandbox.run(os.path.join(os.path.dirname(__file__), "moz.configure"))
 0:04.43   File "/var/tmp/portage/www-client/firefox-115.9.1/work/firefox-115.9.1/python/mozbuild/mozbuild/configure/__init__.py", line 514, in run
 0:04.43     self._value_for(option)
 0:04.43   File "/var/tmp/portage/www-client/firefox-115.9.1/work/firefox-115.9.1/python/mozbuild/mozbuild/configure/__init__.py", line 619, in _value_for
 0:04.43     return self._value_for_option(obj)
 0:04.43            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:04.43   File "/var/tmp/portage/www-client/firefox-115.9.1/work/firefox-115.9.1/python/mozbuild/mozbuild/util.py", line 1063, in method_call
 0:04.43     cache[args] = self.func(instance, *args)
 0:04.43                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
 0:04.43   File "/var/tmp/portage/www-client/firefox-115.9.1/work/firefox-115.9.1/python/mozbuild/mozbuild/configure/__init__.py", line 686, in _value_for_option
 0:04.43     raise InvalidOptionError(
 0:04.43 mozbuild.configure.options.InvalidOptionError: --disable-elf-hack is not available in this configuration
*** Fix above errors and then restart with "./mach build"

Reproducible: Always
Comment 1 matoro archtester 2024-04-12 21:07:31 UTC
Created attachment 890578 [details]
build.log and emerge --info
Comment 2 Joonas Niilola gentoo-dev 2024-04-13 04:55:52 UTC
Oh, right, this one. 

https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/firefox/firefox-124.0.2.ebuild#n1064

	elif use ppc64 ; then
		# '--disable-elf-hack' is not recognized on ppc64, bgo#917049
		:;
Comment 3 Larry the Git Cow gentoo-dev 2024-04-15 06:03:26 UTC
The bug has been closed via the following commit(s):

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

commit 7186a2457d6ef4002a5baa6fcc359106bb2216d5
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2024-04-15 05:46:09 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2024-04-15 06:03:22 +0000

    www-client/firefox: '--disable-elf-hack' is not recognized on ppc64
    
     - fix 115.9.1.
    
    Closes: https://bugs.gentoo.org/929244
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/firefox-115.9.1.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)