Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927485 - sci-geosciences/opencpn-plugin-iacfleet-0.21.1 fails to compile: iacfile.cpp:599:53: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Summary: sci-geosciences/opencpn-plugin-iacfleet-0.21.1 fails to compile: iacfile.cpp:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-22 08:38 UTC by Agostino Sarubbo
Modified: 2024-04-05 01:21 UTC (History)
2 users (show)

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


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

Issue: sci-geosciences/opencpn-plugin-iacfleet-0.21.1 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-22 08:38:39 UTC
Created attachment 888135 [details]
build.log

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


FAILED: CMakeFiles/iacfleet_pi.dir/src/iacfile.cpp.o 
/var/tmp/portage/sci-geosciences/opencpn-plugin-iacfleet-0.21.1/work/iacfleet_pi-0.21.1/src/iacfile.cpp:599:53: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-05 01:21:47 UTC
The bug has been closed via the following commit(s):

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

commit 01c2ae087f01037dc00680450185acb4444acad2
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-04 05:40:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-05 01:20:53 +0000

    sci-geosciences/opencpn-plugin-iacfleet: mark as LTO-unsafe, SA-unsafe
    
    Closes: https://bugs.gentoo.org/927485
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../opencpn-plugin-iacfleet-0.21.1.ebuild                    | 12 ++++++++++--
 .../opencpn-plugin-iacfleet-9999.ebuild                      | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)