x86_64-pc-linux-gnu-gcc -MMD -MP -DNDEBUG -I/usr/include/luajit-2.1 -O2 -march=znver3 -pipe -g -ggdb3 -Wall -Wextra -Wno-unused-parameter -std=gnu99 -Wno-unused-local-typedefs -c -o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/save.o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/save.c x86_64-pc-linux-gnu-gcc -MMD -MP -DNDEBUG -I/usr/include/luajit-2.1 -O2 -march=znver3 -pipe -g -ggdb3 -Wall -Wextra -Wno-unused-parameter -std=gnu99 -Wno-unused-local-typedefs -c -o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/savebuffer.o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/savebuffer.c x86_64-pc-linux-gnu-gcc -MMD -MP -DNDEBUG -I/usr/include/luajit-2.1 -O2 -march=znver3 -pipe -g -ggdb3 -Wall -Wextra -Wno-unused-parameter -std=gnu99 -Wno-unused-local-typedefs -c -o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/write.o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/write.c x86_64-pc-linux-gnu-g++ -MMD -MP -DNDEBUG -I/var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/ -I/var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/libaegisub/include -O2 -march=znver3 -pipe -g -ggdb3 -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++11 -Wno-unused-local-typedefs -include acconf.h -c -o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/tools/repack-thes-dict.o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/tools/repack-thes-dict.cpp /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/luabins.c:57:30: error: array type has incomplete element type ‘struct luaL_reg’ 57 | static const struct luaL_reg R[] = | ^ /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/luabins.c:57:30: warning: ‘R’ defined but not used [-Wunused-variable] make: *** [Makefile.target:99: /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r102/work/aegisub-3.2.2_p20160518/vendor/luabins/src/luabins.o] Error 1 make: *** Waiting for unfinished jobs.... Reproducible: Always
Created attachment 765881 [details] tmp.rDbR9zEo9v build.log.gz
Created attachment 765882 [details] tmp.gaNKz5q1CD emerge-info.txt
Compiled fine Feb 09.
Compiles fine with luajit-2.0.5-r3 Does not compile with luajit-2.1.0_beta3_p20220127-r1
(Sorry for messing up the attachments)
Thank you for the report. We need to have all information at hand before ticket assignment. This includes * the complete build.log as attachment and * a paste of the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
(In reply to Jonas Stein from comment #6) > Thank you for the report. We need to have all information at hand before > ticket assignment. This includes What's missing?
Created attachment 766268 [details, diff] Patch fixing the problem Confirming, same here. The attached patch fixes it, see: https://github.com/Aegisub/Aegisub/issues/182 https://github.com/bmwiedemann/openSUSE/commit/546e711ad833ee5ea04e4325cdee2b6b8f0ff22d
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f943cce85e79f7cf011979d40a17444aa68e0450 commit f943cce85e79f7cf011979d40a17444aa68e0450 Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2022-03-05 14:31:27 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2022-03-05 14:31:27 +0000 media-video/aegisub: Fix build Closes: https://bugs.gentoo.org/834086 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> .../aegisub/aegisub-3.2.2_p20160518-r103.ebuild | 159 +++++++++++++++++++++ ...sub-3.2.2_p20160518-luaL_Reg-not-luaL_reg.patch | 35 +++++ 2 files changed, 194 insertions(+)