The following packages will be installed: QtUsb Fetching QtUsb.SlackBuild... 0%100%100%100%100%100%Done Fetching QtUsb.info... 0%100%100%100%100%100%Done Fetching README... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done QtUsb-0.3.0/ QtUsb-0.3.0/.travis.yml QtUsb-0.3.0/Doxyfile QtUsb-0.3.0/LICENSE QtUsb-0.3.0/QtUsb.pro QtUsb-0.3.0/README.md QtUsb-0.3.0/examples/ QtUsb-0.3.0/examples/SimpleBulkTransfer/ QtUsb-0.3.0/examples/SimpleBulkTransfer/SimpleBulkTransfer.pro QtUsb-0.3.0/examples/SimpleBulkTransfer/main.cpp QtUsb-0.3.0/examples/SimpleBulkTransfer/usbexample.cpp QtUsb-0.3.0/examples/SimpleBulkTransfer/usbexample.h QtUsb-0.3.0/examples/UsbNotifications/ QtUsb-0.3.0/examples/UsbNotifications/UsbNotifications.pro QtUsb-0.3.0/examples/UsbNotifications/main.cpp QtUsb-0.3.0/examples/UsbNotifications/usbexample.cpp QtUsb-0.3.0/examples/UsbNotifications/usbexample.h QtUsb-0.3.0/package/ QtUsb-0.3.0/package/debian/ QtUsb-0.3.0/package/debian/README QtUsb-0.3.0/package/debian/control_trusty QtUsb-0.3.0/package/debian/control_utopic QtUsb-0.3.0/package/debian/control_vivid QtUsb-0.3.0/package/debian/control_wily QtUsb-0.3.0/package/debian/copyright QtUsb-0.3.0/package/debian/rules QtUsb-0.3.0/package/make_deb.py QtUsb-0.3.0/src/ QtUsb-0.3.0/src/QUsb QtUsb-0.3.0/src/QtUsb.pri QtUsb-0.3.0/src/libusb-1.0.lib QtUsb-0.3.0/src/libusb-1.0/ QtUsb-0.3.0/src/libusb-1.0/libusb.h QtUsb-0.3.0/src/qbaseusb.cpp QtUsb-0.3.0/src/qbaseusb.h QtUsb-0.3.0/src/qlibusb.cpp QtUsb-0.3.0/src/qlibusb.h QtUsb-0.3.0/src/qusb.h QtUsb-0.3.0/src/qusb_compat.h QtUsb-0.3.0/src/qusb_global.h QtUsb-0.3.0/src/qusb_types.h QtUsb-0.3.0/src/qusbmanager.cpp QtUsb-0.3.0/src/qusbmanager.h QtUsb-0.3.0/src/src.pro Info: creating stash file /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/.qmake.stash cd src/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/src.pro 'QMAKE_CFLAGS+=-O2 -fPIC' 'QMAKE_CXXFLAGS+=-O2 -fPIC' ) && make -f Makefile make[1]: Entering directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src' g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qbaseusb.o qbaseusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qusbmanager.o qusbmanager.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qlibusb.o qlibusb.cpp qlibusb.cpp: In member function ‘virtual qint32 QUsbDevice::read(QByteArray*, quint32)’: qlibusb.cpp:257:31: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 257 | datastr.append(s.sprintf("%02X:", (uchar)buf->at(i))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qvarlengtharray.h:47, from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/QMetaType:1, from qusb_types.h:4, from qbaseusb.h:5, from qlibusb.h:4, from qlibusb.cpp:1: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ qlibusb.cpp: In member function ‘virtual qint32 QUsbDevice::write(const QByteArray*, quint32)’: qlibusb.cpp:292:27: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 292 | cmd.append(s.sprintf("%02X:", buf->at(i))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qvarlengtharray.h:47, from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/QMetaType:1, from qusb_types.h:4, from qbaseusb.h:5, from qlibusb.h:4, from qlibusb.cpp:1: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ g++ -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include qbaseusb.h -o moc_qbaseusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qbaseusb.o moc_qbaseusb.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include qusbmanager.h -o moc_qusbmanager.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qusbmanager.o moc_qusbmanager.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include qlibusb.h -o moc_qlibusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qlibusb.o moc_qlibusb.cpp rm -f libQt5Usb.so.0.3.0 libQt5Usb.so libQt5Usb.so.0 libQt5Usb.so.0.3 g++ -Wl,-O1 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -shared -Wl,-soname,libQt5Usb.so.0 -o libQt5Usb.so.0.3.0 qbaseusb.o qusbmanager.o qlibusb.o moc_qbaseusb.o moc_qusbmanager.o moc_qlibusb.o -lusb-1.0 /usr/lib64/libQt5Core.so -lpthread ln -s libQt5Usb.so.0.3.0 libQt5Usb.so ln -s libQt5Usb.so.0.3.0 libQt5Usb.so.0 ln -s libQt5Usb.so.0.3.0 libQt5Usb.so.0.3 make[1]: Leaving directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src' cd examples/SimpleBulkTransfer/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer/SimpleBulkTransfer.pro 'QMAKE_CFLAGS+=-O2 -fPIC' 'QMAKE_CXXFLAGS+=-O2 -fPIC' ) && make -f Makefile make[1]: Entering directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer' g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qbaseusb.o ../../src/qbaseusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qusbmanager.o ../../src/qusbmanager.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qlibusb.o ../../src/qlibusb.cpp ../../src/qlibusb.cpp: In member function ‘virtual qint32 QUsbDevice::read(QByteArray*, quint32)’: ../../src/qlibusb.cpp:257:31: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 257 | datastr.append(s.sprintf("%02X:", (uchar)buf->at(i))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qvarlengtharray.h:47, from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/QMetaType:1, from ../../src/qusb_types.h:4, from ../../src/qbaseusb.h:5, from ../../src/qlibusb.h:4, from ../../src/qlibusb.cpp:1: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../../src/qlibusb.cpp: In member function ‘virtual qint32 QUsbDevice::write(const QByteArray*, quint32)’: ../../src/qlibusb.cpp:292:27: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 292 | cmd.append(s.sprintf("%02X:", buf->at(i))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qvarlengtharray.h:47, from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/QMetaType:1, from ../../src/qusb_types.h:4, from ../../src/qbaseusb.h:5, from ../../src/qlibusb.h:4, from ../../src/qlibusb.cpp:1: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o usbexample.o usbexample.cpp g++ -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include ../../src/qbaseusb.h -o moc_qbaseusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qbaseusb.o moc_qbaseusb.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include ../../src/qusbmanager.h -o moc_qusbmanager.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qusbmanager.o moc_qusbmanager.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include ../../src/qlibusb.h -o moc_qlibusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qlibusb.o moc_qlibusb.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include usbexample.h -o moc_usbexample.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_usbexample.o moc_usbexample.cpp g++ -Wl,-O1 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o SimpleBulkTransfer qbaseusb.o qusbmanager.o qlibusb.o main.o usbexample.o moc_qbaseusb.o moc_qusbmanager.o moc_qlibusb.o moc_usbexample.o -lusb-1.0 /usr/lib64/libQt5Core.so -lpthread make[1]: Leaving directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer' cd examples/UsbNotifications/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications/UsbNotifications.pro 'QMAKE_CFLAGS+=-O2 -fPIC' 'QMAKE_CXXFLAGS+=-O2 -fPIC' ) && make -f Makefile make[1]: Entering directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications' g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qbaseusb.o ../../src/qbaseusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qusbmanager.o ../../src/qusbmanager.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o qlibusb.o ../../src/qlibusb.cpp ../../src/qlibusb.cpp: In member function ‘virtual qint32 QUsbDevice::read(QByteArray*, quint32)’: ../../src/qlibusb.cpp:257:31: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 257 | datastr.append(s.sprintf("%02X:", (uchar)buf->at(i))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qvarlengtharray.h:47, from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/QMetaType:1, from ../../src/qusb_types.h:4, from ../../src/qbaseusb.h:5, from ../../src/qlibusb.h:4, from ../../src/qlibusb.cpp:1: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ ../../src/qlibusb.cpp: In member function ‘virtual qint32 QUsbDevice::write(const QByteArray*, quint32)’: ../../src/qlibusb.cpp:292:27: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 292 | cmd.append(s.sprintf("%02X:", buf->at(i))); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44, from /usr/include/qt5/QtCore/qvarlengtharray.h:47, from /usr/include/qt5/QtCore/qmetatype.h:48, from /usr/include/qt5/QtCore/QMetaType:1, from ../../src/qusb_types.h:4, from ../../src/qbaseusb.h:5, from ../../src/qlibusb.h:4, from ../../src/qlibusb.cpp:1: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o usbexample.o usbexample.cpp g++ -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include ../../src/qbaseusb.h -o moc_qbaseusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qbaseusb.o moc_qbaseusb.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include ../../src/qusbmanager.h -o moc_qusbmanager.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qusbmanager.o moc_qusbmanager.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include ../../src/qlibusb.h -o moc_qlibusb.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_qlibusb.o moc_qlibusb.cpp /usr/lib64/qt5/bin/moc -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB --include /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications -I/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/include/c++/11.2.0 -I/usr/include/c++/11.2.0/x86_64-slackware-linux -I/usr/include/c++/11.2.0/backward -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include -I/usr/local/include -I/usr/lib64/gcc/x86_64-slackware-linux/11.2.0/include-fixed -I/usr/include usbexample.h -o moc_usbexample.cpp g++ -c -pipe -O2 -fPIC -O2 -O2 -fPIC -Wall -Wextra -D_REENTRANT -fPIC -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../src -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o moc_usbexample.o moc_usbexample.cpp g++ -Wl,-O1 -L/usr/lib64 -Wl,-rpath,/usr/lib64 -o UsbNotifications qbaseusb.o qusbmanager.o qlibusb.o main.o usbexample.o moc_qbaseusb.o moc_qusbmanager.o moc_qlibusb.o moc_usbexample.o -lusb-1.0 /usr/lib64/libQt5Core.so -lpthread make[1]: Leaving directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications' cd src/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/src.pro 'QMAKE_CFLAGS+=-O2 -fPIC' 'QMAKE_CXXFLAGS+=-O2 -fPIC' ) && make -f Makefile install make[1]: Entering directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src' /usr/bin/qmake-qt5 -install qinstall -exe libQt5Usb.so.0.3.0 /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/lib64/libQt5Usb.so.0.3.0 strip --strip-unneeded /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/lib64/libQt5Usb.so.0.3.0 ln -f -s libQt5Usb.so.0.3.0 /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/lib64/libQt5Usb.so ln -f -s libQt5Usb.so.0.3.0 /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/lib64/libQt5Usb.so.0 ln -f -s libQt5Usb.so.0.3.0 /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/lib64/libQt5Usb.so.0.3 /usr/bin/qmake-qt5 -install qinstall /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/qusb_global.h /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qusb_global.h /usr/bin/qmake-qt5 -install qinstall -exe /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/qusb_compat.h /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qusb_compat.h strip /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qusb_compat.h strip: /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qusb_compat.h: file format not recognized make[1]: [Makefile:1345: install_headers_install] Error 1 (ignored) /usr/bin/qmake-qt5 -install qinstall -exe /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/qbaseusb.h /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qbaseusb.h strip /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qbaseusb.h strip: /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qbaseusb.h: file format not recognized make[1]: [Makefile:1347: install_headers_install] Error 1 (ignored) /usr/bin/qmake-qt5 -install qinstall /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/qusb.h /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qusb.h /usr/bin/qmake-qt5 -install qinstall /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/QUsb /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/QUsb /usr/bin/qmake-qt5 -install qinstall /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/qusbmanager.h /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qusbmanager.h /usr/bin/qmake-qt5 -install qinstall /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/qusb_types.h /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qusb_types.h /usr/bin/qmake-qt5 -install qinstall -exe /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/qlibusb.h /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qlibusb.h strip /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qlibusb.h strip: /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/qlibusb.h: file format not recognized make[1]: [Makefile:1353: install_headers_install] Error 1 (ignored) /usr/bin/qmake-qt5 -install qinstall /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src/libusb-1.0/libusb.h /usr/src/slapt-src/libraries/QtUsb/package-QtUsb/usr/include/qt5/QtUsb/libusb.h make[1]: Leaving directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/src' cd examples/SimpleBulkTransfer/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer/SimpleBulkTransfer.pro 'QMAKE_CFLAGS+=-O2 -fPIC' 'QMAKE_CXXFLAGS+=-O2 -fPIC' ) && make -f Makefile install make[1]: Entering directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/SimpleBulkTransfer' cd examples/UsbNotifications/ && ( test -e Makefile || /usr/bin/qmake-qt5 -o Makefile /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications/UsbNotifications.pro 'QMAKE_CFLAGS+=-O2 -fPIC' 'QMAKE_CXXFLAGS+=-O2 -fPIC' ) && make -f Makefile install make[1]: Entering directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0/examples/UsbNotifications' Slackware package maker, version 3.14159265. Searching for symbolic links: usr/lib64/libQt5Usb.so libQt5Usb.so.0.3.0 usr/lib64/libQt5Usb.so.0 libQt5Usb.so.0.3.0 usr/lib64/libQt5Usb.so.0.3 libQt5Usb.so.0.3.0 Making symbolic link creation script: ( cd usr/lib64 ; rm -rf libQt5Usb.so ) ( cd usr/lib64 ; ln -sf libQt5Usb.so.0.3.0 libQt5Usb.so ) ( cd usr/lib64 ; rm -rf libQt5Usb.so.0 ) ( cd usr/lib64 ; ln -sf libQt5Usb.so.0.3.0 libQt5Usb.so.0 ) ( cd usr/lib64 ; rm -rf libQt5Usb.so.0.3 ) ( cd usr/lib64 ; ln -sf libQt5Usb.so.0.3.0 libQt5Usb.so.0.3 ) It is recommended that you make these lines your new installation script. Would you like to make this stuff the install script for this package and remove the symbolic links ([y]es, [n]o)? y Removing symbolic links: removed './usr/lib64/libQt5Usb.so' removed './usr/lib64/libQt5Usb.so.0' removed './usr/lib64/libQt5Usb.so.0.3' Creating your new ./install/doinst.sh... This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0-x86_64-2salix15.0.txz ./ install/ install/doinst.sh install/slack-desc usr/ usr/doc/ usr/doc/QtUsb-0.3.0/ usr/doc/QtUsb-0.3.0/LICENSE usr/doc/QtUsb-0.3.0/QtUsb.SlackBuild usr/doc/QtUsb-0.3.0/README.md usr/include/ usr/include/qt5/ usr/include/qt5/QtUsb/ usr/include/qt5/QtUsb/QUsb usr/include/qt5/QtUsb/libusb.h usr/include/qt5/QtUsb/qbaseusb.h usr/include/qt5/QtUsb/qlibusb.h usr/include/qt5/QtUsb/qusb.h usr/include/qt5/QtUsb/qusb_compat.h usr/include/qt5/QtUsb/qusb_global.h usr/include/qt5/QtUsb/qusb_types.h usr/include/qt5/QtUsb/qusbmanager.h usr/lib64/ usr/lib64/libQt5Usb.so.0.3.0 Slackware package /usr/src/slapt-src/libraries/QtUsb/QtUsb-0.3.0-x86_64-2salix15.0.txz created. Installing package QtUsb-0.3.0-x86_64-2salix15.0... | QtUsb (USB Library for Qt) | | A Cross-platform USB Library for Qt. Relies on libusb-1.0. | | | | | | | | | |