Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928014 - www-client/elinks-0.16.1.1-r2 fails to compile: lists.h:187:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: www-client/elinks-0.16.1.1-r2 fails to compile: lists.h:187:20: error: derefe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Felix Janda
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-28 07:47 UTC by Agostino Sarubbo
Modified: 2024-04-03 05:02 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,91.75 KB, text/plain)
2024-03-28 07:47 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-03-28 07:47:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: www-client/elinks-0.16.1.1-r2 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-03-28 07:47:23 UTC
Created attachment 888877 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-28 07:47:25 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: src/cookies/parsetst.p/.._util_hash.c.o 
FAILED: src/dom/test/html-mangle.p/.._.._util_hash.c.o 
Library iconv found: NO
Program dblatex found: NO
Program doxygen found: NO
Run-time dependency bzip2 found: NO (tried pkgconfig and cmake)
../elinks-0.16.1.1/src/util/lists.h:187:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-03 05:02:02 UTC
The bug has been closed via the following commit(s):

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

commit 8862d199fa61b066120329ec19cef3405b6dc68a
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-03 04:03:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-03 04:37:50 +0000

    www-client/elinks: mark as strict-aliasing unsafe, redux
    
    We previously claimed it was already marked as such by the upstream
    build system. It turned out this was NOT true, because with USE=test
    none of the test programs are built with -fno-strict-aliasing. I guess
    those are never... tested.
    
    Fix it properly this time.
    
    Closes: https://bugs.gentoo.org/928014
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 www-client/elinks/elinks-0.16.1.1-r2.ebuild | 6 +++++-
 www-client/elinks/elinks-9999.ebuild        | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)