Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 931004 - dev-libs/liboil-0.3.17-r4 fails to compile: <artificial>:(.text.startup+0x77): undefined reference to check_class_with_alignment
Summary: dev-libs/liboil-0.3.17-r4 fails to compile: <artificial>:(.text.startup+0x77)...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-05-01 05:17 UTC by Agostino Sarubbo
Modified: 2024-05-01 06:05 UTC (History)
0 users

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


Attachments
build.log (build.log,388.54 KB, text/plain)
2024-05-01 05:17 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-05-01 05:17:55 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2024-05-01 05:17:57 UTC
Created attachment 892038 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-05-01 05:17:57 UTC
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
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-05-01 05:47:31 UTC
 * 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]
Comment 4 Larry the Git Cow gentoo-dev 2024-05-01 05:53:06 UTC
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(-)