Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854669 - app-i18n/scim-tomoe-0.6.0-r3 fails to compile (lto): libtool: eval: line 4305: syntax error near unexpected token |
Summary: app-i18n/scim-tomoe-0.6.0-r3 fails to compile (lto): libtool: eval: line 4305...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2022-06-27 19:57 UTC by Agostino Sarubbo
Modified: 2024-03-07 11:50 UTC (History)
0 users

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


Attachments
build.log (build.log,75.81 KB, text/plain)
2022-06-27 19:57 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 2022-06-27 19:57:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-i18n/scim-tomoe-0.6.0-r3 fails to compile (lto).
Discovered on: amd64 (internal ref: lto_tinderbox)

NOTE:
This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-27 19:57:17 UTC
Created attachment 788123 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-03-07 11:50:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b66a63a35a46f130af96b806eb6e022d47a5810e

commit b66a63a35a46f130af96b806eb6e022d47a5810e
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-03-06 21:59:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-07 11:46:22 +0000

    app-i18n/scim-tomoe: re-run autoreconf to fix LTO
    
    The 2009 era distfile is so old that it probably has many bugs. We are
    particularly concerned by nm detection failing under LTO causing:
    
    ```
    generating symbol list for `tomoe.la'
    /usr/bin/nm -B  .libs/tomoe_la-scim_tomoe.o .libs/tomoe_la-scim_tomoe_prefs_widget.o  |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/tomoe.exp
    ../libtool: 1: eval: Syntax error: "|" unexpected
    ```
    
    It also causes some implicit function declaration issues in configure
    tests, which we conveniently solve at the same time.
    
    Closes: https://bugs.gentoo.org/854669
    Closes: https://bugs.gentoo.org/910677
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-i18n/scim-tomoe/scim-tomoe-0.6.0-r3.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)