Created attachment 685896 [details] buildlog The 0ad data prerelease fails to compile for me: emerge -pqv '=games-strategy/0ad-data-0.0.24_alpha_pre20210116040036::gentoo' [ebuild U ] games-strategy/0ad-data-0.0.24_alpha_pre20210116040036 [0.0.23b_alpha] /var/tmp/portage/games-strategy/0ad-data-0.0.24_alpha_pre20210116040036/temp/environment: line 461: 31 Segmentation fault (core dumped) 0ad -archivebuild="${archivebuild_input}" -archivebuild-output="${archivebuild_output}/${mod_name}.zip"
Created attachment 685899 [details] emerge environment
Created attachment 685902 [details] emerge --info
A workaround is to downgrade nvidia-texture-tools to 2.0.8-r4, downgrade 0ad to 0.0.23b_alpha, then compile 0ad-data-0.0.24_alpha_pre20210116040036 with --nodeps, and then upgrade 0ad again. 0ad 0.0.24_pre itself fails to compile with the older version of nvidia-texture-tools, and it also fails to compile 0ad-data if the older version of nvidia-texture-tools is installed. Therefore, to compile 0ad-data 0.0.24_pre one not only has to (temporarily) downgrade nvidia-texture-tools, but also 0ad itself.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=815ab784f5f549e0f4cb803bbd813199d2c94c90 commit 815ab784f5f549e0f4cb803bbd813199d2c94c90 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-02-12 20:18:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-12 20:18:47 +0000 games-strategy/0ad: revert to bundled libraries * SpiderMonkey changes the consumed interfaces even within minor versions, so using the system version is a no go. * nvtt is abandoned upstream and using the system version results in segfaults. Use 0ad's version which has fixes instead. Bug: https://bugs.gentoo.org/735352 Bug: https://bugs.gentoo.org/689124 Closes: https://bugs.gentoo.org/768840 Closes: https://bugs.gentoo.org/759934 Closes: https://bugs.gentoo.org/768930 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> ...> 0ad-0.0.24_alpha_pre20210116040036-r1.ebuild} | 28 ++++++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-)
There's still a QA about missing libmozjs78-ps-release.so The 0ad archivebuild fails then because 0ad doesn't launch due to missing so. Tested with spidermonkey:78 not installed.
(In reply to Samuel Bauer from comment #5) > There's still a QA about missing libmozjs78-ps-release.so > The 0ad archivebuild fails then because 0ad doesn't launch due to missing so. > > Tested with spidermonkey:78 not installed. File a new bug for it not launching and I'll look at that next. Definitely an improvement given we can complete the build of 0ad now, but yeah, needs more work.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0cdd28cee7b12f4fe2e10949af2abb94f3533c5 commit d0cdd28cee7b12f4fe2e10949af2abb94f3533c5 Author: Wolf-Dieter Rieck <wesen42@web.de> AuthorDate: 2021-02-22 21:19:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-28 23:04:27 +0000 games-strategy/0ad: fix build and merge 0ad-data package * Build was broken in former revision, as generated libs weren't in LD_LIBRARY_PATH. Also libs weren't correcly installed. * 0ad-data pulled same archive as 0a package. Merged both ebuilds into this revision blocking the 0ad-data package. Bug: https://bugs.gentoo.org/768930 Closes: https://bugs.gentoo.org/771147 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Wolf-Dieter Rieck <wesen42@web.de> Closes: https://github.com/gentoo/gentoo/pull/19603 Signed-off-by: Sam James <sam@gentoo.org> .../0ad-0.0.24_alpha_pre20210116040036-r2.ebuild | 224 +++++++++++++++++++++ 1 file changed, 224 insertions(+)