Hi,

compiling qmplay2 21.12.24 [1] fails on Fedora 35 with the following error 
messages:

FAILED: src/qmplay2/CMakeFiles/libqmplay2.dir/NotifiesFreedesktop.cpp.o 
/usr/bin/g++ -DDBUS_SUSPEND -DNOTIFIES_FREEDESKTOP -DQMPLAY2SHAREDLIB_LIBRARY 
-DQMPLAY2_LIBASS -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB 
-DQT_QML_LIB -DQT_SVG_LIB -DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB 
-DUSE_OPENGL -DUSE_QML -DUSE_YOUTUBEDL -D__STDC_CONSTANT_MACROS 
-D__STDC_LIMIT_MACROS -Dlibqmplay2_EXPORTS 
-I/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/redhat-linux-build/src/qmplay2 
-I/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/src/qmplay2 
-I/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/redhat-linux-build/src/qmplay2/libqmplay2_autogen/include
 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/libxml2 -I/usr/include/fribidi -I/usr/include/ffmpeg -isystem 
/usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem 
/usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem 
/usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtSvg -isy
 stem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtQml -isystem 
/usr/include/qt5/QtNetwork -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions 
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -fPIC 
-fPIC -std=gnu++14 -MD -MT 
src/qmplay2/CMakeFiles/libqmplay2.dir/NotifiesFreedesktop.cpp.o -MF 
src/qmplay2/CMakeFiles/libqmplay2.dir/NotifiesFreedesktop.cpp.o.d -o 
src/qmplay2/CMakeFiles/libqmplay2.dir/NotifiesFreedesktop.cpp.o -c 
/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/src/qmplay2/NotifiesFreedesktop.cpp
/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/src/qmplay2/NotifiesFreedesktop.cpp:
 In function 'QDBusArgument& operator<<(QDBusArgument&, const QImage&)':
/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/src/qmplay2/NotifiesFreedesktop.cpp:47:96:
 warning: 'int QImage::byteCount() const' is deprecated: Use sizeInBytes 
[-Wdeprecated-declarations]
   47 |     arg << QByteArray::fromRawData((const char 
*)scaledImage.constBits(), scaledImage.byteCount());
      |                                                                         
  ~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt5/QtGui/qpixmap.h:49,
                 from /usr/include/qt5/QtGui/qicon.h:46,
                 from /usr/include/qt5/QtGui/QIcon:1,
                 from 
/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/src/qmplay2/QMPlay2Core.hpp:26,
                 from 
/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/src/qmplay2/NotifiesFreedesktop.cpp:23:
/usr/include/qt5/QtGui/qimage.h:221:44: note: declared here
  221 |     QT_DEPRECATED_X("Use sizeInBytes") int byteCount() const;
      |                                            ^~~~~~~~~
{standard input}: Assembler messages:
{standard input}: Internal error (Segmentation fault).
Please report this bug.
[63/322] /usr/bin/g++ -DDBUS_SUSPEND -DNOTIFIES_FREEDESKTOP 
-DQMPLAY2SHAREDLIB_LIBRARY -DQMPLAY2_LIBASS -DQT_CORE_LIB -DQT_DBUS_LIB 
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_QML_LIB -DQT_SVG_LIB 
-DQT_USE_FAST_OPERATOR_PLUS -DQT_WIDGETS_LIB -DUSE_OPENGL -DUSE_QML 
-DUSE_YOUTUBEDL -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS 
-Dlibqmplay2_EXPORTS 
-I/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/redhat-linux-build/src/qmplay2 
-I/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/src/qmplay2 
-I/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/redhat-linux-build/src/qmplay2/libqmplay2_autogen/include
 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/sysprof-4 -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/libxml2 -I/usr/include/fribidi -I/usr/include/ffmpeg -isystem 
/usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem 
/usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -isystem 
/usr/include/qt5/QtWidgets -isystem /usr/include/qt5/Q
 tSvg -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtQml -isystem 
/usr/include/qt5/QtNetwork -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions 
-g -grecord-gcc-switches -pipe -Wall -Werror=format-security 
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS 
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong 
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic 
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -fPIC 
-fPIC -std=gnu++14 -MD -MT 
src/qmplay2/CMakeFiles/libqmplay2.dir/notifications_interface.cpp.o -MF 
src/qmplay2/CMakeFiles/libqmplay2.dir/notifications_interface.cpp.o.d -o 
src/qmplay2/CMakeFiles/libqmplay2.dir/notifications_interface.cpp.o -c 
/home/martin/rpmbuild/BUILD/QMPlay2-21.12.24/redhat-linux-build/src/qmplay2/notifications_interface.cpp
ninja: build stopped: subcommand failed.

[1] https://martinkg.fedorapeople.org/Packages/mlt/qmplay2.spec

Any hints ?
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to