Bug 1087073 - zbar FTBFS with GCC8
zbar FTBFS with GCC8
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 Applications
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
E-mail List
Depends on:
Blocks: 1084649
  Show dependency treegraph
Reported: 2018-03-27 12:49 UTC by Richard Biener
Modified: 2020-12-03 13:56 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Richard Biener 2018-03-27 12:49:10 UTC
in openSUSE:Factory:Staging:Gcc7:DVD zbar FTBFS
Comment 1 Luigi Baldoni 2018-03-27 18:02:44 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?
Comment 2 Fabian Vogt 2018-03-27 18:26:24 UTC
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.
Comment 3 Swamp Workflow Management 2018-03-27 19:00:10 UTC
This is an autogenerated message for OBS integration:
This bug (1087073) was mentioned in
https://build.opensuse.org/request/show/591726 Factory / libqt5-qtbase