|
Bugzilla – Full Text Bug Listing |
| Summary: | zbar FTBFS with GCC8 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Richard Biener <rguenther> |
| Component: | X11 Applications | Assignee: | E-mail List <bnc-team-screening> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | aloisio, fvogt, martin.liska |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 1084649 | ||
|
Description
Richard Biener
2018-03-27 12:49:10 UTC
From: https://build.opensuse.org/public/build/openSUSE:Factory:Staging:Gcc7:DVD/standard/x86_64/zbar/_log /usr/include/qt5/QtGui/qtransform.h: In member function 'QTransform& QTransform::operator=(QTransform&&)': /usr/include/qt5/QtGui/qtransform.h:81:46: error: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class QTransform' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Werror=class-memaccess] { memcpy(this, &other, sizeof(QTransform)); return *this; } ^ /usr/include/qt5/QtGui/qtransform.h:57:20: note: 'class QTransform' declared here class Q_GUI_EXPORT QTransform ^~~~~~~~~~ Couldn't this be a Qt5 problem? Yup, the headers produce UB to keep the ABI compatible. They "fixed" it by doing a static cast to void* instead. Yuck. Oh well, patch applied and submitted to TW. This is an autogenerated message for OBS integration: This bug (1087073) was mentioned in https://build.opensuse.org/request/show/591726 Factory / libqt5-qtbase |