https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/liboil-0.3.17-r4 fails to compile. Discovered on: amd64 (internal ref: lto_tinderbox) System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 892038 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: <artificial>:(.text.startup+0x77): undefined reference to `check_class_with_alignment' cmp: liboilarray.c: No such file or directory collect2: error: ld returned 1 exit status
* QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * ref/../../liboil/liboiltest.h:112:5: warning: type of 'oil_test_get_arg_stride' does not match original declaration [-Wlto-type-mismatch] * ref/../../liboil/liboiltest.h:111:5: warning: type of 'oil_test_get_arg_post_n' does not match original declaration [-Wlto-type-mismatch] * dct/../../liboil/liboiltest.h:113:5: warning: type of 'oil_test_get_value' does not match original declaration [-Wlto-type-mismatch] * dct/../../liboil/liboiltest.h:109:7: warning: type of 'oil_test_get_source_data' does not match original declaration [-Wlto-type-mismatch] * ref/../../liboil/liboilrandom.h:49:6: warning: type of 'oil_random_argb' does not match original declaration [-Wlto-type-mismatch] * ref/../../liboil/liboilrandom.h:50:6: warning: type of 'oil_random_alpha' does not match original declaration [-Wlto-type-mismatch] * ref/../../liboil/liboilparameter.h:141:7: warning: type of 'oil_param_get_source_data' does not match original declaration [-Wlto-type-mismatch]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c58466ac10bda0e1b928e932568735c9f88bd02 commit 4c58466ac10bda0e1b928e932568735c9f88bd02 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-01 05:51:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-01 05:52:28 +0000 dev-libs/liboil: fix Modern C issue in configure, filter LTO * Fix modern C issue in configure * Filter LTO as we already strip-flags etc and it's looong dead & archived upstream. Closes: https://bugs.gentoo.org/906533 Closes: https://bugs.gentoo.org/931004 Signed-off-by: Sam James <sam@gentoo.org> .../liboil/files/liboil-0.3.17-c99-configure.patch | 21 +++++++++++++++++++++ ...oil-0.3.17-r4.ebuild => liboil-0.3.17-r5.ebuild} | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-)