Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888695 - [guru] dev-embedded/etlcpp-20.35.8 fails to compile: message_packet.h:260:24: error: (etl::imessage)((char)&packet + offsetof(etl::Packet, etl::message_packet<<unnamed>::Message1, <unnamed>::Message2, <unnamed>::Message3>::data.etl::aligned_storage<48, 8
Summary: [guru] dev-embedded/etlcpp-20.35.8 fails to compile: message_packet.h:260:24:...
Status: RESOLVED PKGREMOVED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2022-12-28 06:41 UTC by Agostino Sarubbo
Modified: 2024-06-08 22:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,337.45 KB, text/plain)
2022-12-28 06:41 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-12-28 06:41:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-embedded/etlcpp-20.35.8 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-28 06:41:38 UTC
Created attachment 845297 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-28 06:41:39 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: test/CMakeFiles/etl_tests.dir/test_intrusive_list.cpp.o 
FAILED: test/CMakeFiles/etl_tests.dir/test_message_packet.cpp.o 
FAILED: test/CMakeFiles/etl_tests.dir/test_optional.cpp.o 
/var/tmp/portage/dev-embedded/etlcpp-20.35.8/work/etl-20.35.8/test/../include/etl/message_packet.h:260:24: error: ‘*(etl::imessage*)((char*)&packet + offsetof(etl::Packet, etl::message_packet<<unnamed>::Message1, <unnamed>::Message2, <unnamed>::Message3>::data.etl::aligned_storage<48, 8>::type::data[0])).etl::imessage::_vptr.imessage’ may be used uninitialized [-Werror=maybe-uninitialized]
Comment 3 Jan Henke 2022-12-28 12:30:53 UTC
I notice in the build log that is error occurred with GCC 12, which explains why I did not see it locally when building.

Note: This package is header only, the source files are part of the test suite, thus it can still be used normally.

I will raise this issue with upstream and see if they come up with a fix.
Comment 4 Jan Henke 2022-12-28 12:44:30 UTC
Upstream bug report filed.
Comment 5 Larry the Git Cow gentoo-dev 2024-06-08 20:06:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fc8dee5c427db57893a270a0566c8881601a3026

commit fc8dee5c427db57893a270a0566c8881601a3026
Author:     Jan Henke <Jan.Henke@taujhe.de>
AuthorDate: 2024-06-08 18:52:48 +0000
Commit:     Jan Henke <Jan.Henke@taujhe.de>
CommitDate: 2024-06-08 18:52:48 +0000

    dev-embedded/etlcpp: treeclean
    
    Closes: https://bugs.gentoo.org/888695
    Signed-off-by: Jan Henke <Jan.Henke@taujhe.de>

 dev-embedded/etlcpp/Manifest              |  1 -
 dev-embedded/etlcpp/etlcpp-20.35.8.ebuild | 25 -------------------------
 dev-embedded/etlcpp/metadata.xml          | 27 ---------------------------
 3 files changed, 53 deletions(-)
Comment 6 Julien Roy 2024-06-08 20:06:42 UTC
Re-opening (reverted the treeclean)