Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [karkat@karmiarch ~]$ cd ~/git/theshell && makepkg -sri
- ==> Making package: theshell 8.0.1-0 (Thu Dec 3 14:05:58 2020)
- ==> Checking runtime dependencies...
- ==> Checking buildtime dependencies...
- ==> Retrieving sources...
- -> Updating theshell-8.0.1 git repo...
- Fetching origin
- ==> Validating source files with md5sums...
- theshell-8.0.1 ... Skipped
- ==> Extracting sources...
- -> Creating working copy of theshell-8.0.1 git repo...
- Reset branch 'makepkg'
- ==> Removing existing $pkgdir/ directory...
- ==> Starting build()...
- Project MESSAGE: Configuring theShell to be built as stable
- cd shell/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /home/karkat/git/theshell/src/theshell-8.0.1/shell/shell.pro ) && make -f Makefile
- make[1]: Entering directory '/home/karkat/git/theshell/src/theshell-8.0.1/shell'
- g++ -c -pipe -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -std=gnu++1y -Wall -Wextra -D_REENTRANT -fPIC -DTS_VERSION=\"8.0.1\" -DSHAREDIR=\"/usr/share/theshell/\" -D_REENTRANT -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_CHARTS_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB -DQT_DBUS_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_POSITIONING_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/polkit-qt5-1 -I/usr/include/qt/QtCore -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtMultimedia -I/usr/include/qt/QtSvg -I/usr/include/qt/QtCharts -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtX11Extras -I/usr/include/qt/the-libs -I/usr/include/qt/QtDBus -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtXml -I/usr/include/qt/QtPositioning -I/usr/include/qt/QtConcurrent -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o background.o background.cpp
- In file included from endsessionwait.h:24,
- from menu.h:35,
- from mainwindow.h:41,
- from background.h:36,
- from background.cpp:21:
- /usr/include/qt/QtCore/qcborstreamreader.h: In member function 'bool QCborStreamReader::isFalse() const':
- /usr/include/qt/QtCore/qcborstreamreader.h:143:76: error: expected unqualified-id before numeric constant
- 143 | nst { return isSimpleType(QCborSimpleType::False); }
- | ^~~~~
- /usr/include/qt/QtCore/qcborstreamreader.h: In member function 'bool QCborStreamReader::isTrue() const':
- /usr/include/qt/QtCore/qcborstreamreader.h:144:76: error: expected unqualified-id before numeric constant
- 144 | nst { return isSimpleType(QCborSimpleType::True); }
- | ^~~~
- In file included from /usr/include/qt/QtCore/qcborstream.h:47,
- from /usr/include/qt/QtCore/QtCore:41,
- from /usr/include/qt/QtConcurrent/QtConcurrentDepends:3,
- from /usr/include/qt/QtConcurrent/QtConcurrent:3,
- from apps/appslistmodel.h:37,
- from menu.h:41,
- from mainwindow.h:41,
- from background.h:36,
- from background.cpp:21:
- /usr/include/qt/QtCore/qcborstreamreader.h: In member function 'bool QCborStreamReader::toBool() const':
- /usr/include/qt/QtCore/qcborstreamreader.h:161:80: error: expected primary-expression before 'int'
- 161 | { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
- | ^~~
- /usr/include/qt/QtCore/qcborstreamreader.h:161:79: error: expected ';' before 'int'
- 161 | { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
- | ^~~~
- | ;
- /usr/include/qt/QtCore/qcborstreamreader.h:161:80: error: expected primary-expression before 'int'
- 161 | { Q_ASSERT(isBool()); return value64 - int(QCborSimpleType::False); }
- | ^~~
- In file included from endsessionwait.h:24,
- from menu.h:35,
- from mainwindow.h:41,
- from background.h:36,
- from background.cpp:21:
- /usr/include/qt/QtCore/qcborstreamwriter.h: In member function 'void QCborStreamWriter::append(bool)':
- /usr/include/qt/QtCore/qcborstreamwriter.h:96:59: error: expected unqualified-id before numeric constant
- 96 | id append(bool b) { append(b ? QCborSimpleType::True : QCborSimpleType::False); }
- | ^~~~
- In file included from /usr/include/qt/QtCore/qcborstream.h:51,
- from /usr/include/qt/QtCore/QtCore:41,
- from /usr/include/qt/QtConcurrent/QtConcurrentDepends:3,
- from /usr/include/qt/QtConcurrent/QtConcurrent:3,
- from apps/appslistmodel.h:37,
- from menu.h:41,
- from mainwindow.h:41,
- from background.h:36,
- from background.cpp:21:
- /usr/include/qt/QtCore/qcborstreamwriter.h:96:57: error: expected ':' before numeric constant
- 96 | void append(bool b) { append(b ? QCborSimpleType::True : QCborSimpleType::False); }
- | ^
- | :
- background.cpp: In lambda function:
- background.cpp:147:55: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
- 147 | qsrand(QDateTime::currentMSecsSinceEpoch());
- | ^
- In file included from /usr/include/qt/QtGui/qtguiglobal.h:43,
- from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
- from /usr/include/qt/QtWidgets/qdialog.h:43,
- from /usr/include/qt/QtWidgets/QDialog:1,
- from background.h:24,
- from background.cpp:21:
- /usr/include/qt/QtCore/qglobal.h:1278:81: note: declared here
- 1278 | VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
- | ^~~~~~
- background.cpp:150:35: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
- 150 | int index = qrand() % arr.count();
- | ^
- In file included from /usr/include/qt/QtGui/qtguiglobal.h:43,
- from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
- from /usr/include/qt/QtWidgets/qdialog.h:43,
- from /usr/include/qt/QtWidgets/QDialog:1,
- from background.h:24,
- from background.cpp:21:
- /usr/include/qt/QtCore/qglobal.h:1279:80: note: declared here
- 1279 | TED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
- | ^~~~~
- background.cpp: In member function 'void Background::loadCommunityBackgroundMetadata()':
- background.cpp:221:47: warning: 'void qsrand(uint)' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
- 221 | qsrand(QDateTime::currentMSecsSinceEpoch());
- | ^
- In file included from /usr/include/qt/QtGui/qtguiglobal.h:43,
- from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
- from /usr/include/qt/QtWidgets/qdialog.h:43,
- from /usr/include/qt/QtWidgets/QDialog:1,
- from background.h:24,
- from background.cpp:21:
- /usr/include/qt/QtCore/qglobal.h:1278:81: note: declared here
- 1278 | VERSION_X_5_15("use QRandomGenerator instead") void qsrand(uint seed);
- | ^~~~~~
- background.cpp:222:50: warning: 'int qrand()' is deprecated: use QRandomGenerator instead [-Wdeprecated-declarations]
- 222 | QString background = allBackgrounds.at(qrand() % allBackgrounds.count());
- | ^
- In file included from /usr/include/qt/QtGui/qtguiglobal.h:43,
- from /usr/include/qt/QtWidgets/qtwidgetsglobal.h:43,
- from /usr/include/qt/QtWidgets/qdialog.h:43,
- from /usr/include/qt/QtWidgets/QDialog:1,
- from background.h:24,
- from background.cpp:21:
- /usr/include/qt/QtCore/qglobal.h:1279:80: note: declared here
- 1279 | TED_VERSION_X_5_15("use QRandomGenerator instead") int qrand();
- | ^~~~~
- background.cpp: In member function 'void Background::setCommunityBackground(QString)':
- background.cpp:365:61: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
- 365 | int width = painter.fontMetrics().width(name);
- | ^
- In file included from /usr/include/qt/QtWidgets/qwidget.h:50,
- from /usr/include/qt/QtWidgets/qdialog.h:44,
- from /usr/include/qt/QtWidgets/QDialog:1,
- from background.h:24,
- from background.cpp:21:
- /usr/include/qt/QtGui/qfontmetrics.h:106:9: note: declared here
- 106 | int width(const QString &, int len = -1) const;
- | ^~~~~
- background.cpp:377:65: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
- 377 | int width = painter.fontMetrics().width(location) + height;
- | ^
- In file included from /usr/include/qt/QtWidgets/qwidget.h:50,
- from /usr/include/qt/QtWidgets/qdialog.h:44,
- from /usr/include/qt/QtWidgets/QDialog:1,
- from background.h:24,
- from background.cpp:21:
- /usr/include/qt/QtGui/qfontmetrics.h:106:9: note: declared here
- 106 | int width(const QString &, int len = -1) const;
- | ^~~~~
- background.cpp:388:63: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
- 388 | int width = painter.fontMetrics().width(author);
- | ^
- In file included from /usr/include/qt/QtWidgets/qwidget.h:50,
- from /usr/include/qt/QtWidgets/qdialog.h:44,
- from /usr/include/qt/QtWidgets/QDialog:1,
- from background.h:24,
- from background.cpp:21:
- /usr/include/qt/QtGui/qfontmetrics.h:106:9: note: declared here
- 106 | int width(const QString &, int len = -1) const;
- | ^~~~~
- background.cpp: In member function 'void Background::on_graphicsView_customContextMenuRequested(const QPoint&)':
- background.cpp:464:75: warning: unused parameter 'pos' [-Wunused-parameter]
- 464 | ::on_graphicsView_customContextMenuRequested(const QPoint &pos)
- | ~~~~~~~~~~~~~~^~~
- background.cpp: In member function 'void Background::on_actionOpen_System_Settings_triggered()':
- background.cpp:480:46: warning: 'static bool QProcess::startDetached(const QString&)' is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations]
- 480 | QProcess::startDetached("systemsettings5");
- | ^
- In file included from /usr/include/qt/QtCore/QProcess:1,
- from mainwindow.h:27,
- from background.h:36,
- from background.cpp:21:
- /usr/include/qt/QtCore/qprocess.h:280:17: note: declared here
- 280 | static bool startDetached(const QString &command);
- | ^~~~~~~~~~~~~
- background.cpp: In member function 'virtual void Background::paintEvent(QPaintEvent*)':
- background.cpp:507:42: warning: unused parameter 'event' [-Wunused-parameter]
- 507 | void Background::paintEvent(QPaintEvent *event) {
- | ~~~~~~~~~~~~~^~~~~
- make[1]: *** [Makefile:2154: background.o] Error 1
- make[1]: Leaving directory '/home/karkat/git/theshell/src/theshell-8.0.1/shell'
- make: *** [Makefile:50: sub-shell-make_first] Error 2
- ==> ERROR: A failure occurred in build().
- Aborting...
- [karkat@karmiarch theshell]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement