Summary: | www-client/seamonkey-2.53.12: Error executing elfhack (x86) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joonas Niilola <juippis> |
Component: | Current packages | Assignee: | Myckel Habets <gentoo-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mozilla |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugzilla.mozilla.org/show_bug.cgi?id=1706264 https://github.com/gentoo/gentoo/pull/25922 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 851636 | ||
Attachments: | seamonkey-2.53.12:20220614-095210.log.xz |
Description
Joonas Niilola
![]() Created attachment 785006 [details]
seamonkey-2.53.12:20220614-095210.log.xz
>>> Install www-client/seamonkey-2.53.12 into /var/tmp/portage/www-client/seamonkey-2.53.12/image
0:00.44 /usr/bin/gmake -C . -j16 -s -w install
0:00.45 gmake: Entering directory '/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/seamonk'
0:00.52 gmake[1]: Entering directory '/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/seamonk/comm/suite/installer'
0:01.09 Warning: /var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/comm/suite/installer/package-manifest.in:124: Missing file(s): bin/libmozsqlite3.so
0:12.27 ../../../dist/seamonkey/libxul.so: terminate called after throwing an instance of 'std::runtime_error'
0:12.27 what(): Segments inconsistency
0:12.31 Traceback (most recent call last):
0:12.31 File "/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/toolkit/mozapps/installer/packager.py", line 342, in <module>
0:12.31 main()
0:12.32 File "/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/toolkit/mozapps/installer/packager.py", line 336, in main
0:12.32 copier.copy(args.destination)
0:12.32 File "/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/python/mozbuild/mozpack/copier.py", line 431, in copy
0:12.32 copy_results.append((destfile, f.copy(destfile, skip_if_older)))
0:12.32 File "/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/python/mozbuild/mozpack/files.py", line 296, in copy
0:12.32 elfhack(dest)
0:12.32 File "/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/python/mozbuild/mozpack/executables.py", line 124, in elfhack
0:12.32 errors.fatal('Error executing ' + ' '.join(cmd))
0:12.32 File "/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/python/mozbuild/mozpack/errors.py", line 103, in fatal
0:12.32 self._handle(self.FATAL, msg)
0:12.32 File "/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/python/mozbuild/mozpack/errors.py", line 98, in _handle
0:12.32 raise ErrorMessage(msg)
0:12.32 mozpack.errors.ErrorMessage: Error: Error executing /var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/seamonk/build/unix/elfhack/elfhack ../../../dist/seamonkey/libxul.so
0:12.33 gmake[1]: *** [/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/toolkit/mozapps/installer/packager.mk:19: stage-package] Error 1
0:12.33 gmake[1]: Leaving directory '/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/seamonk/comm/suite/installer'
0:12.33 gmake: *** [/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/comm/suite/build.mk:16: install] Error 2
0:12.33 gmake: Leaving directory '/var/tmp/portage/www-client/seamonkey-2.53.12/work/seamonkey-2.53.12/seamonk'
* ERROR: www-client/seamonkey-2.53.12::gentoo failed (install phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 127: Called src_install
* environment, line 4455: Called die
* The specific snippet of code:
* DESTDIR="${D}" ./mach install || die;
Seems to be a known issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1706264 For now it seems that the only fix is to disable elfhack on x86, but that would require modifying the ebuild. How should I proceed with this in respect to the stabilization process? (In reply to Myckel Habets from comment #3) > Seems to be a known issue: > https://bugzilla.mozilla.org/show_bug.cgi?id=1706264 > > For now it seems that the only fix is to disable elfhack on x86, but that > would require modifying the ebuild. How should I proceed with this in > respect to the stabilization process? It would be acceptable to disable it for x86 I think and not reset the stable counter, if it was very unlikely / never would have built for x86 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03277f5e8f0c9bf639cf9f8c766b7d2b06aa819e commit 03277f5e8f0c9bf639cf9f8c766b7d2b06aa819e Author: Myckel Habets <gentoo-bugs@habets-dobben.nl> AuthorDate: 2022-06-16 07:46:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-16 16:30:17 +0000 www-client/seamonkey-2.53.12: disable broken elfhack on x86 build. Closes: https://bugs.gentoo.org/851933 Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl> Closes: https://github.com/gentoo/gentoo/pull/25922 Signed-off-by: Sam James <sam@gentoo.org> www-client/seamonkey/seamonkey-2.53.12.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) The exact same problem happens also on arm64. Maybe disable elfhack on all arches? I have only known it to make trouble, and that on multiple architectures... |